Varnish crash (SIGABRT) about every 10 mins
Gea-Suan Lin
gslin at gslin.org
Fri Nov 9 00:29:59 CET 2007
On Thu, Nov 08, 2007 at 11:41:36PM +0100, Dag-Erling Sm鷨grav wrote:
> Gea-Suan Lin <gslin at gslin.org> writes:
> > I can see signal 3 (QUIT) from dmesg:
> >
> > pid 76061 (varnishd), uid 65534: exited on signal 3
> > pid 76187 (varnishd), uid 65534: exited on signal 3
> >
> > but I cannot find coredump. I run the following command in /tmp with
> > mode 1777:
>
> Read what I wrote earlier, you need to run 'ulimit -c unlimited'
> before starting Varnish.
I've tried 4 times, but varnishd still not to generate dump file. Here
is my step:
* /usr/local/sbin/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
* Run it in my home directory with large enough disk and suitable
permission directory:
gslin at testphp [~/tmp] (7:27) d
total 8
drwxrwxrwt 2 gslin admin 4096 Nov 9 07:09 ./
drwxr-xr-x 10 gslin admin 4096 Nov 9 07:19 ../
gslin at testphp [~/tmp] (7:27) df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/da0s1a 4.8G 89M 4.4G 2% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/da0s1f 48G 7.5G 36G 17% /home
/dev/da0s1d 4.8G 3.2G 1.2G 72% /usr
/dev/da0s1e 4.8G 97M 4.4G 2% /var
/dev/da1s1d 66G 3.6G 57G 6% /home/logs
10.1.1.100:/vol/home 80G 2.4G 78G 3% /.amd_mnt/10.1.1.100/vol/home
gslin at testphp [~/tmp] (7:28) pwd
/.amd_mnt/10.1.1.100/vol/home/admin/gslin/tmp
dmesg's last messages is:
pid 76620 (varnishd), uid 65534: exited on signal 3
pid 76639 (varnishd), uid 65534: exited on signal 6
--
* 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