[Varnish] #241: Varnish gets stuck, stops responding

Varnish varnish-bugs at projects.linpro.no
Mon May 26 10:14:37 CEST 2008


#241: Varnish gets stuck, stops responding
----------------------+-----------------------------------------------------
 Reporter:  anders    |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  high      |    Milestone:       
Component:  varnishd  |      Version:  trunk
 Severity:  normal    |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by phk):

 Hi Anders,

 Sorry about the delay.

 THe ktrace shows that varnish ran out of filedescriptors:

 {{{
   6894 100228 varnishd 1211375024.912964 CALL
 accept(0x7,0x7fffff5fbf00,0x7fffff5fbf8c)
   6894 100228 varnishd 1211375024.912972 RET   accept -1 errno 24 Too many
 open files
   6894 100228 varnishd 1211375024.912980 CALL
 poll(0x1206801078,0x1,0x3e8)
   6894 100228 varnishd 1211375024.912987 RET   poll 1
   6894 100228 varnishd 1211375024.912994 CALL
 clock_gettime(0,0x7fffff5fbed0)
   6894 100228 varnishd 1211375024.913003 RET   clock_gettime 0
   6894 100228 varnishd 1211375024.913009 CALL
 accept(0x7,0x7fffff5fbf00,0x7fffff5fbf8c)
   6894 100228 varnishd 1211375024.913017 RET   accept -1 errno 24 Too many
 open files
   6894 100228 varnishd 1211375024.913025 CALL
 poll(0x1206801078,0x1,0x3e8)
   6894 100228 varnishd 1211375024.913033 RET   poll 1
   6894 100228 varnishd 1211375024.913040 CALL
 clock_gettime(0,0x7fffff5fbed0)
   6894 100228 varnishd 1211375024.913048 RET   clock_gettime 0
   6894 100228 varnishd 1211375024.913054 CALL
 accept(0x7,0x7fffff5fbf00,0x7fffff5fbf8c)
 }}}

 When this happens again, please try to record "netstat -an", "sockstat"
 and "fstat" outputs.

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/241#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list