Varnishd crash while receiving some HTTP requests

Michael Lee michael.lee at zerustech.com
Fri Dec 21 09:05:41 CET 2007


No problem :)

Lin Jui-Nan Eric wrote:
> Dear Michael,
> 
>   I have tried 1.1.2 and this problem is solved. Thank you very much!
> 
> On 12/21/07, Michael Lee <michael.lee at zerustech.com> wrote:
>> Hi Jui-Nan,
>>
>> Looks like you should try version 1.1.2 instead. V1.2 is a bit outdated. It was changed one month ago.
>>
>> Besides, I guess v1.2 is not a publish release yet.
>>
>> Kind regards,
>>
>> Michael
>>
>> Lin Jui-Nan Eric wrote:
>>> Dear All,
>>>
>>> I found that varnishd child crashed while receiving the below request:
>>> GET /robot.txt HTTP/1.0 \r\n\r\n\r\n
>>>
>>> While the count of "\r\n" is larger than 3, no response will be
>>> generated by varnishd.
>>> If the count of "\r\n" is 2, that's ok.
>>> I use varnishd-1.2 from svn: http://varnish.projects.linpro.no/svn/branches/1.2
>>>
>>> The running command is:
>>> varnishd -a "[MYIP]:10000" -f /usr/local/etc/varnish/image.vcl -h
>>> classic,1048583 -n /gstripe0/varnish0 -s
>>> "file,/gstripe0/varnish0/varnish-cache.mmap,100G" -t 604800 -w 32,1024
>>> -d
>>>
>>> The error message is:
>>>
>>> Child said (2, 65305): <<Assert error in http_dissect_hdrs(),
>>> cache_http.c line 366:
>>>  Condition(p <= t.e) not true.
>>>  errno = 0 (Unknown error: 0)
>>> Cache child died pid=65305 status=0x6
>>> Clean child
>>> Child cleaned
>>> start child pid 65306
>>> Child said (2, 65306): <<Child starts
>>> managed to mmap 107374182400 bytes of 107374182400
>>> Ready
>>> CLI ready
>>> _______________________________________________
>>> varnish-misc mailing list
>>> varnish-misc at projects.linpro.no
>>> http://projects.linpro.no/mailman/listinfo/varnish-misc
>>>
>>>
>>
>> --
>> Michael Lee / Managing Director / ZerusTech Ltd
>>
>> Tel: +86 (21) 6428 3803
>> Fax: +86 (21) 6428 3805
>> Mobile: +86 139 1663 5259
>> Skype: zerustech
>> Gmail: zerustech at gmail.com
>>
>> www.zerustech.com
>>
>> Suite 819-820
>> 807 Zhaojiabang Road
>> Shanghai
>> P.R.China
>> 200030
>>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
> 
> 


-- 
Michael Lee / Managing Director / ZerusTech Ltd

Tel: +86 (21) 6428 3803
Fax: +86 (21) 6428 3805
Mobile: +86 139 1663 5259
Skype: zerustech
Gmail: zerustech at gmail.com

www.zerustech.com

Suite 819-820
807 Zhaojiabang Road
Shanghai
P.R.China
200030



More information about the varnish-misc mailing list