[Varnish] #851: bad file descriptor

Varnish varnish-bugs at varnish-cache.org
Fri Jan 28 09:25:20 CET 2011


#851: bad file descriptor
----------------------+-----------------------------------------------------
 Reporter:  tfheen    |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 varnishd was killed by the oom killer on odd, then got into a state where
 I could not restart the child using varnishadm:

 {{{
 Jan 28 09:15:35 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Rd auth
 028cd075468b1ec7faa47c40e147182acbdf118bb13f810a778ce6690929dca6
 Jan 28 09:15:35 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI
 1.0#012-----------------------------#012Linux,2.6.32-27-generic,x86_64,-sfile,-smalloc,-hcritbit#012#012Type
 'help' for command list.#012Type 'quit' to close CLI session.#012Type
 'start' to launch worker process.
 Jan 28 09:15:35 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Rd ping
 Jan 28 09:15:35 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Wr 200
 PONG 1296202535 1.0
 Jan 28 09:15:35 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Rd
 banner
 Jan 28 09:15:35 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI
 1.0#012-----------------------------#012Linux,2.6.32-27-generic,x86_64,-sfile,-smalloc,-hcritbit#012#012Type
 'help' for command list.#012Type 'quit' to close CLI session.#012Type
 'start' to launch worker process.
 Jan 28 09:15:37 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Rd
 start
 Jan 28 09:15:37 odd varnishd[22658]: child (29416) Started
 Jan 28 09:15:37 odd varnishd[22658]: Pushing vcls failed: CLI
 communication error (hdr)
 Jan 28 09:15:37 odd varnishd[22658]: Stopping Child
 Jan 28 09:15:37 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Wr 200
 Jan 28 09:15:37 odd varnishd[22658]: Child (29416) died signal=6
 Jan 28 09:15:37 odd varnishd[22658]: Child (-1) said
 Jan 28 09:15:37 odd varnishd[22658]: Child (-1) said Child starts
 Jan 28 09:15:37 odd varnishd[22658]: Child (-1) said Assert error in
 vsm_iter_n(), vsm.c line 95:
 Jan 28 09:15:37 odd varnishd[22658]: Child (-1) said
 Condition((*pp)->magic == 0x43907b6e) not true.
 Jan 28 09:15:37 odd varnishd[22658]: Child (-1) said   errno = 9 (Bad file
 descriptor)
 Jan 28 09:15:37 odd varnishd[22658]: Child cleanup complete
 Jan 28 09:15:40 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Rd stop
 Jan 28 09:15:40 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Wr 300
 Child in state stopped
 Jan 28 09:15:42 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Rd
 start
 Jan 28 09:15:42 odd varnishd[22658]: child (29417) Started
 Jan 28 09:15:42 odd varnishd[22658]: Pushing vcls failed: CLI
 communication error (hdr)
 Jan 28 09:15:42 odd varnishd[22658]: Stopping Child
 Jan 28 09:15:42 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Wr 200
 Jan 28 09:15:42 odd varnishd[22658]: Child (29417) died signal=6
 Jan 28 09:15:42 odd varnishd[22658]: Child (-1) said
 Jan 28 09:15:42 odd varnishd[22658]: Child (-1) said Child starts
 Jan 28 09:15:42 odd varnishd[22658]: Child (-1) said Assert error in
 vsm_iter_n(), vsm.c line 95:
 Jan 28 09:15:42 odd varnishd[22658]: Child (-1) said
 Condition((*pp)->magic == 0x43907b6e) not true.
 Jan 28 09:15:42 odd varnishd[22658]: Child (-1) said   errno = 9 (Bad file
 descriptor)
 Jan 28 09:15:42 odd varnishd[22658]: Child cleanup complete
 Jan 28 09:15:46 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Rd quit
 Jan 28 09:15:46 odd varnishd[22658]: CLI telnet ::1 34163 ::1 6082 Wr 500
 Closing CLI connection
 Jan 28 09:16:03 odd varnishd[22658]: CLI telnet ::1 34164 ::1 6082 Rd auth
 5fdc28540cb3919917a24d3183bbba15b739a6c370099442822e4cc80fcee701
 Jan 28 09:16:03 odd varnishd[22658]: CLI telnet ::1 34164 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI
 1.0#012-----------------------------#012Linux,2.6.32-27-generic,x86_64,-sfile,-smalloc,-hcritbit#012#012Type
 'help' for command list.#012Type 'quit' to close CLI session.#012Type
 'start' to launch worker process.
 Jan 28 09:16:03 odd varnishd[22658]: CLI telnet ::1 34164 ::1 6082 Rd ping
 Jan 28 09:16:03 odd varnishd[22658]: CLI telnet ::1 34164 ::1 6082 Wr 200
 PONG 1296202563 1.0
 Jan 28 09:16:03 odd varnishd[22658]: CLI telnet ::1 34164 ::1 6082 Rd
 banner
 Jan 28 09:16:03 odd varnishd[22658]: CLI telnet ::1 34164 ::1 6082 Wr 200
 -----------------------------#012Varnish Cache CLI
 1.0#012-----------------------------#012Linux,2.6.32-27-generic,x86_64,-sfile,-smalloc,-hcritbit#012#012Type
 'help' for command list.#012Type 'quit' to close CLI session.#012Type
 'start' to launch worker process.
 Jan 28 09:16:49 odd varnishd[22658]: Manager got SIGINT
 }}}

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/851>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list