High CPU Load by php-cgi

Piotr Karbowski jabberuser at gmail.com
Sat Aug 7 11:57:04 MSD 2010

On 07.08.2010 09:24, Sina wrote:
> it means that rapidleech is the problem??? but i dont think but i have
> one site in a dedicated server and its for leeching :
> [code]
> Xeon 3060 (4.8GHz, 2 cores)
> 1066MHz FSB 4MB L2cache
> 2GB Memory
> [/code]
>   and limit of transfer is fixed on 200MB but php-cgi still consume %90
> of CPU ...

Well when php compress something, it's normal that it use all available 
power for one process.

Check if you have there xcache or pecl-apc. Also, you can play with 
cpulimit wrapper to php (depends how you running php-cgi) to limit php 
cpu usage.

-- Piotr.

More information about the nginx mailing list