Page 1 of 1

CPU load

Posted: Sat Jun 15, 2013 5:09 pm
by Ricky B
i have 20 cron job in a sh file with a 3 second sleep between each cron job, and i run this script every 3 minutes because my cpu load and the job have not the time to finish. I know i need to start the job every minutes but i will crash my server.

i see some process who grab the cpu for couple time and make a high load on my server

/usr/bin/php preload_process.php id=994075
/usr/bin/php preload_process.php id=324325

how can i help my server? its a quad core with 8 gb ram (Load Averages: 9.38 11.16 10.50)

Re: CPU load

Posted: Sun Jun 16, 2013 1:06 am
by kenhirai
I had 90 sites, but disabled cron and rot.php just using their basic custom gallery functions and thats it. If u wanna use the software in full protential, u need to buy better server. Remember to get Raids 1, reason why it crashes your server is the software does alot of writing per second. Everything takes up CPU and loads the disk. Therefore, find yourself a more powerful box and that will solve your problem.

Re: CPU load

Posted: Mon Jun 17, 2013 8:40 am
by admin
Do you use php GD or imagemagick as image processing library ?

Re: CPU load

Posted: Mon Jun 17, 2013 7:04 pm
by Ricky B
I use image GD, do you suspect a problem in the config of the php module?

Re: CPU load

Posted: Tue Jun 18, 2013 8:16 am
by admin
GD creates more load then IM
I suggest you to use IM