certify
07-17-2001, 11:07 AM
Over the past fifteen minutes, the CPU has been heavily loaded.
15 minute CPU load average is 71.99
The processor is currently 39 degrees Celsius.
The system has been running for 6 days, 5 hours, and 32 minutes.
Should I upgrade to RaQ4 or upgrade to RedHat Pentium III 750Mhz?
certify
07-17-2001, 11:16 AM
Any particular reasons why?
ljprevo
07-17-2001, 11:54 AM
I would telnet into your raq and run the command:
top
and see what processes are running. A possible bad script looping. It has happened to my raq.
the first thing you should do is determine why the load is that high and correct the problem. if your running a load that high simply from webtraffic you wont find a single server large enough to get the load where it needs to be period.
Steve
certify
07-17-2001, 12:20 PM
I think is the the banner ads script that I have just install but I will check it ou first.
jnestor
07-18-2001, 11:53 AM
Look into using a different script.
It's possible that you really are exceeding the capabilities of your RaQ but I was able to get my RaQ 3 from spikes of 20+ load to spikes of under 2 with the average under 1. In my case it was optimizing some MySQL queries and some runaway apache processes.
kickster
07-19-2001, 09:20 AM
I had same problems, I moved to a PIII 800 and now my load is as low as 0.05 instead of 12 to 50 on raq 3. a pIII 750 is way more powerfull. Go get the real dedicated server. I did and I love it.
certify
07-19-2001, 10:02 AM
I going to move to a PIII 750MHz with 512MB RAM RedHat Server next month. I hope this will sort out all this problems.
certify
07-19-2001, 10:08 AM
I have change to a better banner script which uses MySQL and mod_perl and now the load is
Over the past fifteen minutes, the CPU has been heavily loaded.
15 minute CPU load average is 6.26
The processor is currently 43 degrees Celsius.
The system has been running for 8 days, 4 hours, and 32 minutes.
Why Perl? Give PHP 4.0.x/MySQL a try :). Both works great on the RaQ3 and serverload is below 1.00.
certify
you may want to look into C/C++ scripts. These are usually much faster and require less resources that either perl, php, or mod_perl scripts.
I recently switched to a C++ based webmail program. It is significantly faster than PHP or Perl based systems. Unfortunately, many of the C-based programs are not free, but many are capable of handling >50,000 unique visitors/day.
Understand that the load average tells you how many processes are waiting to be executed. If you can get a banner program that runs faster then this should drop.
ljprevo
07-20-2001, 02:17 PM
Originally posted by huck
I recently switched to a C++ based webmail program.
Which one?
pmak0
07-20-2001, 05:47 PM
Tips for running mod_perl:
On the httpd that has mod_perl compiled, do not run anything except mod_perl scripts. If you have other pages to be served, put those on a separate instance of httpd (even better, use thttpd if they are static files).
Turn "KeepAlive Off" on the mod_perl httpd server.
Install lingerd on the mod_perl httpd server.
This will let you squeeze out a little more resources without having to modify your current scripts.
Of course, going to a C/C++ solution would be even faster if you can do so.