Server :: Run A Script If The Server Load Is Above A Certain Value?

Jan 3, 2011

I want to setup a cron job to run a bash script which which calculates the server load and if the load is above certain value(say 15) then stores highest cpu eating users list in to a file for that instant. I have a small script which lists users according to cpu usage.. But i dont know how to check the server load and if and only if its above 15.

View 12 Replies


ADVERTISEMENT

CentOS 5 Server :: Improve Server Speed On Servers With Heavy Load?

May 4, 2009

There is a tool appeared in repository called ktune; The purpose is to adjust some sysctl.conf settings to improve server speed on servers with heavy load. What is this tool for if one can achieve the same with the configuration file added to system startup? Or ktune is just such file?

View 1 Replies View Related

Server :: Unable To Load Redhat 9 Server After Disk Recovered?

Mar 13, 2011

I got this type of messages:k journald starting. commit interval 5 seconds.EXT3.fs:mounted file system with ordered data modefreeing unused kernel memory : 212 k freed.Warning:unable to open an initial consoleAfter this Server is not hang state but stay at same Anybody can help me how to resloved this type of issue.

View 1 Replies View Related

Server :: Abrupt Increase In Server Load Upto 300?

Sep 19, 2010

I run a server with nginx at the front and apache at the background. Nginx serves as a reverse proxy in here. As there were lots of DOS attacks, I have implemented Deflate-DDOS, APF and Nginx anti-ddos features and the server runs without a problem. Once every month, the load on server increases upto 300 and I receive an email like this :

Subject : Cron <root@server> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm

Content :

find: `/var/lib/php5/sess_0ca40520ac8ecb66090746f90da17516': No such file or directory
find: `/var/lib/php5/sess_3839b0cbf042934183d56ff682c948e0': No such file or directory
find: `/var/lib/php5/sess_dec1ed8ea1f62caf7a42a29b9f82c506': No such file or directory

[code]....

There's more that 100,000 ( I suppose ) lines on this email. I have no idea what the problem is. It seems there's something with the session, but I really don't know what it is.

View 1 Replies View Related

Server :: Oracle Server Load Avg

May 8, 2011

I am not an oracle DBA, but need to find the cause of high load avg, even after adding more CPU power the load avg is the same.

Old and new servers load avg is the same (between 6-10 peak hours and 3 to 5 during off-peak hours) no difference. I expected the laod to come down as we added more CPUs.Our DBA says queries are optimise.Can some Oracle DBA give some tips to find the cause.

View 11 Replies View Related

Server :: Web Server Can't Load Mcrypt?

Jul 16, 2010

I have a CentOS 5 server running Apache & PHP. When I load 'Phpmyadmin' on the server it worked fine however there is a message at the bottom of the screen that says:Quote:Cannot load mcrypt extension. Please check your PHP configuration.I checked to make sure that the 'mcrypt' package is installed on the server:

Code:
[root@ideweb1 ~]# rpm -qa | grep -i mcrypt
php-mcrypt-5.1.6-15.el5.centos.1

[code]...

View 3 Replies View Related

Ubuntu :: Website Will Not Load - "server Not Found Firefox Cant Find Server"

Feb 9, 2011

Having a problem on all of my Ubuntu machines when i goto this address: [URL]... i get a "server not found Firefox cant find the server [URL]... this is only happening on Linux i have a dual boot on an epc with vista and it loads the site. normally i wouldn't even care but my girlfriend will be taking on line classes here and i need to get this to load.

View 5 Replies View Related

Server :: Server Configuration For Small Office Server, Which Smtp, Pop Imap Server And Backup?

Apr 2, 2010

I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.

I have installed Ubuntu 9.10 server x64 and have got apache running.

I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.

View 4 Replies View Related

Server :: How To Load Tun In RedHat

May 9, 2010

how to load tun in RedHat

Code:
uname -a

Linux server 2.6.18-028stab067.4 #1 SMP Thu Jan 14 17:06:11 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux

View 10 Replies View Related

Server :: Load Balancing Between 2 VMs?

Oct 15, 2010

host - ubuntu 1004 desktop 64-bit
VM1 - ubuntu 1010 LAMP server 64 bit (without X)
VM2 - ubuntu 1010 server 64-bit (without X)
Virtualizer - Oracle VBox

point me the URL in respect of guides/howto to set up load balancing between 2 VMs, to sync VM1 to VM2. Google search on "howto load balancing linux lamp server on vbox vm" found follow; How to configure a low-cost load-balanced LAMP cluster [URL]

View 4 Replies View Related

Ubuntu :: Load Up The Server Addition Onto The Other HD?

Feb 28, 2011

I have two HDs onboard (150GB each) one is running the desktop version. Possible to load up the server addition onto the other HD? Would like to learn the server version, but not sure this is possible or will cause issues.

View 3 Replies View Related

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

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 :: Optimizing Apache2 Load?

Jul 23, 2011

I would like to ask how can I optimize apache2 load on my dedicated server. I am hosting Facebook applications on it, but most users will get a Timed Out message when they try to access it. I was tinkering with MaxClients directive in apache2 config, and it got better, but still it's not best. Programmers are trying their best to optimize the applications at their side, but I am afraid this is an server issue.

View 2 Replies View Related

Server :: Program To Check Cpu Load?

Jul 28, 2011

my server get hanged when ever their is loading problem. i wanna a program to get cpu load and also when load get high from a specified load value it should restart service. is their is any programm or how to write that programm..

View 12 Replies View Related

Server :: Starting Ms Vpn PptpdFATAL: Could Not Load?

Feb 16, 2010

I'm running Linux Suse 11.2.When I start the ms vpn server the following error occurs:starting ms vpn server pptpdFATAL: could not load /lib/modules/2.6.31.6-0.1-desktop/modules.depWhen i go in to that directory, the directory doesn't exist. But there is only one directory called 2.6.31.12-0.1-desktop hen i copy and change de directory to 2.6.31.6-0.1-desktop it doesn't work But something is strange... I have an other server (virtual) and the vpn server works and the same directory 2.6.31.6-0.1-desktop doesn't exist.

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

Programming :: Check Server Load Via Php?

Mar 4, 2011

We have 7 webservers running in a cluster, and I have zenoss running which does monitor space, network, even performance, but I would like a nice small webpage that I could break into just a few rows of a table. I would like to be able to simple do a reload every 30/60 seconds, and just have the following;row1: server load, memory userow2: server load, memory useBefore the row, if the load > x change the css to make it red (so I could notice it), etc. The css, the refresh, etc. is all simple, I am jut wondering how I could go about getting the load and memory use from PHP.I could setup a bash script that could get the info and spit it to a file as a last resort, but curious if there was a more direct way.

View 3 Replies View Related

Ubuntu Installation :: X Server Fails To Load?

Jan 18, 2010

I had a dual boot Kubuntu 9.04 - FC 11 and decided to upgrade to Kubuntu 9.10. Recalling that I had issues with my ATI card drivers when I installed Kubuntu8.10 on my laptop, I decided to install the latest ATI Catalyst drivers. After the installation was complete I received a message warning me that if the X server fails to load I should run "aticonfig --initial -f". Indeed the X Server didn't load (after I logged in the screen flushed and went black). So I reinstalled Kubuntu 8.10 from a CD I without formating the respective partition. But the problem perists, X server fails to load. Even worse my menu.lst file has been changed and I can't boot FC11.

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

Hardware :: Possible To Load Debian In Ibm Blade Server

Sep 8, 2009

I have a IBM BladeCenter HS21 and im planning to load debian lenny.pls let me know it is possible to load debian in ibm blade server.does ibm support debian i386.

View 5 Replies View Related

General :: Re-use An Anacanda.ks File To Load Another Server?

Jun 11, 2010

I just loaded one server, and want to load another server in the same exact way, just with a different name and IP. Can I somehow use the anacanda.ks from the old server if i change the IP and name in that file?

View 4 Replies View Related

Server :: Built An Environment Can Be Load About 5000's Ppl?

Dec 21, 2010

my boss wanna to built an Server Environment can be load about 5000's ppl online in the same time now there r have one server: Inter Xeon E5504 2.00GHZ 8GB memory , if i used apache system is redhat, how many can it loads.

View 1 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 :: CPU Load Average Higher Than Percentage?

Apr 20, 2010

I don't know what is going on with one of my servers.

It is sitting with a load average of 10.09 10.08 10.02

However If I look at top I see the server between 95% and 99% idle!

Is it possible that my server is running some hidden processes or something?

How I can investigate the cause of this.

View 9 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 :: Difference Between IOWAIT% / IDLE% / LOAD AVG?

Oct 27, 2010

Can anyone explain the difference between IOWAIT%/IDLE%/LOAD AVG? We have a 3 servers (oracle rac) attached to a SAN. When we added another CPU to our 3rd server, the IOWAIT across the oracle rac dropped a lot. We used to get pretty high IOWAIT % before. So I don't really understand how the extra CPU could do this. I thought the IOWAIT % is high because the server is waiting for the SAN, so I thought the SAN was the bottleneck. So I don't really understand the difference between the 3 things (iowait, idle and load avg).

View 1 Replies View Related

Server :: Rewrite Engine On - Won't Load The Index.php

Jun 27, 2010

I have been working on this for the last couple of days, but I don't seem to be getting anywhere with it.

I have a Fedora 12 64bit Server set up, and for the most part it's working Great. I have 3 VHost set up, and no problems with that.

My problem is I just moved my Wife's xcart store from Godaddy to this server. And the store works great. But xcart is set up to use Clean URL's, and this is what I seem to be having all the problems with.

In my "httpd.conf" file, I have "AllowOverride All" to use ".htaccess" and in xcart ACP I have it set to use Clean URL's. I added a ".htaccess" file to root folder, with this in it.

Quote:

Now if you try to log in to the store with just the base url "www.my_site.com/" I get a the Apache Test page. But if I enter "www.my_site.com/index.php" the Home page opens, and all clean url's from there work fine. ALL other pages will open just fine. So clean URL's is working. Its just the home page that won't load right.

Now if I change the ".htaccess" file, and set "RewriteEmgine Off", then the home page will load like it should with the base url., but then "Clean URL's" no longer work. I have to change "AllowOverride All" to "AllowOverride None" and turn Clean URL's off in the ACP of xcart. to get the store working again.

Then the whole site works just fine, just No Clean URL's. I'm at my wits end with this, don't know what else to try to get this to work. So I was hoping someone here might have an answer, or at least some ideas to try. This all worked just fine on GoDaddy's site, I left because it was just too dam slow. It took a minute and a half just to load the Home Page. On my server its less that 2 seconds. And every time I asked them about it, it would speed up for a few days then slow down again. But the same .htaccess file worked on that server. So I think my problem is in my "httpd.conf" file just don't know where.

View 6 Replies View Related







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