I have been getting Over-Load Average Reports every day and as I could not
find a solution, I asked my server supplier.
This was their reply:
“I went over your last few load average reports and identified the commands from your cron schedule that were using the most CPU. I changed these commands to have a lower priority when they run.”
I have just looked in WebMin at the Edit Cron Job page and I do not see any place to change the priority.
How can I see what they have done and how can I make such changes ?
Is that sonething that I can not do in WebMin/VirtualMin ?
Obviously I want to see what priorities my cron jobs have been set to, and make changes in the future
so I can keep the work load balanced.
So is the awstats.pl and the index_user.cgi that are running here being triggered by my
newsletter script ( auto_send_news_mem.php ) or was it a coincidence
that they are running together ?
My newsletters often refer to a post in my forum, so the last thing
I want is the forum being down when my newsletter goes out.
If the awstats is not a cron job in this case, how can I give it a lower priority ?
What does /usr/libexec/webmin/proc/index_user.cgi do anyway ?
I put the nice in front of my newsletter sender script cron job with the intention of making it “nice” ( rather than greedy )and letting the forum to function.
Like this: nice php -q /home/guru54gt5/public_html/im/auto_send_news_mem.php
I hope that is correct ?
May be it should be :
php nice -q /home/guru54gt5/public_html/im/auto_send_news_mem.php
But you did say put it “in front”, so I did. If its wrong please advise.
Anyway, I also have a break in the script: it rests every 100 emails for 2 minutes, but that was there before.