Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Excessive resource usage

Excessive resource usage



11:27 pm on Mar 17, 2008 (gmt 0)

5+ Year Member

I'm running a php script whit cronjob on a server every 10 minutes, and the script is suposed to run maximum 5 minutes, and I get this error message from my provider :

Time: Mon Mar 17 17:20:17 2008
Account: accountname
Resource: Virtual Memory Size
Exceeded: 185 > 100 (MB)
Executable: /usr/local/bin/php
Command Line: /usr/local/bin/php -q
PID: 23067
Killed: No

this script maximum memmory usage is 4.5 MB, tested whit : memory_get_peak_usage(true)
The script is running 5 minutes i set it whit : set_time_limit(300); and
ini_set('max_execution_time', 300); because in the past i got letters white execution time exceed.

I'm using curl in the script to get another page content.
And i can't use wget to run the php script.

And now my page is suspendet :(


Featured Threads

Hot Threads This Week

Hot Threads This Month