Connection issues on Solaris 10 (Accept failed: Bad file number)

Jim Hayter jhayter at manta.com
Fri Dec 18 19:27:07 CET 2009


I've tried running both 2.0.5 and 2.0.6 on a Sun intel box running
Solaris 10.

Varnish works for a while and then starts generating log output like the
examples below, reporting nothing but " Accept failed: Bad file number".
I raised the process file descriptor limit, but that did not help.

Is anyone using Varnish 2.0.x on a Sun intel box running Solaris 10?  If
so, do you have any suggestions?

Jim

Log excerpts:

  254 TxHeader     c X-Varnish: 1174982928 1174970257
  254 TxHeader     c Via: 1.1 varnish
  254 TxHeader     c Connection: keep-alive
  254 TxHeader     c X-Served-By: ecnext39
  254 TxHeader     c X-Cache: HIT
  254 TxHeader     c X-Cache-Hits: 146
  254 TxHeader     c age: 0
  254 ReqEnd       c 1174982928 1261082734.437414408
1261082734.437511683 0.8236
44638 0.000054836 0.000042439
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"

And this:

  250 SessionOpen  c 66.104.xxx.xxx 63163 216.12.xxx.xxx:3008
  254 SessionOpen  c 66.104.xxx.xxx 59936 216.12.xxx.xxx:3008
  255 SessionOpen  c 66.104.xxx.xxx 56010 216.12.xxx.xxx:3008
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"

And this:

  252 TxHeader     c X-Varnish: 815722009 815708939
  252 TxHeader     c Via: 1.1 varnish
  252 TxHeader     c Connection: keep-alive
  252 TxHeader     c X-Served-By: ecnext39
  252 TxHeader     c X-Cache: HIT
  252 TxHeader     c X-Cache-Hits: 134
  252 TxHeader     c age: 0
  252 ReqEnd       c 815722009 1261155693.774985075 1261155693.775098562
0.13373
6610 0.000053406 0.000060081
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"
   21 Debug        - "Accept failed: Bad file number"



More information about the varnish-misc mailing list