Re: MPM Worker Sleeping PHP Processes
I found someone who brought up the fact of sigblk not being set to 0 in 2.2
with worker and with prefork in 2.0 it was. Now I can confirm this to be
the case when running 2.2 with prefork as well. I'm not sure of the person
was onto something about this being the cause or not. I just can't find
similar PHP scripts causing it so I can't pinpoint a specific call that can
cause the sleeping processes.
Name: php
State: S (sleeping)
SleepAVG: 98%
Tgid: 5545
Pid: 5545
PPid: 1
TracerPid: 0
Uid: 33417 33417 33417 33417
Gid: 33419 33419 33419 33419
FDSize: 8192
Groups: 33419
VmSize: 30512 kB
VmLck: 0 kB
VmRSS: 16276 kB
VmData: 7940 kB
VmStk: 1172 kB
VmExe: 6130 kB
VmLib: 13458 kB
StaBrk: 08694000 kB
Brk: 08f60000 kB
StaStk: bfee7f10 kB
ExecLim: ffffffff
Threads: 1
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000003000
SigCgt: 0000000184000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
-----Original Message-----
From: Dan Mahoney, System Admin [mailto:danm@...]
Sent: Wednesday, June 11, 2008 11:36 AM
To: Tony Baird
Cc: 'Jeremy Chadwick'; suphp@...
Subject: Re: [suPHP] MPM Worker Sleeping PHP Processes
On Wed, 11 Jun 2008, Tony Baird wrote:
php is not threadsafe, because it is "glue" (yes, that's the developers
excuse). Why they can't go on a certification mission, and determine
which versions of which libraries are and are not, I don't know).
However, with suPHP, each php instance is a separate subprocess, which
should eliminate this issue, i.e. there should be no difference between
worker and prefork. The problems only become apparent when using mod_php.
Note that I still run 1.3 anyway, though.
_-Dan
--
"Hey, call me anything you like. I'm Dan to my friends, gushi to my
close friends, 'hey, you' to my girlfriend, 'mrrow?' to my cat, and 'why
the hell is the router on fire?' to my job.
-Dan Mahoney
12/2/02
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 8.0.100 / Virus Database: 270.2.0/1497 - Release Date: 6/11/2008
8:32 AM