[Varnish] #635: Varnish restarting children on every request

Varnish varnish-bugs at projects.linpro.no
Thu Jan 28 12:14:52 CET 2010


#635: Varnish restarting children on every request
---------------------+------------------------------------------------------
 Reporter:  victori  |        Owner:       
     Type:  defect   |       Status:  new  
 Priority:  high     |    Milestone:       
Component:  build    |      Version:  trunk
 Severity:  normal   |   Resolution:       
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by victori):

 {{{

 # ./bin/varnishd/varnishd -f /opt/extra/etc/varnish/default.vcl -a
 0.0.0.0:82 -p listen_depth=8192 -p thread_pool_max=2000 -p
 thread_pool_min=50 -p thread_pools=4 -p cc_command='cc -Kpic -G -m64 -o %o
 %s' -s file,/sessions/vtest/varnish_cache.bin,512M -p sess_timeout=10s -p
 session_linger=120ms -p connect_timeout=0s -p lru_interval=20s -p
 thread_pool_add_delay=2ms -p waiter=poll -p cli_timeout=25s -p
 sess_workspace=65536 -T 0.0.0.0:8087 -n /sessions/vtest -u webservd -F
 storage_file: filename: /sessions/vtest/varnish_cache.bin size 512 MB.
 Message from C-compiler:
 "./vcl.ORk8t3RP.c", line 355: warning: initializer will be sign-extended:
 -1
 Creating new SHMFILE
 child (27101) Started
 Child (27101) said Closed fds: 3 5 6 9 10 12 13
 Child (27101) said Child starts
 Child (27101) said managed to mmap 536870912 bytes of 536870912
 Child (27101) died signal=6
 Child (27101) Panic message: Assert error in vbe_TryConnect(),
 cache_backend.c line 129:
   Condition(tmod > 0.0) not true.
 errno = 9 (Bad file number)
 thread = (cache-worker)
 ident = -sfile,-hclassic,poll
 Backtrace:
   42eca3: /software/work/varnish-
 cache/bin/varnishd/.libs/varnishd'pan_ic+0xc3 [0x42eca3]
 sp = 7e6018 {
   fd = 6, id = 6, xid = 494596955,
   client = 75.80.141.237:52623,
   step = STP_FETCH,
   handling = fetch,
   restarts = 0, esis = 0
   ws = 7e6088 {
     id = "sess",
     {s,f,r,e} = {7e6d90,+219,0,+65536},
   },
   http[req] = {
     ws = 7e6088[sess]
       "GET",
       "/",
       "HTTP/1.1",
       "User-Agent: curl/7.19.7 (i386-apple-darwin10.2.0) libcurl/7.19.7
 OpenSSL/0.9.8l zlib/1.2.3",
       "Host: fabulously40.com:82",
       "Accept: */*",
       "X-Forwarded-For: 75.80.141.237",
   },
   worker = fffffd7fcca61d10 {
     ws = fffffd7fcca61e58 {
       id = "wrk",
       {s,f,r,e} = {fffffd7fcca4fca0,+21,0,+65536},
     },
     http[bereq] = {
       ws = fffffd7fcca61e58[wrk]
         "GET",
         "/",
         "HTTP/1.1",
         "User-Agent: curl/7.19.7 (i386-apple-darwin10.2.0) libcurl/7.19.7
 OpenSSL/0.9.8l zlib/1.2.3",
         "Host: fabulously40.com:82",
         "Accept: */*",
         "X-Forwarded-For: 75.80.141.237",
         "X-Varnish: 494596955",
     },
     http[beresp] = {
       ws = fffffd7fcca61e58[wrk]
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },


 Child cleanup complete
 child (27107) Started
 Child (27107) said Closed fds: 3 5 6 9 10 12 13
 Child (27107) said Child starts
 Child (27107) said managed to mmap 536870912 bytes of 536870912
 ^CManager got SIGINT
 Stopping Child

 }}}

-- 
Ticket URL: <http://varnish-cache.org/ticket/635#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list