Varnish crash (SIGABRT) about every 10 mins

Gea-Suan Lin gslin at gslin.org
Fri Nov 9 00:50:41 CET 2007


On Fri, Nov 09, 2007 at 12:32:37AM +0100, Dag-Erling Sm鷨grav wrote:
> Gea-Suan Lin <gslin at gslin.org> writes:
> > I've tried 4 times, but varnishd still not to generate dump file.
> 
> Are you sure?  It should be in the run-time state directory,
> most likely $PREFIX/var/varnish/$HOSTNAME.

The core file is not in /home/service/var/varnish/testphp.pixnet.tw/,
my guess is it's too small so I retry it:

* rm -rf /home/service/varnish/var/varnish/testphp.pixnet.tw
* ln -s ~/tmp /home/service/varnish/var/varnish/testphp.pixnet.tw
* chmod 1777 ~/tmp

So I got:

gslin at testphp [~/tmp] (7:47) d
total 8244
drwxrwxrwt   2 gslin  admin     4096 Nov  9 07:40 ./
drwxr-xr-x  10 gslin  admin     4096 Nov  9 07:33 ../
-rw-r--r--   1 root   wheel  8389208 Nov  9 07:43 _.vsl
-rwxr-xr-x   1 root   wheel    14534 Nov  9 07:40 bin.LxjNthA8*
-rwxr-xr-x   1 gslin  admin      260 Nov  9 07:33 varnishd.sh*
gslin at testphp [~/tmp] (7:47) cat varnishd.sh
#!/bin/sh

ulimit -c unlimited
/home/service/varnish/sbin/varnishd -a 60.199.247.118:80 -f /usr/local/etc/varnish/image.vcl -h classic,1048583 -P /var/run/varnishd.pid -s file,/home/service/varnish-cache.mmap,32G -T 127.0.0.1:11957 -t 604800 -w 32,4096 -d -d
gslin at testphp [~/tmp] (7:47)

Run it and got SIGQUIT:

Nov  9 07:43:26 testphp kernel: pid 76784 (varnishd), uid 65534: exited on signal 3
Nov  9 07:43:51 testphp kernel: pid 76793 (varnishd), uid 65534: exited on signal 3

It's console:

gslin at testphp [~/tmp] (7:40) sudo ./varnishd.sh
storage_file: filename: /home/service/varnish-cache.mmap size 32768 MegaBytes.
Classic hash: 1048583 buckets
Using old SHMFILE
rolling(1)...
rolling(2)...
start
start child pid 76784
200 0

Child said (2, 76784): <<Child starts
sizeof(struct ws) = 48
sizeof(struct http) = 584
sizeof(struct http_conn) = 48
sizeof(struct acct) = 64
sizeof(struct worker) = 1232
sizeof(struct workreq) = 24
sizeof(struct bereq) = 656
sizeof(struct storage) = 72
sizeof(struct object) = 824
sizeof(struct objhead) = 56
sizeof(struct sess) = 448
sizeof(struct vbe_conn) = 48
sizeof(struct backend) = 88
managed to mmap 34359738368 bytes of 34359738368
Ready
CLI ready
>>
Child not responding to ping
Child not responding to ping
Child not responding to ping
Child not responding to ping
Cache child died pid=76784 status=0x3
Clean child
Child cleaned
start child pid 76793
Child said (2, 76793): <<Child starts
sizeof(struct ws) = 48
sizeof(struct http) = 584
sizeof(struct http_conn) = 48
sizeof(struct acct) = 64
sizeof(struct worker) = 1232
sizeof(struct workreq) = 24
sizeof(struct bereq) = 656
sizeof(struct storage) = 72
sizeof(struct object) = 824
sizeof(struct objhead) = 56
sizeof(struct sess) = 448
sizeof(struct vbe_conn) = 48
sizeof(struct backend) = 88
managed to mmap 34359738368 bytes of 34359738368
Ready
CLI ready
>>
Child not responding to ping
Child not responding to ping
Child not responding to ping
Child not responding to ping
Child not responding to ping
Cache child died pid=76793 status=0x3
Clean child
Child cleaned
start child pid 76794
Child said (2, 76794): <<Child starts
sizeof(struct ws) = 48
sizeof(struct http) = 584
sizeof(struct http_conn) = 48
sizeof(struct acct) = 64
sizeof(struct worker) = 1232
sizeof(struct workreq) = 24
sizeof(struct bereq) = 656
sizeof(struct storage) = 72
sizeof(struct object) = 824
sizeof(struct objhead) = 56
sizeof(struct sess) = 448
sizeof(struct vbe_conn) = 48
sizeof(struct backend) = 88
managed to mmap 34359738368 bytes of 34359738368
Ready
CLI ready
>>

-- 
* Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
* If you cannot convince them, confuse them.           -- Harry S Truman



More information about the varnish-misc mailing list