View Single Post
Old 07-25-2004, 06:46 PM  
boneprone
Hall Of Fame
 
boneprone's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: Portland Oregon USA
Posts: 34,415
Quote:
Originally posted by Fabuleux
What I also do is adjusting the crontab file so no 2 scripts are running at the same time.

For example:
Run gallery spider
Stop gallery spider
Optimize database
Wait 10 minutes
Rebuild pages TGP 1
Wait 10 minutes
Rebuild pages TGP 2
Wait 10 minutes
etc.
Wait 10 minutes
etc.

When 2 script run at the same time, it takes more then 2 times the time to complete.
Yeah i already did that. That was simple enough that I could do that one on my own.

Like a few months ago I did it but Im not even really talking cron loads here. Im talking about when the server is at Idle just doing normal functions im having problems.

You see this problem is happeing even when the crobs arent working but when the cron does come on it makes things almost crippled. But its only for 15 minutes so I guess I can live with it. Been doing that for almost a year so hell I can deal with it even longer. But the concern I have now is that im dealing with loads and swap even when crons arent working. Im having it just with normal functions.

But yeah, I already did the simple solutions, like timing the Crons not to go off at the same time and limiting them to run as little as possible. Did the other simple solutions like upgrading from1 gig of RAM to 2 gig of RAM and that kinda thing, and that helped as well deal with the crashes during the cron, but now that my movie sites are really pulling in more traffic back Like I used to have in 1999-2000 the 2 gigs RAM upgrade seem like a thing of the past and the same problems are back.


Helped for about 1 month now Im swappin again. But
__________________

Industry Hall Of Fame Legend Mike Jones
Bow to the Power - Still BP4L
http://gfyawards.com/hall-of-fame
Learn about it kids.

Last edited by boneprone; 07-25-2004 at 06:48 PM..
boneprone is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote