[Varnish] #275: Varnish child stops responding

Varnish varnish-bugs at projects.linpro.no
Mon Nov 17 09:06:03 CET 2008


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

 what's meaning about 'pfault' state ? In the 'pfault' state, varnishd
 freeze

 {{{
 [xiaoyong at HP08020020 ~]$ top
 last pid: 88414;  load averages:  0.04,  0.01,  0.00
 up 3+22:38:54  15:43:18
 116 processes: 1 running, 113 sleeping, 2 waiting
 CPU states:  0.0% user,  0.0% nice,  1.8% system,  0.0% interrupt, 98.2%
 idle
 Mem: 3042M Active, 393M Inact, 467M Wired, 11M Cache, 214M Buf, 3880K Free
 Swap: 8192M Total, 771M Used, 7421M Free, 9% Inuse

   PID USERNAME   THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
 64105 root        81  76    0   122G  3418M pfault 1 458:20  0.00%
 varnishd
   522 root         1  44    0  4684K     0K WAIT   0   0:31  0.00%
 <syslogd>
   692 root         1   8    0  6212K   440K wait   0   0:15  0.00% sh
   691 root         4  -8    0 29136K  1748K piperd 0   0:05  0.00% cfexecd
   629 root         1  44    0 10576K   672K select 0   0:04  0.00%
 sendmail
   781 root         1   8    0  5736K   284K nanslp 1   0:02  0.00% cron
 64104 root         1  44    0 92456K     0K WAIT   2   0:01  0.00%
 <varnishd>
 ......

 [xiaoyong at HP08020020 ~]$ varnishstat

 3+03:40:07
 HP08020020
 Hitrate ratio:       10       62       62
 Hitrate avg:     0.9531   0.9225   0.9225

     89060003         0.00       326.94 Client connections accepted
    166199493         0.00       610.11 Client requests received
    163787382         0.00       601.26 Cache hits
        19639         0.00         0.07 Cache hits for pass
      2372107         0.00         8.71 Cache misses
      2391813         0.00         8.78 Backend connections success
            0         0.00         0.00 Backend connections not attempted
            0         0.00         0.00 Backend connections too many
            0         0.00         0.00 Backend connections failures
      2356930         0.00         8.65 Backend connections reuses
      2382545         0.00         8.75 Backend connections recycles
            0         0.00         0.00 Backend connections unused
         8052          .            .   N struct srcaddr
 18446744073709551221          .            .   N active struct srcaddr
        10262          .            .   N struct sess_mem
         4490          .            .   N struct sess
      2028461          .            .   N struct object
      2029034          .            .   N struct objecthead
      4040453          .            .   N struct smf
            2          .            .   N small free smf
           21          .            .   N large free smf
           18          .            .   N struct vbe_conn
          681          .            .   N struct bereq
           78          .            .   N worker threads
        10155         0.00         0.04 N worker threads created
            0         0.00         0.00 N worker threads not created
       358964         0.00         1.32 N worker threads limited
            0         0.00         0.00 N queued work requests
      1952453         0.00         7.17 N overflowed work requests
     17350716         0.00        63.69 N dropped work requests
            2          .            .   N backends
       330156          .            .   N expired objects
            0          .            .   N LRU nuked objects
            0          .            .   N LRU saved objects
      4363790          .            .   N LRU moved objects
            0          .            .   N objects on deathrow
            0         0.00         0.00 HTTP header overflows
 }}}

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


More information about the varnish-bugs mailing list