Server :: Apache Load VERY High - How To Fix It

Apr 2, 2011

on an old server of mine, as soon as apache is started, the load average that I get to see with 'top', that normally is under 1, now just steadily climbs up and up to easily 150, in fact disabling the webserver from serving any webpage. I've checked netstat, and I'll try to upload the output. The ip's that are in there I've blocked with iptables. But that doesn't help or so it seems. I see nothing weird in the error logs. As soon as I stop apache, the load goes back to normal. As soon as I (re)start it, up it goes again. What can cause this and how do I get rid of it?

p.s. It's an old server, fedora3 or so, and I've got a new one to which I'll transfer the domains, but until that's completely done, I'd like this one to run as it has for years...

View 1 Replies


ADVERTISEMENT

Server :: Apache Message: Load Is Too High

Jul 28, 2010

I have a apache cluster with more than 10 nodes, based on ldirector and heartbeat. The problem is that I cannot predict if my nodes will handle the traffic in the next day (hosting a website based on daily campaigns). So I decided to limit the number of active connection on the nodes (from apache), but this is only a temporary solution. I want to create a page that will appear to users that are getting over the limit. Has anyone made this before? Can you tell me how is it possible (I don't want a how to, just a starting point to study)? I think squid can do it, but I don't know how to search for it. To give you an example of what I want, you can see the same thing on deviantart.

View 3 Replies View Related

Server :: Load Average Is High

Dec 14, 2009

The load average is almost 1.06, but cpu is not 100% utilized... I am just wondering why load average is 1.06 in that case still ? (well i monitored cpu for long time, it never exceeded above 40%)can anyone explain the reason behind it ? Also is the system over utilized in this case ?

View 3 Replies View Related

Server :: Load Average Going High Between 60 - 70

Aug 18, 2011

I am having Red Hat LINUX 5 Enterprise Server and facing problem regarding very very high server load (load average is going high up to 60-70)due to which server is getting hang.

View 7 Replies View Related

Red Hat / Fedora :: High Load Averages In One Of Server

Jul 6, 2010

I am facing a high load averages in one of my linux server find the output of the top command.

[code]...

How to reduce the load averages.

View 3 Replies View Related

Server :: High Load Average With No Reason

Jan 13, 2010

I have high load average on the servers with no identified reason (From my point of view)

View 2 Replies View Related

Server :: Running Apache 2.2.3 - High Swap Usage

Oct 2, 2009

I am running Apache 2.2.3 on a CentOS release 5.3 (Final) with 100 Sites. I've notice that Apache is making my server Swap around 200 MBs.
"http://www.xxx.yyy.zzz/server-status" doesn't show me too much to, so I am looking the behavior of specific httpd process.
ProcessID "18753" is the one for "http://www.xxx.yyy.zzz/server-status" in my browser.

This command show me (In KBs) how much virtual memory is that specific process using:
# /etc/init.d/httpd start
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
3012
... Running this command a lot of times it gives me the same output, but suddenly...
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
21708

Something make that process (and all the others httpd process too) to use a lot more memory!

Part of my httpd.conf:
# Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3

<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 100
</IfModule>

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule> #

My server is running Mysql 5.1.34, vsftpd 2.0.5, BIND 9.3.4-P1 (as slave). I couldn't found anything running in the specific time that httpd processes start to use that much memory.

View 7 Replies View Related

CentOS 5 Server :: High Priority - Apache Will Not Start

Nov 20, 2010

It is now almost 3 'o clock in the night here, last 5 hours trying to fix this problem. CentOS always runs perfectly here. I am not a genie with the terminal so wanted to install GNOME on my vps, than vnc but didn't work and did a restart.

Now got this:
Quote:[root@srv1 conf]# apachectl start
Syntax error on line 41 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

View 1 Replies View Related

Server :: Nagios Performance - High Load Average

Jul 6, 2010

I have a Nagios server with a lot of hosts and services; around 400 services (in all) and 150 hosts. Most of these services are programmed in bash language. The problem is the server has a high load average; between 5 and 11. The server has the next features:

- Intel Xeon 2.66GHz Dual Core
- 4MB cache memory
- 1GB RAM memory
- 50GB hard disk

Is this load average normal? Should I program the plugins with C?

View 3 Replies View Related

CentOS 5 Server :: Apache Slow To Respond / Make It High?

Nov 16, 2010

I have CentOS 5.5 x86_64 with Apache, php and mysql.
I have just installed OTRS (helpdesk - trouble ticket system) on that server and no users.
This system works with perl, apache and mysql.
I notice that is slow to respond and at times unresponsive the apache welcome page. code...

View 5 Replies View Related

Server :: High-Availability HTTP Load Balancer With HAProxy & Heartbeat On RHEL 5.4

Oct 15, 2010

I am trying to setup a High-Availability HTTP Load Balancer With HAProxy & Heartbeat using the below links.

I have all RHEL 5.4 servers hosted on VMWare.

[url]
[url]

This is the scenario, as given in the links as wells as my setup.

Load Balancer 1

Load Balancer 2

Web Server 1

Web Server 2

I have followed all the steps mentioned in the links religiously except the 2.2 here, in which it is asking to configure the vhosts. I could not really understand , what is to be placed in /etc/httpd/conf.d/vhosts.conf file and in which Web Server.

Due to this step only, I think I am failing in Failover test given in Point 4.1 here. I am able to open the webpage by [url] which gives the content of Web Server 1 (http1.example.com). But, when I try to shutdown the http service (to check failover), it does not shows the contents of Web Server 2 (http2.example.com)

Although, I am able to succeed in Failover Test 4.2, in which shared IP 192.168.0.120 switches when I try to start/stop the any of the Load Balancers.

View 2 Replies View Related

Server :: Apache Causing A HUGE Load?

Feb 10, 2010

my server and it had a load of 60 so i immediately took down apache and the load went back down to 0 in a few mins and every time i put it back on the cpu usage on both cores immediately goes to 100% and the load goes up to 20 in just 60 seconds until i take apache down again?

View 6 Replies View Related

Server :: Apache Configuration - Pages Do Not Load

Mar 20, 2010

I have apache running on my server, and also Zoneminder, a surveillance system running on the same machine. Both services runs without glitches, and I think apache's config as well as ZM's config are fine. I am not sure I understand how apache (not to mention the whole thing zoneminder, apache, web browser...) works. Pretty hard to manage when you dont know what you are doing. Also, when I try the supposed to work zoneminder webpage in my web browser, I get nothing (a blank page), or sometimes a "Not found" error message. The latest seems to be from apache because it is the same font as the "It works!" message when I try http://localhost:80

The only bit of information I have so far is in the apache error log (/var/log/httpd/error_log) and it says:
Code:
[Sun Mar 21 00:35:14 2010] [error] [client 192.168.0.100] script '/srv/httpd/htdocs/zm.php' not found or unable to stat
[Sun Mar 21 00:46:04 2010] [error] [client 127.0.0.1] File does not exist: /srv/httpd/htdocs/zm
It seems that the "zm.php" is missing.... That would be why Apache cant find the page?

View 14 Replies View Related

Server :: Web Load Balancing Using Ldirectord And Apache?

Feb 16, 2010

I already setup the load balancer and two servers behind it with this kind of topology

Code:

_ Server 1
request -> DIRECTOR /
\_
Server 2

[code]....

The problem is when I try to hit the 192.168.1.1, it sometimes give me a HTTP 200 and sometimes it will timed out. I hit it using lynx -dump. It should return "Hello world!" if success. But if we hit it directly to 192.168.1.2:80 and 192.168.1.3:80, it will return HTTP 200 which means no error and no timeout. Since the Server 1 is the same as Server 2 in configuration, are there somethings I missed here?

Another information is that I set the director using round robin algorithm, so everytime a successful hit returned from server 1, the next one is surely heading to Server 2 right? Based on the Apache's access log, I also knew that the timed out occured only when it is the Server 2's turn to handle the request. Aside from the same httpd.conf and the same httpd version are there any things in the system level, kernel level that should be the same between those two servers?

View 1 Replies View Related

Server :: Pages With SSL Not Working - Apache Fails To Load

Aug 13, 2010

I have 2 servers that are mirrored. They host 3 separate websites. Two of these websites are regular HTTP and the other is HTTPS with Digest authentication as well. The reason there are 2 servers is because one is a primary and the other secondary in case the primary goes down. Recently I decided to upgrade the secondary server then make it the primary server. I have done most of the configuration and the sites using regular HTTP are working perfectly fine. The page using SSL is not. Apache fails to load and here are the errors I am receiving the the error log file:

Code:
[Fri Aug 13 09:27:00 2010] [warn] RSA server certificate CommonName (CN) `newserver.domain.com' does NOT match server name!?
[Fri Aug 13 09:27:00 2010] [error] Unable to configure RSA server private key
[Fri Aug 13 09:27:00 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

For the first warning, I cannot find anywhere that says the CN "newserver.domain.com", only what the CN is in the SSL key. I have no idea where to even start with the other errors.

View 1 Replies View Related

Debian :: High Load Always

Sep 15, 2015

I have a debian system with the following version you can se bellow. My problem is that one one single core of 4 it's running 100% all the time and i cant seem to find out why. The load is also high(load average: 0.91, 0.75, 0.40) because of this. This keeps happening even after reboots. The system if freshly installed twice and the same problem occours as soon as it boots. Something called kworker is running and causing the load / CPU load, is that normal for a fresh install??

root@Cyberdyne:/# lsb_release -da
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.2 (jessie)
Release: 8.2
Codename: jessie

View 5 Replies View Related

General :: Load Average Too High

Aug 10, 2011

I wrote a script to extract and get the the name of *.gz in a foler . Since running that script every 10 minutes, load average on my server increases more than 10.I checked with 'top' and it showed many D process.

View 2 Replies View Related

Ubuntu Servers :: Apache Ram Usage Too High?

May 6, 2011

i am learning to using ubuntu as my server and learning using vps too

now i getting consfuse about my server memory usage i just have 3 sites , 1 blog site and 2 company profile but apache memory usage is more than 300MB and total of memory use in my server is more than 500 MB (maximum 512MB burst memory)

i am using drupal for my website is this normal ? because in last week, memory consumption in my server no more than 380 MB

View 2 Replies View Related

Ubuntu :: 10.04: High Load Average At Idle

May 5, 2010

Since upgrading from 9.10 to 10.04, my system is noticeably less responsive and exhibits halting behavior for at times 10s of seconds. There is nothing obvious in the various logs that I can find. The only objective indication I can find that demonstrates that something is seriously wrong is that my load average never drops below 0.5 and is often over 1.5, even at idle. In this situation, top/ps/whatever shows very few processes running (usually just top). This suggests to me that either the new kernel scheduler is horrible or that something new is resulting in blocking I/O or other uninterruptable sleeps.Typical top output:

Quote:

top - 12:18:01 up 1 day, 49 min, 5 users, load average: 1.42, 0.86, 0.71
Tasks: 262 total, 1 running, 261 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.9%us, 0.8%sy, 0.0%ni, 97.6%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st

[code]....

View 9 Replies View Related

Ubuntu :: Unusually High System Load

Jul 2, 2010

i've been using 10.04 since may and it's been good to me thus far. BUT recently, i've been experiencing unusually high system loads. it will happen at random it seems. for instance, it just did it a few minutes ago when i turned on and mounted a external firewire drive. i also had ogmrip open, but NOT running as well as transmission and pidgin. yesterday, i was encoding a rather big movie with ogmrip and around 25%, the system load quickly increased to 10 and held there until i force quit ogmrip. it went back to normal after the force quit.

a previous night, i was installing the popular ubuntu themes via the terminal. at the same time, i was also using ogmrip and the system load shot up during the download/install and held there the rest of the night. sooo...unless it's somehow related to ogmrip i don't know what's going on. it even did it when ogmrip WAS NOT processing any video, just simply open.

View 2 Replies View Related

General :: High Load During Firefox Downloads

Nov 14, 2010

During downloads, the top command shows the Firefox process at 100% CPU. Yesterday I tried to download an .iso image. After a few hours the Firefox window would not refresh nor would it respond to input. I tried the wget command. It used negligible CPU time and completed in 28 minutes.

This problem is easy to reproduce because it happens every time I download a file in Firefox. It also happens when I use a fresh profile to run Firefox without any extensions or plugins.

This is Firefox 3.6.12 on Fedora 14.

View 3 Replies View Related

General :: High Load Average Investigation

Feb 10, 2010

I have High load on my server and my investigation shows nothing (so i believe that my investigations is wrong ), the load average in this moment is 10.13, 9.47, 8.24. , mentioning the below.

- The disk utilization (all the disks) is near 0, as the result of the IOSTAT
- There is no blocked processes (as a result of VMSTAT).
- I have two processors (dual core) , the maximum load average should be something around 4.
- The server always have above 8 load average in all times interval.

btw , my OS is RHEL AS release 4 (Nahant Update 7)Kernel :Linux 2.6.9-78.ELhugemem #1 SMP i686 i686 i386 GNU/Linux

View 8 Replies View Related

CentOS 5 :: High CPU Load On Dell PowerEdge2950

Apr 5, 2009

I recently installed Centos-5.3-x86_64 in a PowerEdge2950 machine, to serves as an ftp server using proftpd-1.3.2. I noticed that the CPU load is much higher than the days when I was using RHEL-4.7-X86_64. In the past, CPU load get higher than 100 only when there're about 400 online users. But in Centos-5.3, the CPU load gets higher than 150 when there're 200 users.

The details of the server machine: Intel Xeon E5430, 16 GB RAM, 1.8 TB as a RAID disk, 400GB hardisk used to installed the system.

More details:

View 11 Replies View Related

CentOS 5 :: Determine What Is Causing High Load

Sep 12, 2011

I am running a CentOS 5.6 32 bit installation under VMWare ESXi and have been experiencing some very high load values from time to time. The server is running multiple installations of gameservers, and the load fluctuates from around 1 to 9, with more or less the same amount of players playing (give or take 5-10 of a possible 80). I've been running DStat with almost all possible metrics, and, except for the large fluctuations in load, nothing else out of the ordinary seems to happen when load is rising. (Log data can be provided, if anyone wants to see it). Disk IO, Network throughput, memory consumption, CPU usage, process count, all stay at the same levels when the load is 1 as when it is 9. How I can begin to troubleshoot this, and find out why the load goes to such high values?

View 1 Replies View Related

OpenSUSE :: High CPU Load From XOrg And Gconfd-2 With Nvidia?

Jan 9, 2011

I just posted about this in this thread, but as the other thread was started by a KDE user then I thought I'd post here as well. I've had high CPU usage for a few months now - probably since trying the 0.9 branch of Compiz then dropping back to the default openSUSE builds (XOrg and gconfd-2 running a Core i5 at about 30% on every core*). I've now finally found a solution after deciding I wanted to fix it once and for all.

Once again, the Ubuntu forums come to the rescue with this thread (I don't like the distro as a whole, but I do find the forums useful!). I'm using Compiz, but it turns out that Metacity was running as well. A quick "killall -9 metacity" and the gconfd-2 process has vanished and XOrg settled down to its normal 1-2% (which is reasonable when I've got a Conky config refreshing every fraction of a second to repaint a sound visualiser!). Now I just need to find out why Metacity starts when I'm using Compiz...

* according to Conky's per-core graphs, although top only reported 15% overall and the Conky "top 3 procs by CPU" reported a measly 3% for each process, so someone's maths was out somewhere!

View 3 Replies View Related

Ubuntu Servers :: High Load On Webserver After Upgrade To 10.04 From 9.10?

May 10, 2010

I upgraded webserver to new ubuntu server 10.04 (x86-64). After upgrade the increased load from 0,3 to 1,4. On webserver running phpbb, which generating slow quieres, which not before upgrade to lucid. HW conf: Intel Core i7, 8GB ram, WD Raptor 10k rpm. Week17 upgrade to new version.

View 9 Replies View Related

Ubuntu :: Maverick Freezing With High Load Average

Oct 15, 2010

It's the fourth time now since Maverick that I had to cold reboot my system because it was totally unresponsive. The system monitor in my taskbar shows 100% on the background blue graph (I guess that's just one core then) and almost nothing on the other core. On the last freeze I managed to open 'sudo top' before it went totally unresponsive and saw that there was no high CPU usage at all, but a load average spiking above 24. Also the swap seemed to be full although my machine usually never uses swap. I was watching a movie with VLC this time, but I'm not sure if VLC ran the other times my OS froze. I made a snapshot with my cell phone: [URL]. How I can prevent a process from causing so much load?

View 6 Replies View Related

Ubuntu Servers :: High Load Average But Idle CPU?

Nov 26, 2010

I am having a problem with the server that I use to host my personal site. The load average quite often spikes to exceed 1.00 for the 1 and 5 minute intervals, and the 15 minute interval gets above .5. This occurs while the server is idle, serving very few or no requests and with the CPU 99% idle with <1% IOWAIT usage. I have checked top and vmstat, but neither one provides any useful info. Top continues to say the CPU is 99% idle, and vmstat says that there are 0 runnable and 0 blocking tasks. Occasionally, vmstat will say that there is 1 runnable task, but this doesn't even coincide with the load average spikes. I have already searched for other solutions to this problem, but everything I have seen says to use top and/or vmstat, but those aren't showing anything out of the ordinary. Can anyone recommend anything else I might do?

My server has a Pentium 4 HT 3gHz processor, 2GB RAM, and runs Kubuntu 10.10. (The reason it runs Kubuntu instead of Ubuntu Server is that it needs an X environment so that the Nvidia driver can initialize and put its graphics card into a power saving mode.)

View 8 Replies View Related

CentOS 5 Networking :: High Load Average After Update From 5.4 To 5.5 Of A VM On ESX

Nov 24, 2010

I have several CentOS 32-bit VMs running on ESX 4. Those that were updated to the most current patch level ("yum update", accepting all updates available last week) started showing load average of ~0.4 when completely idle. After comparing the problematic VMs with those that show zero load average at idle, and then modifying them in all kinds of ways, I narrowed it down to the combination of a recent kernel patch (2.6.18-164 is fine, 2.6.18-194 is not) and E1000 network adapter. Replacing the network adapter on a problematic VM with VMXNET3 fixes the load statistics.

View 3 Replies View Related

CentOS 5 Server :: Apache Works But Website Has "page Load Error"?

May 16, 2009

I am using following software on my web server:

RedHat 2.6.18-92.1.10.el5
Apache/2.2.3
Coldfusion 8

My webserver accesses a backend mySQL server using CentOS5

The last week, I have been getting a "page Load Error" on my web server whilst others told me they are getting a "broken link" error when they try to access my web site. It has been working fine for the last 12 months until last week.

ADSL, modem and router okay according to service provider (verizon)

I can ping my IP address and my domain name.

# netstat -tap

shows http and https both processes running.

# service httpd restart
no issues

I shut down firewall and tried again, but got the same "page load error".

View 3 Replies View Related







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