Varnish crash (SIGABRT) about every 10 mins

Gea-Suan Lin gslin at gslin.org
Thu Nov 8 21:25:19 CET 2007


On Fri, Nov 09, 2007 at 03:44:57AM +0800, Gea-Suan Lin wrote:
> On Thu, Nov 08, 2007 at 08:40:23PM +0100, Dag-Erling Sm鷨grav wrote:
> > Gea-Suan Lin <gslin at gslin.org> writes:
> > > I checkout the latest version in trunk (r2231), apply the patch, and
> > > find no object being cached. (telnet to management port and use "stats"
> > > to check)
> > 
> > I'm not psychic, you'll have to actually *show me* the stats.
> 
> When I want to try it again, I found it might be my fault :-)
> 
> http://varnish.projects.linpro.no/attachment/ticket/162/cache_acceptor_kqueue.diff
> 
> It should be patched to:
> 
> 		AZ(kevent(kq, ki, nki, NULL, 0, NULL));
> 
> But I patched to:
> 
> 		AZ(kevent(kq, ki, nki, NULL, 0, NULL) <= 0);
> 
> I'll try it again.

It crash again:

gslin at testphp [~] (3:45) sudo /usr/bin/env -i /home/service/varnish/sbin/varnishd -a [our ip address]: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
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 57305
200 0

Child said (2, 57305): <<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
Cache child died pid=57305 status=0x9
Clean child
Child cleaned
start child pid 58543
Child said (2, 58543): <<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
Cache child died pid=58543 status=0x9
Clean child
Child cleaned
start child pid 58544
Child said (2, 58544): <<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