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
ADVERTISEMENT
Jul 16, 2011
How can I increase the size of a server partition as /dev/loop0
Disk informationDeviceMount pointUsage
/dev/loop0/var/tmp2% (11,070 of 495,844)
/dev/sda1/46% (100,819,056 of 233,872,292)
/usr/tmpDSK/tmp3% (11,070 of 495,844)
I use
WHM 11.30.1 (build 4)
CENTOS 5.6 i686 standard on ds-59085
View 1 Replies
View Related
Apr 29, 2011
I am implementing a proxy server in c++. It is multithreaded(posix).Used CPU : Xeon(8core) Thread number : 8 One main thread, and other 7 thread created by the main thread. The main thread always listen to ports. When the main thread gets a client data it push the request in a queue[there are one queue(total 7) for each thread] based on ip and then give a signal to the appropriate thread. Then that thread gets the request from it's queue and process data and then forward the data to a appropriate destination.
There is another important thing, I assign each thread excluding the main thread to individual core by using affinity.The main thread listens to 5 ports. Test environment: We run the server. The client sends audio data at a particular rate.
1. The main thread CPU usage gets overloaded (above 80%) after a certain load from client.
2. Other cores remain about 0-10%.
The thing is that we want to distribute the load among all the cores equally by multithreading. But how can we do this ? Can the listening task of ports also be distributed ? I need an efficient algorithm for load balancing among threads. The data sent and receive rate of server is about 8.5MB/s. How can we improve this ? we are using gigabit LAN card. When the server only receive data from client it can receive data above 80MB/s. But when it both receives and sends data simultaneously it only manage upto 8.5MB/s.
View 1 Replies
View Related
Jun 18, 2010
Can anyone walk me through the process of increasing my max connection on my linux server?Over the last few weeks I have been getting errors saying I have to many connections.I think the default is 100 and I would like to maybe increase it to 150 or 200I know I cannot go to high because I will then be using to much of my memory or maybe CPU
View 8 Replies
View Related
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
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
Nov 17, 2010
my /var dir partation /dev/sda7 of 965M, how to increse this size using free available disk space?
[root@SANJAY-CMS 500]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 4.8G 3.1G 1.5G 69% /
[code]....
View 1 Replies
View Related
Dec 14, 2009
Is it possible to increase the size of the / partition?
View 5 Replies
View Related
Jan 21, 2010
I am curious if it is possible to use multiple hard drives to increase server speed. I know I could run stripped drives or RAID0, but was wondering if there is any other way to do it within Linux. My default 9.10 Server install has 3 partitions as a default. Would splitting these on three drives make it any faster?
View 3 Replies
View Related
Feb 28, 2009
Code...
I don't know how to increase the number of url_rewriter processes.
View 2 Replies
View Related
Dec 28, 2010
fedora 12.i have one partition which is mounted on a rootfiles folder having space of 700gb which is located on a /directory.but when im adding data on rootfiles my /root directory space is also getting increased.so could any one telme how to increase the size of root partition.i want to resize my rootfiles folder to 600db and want to add 100gb to my / directory.how can i do this plz helpme this is important 4 me.first i will free 100gb then i will add 100gb to root directory.but i dont want to loose any data on rootfiles folder.
View 3 Replies
View Related
Oct 26, 2010
I have created a filesystem /data using software RAID-1 concept using two disks.
/dev/sdb - 50 GB
/dev/sdc - 50 GB
now i have to increase the /data to 100GB by adding two more disk.
/dev/sdd - 50GB
/dev/sde - 50GB
is this possible, if yes
how exactly i can increase the existing RAID-1 array from 50GB to 100GB.
View 1 Replies
View Related
Feb 24, 2010
my boot partition used 100% how i can increase partition size
View 2 Replies
View Related
Feb 8, 2010
Cost effective (the people want cheap) solution to increase server storage space with as little impact on throughput (what I want) as possible. I have a server that sends instructions to 20 clients to perform certain tasks. The clients send gigs of data back to the server for storage.
BACKGROUND INFORMATION
Network: Gigabit Ethernet
Clients: (20) HP, Solaris, Linux
Linux Server: Dell R805 PowerEdge (QUAD Core Athlons 16 gigs of ram, 4 gigabit ports.
Selected directories are mounted (NFS) by clients. One directory to be mounted by the clients contains executable files. Mount commands are sent from the server (rsh) to the clients. Yes I know (ssh) but this is how the software was originally written so let's go with it.
The clients then receive commands to execute the binaries contained within the mounted directory. The binaries basically create an image of the clients filesystem including special applications. The client then sends the files and directories to the server which stores this �image�. This process can be reversed to restore a client to the initial baseline image.
In a nut shell, 20 clients are sending gigs of data to the server for storage. I need to attach a NAS (gigabit) to extend the storage capability of the server. The server would mount (NFS) to the hard drives on the NAS. The NAS, configured as a �direct attached storage� device (DAS), means the storage device is connected directly to the server and not the network (which makes it a DAS). This would provide direct storage expansion for the server. However, this configuration cannot be a bottleneck that significantly hinders performance.
Clients <---data---->Server<----storage---->DAS/NAS
1) Will a low end NAS (gigabit port) work? (NetGear 1TB ReadyNAS Duo, RND2110-100NAS) or something with a higher rated throughput (QNAP TS-239 Pro II)
2) Low end won't work, go with �?
3) Does the processor on the NAS play any role that would determine the performance of this configuration given that the server would mount directly to a directory on this device (DAS/NAS)?
View 7 Replies
View Related
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
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
View Related
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
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
Oct 19, 2010
I have a centos 5.5 server, without a monitor connected to it.Sometime i need to connect to it with VNC, but maximum resolution is 800x600.How can i increase it at least 1024x748 ??I tried in system-config-display changing the monitor to a generic CRT 1024x768, and rebooted.But only allowed resolutions are 800x600 and 640x480.
View 6 Replies
View Related
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
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
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
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
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
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
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
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
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
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
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