[Varnish] #87: Main varnish child gets spawned again and again
Varnish
varnish-bugs at projects.linpro.no
Fri Feb 16 15:23:07 CET 2007
#87: Main varnish child gets spawned again and again
----------------------+-----------------------------------------------------
Reporter: Thias | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by Thias):
Just ran varnish with -d -d and got this :
{{{
[...]
Child cleaned
start child pid 16459
Child said (2, 16459): <<Child starts
managed to mmap 20480000 bytes of 20480000
Ready
CLI ready
>>
Child said (2, 16459): <<socktest: linger=0 sndtimeo=0 rcvtimeo=0
>>
Child said (2, 16459): <<Assert error in smf_alloc(), storage_file.c line
632:
Condition((smf) != NULL) not true.
errno = 0 (Success)
>>
Cache child died pid=16459 status=0x6
Clean child
Child cleaned
start child pid 16557
Child said (2, 16557): <<Child starts
managed to mmap 20480000 bytes of 20480000
Ready
CLI ready
>>
Child said (2, 16557): <<socktest: linger=0 sndtimeo=0 rcvtimeo=0
>>
Child said (2, 16557): <<Assert error in smf_alloc(), storage_file.c line
632:
Condition((smf) != NULL) not true.
errno = 0 (Success)
>>
Cache child died pid=16557 status=0x6
Clean child
Child cleaned
start child pid 16650
Child said (2, 16650): <<Child starts
managed to mmap 20480000 bytes of 20480000
Ready
CLI ready
>>
Child said (2, 16650): <<socktest: linger=0 sndtimeo=0 rcvtimeo=0
>>
[...]
}}}
The previous "service varnish start" reported :
{{{
Feb 16 14:46:47 files02 varnishd: pclose=0
Feb 16 14:46:47 files02 varnishd: file
/var/lib/varnish/varnish_storage.bin
size 20480000 bytes (5000 fs-blocks, 5000 pages)
Feb 16 14:46:47 files02 varnishd: Using old SHMFILE
Feb 16 14:46:47 files02 varnish: varnishd startup succeeded
}}}
So I get it... the storage file is only 20M... I somehow thought I had set
it to 2GB...
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/87>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list