![]() ![]() |
Apr 22 2005, 03:30 PM
Post
#1
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
I just got an e-mail from the hamster that lives in my server. Can anyone help me to lower or balance the load on my server? I'm an ignoramus when it comes to this kind of thing.
QUOTE IMPORTANT: Do not ignore this email.
This is cPanel stats runner on something.something.com! While processing the log files for user lockup, the cpu has been maxed out for more then a 6 hour period. The current load/uptime line on the server at the time of this email is 14:13:56 up 193 days, 23:33, 0 users, load average: 1.42, 1.53, 1.63 You should check the server to see why the load is so high and take steps to lower the load. If you want stats to continue to run even with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes). |
|
|
|
Apr 22 2005, 05:42 PM
Post
#2
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
El Bumpo!
Has anyone dealt with this problem? |
|
|
|
Apr 22 2005, 08:56 PM
Post
#3
|
|
![]() SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 1,992 Joined: 30-July 04 Member No.: 41,306 |
You bumped your own topic...after 2 hours and 12 minutes?
-------------------- Your Parole Officer
|
|
|
|
Apr 23 2005, 12:57 AM
Post
#4
|
|
|
SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 2,313 Joined: 26-October 03 From: Montréal Member No.: 38,441 |
He bumped his own topic even though it was not only on the first page, but was still the top post.
-------------------- Regards, Guspaz.
|
|
|
|
Apr 23 2005, 01:03 AM
Post
#5
|
|
|
My life is The Planet ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 9,564 Joined: 6-August 03 From: Singapore Member No.: 37,995 |
Yeah and it doesn't seems to do with the topic of Load Balancing at least not in the true sense.
The reason why you are getting the error was explained in the warning email sent by the system, your load is above 1.0 . The solution would be that if your load is perpetually that high then to do the following as described in the email QUOTE If you want stats to continue to run even with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes).
-------------------- Batch Image Processors - http://www.batchimage.com
|
|
|
|
Apr 23 2005, 11:40 AM
Post
#6
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
QUOTE (eddy2099) Yeah and it doesn't seems to do with the topic of Load Balancing at least not in the true sense.
The reason why you are getting the error was explained in the warning email sent by the system, your load is above 1.0 . The solution would be that if your load is perpetually that high then to do the following as described in the email QUOTE If you want stats to continue to run even with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes). I don't want it to run that high. What I asked is how do I lower the load. I don't know much about this stuff and I hate to waste the techs time unless I have to. If I don't bump my own, nobody else will. True? |
|
|
|
Apr 23 2005, 07:14 PM
Post
#7
|
|
![]() SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 1,992 Joined: 30-July 04 Member No.: 41,306 |
Waste it? What the hell do you think you're PAYING them for!!!
-------------------- Your Parole Officer
|
|
|
|
Apr 23 2005, 07:37 PM
Post
#8
|
|
|
My life is The Planet ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 9,564 Joined: 6-August 03 From: Singapore Member No.: 37,995 |
The 1.something load is not really that high as most servers including the celeron 2.4 should handle it without an issue. The load 1 is not 100% of the CPU load but it is just some benchmark used in the past which probably refers to that of an ancient CPU class.
Setting the ExtraCPU to 1 or 2 would not crash and burn the machine. It will just get your stats generated. If your sites are generally busy and you do not want to overload it then do what I do, get another server and start moving some sites over. The other alternative may be to find out why there is the load and if it is generated by other non-web activities then you could use cron to space out the time the services get processed. A faster machine would still show the same load factor but it is no way an indication that the system is fried. I think it was mentioned that some seen load of 9 or more and if they can see it, the system should be able to handle it. In my books, it is really a non-issue. -------------------- Batch Image Processors - http://www.batchimage.com
|
|
|
|
Apr 23 2005, 09:02 PM
Post
#9
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
QUOTE (eddy2099) The 1.something load is not really that high as most servers including the celeron 2.4 should handle it without an issue. The load 1 is not 100% of the CPU load but it is just some benchmark used in the past which probably refers to that of an ancient CPU class.
Setting the ExtraCPU to 1 or 2 would not crash and burn the machine. It will just get your stats generated. If your sites are generally busy and you do not want to overload it then do what I do, get another server and start moving some sites over. The other alternative may be to find out why there is the load and if it is generated by other non-web activities then you could use cron to space out the time the services get processed. A faster machine would still show the same load factor but it is no way an indication that the system is fried. I think it was mentioned that some seen load of 9 or more and if they can see it, the system should be able to handle it. In my books, it is really a non-issue. I see. I guess I'll be alright since mine's not a "Celeryon". Thanks! |
|
|
|
Jul 31 2005, 09:49 AM
Post
#10
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
Now it's running at 5.14. Same problem. There must be something I can do to lower the load. Why does this keep happening? Any good explainations?
|
|
|
|
Jul 31 2005, 12:16 PM
Post
#11
|
|
|
Computer Chip ![]() ![]() ![]() Group: Members Posts: 692 Joined: 24-July 04 From: USA Member No.: 41,279 |
whats using the cpu at the time...
"http://IP:2086/scripts2/top" |
|
|
|
Jul 31 2005, 09:37 PM
Post
#12
|
|
|
My life is The Planet ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 7,923 Joined: 24-July 03 From: The big D Member No.: 37,965 |
Aye. Check `top` to see whats gumming up the works. From there investigate its log file and see what you can do about lightening its load.
-------------------- |
|
|
|
Aug 1 2005, 12:58 AM
Post
#13
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
Here it is. Load is now at 2.6.
******************************** Pid Owner Priority Cpu % Mem % Command 17928 root 0 0.7 0.0 /usr/local/apache/bin/httpd -DSSL 8 root 0 0.1 0.0 0 kscand/Normal 25288 root 0 0.1 0.2 0 top -n 2 -b - 1 root 0 0.0 0.0 init 3 root 0 0.0 0.0 0 keventd 4 root 0 0.0 0.0 0 kapmd 5 root 19 0.0 0.0 0 ksoftirqd_CPU 10 root 0 0.0 0.0 0 bdflush 6 root 0 0.0 0.0 0 kswapd 7 root 0 0.0 0.0 0 kscand/DMA 9 root 0 0.0 0.0 0 kscand/HighMe 11 root 0 0.0 0.0 0 kupdated 12 root 0 0.0 0.0 0 mdrecoveryd 18 root 0 0.0 0.0 0 scsi_eh_0 76 root 0 0.0 0.0 0 khubd 3499 root 0 0.0 0.0 syslogd -m 0 3503 root 0 0.0 0.0 klogd -x 3580 root 0 0.0 0.0 3dmd 3604 root 0 0.0 0.0 /usr/sbin/sshd 3618 root 0 0.0 0.0 xinetd -stayalive -pidfile /var/run/xinetd.pid 3636 root 0 0.0 0.2 chkservd 3745 root 0 0.0 0.0 crond 3755 root 0 0.0 0.0 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/something.server.pid 3789 mysql 0 0.0 1.1 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/server.pid --skip-locking 4280 named 0 0.0 2.9 /usr/sbin/named -u named 4438 root 0 0.0 0.0 rhnsd --interval 240 4450 root 0 0.0 0.1 /usr/bin/perl /usr/local/bin/ipalert_statd 4482 root 0 0.0 0.0 /usr/sbin/portsentry -tcp 4495 root 0 0.0 0.0 /sbin/mingetty tty1 4496 root 0 0.0 0.0 /sbin/mingetty tty2 4497 root 0 0.0 0.0 /sbin/mingetty tty3 4498 root 0 0.0 0.0 /sbin/mingetty tty4 4499 root 0 0.0 0.0 /sbin/mingetty tty5 4500 root 0 0.0 0.0 /sbin/mingetty tty6 4272 root 0 0.0 0.0 CROND 4273 root 0 0.0 0.0 0 upcp 4292 mailnull 0 0.0 0.0 0 exim 5957 mailnull 0 0.0 0.2 /usr/bin/perl /usr/local/cpanel/bin/eximstats 6018 nobody 0 0.0 0.0 /usr/local/cpanel/bin/startmelange 6020 nobody 0 0.0 0.0 entropychat 1892 mailman 0 0.0 0.0 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl -s start 1894 mailman 0 0.0 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=ArchRunner:0:1 -s 1895 mailman 0 0.0 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=BounceRunner:0:1 -s 1896 mailman 0 0.0 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=CommandRunner:0:1 -s 1897 mailman 0 0.0 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s 1898 mailman 0 0.0 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=NewsRunner:0:1 -s 1899 mailman 0 0.0 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s 1900 mailman 0 0.0 0.2 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=VirginRunner:0:1 -s 1901 mailman 0 0.0 0.1 /usr/bin/python2 /usr/local/cpanel/3rdparty/mailman/bin/qrunner --runner=RetryRunner:0:1 -s 1970 root 0 0.0 0.1 cppop - accepting on port 110 1949 mailnull 0 0.0 0.0 /usr/sbin/exim -bd -q60m 1953 mailnull 0 0.0 0.0 /usr/sbin/exim -tls-on-connect -bd -oX 465 2198 root 0 0.0 0.0 /usr/bin/spamd -d --allowed-ips=127.0.0.1 --pidfile=/var/run/spamd.pid --max-children=5 2224 root 0 0.0 0.1 antirelayd 22823 nobody 0 0.0 0.0 proftpd: (accepting connections) 15455 root 0 0.0 2.0 spamd child 16649 root 0 0.0 1.0 spamd child 20210 root 0 0.0 1.7 spamd child 20516 root 0 0.0 2.7 spamd child 23898 root 0 0.0 3.1 spamd child 19811 cpanel 0 0.0 0.2 /usr/bin/stunnel-4.04local /usr/local/cpanel/etc/stunnel/default/stunnel.conf 19814 root 0 0.0 0.1 cpsrvd - waiting for connections 25284 root 0 0.0 0.5 whostmgrd - serving 127.0.0.1 25285 root 0 0.0 3.3 /usr/local/cpanel/whostmgr/bin/whostmgr2 ./top |
|
|
|
Aug 2 2005, 02:28 PM
Post
#14
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
Anybody?
|
|
|
|
Aug 16 2005, 03:01 PM
Post
#15
|
|
|
Fellow ![]() ![]() Group: Members Posts: 163 Joined: 6-August 03 From: The Great State of Texas! Member No.: 37,993 |
Well, thanks for all of your help guys. btw - That was sarcasm. Now the load's occasionally over 10! I need some help!
|
|
|
|
Aug 16 2005, 05:24 PM
Post
#16
|
|
|
SuperGeek ![]() ![]() ![]() ![]() Group: Members Posts: 1,574 Joined: 23-October 03 From: Fort Wayne, IN Member No.: 38,424 |
Hire a technician. SM/TP provide them at a pretty good rate.
-------------------- Signature:
This is a block of text that can be added to posts you make. There is a 255 character limit |
|
|
|
Sep 30 2005, 01:52 PM
Post
#17
|
|
|
Computer Chip ![]() ![]() ![]() Group: Members Posts: 433 Joined: 15-February 05 Member No.: 42,581 |
Well if its helps. I had server once wich had the same problem, even after all acccounts or domains where shut down, the load was always up. Finally i discovered the issue. Well serverbeach techs did. I was hacked and had a worm wich was causing the server to crash.
My idea would be to do this: Start suspendind account or domains one per one, to see if the load gets off, it does you know where the problem is. If it even after all accounts are suspended still is overload, you probably have so worm or spam software installed. |
|
|
|
Nov 20 2005, 11:09 AM
Post
#18
|
|
![]() Newbie Group: Members Posts: 6 Joined: 2-October 05 Member No.: 43,651 |
QUOTE (Fisherman) Now the load's occasionally over 10! I need some help!
Did you look "Apache Status" to see what site was running the high load? Just look at the cpu/SS/Req/Connection. If you see a site that is slowing your server down, suspend it or something. The site that is slowing the server down should be using the highest cpu load. -TRM. -------------------- |
|
|
|
Nov 20 2005, 11:14 AM
Post
#19
|
|
![]() Computer Chip ![]() ![]() ![]() Group: Members Posts: 957 Joined: 21-May 05 From: adding maps, mods and news Member No.: 43,088 |
AUG 16 to SEPT 30 to NOV 20..rofl
-------------------- Dedicated to Game Server Administration.
|
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
| Lo-Fi Version | Time is now: 2nd September 2010 - 09:45 AM |





Apr 22 2005, 03:30 PM






