Quote:
Originally Posted by lierduh
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.
|
Thanks. I don't think the server is that slow, but I've made the change anyway.
I had the script running every ten minutes via cPanel cron (couldn't figure out how to work vB cron), but I've cut it back to every half hour.
Thanks again!