[Varnish] #547: Varnish core dumps frequently

Varnish varnish-bugs at projects.linpro.no
Thu Aug 27 11:22:51 CEST 2009


#547: Varnish core dumps frequently
---------------------+------------------------------------------------------
 Reporter:  victori  |        Type:  defect
   Status:  new      |    Priority:  normal
Milestone:           |   Component:  build 
  Version:  trunk    |    Severity:  normal
 Keywords:           |  
---------------------+------------------------------------------------------
 OS: OpenSolaris SNV98

 Params used for starting varnish:

 newtask -p highfile /opt/extra/sbin/varnishd -f
 /opt/extra/etc/varnish/default.vcl -a 0.0.0.0:3000 -p listen_depth=8192 -p
 thread_pool_max=2000 -p thread_pool_min=12 -p thread_pools=4 -p
 cc_command='cc -Kpic -G -m64 -o %o %s' -s
 file,/sessions/varnish_cache.bin,2G -p sess_timeout=10s -p max_restarts=12
 -p send_timeout=60s -p session_linger=50s -p connect_timeout=0s -p
 obj_workspace=16384 -p sess_workspace=32768 -T 0.0.0.0:8086 -u webservd

 {{{

 # /opt/startvarnish.sh
 Usage: nm [-APvChlnV] [-efox] [-r | -R]  [-g | -u] [-t format] file ...
 storage_file: filename: /sessions/varnish_cache.bin size 2048 MB.
 Using old SHMFILE
 child (10165) Started
 Child (10165) said Closed fds: 3 5 6 9 10 12 13
 Child (10165) said Child starts
 Child (10165) said managed to mmap 2147483648 bytes of 2147483648
 Child (10165) said Ready
 Child (10165) died signal=6
 Child (10165) Panic message: Assert error in TCP_linger(), tcp.c line 246:
   Condition((setsockopt(sock, 0xffff, 0x0080, &lin, sizeof lin)) == 0) not
 true.
 errno = 9 (Bad file number)
 thread = (cache-worker)
 Backtrace:
 sp = 91f018 {
   fd = 29, id = 29, xid = 0,
   client = 127.0.0.1:30078,
   step = STP_DONE,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esis = 0
   ws = 91f088 {
     id = "sess",
     {s,f,r,e} = {91f918,+740,0,+32768},
   },
   http[req] = {
     ws = 91f088[sess]
       "GET",
       "/group/66/thumbx120/pills-loose.jpg",
       "HTTP/1.0",
       "X-Real-IP: 220.244.39.82",
       "Host: images.fabulously40.com",
       "Connection: close",
       "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
 AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5",
       "Referer: http://fabulously40.com/fabulously/vasilia",
       "Accept: */*",
       "Accept-Language: en-US,en;q=0.8",
       "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3",
       "X-Forwarded-For: 127.0.0.1",
   },
   worker = fffffd7f764125b0 {
     ws = fffffd7f76412780 {
       id = "wrk",
       {s,f,r,e} = {fffffd7f76408570,+420,0,+32768},
     },
     },
 },


 Child cleanup complete
 child (10430) Started
 Child (10430) said Closed fds: 3 5 6 9 10 12 13
 Child (10430) said Child starts
 Child (10430) said managed to mmap 2147483648 bytes of 2147483648
 Child (10430) said Ready
 Child (10430) died signal=6
 Child (10430) Panic message: Assert error in TCP_linger(), tcp.c line 246:
   Condition((setsockopt(sock, 0xffff, 0x0080, &lin, sizeof lin)) == 0) not
 true.
 errno = 9 (Bad file number)
 thread = (cache-worker)
 Backtrace:
 sp = 7cd018 {
   fd = 12, id = 12, xid = 0,
   client = 127.0.0.1:64129,
   step = STP_DONE,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esis = 0
   ws = 7cd088 {
     id = "sess",
     {s,f,r,e} = {7cd918,+943,0,+32768},
   },
   http[req] = {
     ws = 7cd088[sess]
       "GET",
       "/article/2057/thumbx128/model1.jpg",
       "HTTP/1.0",
       "X-Real-IP: 75.80.141.237",
       "Host: images.fabulously40.com",
       "Connection: close",
       "User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-
 us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9",
       "Referer: http://fabulously40.com/topic/id/67",
       "Accept: */*",
       "Accept-Language: en-us",
       "X-Forwarded-For: 127.0.0.1",
   },
   worker = fffffd7f72a2e5b0 {
     ws = fffffd7f72a2e780 {
       id = "wrk",
       {s,f,r,e} = {fffffd7f72a24570,+420,0,+32768},
     },
     },
 },


 Child cleanup complete
 child (10441) Started
 Child (10441) said Closed fds: 3 5 6 9 10 12 13
 Child (10441) said Child starts
 Child (10441) said managed to mmap 2147483648 bytes of 2147483648
 Child (10441) said Ready

 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/547>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list