PDA

View Full Version : UCJ + 2 min. crontab URGENT!!!


PeepNTom
06-21-2001, 11:16 AM
can anyone please help me here..

I am on a virtual hosting account and my sys admin says no way to a 2 min. cronjob - its too server resources hogging he says and make the server unstable. Is this true ?

Can anyone give me some knowledge on what I can tell him so I have professional info to throw at him ???

thanks in advance!

Ludedude
06-21-2001, 11:35 AM
I don't know about making the server unstable, but I have to agree with your admin. On a virtual host, it will suck resources from the other customers. On a dedicated host it will too, but since you're the only cutomer, who cares. I don't know who you're hosted with, but in reality, a virtual host box can have upwards of 50 accounts or more on it. I can see a 2 minute cron being a drag on the box.

I know, it's not what you wanted to hear http://bbs.adultwebmasterinfo.com/ubb/frown.gif

Shannon
06-21-2001, 11:42 AM
Tell them if they cant meet your hosting needs then you'll go else where.

Best Of Luck http://bbs.adultwebmasterinfo.com/ubb/smile.gif

Hypo
06-21-2001, 11:46 AM
You should not be running a CJ site on virtual - you would experience too many downtimes and your site would be too slow loading.

PeepNTom
06-21-2001, 11:52 AM
hi all, thanks for replying but I need the "why's" of your comments so I have a leg to stand on while struggling with them. Is there any way to find out how many resources are consumed by running every 2 minutes ?

that may help if I can prove my point

PeepNTom
06-21-2001, 11:54 AM
btw I'm a newbie at this TGP stuff and am learning stuff everyday but now this roadblock has come up and I have been told by several I need UCJ to make a good go at this.

thanks guys and gals for all your replies!

eXtremal
06-21-2001, 11:55 AM
Well, this is bulshit, that what will eat the system resources is the every 2 min cron job. When the server is hosting CJ users this is not every 2 minutes, but dozens of times per second, something much heavier is executed, such as your in.cgi and out.cgi.
And if the server is able to handle this, 50 cronjobs that run every 2 minutes won't affect the server that much, that much. especially, while the execution time of this cronjob is something like 0.001 sec.
On our servers, the most of the sites run CJ scripts, both RB2 and UCJ, both are executing cronjobs every 2 minutes and is can hardly be seen if it affects the performance at all.

Just my 2 min.

Tim
06-21-2001, 04:54 PM
The cronjob on UCJ-C runs 720 times per day. The largest site pushes close to 1.5 million hits per day. So that's roughly 3 million executions of the script per day for in / out traffic. Do the math at the insignificance of the cron running every 2 minutes. http://bbs.adultwebmasterinfo.com/ubb/biggrin.gif