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


ADVERTISEMENT

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 View Related

CentOS 5 :: Mod-php Causing Apache To Segfault?

Sep 22, 2010

I have a newly installed centos 5.5 x86_64 running as a guest on a xen environment. I've installed httpd, mysql, php, mod-php, cacti and some how mod-php i causing apache to exit with segmentation fault. I don't understand whats causing the problem, I have similar boxes with the same setup that works.

[Wed Sep 22 09:19:47 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Sep 22 09:20:11 2010] [notice] child pid 3040 exit signal Segmentation fault (11)

View 1 Replies View Related

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 :: 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

Slackware :: Tell The Huge.s To Load The Drivers Of Controller?

Sep 7, 2010

I'm booting with Slackware 13.1 x64 My MB is GA-X58A-UD5 rev. 2 but I cant boot. My HD which is connected to the SATA3 port 6 and 7 is not getting detected. It is a Marvell SE9128

How can I tell the Huge.s to load the drivers of this controller?

View 3 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

Hardware :: Running Memory Up And Causing Load To Crash?

Aug 14, 2010

Something is running my memory up and causing my load to crash my forum. I keep noticing this error and have no clue really how to go about fixing it.

Quote:
%CPU PID USER COMMAND
1.2 2978 mysql /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --log-error=/var/lib/mysql/server.forumnameremoved.com.err --pid-file=/var/lib/mysql/server.forumnameremoved.com.pid

Could this be causing my CPU to run high? How would I go about fixing an error like this or is it even doable?

View 9 Replies View Related

General :: How To Detect Process Causing System Load

May 2, 2011

Whenever someone copies a data Our system get very slow. Load average of system starts increasing. How would i find which process is causing the same. I have tried following top 10 CPU utilizing process command but it didn't help much.

Code:

ps -auxf | sort -nr -k 3 | head -10

My distribution detail.

Code:

# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer

[code]....

View 4 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

Ubuntu :: "nice" Causing Increased CPU Time Even In The Absence Of A Load

Sep 10, 2010

I've just noticed that "nicing" long running computationally intensive, I/O unintensive, single-threaded executables on my system increases the CPU run time of those executables (as reported by /usr/bin/time as well as by wall clock) by a factor of 2-3 even in the absence of any load, i.e., "top" tells me that my program is getting 100% of a CPU. For example:

%coot 248: /usr/bin/time -p ./a.out > out
real 97.47
user 85.64

[code]....

My system is running Ubuntu 7.10. If I run the same executable on two other machines I have access to -- one running Fedora 5 and the other Ubuntu 9.10 -- I don't see any discrepancy between the runtimes using nice and not using nice.

This behavior is executable independent, compiler dependent, and language dependent -- I'm seeing it across the board. I'm assuming I've somehow configured my system to behave this way, but I have no idea what I may have done. Also, this was the first time I'd ever done timing runs with "nice" (actually, "at"), so I'm not sure how long my system's been configured (if configured is the right word) this way.

View 4 Replies View Related

CentOS 5 Server :: Apache 'server-status' 404 Not Found + Munin Apache Stats?

Oct 14, 2010

I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.

first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5

[code]....

View 7 Replies View Related

OpenSUSE Network :: 11.4 As Web Server In Huge Enterprise Coropration?

Jun 9, 2011

im located in Sudan which is under usa empargo, means some software is restricted in my country. My company which has 5000 emloyee os going to build their own webserver which will hold alot of apps which is compatible with linux i didn't trust M$ windows specially on web, so ive to use linux do u recommend any other release other than opensuse coz o can get free update and patches.

View 5 Replies View Related

General :: Unzipping A Huge File Stalls The Server?

Jul 8, 2011

I want to extract a huge .tar.gz file but when I do extract it stalls the server. The server is write heavy and extracting seems to choke the disk. Is there a nice way to extract without stopping the world? I've tried the 'nice' and 'cpulimit' command but they don't seem to do the trick.

View 2 Replies View Related

Server :: Causing Crontab To Not Email Blank Emails

Aug 3, 2011

I've currently got a crontab line that looks like the following:

Code:
*/5 * * * * /usr/bin/php -q /etc/backend/cron.php | mail -s "Cron script output" whiteydude@gmail.com

The script works fine - it runs every 5 minutes and checks if certain environmental variables are set in place - if they are, it prints an output. If they're not, it dies.

The problem is that when it dies, it still sends me a blank email - one every 5 minutes, every time the cron job runs.

telling it not to send if it's blank?

I'm assuming some type of dirty awk script could do this, but I don't really know my shell well enough to do that.

I'm not good at putting these things into words, so let me write some psuedo code to explain what I mean:

Code:
*/5 * * * * /usr/bin/php -q /etc/backend/cron.php | if (STDOUT != '') { mail -s "Cron script output" whiteydude@gmail.com }

EDIT: Unfortunately I'm running on CentOS, so I can't use mail -E . Apparently that's a FreeBSD thing.

View 5 Replies View Related

General :: Apache With SSL Does Not Load 2nd Certificate

Jun 17, 2010

I am running Apache 2.2.13 with SSL and SNI enabled. This is what the virtual host portions looks like:

<VirtualHost *:443>
ServerAdmin support@itherd.com
DocumentRoot /srv/www/apps/login.itherd.com/
ServerName login.itherd.com
ErrorLog /var/log/apache2/login.itherd.com-error_log
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/login.itherd.com.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/login.itherd.com.key
<Directory "srv/www/apps/login.itherd.com/">
AllowOverride None Options ExecCGI
AddHandler cgi-script cgi pl
Order allow,deny Allow from all
</Directory> </VirtualHost>

<VirtualHost *:443>
ServerAdmin support@clubherd.com
DocumentRoot /srv/www/apps/app.clubherd.com/
ServerName app.clubherd.com
ErrorLog /var/log/apache2/club.clubherd.com-error_log
SSLEngine on
SSLCertificateFile /etc/apache2/ssl.crt/app.clubherd.com.crt
SSLCertificateKeyFile /etc/apache2/ssl.key/app.clubherd.com.key
<Directory "srv/www/apps/app.clubherd.com/">
AllowOverride None Options ExecCGI
AddHandler cgi-script cgi pl
Order allow,deny Allow from all
</Directory> </VirtualHost>

When I start Apache it ask me for the pass phrase for the second host (both hosts have one). When I browse to first host it have recognized the loaded its certificate. When I go to the second server I get am untrusted message because it is using the first certificate. I have found and followed the directions of several web posts: [URLs]

View 1 Replies View Related

SUSE / Novell :: Clear Apache Cache Without Restarting Apache Server?

Feb 4, 2010

Any one have an idea How to clear apache cache without restarting apache server.

View 5 Replies View Related

Server :: Tunnel Apache Virtual Host To An Internal Apache?

Jan 24, 2010

I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.

However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?

View 5 Replies View Related

CentOS 5 :: Apache Can't Load Mod_dav_svn.so Module?

Feb 12, 2009

I installed svn. it works but apache can't load modules

i installed svn using yum :

#yum install subversion mod_dav_svn

View 2 Replies View Related

General :: Unable Load Apache - Failed Dependencies

Nov 19, 2010

rpm -ivh httpd-2.0.59-1.i386.rpm warning: httpd-2.0.59-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 751d7f27 error: Failed dependencies:

libapr-0.so.0 is needed by httpd-2.0.59-1.i386
libaprutil-0.so.0 is needed by httpd-2.0.59-1.i386
libcrypto.so.4 is needed by httpd-2.0.59-1.i386
liblber-2.2.so.7 is needed by httpd-2.0.59-1.i386
libldap-2.2.so.7 is needed by httpd-2.0.59-1.i386
libssl.so.4 is needed by httpd-2.0.59-1.i386

[root@ganesh apache]# warning: httpd-2.0.59-1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 751d7f27 -bash: warning:: command not found

View 7 Replies View Related

Debian :: Logs & Apache Load - Takes Up So Much CPU For Some Of The Requests

Mar 30, 2010

I noticed i have quite a few logs that end with .[number] for example "syslog.1" "mail.info.1" etc, why is this and why are they there since almost nothing is logged in them ??

Question 2: on my server im running a script like imagebam and imageshack with hosts images so i have quite a few apache requests to my server. I am wonder why apache takes up so much CPU for some of the requests? in Htop some requests take up 1.2% CPU while other take up 3-5% etc, so the total load is about 1.50 0.58 0.84 to 2.61 1.08 1.14 with about 128-150 apache requests all the time while sometimes the CPU load can be almost 0 with the same ammount of requests. is this normal? what could cause this in apache ?? the server is just running apache2. MYSQL is running on another server.

View 1 Replies View Related

General :: Backup Script Causing Data To Be Lost On Main Server- RHEL?

Feb 15, 2010

i setup the following script ro run each night (12am) as a cron on the main server:

if mount | grep -q '/home';
then
rsync -ranv --delete /home/ 138.73.56.12:/home;

[code]....

the main server is running on a dell poweredge 2600. The script rsyncs to a virtualised duplicate running on a hp dl380. when i set this script up and begn running data started going missing from the main server. if new files had been created the files by staff they would go missing, if data was added to existing files prior to activating the script the new changes made to that file would be lost.i just cant understand why this happened. as soon as i turned the script off after a few days it was all back to normal but the data that had gone missing had gone missing.

i just wanted to know if this could be a disk read/write issue, was the script running too soon not allowing data to be written before it can be backed up? could it bee memory? i just dont know. another developed occured after a few days of all this happening, which was one of our hard disk from the main server started mis behaving and flashing amber (attention).

View 5 Replies View Related

Security :: My Server - Deb5 And Plesk10 - Is Involved - Causing - In Brute Force Attacks

May 6, 2011

I am ashamed that I am causing other people troubles, but apparantly my server is involved in attacking the servers of other people.

I have to admit that I am not too familiar with using a CLI, or Linux for that matter, but I have a Debian server running under Plesk 10, which is colocated.

Now I have received messages from the datacenterm which state that my server is involved in brute force attacks.

The messages show a lot of lines like this:

Code:

The only I get from my hoster is to back up all domains and re-install the machine.

I want to resolve this asap, but do not agree with that action for two reasons: the machine just had a fresh re-install 2 months ago, so if it is a flaw in the OS, I will get the same flaw back, and if it is not OS related but due to a domain, I will get the problem back by putting back the backed-up domains.

But now I'm stuck: what steps should I follow to try and find the cause of this evil and make sure that my machine will not bother other machines anymore?

I realize that this probably will be a steep learning-curve, but please bare with me and help me to resolve this.

What have I done so far?

1) There are a number of live sites on this server, either running WordPress or Joomla, I have made sure they are all updated to the latest release.

2) I have manually looked at the source code of the index-files of those sites, haven't seen anything strange, like redirects.

3) I have used online scanners to check all sites for malware, all have been reported back to be clean.

4) I have run the Plesk-version of RKhunter, and that gives me certain warnings which I cannot (or do not) understand:

Code:

Code:

Code:

I received the first report of these attempts about a week ago and immediately changed the Plesk/SSH password to a 200bit password generated with KeePass, hoping that would keep out any evildoers.

View 14 Replies View Related

Ubuntu :: Mysql Database Down / Apache / Phpmyadmin Wont Load?

May 4, 2010

I am at work right now and noticed my blog is down because of a database connection error. phpmyadmin wont load either it says theres an error, and webmin wont load either. So what would cause a mysql to go down? a hack or update? i am running ten.o four ubuntu server.

View 3 Replies View Related

General :: Loading Php Module Without Restart Apache / Load Zend Extension Using '-z'?

Sep 23, 2010

I need to load php module without restart/reload apache, is there a way to do that, php has its option to load zend extension using '-z',

php -z <filename>

is there anyway because I need to load php module in runtime, that I don't want to loose the live running session.

View 1 Replies View Related

Software :: Apache 2.2 LDAP Authentication Makes Pages Load Slow

Apr 16, 2010

I've enabled LDAP authentication on my 2.2.15 Apache server, but now pages load very slowly. As in, 1.515s with it enabled, and 187.4ms without (just the base page, numbers collected via Firebug). Here's my LDAP config (other directives snipped) -

Code:
LoadModule ldap_module modules/mod_ldap.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LDAPSharedCacheSize 500000
LDAPCacheEntries 2048
LDAPCacheTTL 3600
LDAPOpCacheEntries 2048
LDAPOpCacheTTL 3600 LDAPTrustedGlobalCert CA_DER ssl/ldapserver.der

<Directory "/example">
AuthType Basic
AuthBasicProvider ldap
AuthName "intranet credentials"
AuthLDAPURL "ldaps://ldap.example.com/ou=ldap,o=example.com?mail"
Require ldap-group cn=example,grp,ou=memberlist,ou=groups,o=example.com

How can I speed this up, or at least determine why it's so slow?

View 2 Replies View Related

General :: Apache And Certificates / Unable To Load Certificate 31352:error:0906D06C:PEM Routines:PEM_read_bio?

Sep 29, 2009

I used the Center for Internet Security Benchmark for Apache Web Server v2.1 (January 2008) manual.

This is the guidelines I have to follow when installing and configuring Apache...So the problem arises when we get to page:28

Just after running this command: openssl x509 -in url | more

We get this error:unable to load certificate 31352:error:0906D06C:PEM routines:PEM_read_bio:no start lineem_lib.c:650:Expecting: TRUSTED CERTIFICATE

View 2 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

Jan 20, 2011

I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:

1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..

View 3 Replies View Related







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