Quote:
Originally Posted by Cold Steel
Gateway.php is regularly causing the server to have loads of 30+ when it's called.
I'm running 2.1.1 of this script, and 3.0.1 vBulletin. I have three newsgroups. http://forums.asiansinc.com/forumdisplay.php?f=71
Are there any settings or any changes that I can make to prevent the high server loads?
|
Basically the script continuesly imports the messages. So the load could be higher than the usual user posts. It needs to build the search index etc. and other server intensive tasks.
For slower servers, you can slow down the script by insert this line
sleep (3);
Just before
} //for each message loop
(should be around line 518)
That will pause 3 seconds after each message is retrieved.
Also how often do you run the script? If you are using the vB built-in cron scheduler, normall it only allows you to run one task each hour. You can create two or more of the same scheduled tasks running in different times of the hour.