High Server Load - Httpd Processes

Mar 23, 2008

a topic long time ago that my server load is frequently high.

I'm talking about something like this
Server Load 158.86
Memory Used 28.2 %
Swap Used 99.57 %

[url]

The only way to solve this problem is to identify the load earlier and kill all httpd process. What I did was

#killall -9 httpd
#killall -9 httpd
#killall -9 httpd
x 30~40 times until no pid process found & the server load is back to normal.

On previous thread, I tried to update mysql & php and it works,

Right now again I am experiencing high server load again...

I'm very sure it's caused by httpd but I am still unable to find out the real cause of the problem and which account user is the culprit for causing this high load.

Can someone assist me by telling me where/how to begin with?

View 4 Replies


ADVERTISEMENT

Server Load, And Tracing Httpd Processes

Feb 28, 2008

I have a server that has server load showing at 25-40 (once it was even 53!), running like that for hours. The server has 4 cpus - and yet the sites on the server seem to run fine when I check them. What I'm wondering is, what exactly is load in this context; and how can load run so high like that without the server crashing?

According to top, the load is caused by httpd processes running under user 'nobody', that often take up double digit CPU percentage.

Does Apache always run under 'nobody'?

Is there any way to trace an httpd processes - which account it's for, or which physical script or URL is calling it?

And for top itself, the TIME field on one server of mine is in the format xx:xx (e.g. 3:25), on another it's TIME+ and in the format xx:xx.xx (e.g. 30:02.77). What exactly does this mean? I would asume it's minutes:seconds and minutes:seconds:hundredths, but while watching top it doesn't seem to correlate with that.

View 11 Replies View Related

Plesk 11.x / Linux :: How To Stop High Number Of Httpd Processes Crashing Server

May 17, 2014

Our server is running; Plesk 11.0.9 and CentOS 5.7 it has a Q8200 CPU @ 2.33GHz and 2GB of RAM. Now there are just two websites on the server plus a couple of redirects/forwarding domains, although lots of domains are still on the server but turned off in Plesk. Both websites are OSCommerce sites and I just need to keep these sites going until the end of the year when we will switch to our new Joomla based website.

We have seen an increasing number of server crashes and after various checks of the logs, fitting a new BIOS battery, check of the hardware by EasySpace who host the server, installation of ClamAV, LMD and RKHunter (which did find some Trojans and Suspect software), I have traced it down to some external Http activity that is taking all of my CPU time and RAM. Here is a screen capture of the Htop listing and when I killed these processes the CPU and RAM went back to normal. The problem is that I usually have to restart the HTTPD service and sometimes things get so bad that the server crashes and I have to request a power cycle.

View 8 Replies View Related

High Server Load / High Swap / Lots Of Httpd

Feb 20, 2008

I have a cPanel server with 4GB RAM

My server hangs time to time, once or twice a day. This is the last status when it happens.

Server Load 75.90 (2 cpus)
Memory Used 92 %
Swap Used 65.78 %

When I was still inside SSH when it happens, the processes I can see inside "top" are a lot of httpd processes.

So I "killall -9 httpd", I had to do it 30~40 times

#killall -9 httpd
#killall -9 httpd
#killall -9 httpd
x 30~40 times until no pid process found & the server load is back to normal.

Before that, I check httpd fullstatus, they look very normal, same goes to what I see inside WHM Apache status & cpu usage status.

At first I thought it was a memory problem after consulting with a server admin, so I replaced all 4GB new ram stick (such a waste)

View 12 Replies View Related

High Load With Many Proftpd Processes

Oct 25, 2007

I have a centos 4.4 server, I noticed the load is high and when I checked the top command I found the following:

Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17212 root 25 0 11504 6236 908 R 57 0.3 195:58.73 http
27994 ftp 18 0 7624 2232 336 R 48 0.1 0:02.39 proftpd
7056 nobody 15 0 27764 10m 1884 S 8 0.5 0:00.62 httpd
4738 nobody 15 0 25788 8952 1976 S 7 0.4 0:08.01 httpd
7199 root 18 0 6376 3704 760 R 6 0.2 0:02.41 top
7021 nobody 16 0 27240 10m 1964 S 5 0.5 0:01.73 httpd
3999 nobody 16 0 26888 9.9m 2008 S 5 0.5 0:09.39 httpd
7180 nobody 15 0 26524 9524 1700 S 5 0.5 0:00.16 httpd
6330 nobody 15 0 26856 9.8m 1992 S 4 0.5 0:04.34 httpd
6272 nobody 15 0 26764 9912 1968 S 2 0.5 0:05.36 httpd
6239 nobody 15 0 25428 8476 1888 S 1 0.4 0:02.95 httpd
1 root 16 0 2300 96 68 S 0 0.0 4:46.28 init
20323 ftp 16 0 5116 428 312 S 0 0.0 0:00.92 proftpd
22126 ftp 16 0 5512 428 312 S 0 0.0 0:01.03 proftpd
22313 ftp 16 0 5644 424 312 S 0 0.0 0:01.00 proftpd
22781 ftp 16 0 5644 460 304 S 0 0.0 0:01.04 proftpd
22837 ftp 16 0 5644 424 312 S 0 0.0 0:01.02 proftpd
24157 ftp 16 0 5776 432 308 S 0 0.0 0:01.09 proftpd
24176 ftp 16 0 5776 432 308 S 0 0.0 0:01.09 proftpd
24989 ftp 16 0 6040 476 316 S 0 0.0 0:00.91 proftpd
25327 ftp 16 0 6172 548 308 R 0 0.0 0:01.02 proftpd
25526 ftp 16 0 6172 808 308 R 0 0.0 0:01.03 proftpd
26013 ftp 16 0 6172 1128 308 R 0 0.1 0:00.98 proftpd
26152 ftp 16 0 6172 1144 312 R 0 0.1 0:01.00 proftpd
26306 ftp 16 0 6172 1172 308 R 0 0.1 0:01.02 proftpd
26455 ftp 16 0 6172 1420 312 S 0 0.1 0:04.02 proftpd
26860 ftp 16 0 6172 928 308 S 0 0.0 0:01.04 proftpd
26936 ftp 16 0 6172 928 308 S 0 0.0 0:00.91 proftpd
27166 ftp 16 0 6172 800 308 S 0 0.0 0:00.96 proftpd
27329 ftp 16 0 6172 716 308 S 0 0.0 0:01.01 proftpd
15659 ftp 16 0 6172 592 308 S 0 0.0 0:00.99 proftpd
4944 ftp 16 0 6172 544 336 S 0 0.0 0:00.98 proftpd
5163 ftp 16 0 6304 544 336 S 0 0.0 0:00.99 proftpd
18964 ftp 16 0 6304 608 308 S 0 0.0 0:00.96 proftpd
19151 ftp 16 0 6304 620 328 S 0 0.0 0:00.99 proftpd
4986 ftp 16 0 6304 596 308 S 0 0.0 0:00.87 proftpd
30721 ftp 16 0 6436 612 312 S 0 0.0 0:00.94 proftpd
13808 ftp 16 0 6436 644 316 S 0 0.0 0:01.01 proftpd
13905 ftp 16 0 6436 640 316 S 0 0.0 0:00.97 proftpd

also when I checked the `ps aux` command I found a lot in this form:

Code:
ftp 22006 0.0 0.0 5512 424 ? S 01:24 0:01 proftpd: (accepting connections)

View 2 Replies View Related

Httpd High Load

Mar 1, 2007

I have a e-card site. The e-mail and mysql are on other server, so this server only run apache.

load average: 25.52, 23.53, 26.48
Tasks: 125 total, 22 running, 97 sleeping, 0 stopped, 6 zombie
Cpu(s): 90.1% us, 9.3% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.6% hi, 0.0% si
Mem: 2059596k total, 1443196k used, 616400k free, 210660k buffers
Swap: 2048276k total, 148420k used, 1899856k free, 451924k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28864 nobody 15 0 10684 8120 2272 S 5.0 0.4 0:00.63 /usr/local/apache/bin/httpd -DSSL
28837 nobody 15 0 44348 40m 2272 S 4.0 2.0 0:02.13 /usr/local/apache/bin/httpd -DSSL
28872 nobody 15 0 7728 5220 2276 S 4.0 0.3 0:01.31 /usr/local/apache/bin/httpd -DSSL
28846 nobody 16 0 10708 8132 2288 S 3.4 0.4 0:00.94 /usr/local/apache/bin/httpd -DSSL
28855 nobody 15 0 7604 5104 2268 S 3.4 0.2 0:01.11 /usr/local/apache/bin/httpd -DSSL
28830 nobody 15 0 7604 5108 2272 S 3.1 0.2 0:01.50 /usr/local/apache/bin/httpd -DSSL
28874 nobody 15 0 7696 5176 2268 S 3.1 0.3 0:00.96 /usr/local/apache/bin/httpd -DSSL
28876 nobody 15 0 7716 5212 2272 S 3.1 0.3 0:01.25 /usr/local/apache/bin/httpd -DSSL
28968 nobody 15 0 7664 5212 2272 S 3.1 0.3 0:01.46 /usr/local/apache/bin/httpd -DSSL
28838 nobody 16 0 7744 5220 2276 S 2.8 0.3 0:00.96 /usr/local/apache/bin/httpd -DSSL
28844 nobody 16 0 7656 5132 2276 R 2.8 0.2 0:01.51 /usr/local/apache/bin/httpd -DSSL
28845 nobody 15 0 10580 8124 2272 S 2.8 0.4 0:00.51 /usr/local/apache/bin/httpd -DSSL
28869 nobody 16 0 7668 5144 2276 S 2.8 0.2 0:01.29 /usr/local/apache/bin/httpd -DSSL
28873 nobody 16 0 7704 5212 2272 S 2.8 0.3 0:01.13 /usr/local/apache/bin/httpd -DSSL
28960 nobody 16 0 7608 5112 2276 S 2.8 0.2 0:00.72 /usr/local/apache/bin/httpd -DSSL
29023 nobody 15 0 7604 5108 2272 S 2.8 0.2 0:00.59 /usr/local/apache/bin/httpd -DSSL
28858 nobody 15 0 7696 5128 2272 S 2.5 0.2 0:01.24 /usr/local/apache/bin/httpd -DSSL

Current Time: Thursday, 01-Mar-2007 14:41:43 EET
Restart Time: Thursday, 01-Mar-2007 14:37:06 EET
Parent Server Generation: 0
Server uptime: 4 minutes 37 seconds
Total accesses: 5468 - Total Traffic: 15.1 MB
CPU Usage: u34.89 s1.41 cu6.72 cs3.37 - 16.7% CPU load
19.7 requests/sec - 56.0 kB/second - 2904 B/request
38 requests currently being processed, 0 idle servers
WWWWWWWWWW.WWWWRWWWWWWWW.WRWWWWWWWWWWWWW........................
................................................................
................................................................

Timeout 30
MaxKeepAliveRequests 100
KeepAlive Off
KeepAliveTimeout 15
MinSpareServers 10
MaxSpareServers 18
StartServers 10
MaxClients 50
MaxRequestsPerChild 50

apache_1.3.37

how to optimize apache?

View 3 Replies View Related

Default Really Wird High Cpu/load (httpd Command)

Apr 5, 2008

i have 10 web sites running on my server, but they are really small talking about traffic, according to statistics, my "star web site" have 300 visits per day
I also have a few shoutcast services running on my server, but i think ther are fine

According to cpanel, yesterday I had this cpu usage (only showing the top process)
User Domain %CPU %MEM MySQL Processes
nobody 79.10 25.07 0.0

and here you go a copy op "top" command in shell

Cpu(s): 39.5%us, 57.8%sy, 0.0%ni, 20.6%id, 0.0%wa, 0.0%hi, 1.2%si, 0.0%st
Mem: 2065856k total, 1464804k used, 601052k free, 71616k buffers
Swap: 2048276k total, 0k used, 2048276k free, 955020k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10345 nobody 20 0 29484 16m 3360 R 21 0.8 0:41.87 httpd
10874 nobody 20 0 20416 9792 2852 R 20 0.5 0:10.19 httpd
10340 nobody 20 0 25748 12m 2928 R 14 0.6 0:28.20 httpd
4309 sc_dieg2 20 0 44288 4116 1788 S 1 0.2 0:18.59 sc_serv
4176 sc_maxi 20 0 37004 2816 1064 S 1 0.1 0:14.76 sc_serv
4244 sc_salme 20 0 37004 2688 1080 S 1 0.1 0:12.73 sc_serv
4316 sc_dieg3 20 0 44288 4392 1752 S 1 0.2 0:17.48 sc_serv
4352 sc_sergi 20 0 39684 3264 1320 S 1 0.2 0:19.24 sc_serv
4413 sc_eddyo 20 0 39684 2892 1368 S 1 0.1 0:16.68 sc_serv
4420 mexicanr 20 0 38524 1916 588 S 1 0.1 0:11.28 sc_serv
4534 sc_entor 20 0 38680 2720 1264 S 1 0.1 0:13.05 sc_serv
9547 root 20 0 2388 1076 796 R 1 0.1 0:09.37 top
4116 sc_jocuh 20 0 36848 1988 576 S 0 0.1 0:11.25 sc_serv
4553 sc_aleja 20 0 89004 8332 6864 S 0 0.4 0:11.94 sc_serv
6829 120 20 0 5988 2156 1664 S 0 0.1 0:01.64 glftpd
11166 root 20 0 7044 2332 1868 S 0 0.1 0:00.01 sshd
1 root 20 0 2136 644 556 S 0 0.0 0:00.82 init
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0 0.0 0:00.18 ksoftirqd/0
5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0
6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1
7 root 15 -5 0 0 0 S 0 0.0 0:00.13 ksoftirqd/1
8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1
9 root 15 -5 0 0 0 S 0 0.0 0:00.02 events/0
10 root 15 -5 0 0 0 S 0 0.0 0:00.02 events/1
11 root 15 -5 0 0 0 S 0 0.0 0:00.00 khelper
62 root 15 -5 0 0 0 S 0 0.0 0:00.08 kblockd/0
63 root 15 -5 0 0 0 S 0 0.0 0:00.17 kblockd/1
66 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid
67 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify
196 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue/0
197 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue/1
199 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksuspend_usbd
205 root 15 -5 0 0 0 S 0 0.0 0:00.00 khubd

I tried to kill all "nobody" process, and then is everythin OK but after 5 minutes is happening again, the worst thing is that every minute this cpu usage is increasing untillall my web sites crashes (just website , shoutcast service works fine)
the process os "nobody" is: /usr/local/apache/bin/httpd -k start -DSSL

View 6 Replies View Related

Cpu High Load /usr/local/apache/bin/httpd -k Start -DSSL

Jul 29, 2009

after installed php 5.2.10
nobody /usr/local/apache/bin/httpd -k start -DSSL

Code:
5896 nobody 0
81.5
1.3 /usr/local/apache/bin/httpd -k start -DSSL
mysql (5.0.81-community)
os : centos 5.3

Has been very fast server. Guide is accurate and if you leave.

View 1 Replies View Related

Server Load :: Of Simultaneous Processes Should Not Exceed 5

May 1, 2008

In learning that some hosts seem to be tightening shared hosting specs, I'm wondering what a 'simultaneous process' is... as from this clip: 'number of simultaneous processes should not exceed 5'.

Is each part - for example, graphics and includes - of an individual webpage a 'process'?

View 3 Replies View Related

Server Update, Too Many Apache Processes But Low Load

Apr 24, 2007

I have 2 almost similar webservers:

debian 3.2, P4 3GHZ, 1 Gb ram, kernel 2.6, apache2, php4

Initial apache2.conf:

Code:
Timeout 4
KeepAlive Off
KeepAliveTimeout 2
ServerLimit 1500

<IfModule prefork.c>
StartServers 10
MinSpareServers 10
MaxSpareServers 15
MaxClients 1500
MaxRequestsPerChild 3000
</IfModule>

I update the sources.list on server 1 to mirrors of the new debian 4 etc . I run apt-get update and apt-get dist-upgrade . A whole bunch of things get updated (it was long time ago that I did this anyway). After some troubles with /boot/grub/menu.lst the server boots ok, and everything is well. This server used to have loads of 15-25 at peak times, but after the update its running very smooth with loads of 2-3 at the same peak times. I dont know why exactly, as I noticed updates in OS , kernel version (from 2.6.8x to 2.6.18) , apache2 , php (4.4.4-8+etch1) , and I also needed to update eaccelerator from 0.94 to 0.95 .

A few days later I update server 2. Everything seems to go the same, although the kernel version stays at 2.6.8-3-686. I dont think kernel version at start was exactly same at server 1. But the new php version is the same as server 1, and everything else looks the same too.

But when peak times are coming up, this server starts to have troubles. It is quickly rising to total of 200-300 processes , while server 1 always stays stable at 60-70.

Server 2 also reacts slow if I click somewhere on the site. It takes 5-10 seconds to show a new page. However the load stays pretty low at 1-2 . I see no big cpu usage and also no big memory usage. I have the impression that this server 2 is somehow wasting a lot of apache processes and is making things hard for itself without a real reason.

When I check the seperate mysql database server, I also notice a lot of processes.

Around 200-250 whereas it used to be 40-60. Sometimes this adds up so hard, that all webservers are blocked because mysql has too much processes. When I check the mysql connections, I see a few dozen things like 'unauthen ip:port Connect login' just hanging. All of them have the ip of webserver 2. Those extra apache processes are somehow hanging on to the mysql server without really doing something.

I dont know what is happening, but this server is underperforming very badly now. I managed to limit the problem by drastically lowering ServerLimit and MaxClients on webserver 2 , but this is no real solution. The server is still slow, at least now its not bringing down the others.

My question : what should I check for now ? I noticed a different structure in the conf files in debian etch, maybe something new has a bad influence on my old conf files? Is there something wrong with the combination of kernel+php version? I have no idea, please point me in the right direction so I can learn from this.

View 4 Replies View Related

My Server Is Very Slow, High CPU, High Apache Load

Oct 31, 2009

My server is very slow, High CPU, High Apache load....

I got a new server and i had setup a script on it.

No server tweaks has been done.

I run a filehosting site so it gets very slow when traffic is high.

Here is some info:

Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4135 filedip 19 0 12812 8892 2212 R 18.9 0.4 0:00.74 index.cgi
3140 apache 15 0 22624 9604 2768 S 17.3 0.5 1:54.45 httpd
3556 apache 15 0 22792 9592 2768 S 17.3 0.5 0:43.53 httpd
3739 apache 15 0 22672 9556 2744 S 17.3 0.5 1:09.67 httpd
3884 apache 15 0 22664 9560 2744 S 17.3 0.5 0:23.98 httpd
3474 apache 15 0 22672 9572 2756 R 16.1 0.5 1:34.09 httpd
3548 apache 15 0 22792 9560 2740 S 16.1 0.5 1:33.67 httpd
3991 apache 15 0 22640 9588 2756 S 15.1 0.5 0:22.44 httpd
3475 apache 15 0 22672 9580 2756 S 13.2 0.5 1:31.42 httpd
3493 apache 15 0 22664 9592 2768 S 12.9 0.5 1:15.52 httpd
3769 apache 15 0 22664 9580 2756 S 12.9 0.5 0:45.19 httpd
3638 apache 15 0 22664 9576 2756 S 12.3 0.5 0:32.82 httpd
3724 apache 16 0 22664 9580 2756 R 12.3 0.5 0:34.25 httpd
3626 apache 15 0 22672 9580 2756 S 11.7 0.5 0:52.54 httpd
4023 apache 16 0 22792 9560 2740 R 11.3 0.5 0:13.16 httpd
3882 apache 15 0 22664 9576 2756 S 10.1 0.5 0:38.56 httpd
3005 apache 15 0 22672 9588 2768 R 9.1 0.5 2:06.61 httpd

I dont know much about server managment...

how to fix this so server doesnt go slow?

View 6 Replies View Related

Server High Load/high Mysql Usage

Jul 2, 2009

I have a site that is eating up my server resources and need to know what the best solution for this is. I'm thinking of getting another server just for mysql but do not know what specs the server should be to handle the current traffic/database load and have the site run smoothly without slowing down to a snail's pace.

An alternative is to get another server just for the videos being served and leave the database and html on the current server. This is where I'm stuck and don't know what route to take with this.

My current server stats:

Dual Xeon 5130
4GB RAM
250GB
50 Mbit/sec
CentOS 3.9

Website traffic stats:

15,000 visitors/day
150,000 pageviews/day
Serving videos

I've attached screenshots of top and bandwidth usage per day. Hopefully with this information you could tell me if I need another server or if there are any things I can do to the current server to help things move faster.

View 13 Replies View Related

Why So Many Httpd Processes

Apr 18, 2007

I was wondering why are there so many Httpd processes running?

Code:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 4808 656 ? Ss Apr17 0:00 init [3]
root 5579 0.0 0.0 3660 580 ? Ss Apr17 0:00 syslogd -m 0
named 5596 0.0 0.0 51260 3064 ? Ssl Apr17 0:00 /usr/sbin/named -u named -n1 -c /etc/named.conf -u named -t /
root 5612 0.0 0.0 23000 1228 ? Ss Apr17 0:00 /usr/sbin/sshd
root 5620 0.0 0.0 8748 908 ? Ss Apr17 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root 5679 0.0 0.0 6432 1192 ? S Apr17 0:00 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pi
mysql 5713 1.2 1.0 152112 43796 ? Sl Apr17 28:39 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/us
qmails 5771 0.0 0.0 2612 492 ? S Apr17 0:00 qmail-send
qmaill 5773 0.0 0.0 2560 496 ? S Apr17 0:00 splogger qmail
root 5774 0.0 0.0 2600 400 ? S Apr17 0:00 qmail-lspawn ./Maildir/
qmailr 5776 0.0 0.0 2600 432 ? S Apr17 0:00 qmail-rspawn
qmailq 5777 0.0 0.0 2556 380 ? S Apr17 0:00 qmail-clean
root 5798 0.0 0.0 9740 944 ? Ss Apr17 0:00 crond
root 27839 0.0 0.4 165396 16396 ? Ss 18:09 0:00 /usr/sbin/httpd
apache 27853 0.5 0.4 225028 19380 ? S 18:09 0:18 /usr/sbin/httpd
apache 27855 0.5 0.4 223784 18060 ? S 18:09 0:21 /usr/sbin/httpd
apache 27861 0.5 0.4 224336 18696 ? S 18:10 0:19 /usr/sbin/httpd
apache 27862 0.5 0.4 223276 17408 ? S 18:10 0:19 /usr/sbin/httpd
apache 27876 0.3 0.4 223892 18248 ? S 18:10 0:13 /usr/sbin/httpd
apache 27877 0.5 0.4 223936 18284 ? S 18:10 0:18 /usr/sbin/httpd
apache 27878 0.4 0.4 222672 16728 ? S 18:10 0:15 /usr/sbin/httpd
apache 27879 0.2 0.4 224328 18588 ? S 18:10 0:08 /usr/sbin/httpd
apache 27880 0.5 0.4 224164 18528 ? S 18:10 0:20 /usr/sbin/httpd
apache 27915 0.2 0.4 224072 18380 ? S 18:10 0:10 /usr/sbin/httpd
apache 27916 0.5 0.5 226436 20704 ? S 18:10 0:18 /usr/sbin/httpd
apache 27917 0.5 0.4 223208 17236 ? S 18:10 0:19 /usr/sbin/httpd
apache 31980 0.4 0.4 223152 17156 ? S 18:31 0:09 /usr/sbin/httpd
apache 32121 0.3 0.5 226344 20612 ? S 18:32 0:07 /usr/sbin/httpd
apache 32205 0.6 0.4 224272 18616 ? S 18:33 0:13 /usr/sbin/httpd
apache 1749 0.4 0.4 224520 18896 ? S 18:42 0:07 /usr/sbin/httpd
apache 1752 0.5 0.4 223272 17204 ? S 18:42 0:09 /usr/sbin/httpd
apache 1759 0.6 0.4 223316 17344 ? S 18:42 0:11 /usr/sbin/httpd
apache 1760 0.6 0.4 222940 16960 ? S 18:42 0:10 /usr/sbin/httpd
apache 1789 0.3 0.4 223372 17392 ? S 18:42 0:06 /usr/sbin/httpd
apache 1893 0.4 0.4 223256 17264 ? S 18:43 0:06 /usr/sbin/httpd
root 3469 0.0 0.0 41260 3036 ? Ss 18:47 0:00 sshd: root@pts/0
root 3478 0.0 0.0 6588 1524 pts/0 Ss 18:47 0:00 -bash
apache 5175 0.7 0.4 171244 17208 ? S 18:52 0:07 /usr/sbin/httpd
apache 9237 0.7 0.4 223288 17236 ? S 19:08 0:00 /usr/sbin/httpd
apache 9260 0.2 0.3 170156 15756 ? S 19:08 0:00 /usr/sbin/httpd
apache 9454 0.7 0.3 170576 16128 ? S 19:09 0:00 /usr/sbin/httpd
root 9558 0.0 0.0 5484 836 pts/0 R+ 19:10 0:00 ps -aux
thanks!

And I just upgraded my Vps to 256mb how does the new spec compare to other 256 vps systems:

Code:
Processing UBC version 2.5 for VEID: 44763202
Wed Apr 18 19:17:27 CEST 2007 s15248973.onlinehome-server.com
19:17:27 up 1 day, 14:39, 1 user, load average: 0.49, 0.41, 0.30
-----------------------------------------------
****** vmguarpages and oomguarpages limits are unspecified
****** each VE privvmpages limit should be <= 0.6 * RAM (=1228 MB), probably [much] lower.
563 MB Allocation Limit [privvmpages limit]
****** only high value processes have a chance in this range
****** having this safety range is important to permit critical processes
512 MB Allocation Barrier [privvmpages barrier]
****** allocation requests in this range have a chance
64 MB Allocation Guarantee [vmguarpages barrier]
****** allocation will succeed in this range
256 MB Memory Guarantee [oomguarpages barrier]
416 MB ( 419 MB Max) page memory allocated [privvmpages held]
229 MB ( 231 MB Max) memory + swap used [oomguarpages held]
229 MB ( 231 MB Max) page memory used [physpages held]
33 MB ( 33792 KB) kernel memory limit [kmemsize limit]
****** a safety range here, between limit and barrier, is important
30 MB ( 30720 KB) kernel memory barrier [kmemsize barrier]
16 MB ( 16497 KB) kernel memory used [kmemsize held]
0 MB ( 910 KB) buffer memory used [*buf held]
-----------------------------------------------
Used : Max_Used : Limit for Other Resources
1779 1785 8192 numfile
6 8 413 numflock
14 14 150 numiptent
11 15 720 numothersock
54 55 128 numproc
1 1 32 numpty
0 1 512 numsiginfo
46 47 720 numtcpsock
-----------------------------------------------
Fail Count conditions: 1
privvmpages 106709 107460 131072 144180 870

View 3 Replies View Related

Httpd Processes (9% Of Memory Each)

Mar 22, 2008

I recently modified my loadavg script to store in a database the output of a top command if there's ever server loads of over 1. Overnight I've had 12 such times logged to a database.

Upon inspecting things (I was expected there is a recurring problem), the top command reveals that there are always three queries running together which take over 30 seconds each, and take up ~9% of memory each:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26119 nobody 25 0 73492 38m 4792 S 0 8.5 0:30.00 httpd
7313 nobody 25 0 76716 42m 4992 S 0 9.5 0:29.99 httpd
14212 nobody 19 0 70688 39m 4844 S 0 8.8 0:30.03 httpd

Is there a command that will tell me exactly what these processes are? Like in WHM's "CPU/Memory/MySQL Usage" whereby it says what account these httpd processes are coming from, and the actual page they are coming from as well?

If I could log these details (i.e. account and page these are coming from) along with the output of the top command, I can hopefully troubleshoot where this problem is coming from.

View 3 Replies View Related

Httpd Processes Running Top Or Ps

Feb 5, 2008

so here is a simple question that i just can't seem to figure out.. when i run the command top or ps -auxw.. they show the httpd processes as the command httpd or /usr/sbin/httpd, but how do i know what file that is? is there anyway to find out what file that is actually getting executed or served?

View 2 Replies View Related

High Server Load ...?

May 7, 2009

do you know what my server having very strange problem my server load suddenly increas after every 2 or 3 days some time after 1 days but when we talk about those days in which server load is fine then that time server load very low almost 0.4 to 0.1 .

But on that high load day server load reached upto 500.

when i try to find out what wrong then i only get that there is too much connection of http when i kill httpd through this killall -KILL httpd then server load suddenly decrease and then stable.

View 12 Replies View Related

Server Load Too High (VPS)

May 27, 2007

I have a couple of sites that are generating errors because the server load is too high and when I check service status I am seeing the following: Server Load 21.49 (8 cpus)

How can I tell if the problem is one of my sites in my VPS or a different site on a different VPS on the same server?

View 14 Replies View Related

Server Load High

May 9, 2007

server load is too high, can you suggest why too many process of qmail-smtpd even i stopped qmail and there is no more 25 emails in queue.

top - 22:26:03 up 8 days, 5:56, 0 users, load average: 150.96, 150.27, 142.68
Tasks: 183 total, 150 running, 33 sleeping, 0 stopped, 0 zombie
Cpu(s): 99.0% us, 1.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 4167500k total, 146416k used, 4021084k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20168 qmaild 25 0 3468 1432 1168 R 3.3 0.0 2:55.27 qmail-smtpd
20208 qmaild 25 0 3468 1432 1168 R 3.3 0.0 2:43.98 qmail-smtpd
20320 qmaild 25 0 3468 1432 1168 R 3.3 0.0 2:38.56 qmail-smtpd
20425 qmaild 25 0 3468 1432 1168 R 3.3 0.0 2:31.09 qmail-smtpd
20444 qmaild 25 0 3468 1432 1168 R 3.3 0.0 2:27.97 qmail-smtpd
5413 qmaild 25 0 3468 1432 1168 R 3.3 0.0 1:00.38 qmail-smtpd
5705 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:57.91 qmail-smtpd
5763 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:57.40 qmail-smtpd
5806 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:56.99 qmail-smtpd
5999 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:55.98 qmail-smtpd
7318 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:53.39 qmail-smtpd
7639 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:51.43 qmail-smtpd
7866 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:50.29 qmail-smtpd
7980 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:49.59 qmail-smtpd
8023 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:49.29 qmail-smtpd
8101 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:48.48 qmail-smtpd
9253 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:47.40 qmail-smtpd
9355 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:46.78 qmail-smtpd
9386 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:46.48 qmail-smtpd
9525 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:45.84 qmail-smtpd
9611 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:45.81 qmail-smtpd
9854 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:44.89 qmail-smtpd
9974 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:44.08 qmail-smtpd
11272 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:42.29 qmail-smtpd
11331 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:42.09 qmail-smtpd
11482 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:41.69 qmail-smtpd
11652 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:40.99 qmail-smtpd
12040 qmaild 25 0 3468 1432 1168 R 3.3 0.0 0:39.41 qmail-smtpd
3530 qmaild 25 0 3468 1432 1168 R 3.0 0.0 1:08.48 qmail-smtpd
12246 qmaild 25 0 3468 1432 1168 R 2.0 0.0 0:38.79 qmail-smtpd

View 4 Replies View Related

Server High Load

Apr 22, 2007

I know there are thousands of topics about this and yes i did use search function to try doing some changes myself and didnt wanna hijack someone else's topic so started my own

well my problem is i run a torrent site which puts a lot of load on my server. Just got upgraded to P4 2.8 ghz with 2GB ram , iam running fedora with WHM/Cpanel

i will do anything with server to put load down cos of load i have turned off my 4 other big sites ...

View 14 Replies View Related

Server Load High

Jun 9, 2008

there are lot of sessions /task running of httpd by user nobody.

Due to this my server load going very high.

I am use opreting system fadora and cpanel latest version.

View 9 Replies View Related

Server Load High But

Nov 23, 2007

the site is running fine..

i have increased my maxclients from 256 to 320 ( reset all same ) my load has increased from avg 3 to 8.. is it a prob?

View 5 Replies View Related

High Server Load

Mar 24, 2007

I've got a server that suddenly over the last three days has exploded as far as server load. Watching top I have some httpd processes that are using up all of the cpu and lasting for quite some time. How can I find out more about these hanging processes? I need to track this down as quickly as possible and find out what the cause is.

View 13 Replies View Related

High Server Load CLAMD

Apr 20, 2009

We have an abnormal server load because of clamd.

View 4 Replies View Related

Too High Server Load, How To Handle

May 4, 2008

if upgrading to that new server that I'll mention will probably solve my problems. Whatever help you can provide would be greatly appreciated. Below are the details:

In the GMT evenings and nights my current server gets so loaded that every page load takes 10 - 30 seconds. Even the pure html pages will be so slow to load. It seems that after a certain treshold it just suddenly becomes that much slower. Not much middleground there. I have high MaxClients and ServerLimit values now and the error log doesn't say that they are exceeded anymore but that didn't help enough.

I have a high traffic website that is using latest version of apache (2.2.x) with the prefork MPM and apache is optimized, PHP 5.2.5 and APC 3.0.15.

I get 160,000 - 210,000 pageloads per day. 32,000 - 45,000 visits per day.

Most of its pages are PHP but shouldn't be too CPU or databes intensive. Mysql isn't used and I mostly used sharedmem (php's shm functions) for databases. 2 semaphores are quite heavily used but that can't explain how a few more users would make the server serve pages so much slower.

Swap usage is practically 0 and CPU user % usage is like 1 - 2 % and CPU system % is also about the same even during peak times. However the Average Load or whatever that "top" reports is 6 - 9.

My current server scecs: 1 GB Ram, Pentium D 3 ghz, CentOS 5 32bit fully updated.

I load all pictures and even the stylesheet from a secondary server by using href="$secondaryserverIP..." in the html code, so the main server practically just serves the pages.

My new server will have apache with the worker MPM and latest versions of every software. Also its specs are: 2 GB of RAM, Intel Dual Core Xeon 2.40GHz, CentOS 5.1 32bit fully updated.

I have a sophisticated netstat based ddos script that is an improved version of DDoS Deflate and while some of these slowdowns seem to have been caused by attacks that it then was able to defend me from, most of them are not. I am even protected from users who constantly have 7+ connections to my site and if someone has a way too high number of connections, the script won't even check if it constantly has it and the script just bans that user outright. It probably is banning a bunch of innocent proxy users too but that is a small price to pay.

View 14 Replies View Related

High Server Load + Chat Box

Jun 18, 2008

Alright we just bought a new customer aboard with a ChatBox on the site it seems as if this chatbox is causing higher load we went from 0.00 to 0.68-1.12 now this happened on our old server before too with another chatbox. They use vBulletin any ideas as to what would be causing this?

View 5 Replies View Related

How To Lower High Server Load

Feb 13, 2008

When i check the server status is shows a high server load.

How do I lower the server load? it looks like for mysql activity.

View 14 Replies View Related

MySQL High Server Load

Dec 18, 2008

MySQL the last few days seems to be constantly the most demanding process in top, which it never was before. As far as I can tell, nothing has substantially changed with regards to traffic to MySQL driven sites on the server. Is there anything that might be wrong with the databases, etc., that might throw MySQL into a tizzy?

View 8 Replies View Related

Preventing Certain Processes From Using A Certain Load..

Jul 22, 2008

Is there a way to prevent a certain service from taking up a certain amount of load on the server?

Like, shouldn't there be a way I can tell gzip or exim how much server load they are allowed to take up on my server?

I know it may run them slower, but it will be for the better if I could set each one to only be able to have a max load peak or something.

View 7 Replies View Related

May Switch Cause High Load On Powerful Server

Jul 28, 2009

I have two quad core processors and load is like 15.

May it be caused by switch if it doesnt let traffic trough properly?

if dmesg grep eth shows 100 full duplex is it normal or should it be 1000 full duplex?

how can I make it 1000 full duplex on centos 5?

Quote:

0000:0a:02.0: eth0: (PCI Express:2.5GB/s:Width x4)
0000:0a:02.0: eth0: Intel(R) PRO/1000 Network Connection
0000:0a:02.0: eth0: MAC: 3, PHY: 5, PBA No: ffffff-0ff
0000:0a:02.0: eth1: (PCI Express:2.5GB/s:Width x4)
0000:0a:02.0: eth1: Intel(R) PRO/1000 Network Connection
0000:0a:02.0: eth1: MAC: 3, PHY: 5, PBA No: ffffff-0ff
ADDRCONF(NETDEV_UP): eth0: link is not ready
0000:0a:02.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
0000:0a:02.0: eth0: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ADDRCONF(NETDEV_UP): eth1: link is not ready
0000:0a:02.0: eth1: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
0000:0a:02.0: eth1: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present
ADDRCONF(NETDEV_UP): eth0: link is not ready
0000:0a:02.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
0000:0a:02.0: eth0: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ADDRCONF(NETDEV_UP): eth1: link is not ready
0000:0a:02.0: eth1: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
0000:0a:02.0: eth1: 10/100 speed: disabling TSO
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth0: no IPv6 routers present
eth1: no IPv6 routers present

View 7 Replies View Related

High Server Load And Slow Performance

Mar 11, 2009

I am currently hosting my website on one server with the specs:

2.8ghz Dual Quad-Core processor + 8 gigs of ram + two 500 hard drives with a 50 mbps unmetered bandwidth package.

My current problem lies in high server loads and very slow server performance throughout the day.

I am considering migrating over to The Planet onto server with the specs:

3.0ghz Dual Quad-Core + 18 gigs of ram + two 50gb hard drives with 2TB of monthly bandwidth transfer.

In an attempt to have great bandwidth pricing and server performance, I plan on downgrading my current server with my current host to a lowe-end server and keeping it only to host my VIDEO and MUSIC files with the 50mbps unmetered package. The Planet will then host my database and all other web related files on their new server.

Is this a good idea as an attempt to save money in bandwidth costs and eliminating my server lag issues?

I was offered a setup of a separate web and database server at my current host but from what I have read, no one touches the performance and reliability The Planet has to offer.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved