Topic: Zombies

Hi,

i have a pretty simple and barebone CMS system built in RoR and am currently using it on one SuSe server on two virtual hosts. The sites are hosted by Passenger.

I have a problem however:

top - 20:27:30 up 1 day,  7:53,  1 user,  load average: 0.09, 0.06, 0.07
Tasks: 134 total,   2 running, 130 sleeping,   0 stopped,   2 zombie
Cpu(s):  0.7%us,  0.8%sy,  0.0%ni, 98.2%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2063036k total,  1963572k used,    99464k free,   125488k buffers
Swap:   530136k total,       80k used,   530056k free,  1025320k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12584 nobody    16   0     0    0    0 Z    0  0.0   0:07.20 ruby <defunct>
32285 root      16   0     0    0    0 Z    0  0.0   0:10.88 ruby <defunct>
    1 root      15   0   812  308  244 S    0  0.0   0:01.36 init


Is this a Passenger or CMS problem?
I have no idea where to start investigating as i have no experience with such behaviour yet.


Thanks

Re: Zombies

I'm by no means an expert on this but the zombies I've experienced in the past have all been unrelated OS/hardware faults. I had a lot of zombies show up over last Christmas on my development box which I (much later) traced to a faulty HD.

I'd say find out when these processes went zombie and check the syslog and apache error-log for those times and possibly the development.log of the app itself. Ruby shouldn't just zombie for no reason, in fact in my limited understanding Linux shouldn't allow it to, unless Linux itself is having problems.