Bug#402764: [php-maint] Bug#402764: libapache2-mod-php5: php processes loop and eat all cpu and resources

sean finney seanius at debian.org
Wed Dec 13 08:31:01 CET 2006


hi alessandro,

On Tue, 2006-12-12 at 15:30 +0100, Alessandro Polverini wrote:
> I tried to attach to a process with strace and this is what I get:
> [...]
> lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> lstat("/var/home", {st_mode=S_IFDIR|0755, st_size=85, ...}) = 0
> lstat("/var/home/web2", {st_mode=S_IFDIR|S_ISUID|S_ISGID|0775, st_size=52, ...}) = 0
> lstat("/var/home/web2/lc", {st_mode=S_IFDIR|S_ISGID|0775, st_size=95, ...}) = 0
> lstat("/var/home/web2/lc/www", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
> lstat("/var/home/web2/lc/www/site", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> lstat("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> lstat("/var/home", {st_mode=S_IFDIR|0755, st_size=85, ...}) = 0
> lstat("/var/home/web2", {st_mode=S_IFDIR|S_ISUID|S_ISGID|0775, st_size=52, ...}) = 0
> lstat("/var/home/web2/lc", {st_mode=S_IFDIR|S_ISGID|0775, st_size=95, ...}) = 0
> lstat("/var/home/web2/lc/www", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
> lstat("/var/home/web2/lc/www/site", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> [...]
> over and over and over.

hm... are any of the directories between /var and var/...../site
symlinks?

otherwise, we'll need some more info, namely "dpkg -l '*php5*'" and any
changes you've made to /etc/php5/apache2/php.ini, and any php related
configuration in your apache2 configuration.

also, are you using any .htaccess directives? anything mbstring related?
is this a 3rd party web app or your own in-house application/site?


	sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20061213/bee828e2/attachment-0001.pgp


More information about the pkg-php-maint mailing list