[Sussex] PHP process hogging the CPU

Brendan Whelan b_whelan at mistral.co.uk
Sun Aug 14 08:55:54 UTC 2005


I would like to thank those who responded - I will play around with the
problem later in the week.

Brendan
----- Original Message -----
From: "Ronan Chilvers" <ronan at thelittledot.com>
To: "LUG email list for the Sussex Counties" <sussex at mailman.lug.org.uk>
Sent: Saturday, August 13, 2005 12:42 PM
Subject: Re: [Sussex] PHP process hogging the CPU


Hi Brendan


>
> Hello,
> &nbsp;
> I have a PHP process which is probably in an
> endless loop. I have re-booted the system the process&nbsp;still
continues. How
> can I find and stop the process which is hogging the time? (I have a long
> default php timeout set because, on occasions, some process need to run
for an
> extended time. However, I will set the maximum time which each program can
run
> on an individual basis.)
> &nbsp;
> Thanks,&nbsp; Brendan
> &nbsp;
>

It carries on after a reboot?????  Geez!!!  I don't think that's PHP.  How
is the script restarting on boot up? Can you send the output of

ps axf

and maybe of

top

Do these immediately after a reboot so the machine is freshly started.

How do you know that there's a process running away?  Is the CPU working
hard, memory full?

If it is PHP can you send over the script for us to have a look at?

Cheers

Ronan

________________________________________________
Message sent using UebiMiau 2.7.2


_______________________________________________
Sussex mailing list
Sussex at mailman.lug.org.uk
Sussex LUG Website: http://www.sussex.lug.org.uk/
http://mailman.lug.org.uk/mailman/listinfo/sussex








More information about the Sussex mailing list