Hi,

Generator creates a heavy load on the CPU for more than 10 seconds.

I set a pause of 10 seconds after one request in config, however there is one request that load the CPU on about 100% for more than 10 sec.

The trial version of this did not happen.

How to fix? Or extend trial period till fix problem.

PS. nice -n 20 php runcrawler.php do not help
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #2 on: November 30, 2012, 05:39:49 PM »
in the top window see PID 8282
in the window below - request #68
« Last Edit: November 30, 2012, 06:13:23 PM by vals »
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #3 on: December 02, 2012, 12:49:47 PM »
My hoster said:
If the process load CPU for a long period of more than 60% - that process will killed. This period for shared hosting server is 10 seconds.
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #5 on: December 03, 2012, 08:07:11 AM »
from browser works the same
well that it does not happen every time when launch
5-7% of launches is unsuccesful
i am afraid it depends from common load capacity of server
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #6 on: December 05, 2012, 06:52:56 AM »
Приветствую,

Так что, никак нельзя ограничить нагрузку на процессор? А то часто получается такая картина:
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #8 on: December 06, 2012, 01:56:33 PM »
it doesn't work... :'( :'( :'(

is always a one tricky request that all breaks

what are the numbers in a columns?
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #9 on: December 07, 2012, 06:18:50 AM »
is it possible to launch script on another host with the same basic settings?
except pathes of course... )
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #11 on: December 09, 2012, 07:15:28 PM »
Would you be so kind as to tell me how to do it?
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #13 on: December 12, 2012, 09:30:17 AM »
Thank you. I've done that.