Debian Server Ubnormal CPU & Ram Overload
Oct 30, 2008Debian Server Ubnormal CPU
View 3 RepliesDebian Server Ubnormal CPU
View 3 Repliescurrently i purchase a reseller. when i click in server status, i found out that the detail is as below:
cpsrvd up [green]
Server Load 5.41 (1 cpu) [red]
Memory Used 46.7 % [green]
Swap Used 9.51 % [green]
Disk /dev/sda1 (/boot) 13 % [green]
Disk /dev/sdb (/mount) 57 % [green]
Disk /dev/sda3 (/) 88 % [yellow]
i found that the server load is in red color, and the last item Disk/dev/sda3 is in yellow color. may i know what is the problem?
I just ordered a server which has that setup:
AMD Athlon 64 X2 6000+ Dual Core
8MB RAM
2x750GB RAID 1 HD
Now I wanna run it with DirectAdmin, but obviously DirectAdmin doesn´t support the Debian 64 which is installed but only 32 bit Debian.
Now I wonder wether I could setup a Debian 32 as well on that system and if yes, wether it would give me a deficit in Performance?
Or would you rather go with CentOS 64 which Directadmin supports?
Im using Vmware on dedicated server:
each 2 Intel(R) Xeon(TM) CPU 3.00GHz
1- in vmware show:
2 CPUs x 2 Cores
but i check in SSH we have 7 core !
Code:
# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 4
cpu MHz : 7680.000
cache size : 2048 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est cid cx16 xtpr lahf_lm
bogomips : 6012.44
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 4
cpu MHz : 5120.000
cache size : 2048 KB
physical id : 1
siblings : 4
core id : 0
cpu cores : 2
apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl vmx est cid cx16 xtpr lahf_lm
bogomips : 5984.27
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
i want to kill apache/http and restart it again automatically. i need this because sometime we are not in front of the server to fix an overload issue immediately, which can affect a server very badly. i believe many of us already face this kind of situation and hope there is some kind of script or way to do this.
View 5 Replies View RelatedToday my server was down cause it was overloaded and when i restart my server its running how to stop such problem in the future
View 10 Replies View RelatedI have heard a lot of cases when customers used forbidden PHP scripts on shared servers and as a result their accounts were suspended due to the server overload. I am just wondering what scripts it is desirable not to use within shared hosting packages?
View 6 Replies View RelatedI have heard a lot of cases when customers used forbidden PHP scripts on shared servers and as a result their accounts were suspended due to the server overload. I am just wondering what scripts it is desirable not to use within shared hosting packages?
View 4 Replies View Relatedhow can i find out what has caused my server to hang/overload once its rebooted?
I know that the SWAP maxed out but i am unsure why.
Is there a way to protect apache server from overload? For example Nginx has a module called SysGuard when system load or memory use goes too high all subsequent requests will be redirected to the URL specified by the 'action' parameter.
View 1 Replies View RelatedI have a fairly busy server, and received a High Load warning from my firewall monitoring software. Showing a high 5 minute load average alert of 13.89.
I'm presuming extra memory and a more powerful CPU would be required to sort this out?
Time: Thu Jul 3 12:22:06 2008
1 Min Load Avg: 42.90
5 Min Load Avg: 13.89
15 Min Load Avg: 5.82
Running/Total Processes: 51/359
Output from ps:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND ...
I have been receiving these a couple time a day lately and not sure what to do or how to go about checking what might be overloading the server. IF this looks familiar to anyone, I'd appreciate some helpful tips. I'm still a novice, but can muddle my way around the server if given enough guidance. Here is the email I've been getting:
"IMPORTANT: Do not ignore this email.
This is cPanel stats runner on host.myserverhost.com!
While processing the log files for user xxxxxxx, the cpu has been maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is
19:20:10 up 2 days, 7:06, 0 users, load average: 15.17, 13.24, 8.00
You should check the server to see why the load is so high and take steps to lower the load. If you want stats to continue to run even with a high load; Edit /var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run /usr/local/cpanel/startup afterwards to pickup the changes)."
I guess my question is, how would I go about determining what is causing the excess load? Seems to happen even when not many folks are on my site.
I'm on a low-end dedicated server that I run 2 decent sized blogs on. I'm getting several traffic spikes a day where the load goes through the roof and I think I need my server optimized.
My server admin says I need a bigger server and he has never steered me wrong but this is ridiculous:
My blogs use Wordpress as its blogging platform....I know they hog server resources and I've recently installed Super cache so that seems to help.
I average about 5,000 pageviews a day and I would think even a low-end box should handle this but maybe I am wrong.
Here's the server specs:
Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Celeron(R) CPU 2.40GHz
Processor #1 speed: 2394.661 MHz
Processor #1 cache size: 128 KB
Memory: 1033924k/1048016k available (2171k kernel code, 13360k reserved, 723k data, 172k init, 130512k highmem)
hda: ST380011A, ATA DISK drive
hdc: Lite-On LTN486S 48x Max, ATAPI CD/DVD-ROM drive
hda: max request size: 1024KiB
hda: 156250000 sectors (80000 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hdc: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA(33)
Memory:
total used free shared buffers cached
Mem: 1035148 993356 41792 0 151312 527008
-/+ buffers/cache: 315036 720112
Swap: 2040212 476700 1563512
Total: 3075360 1470056 1605304
how check which database / user MySQL overload the server?
View 2 Replies View RelatedI've just ordered a dedicated server with Ubuntu server, but they've come back to me to say that they've had trouble installing Ubuntu server on these particular servers.
As an alternative, they're offering to install Debian. My concern is that I come from a windows background and have spent the last month reading and playing with Ubuntu Server in vmware. I'll be running a small handful of sites on the server and will rely on the apt-get and package installer in webmin to get things set up and for administration. I'll dabble in the shell a little, but only when needed.
Should I go with a different host that can offer Ubuntu, or will I be okay with Debian?
Im starting my business and where providing web application services. In any case iv been working with IBM to determined what hard ware solution would be best for me. All i wont to know is if Debian linux will run fully properly with The IBM HS22 Blade series. They wont me to use RedHat and Microsoft SQL 2008 witch I'm not a fan of. This is a field where my knowledge kind of hit's the end of the road so if there is any one out there who knows what there talking about pleas in lighten me.
View 3 Replies View RelatedI just purchased a Debian server with a plesk control panel. It is suppose to be online within 24 hours. I have no idea how to set it up because so far I have only used shared hosts.
I need to know the following
1. how do I create the httpdocs/public_html folder
2. is it possible to FTP? If not what can I use for file uploading?
3. How do I setup a MySQl database? Is it possible to do this using plesk control panel? (Shared hosting can do this through plesk)
4. How do I setup my domain name servers? through plesk?
i have vps 512 MB ram From HostForWeb working Fine! in 160 websites! Hosted
But! in swvps.com with 2 gig ram! Low Working! OverLoad and CPU Usage is Red Alert
But HostForWeb VPS with 512 MB Ram good Working I Dont Know Why SWvps.com Is Low with 2 gig ram for me?
I am not sure if my dedicated server is being attacked or if it is legitimate traffic. I need help figuring out the difference and if it is an attack, how to prevent it, and if it is legitimate traffic, how to configure the server to handle the load.
My server information is below:
HardwareIntel Xeon 3220-Quad Core [2.4GHz
8GB DDR2
SATAII 500GB
SoftwareCentOS 5.3-32
Apache2
MySQL 5
PHP 5
When I do ps aux|grep httpd|wc -l I get the count of current connected clients of 259 which is always maxing out my MaxClients of 256. I had increased it to 512, and it maxed out, I had increased it to 1024 and it maxed out, and lastly I had setup to 2048 and it works, but slows the entire server down.
I think my apache is killing my servers with crazy overload with logs... how do I turn this off?
View 2 Replies View RelatedMy server is out of memory....how do I find which script or domain is causing for memory abuse on server?
Its Plesk server 3.0Ghz + 1GB Ram
the server is overloaded some times during a day.
There is one process of httpd witch use 80-90% of memory. Load increases to 90 or 200 :/
I installed strace and when the process appeared I run on that process and there is:
mmap(NULL, 364544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b25e60000
There is a lot of that entries.
I am using a AP7901, and at 12AMP I am getting a red led status overload. At 11AMP the led is green status, which is perfect.
Is this a problem? Shouldn't I be able to use 16AMP? Is it safe/ok to use more AMP?
My webserver keeps on overloading, causing pages to lag and mysql connections to get clogged. Each time it overloads, it's because of there being too many MySQL connections, and I really just don't know why there are so many. I am not sure whether someone is sabotaging my server or whether there is a hole in my php scripts that causes an abundance of connections, or some very slow query.
View 2 Replies View RelatedI have a small VPS, with few websites each one with very low visitors in average less than100 visits per day
CentOS 2.6.9
Plesk
PHP 5.1.6
Apache/2.2.3
Few days ago some Forum spammers signed up to one of the forums. One of them: stopforumspam.com/ipcheck/212.178.2.3
Today I was away for few 5 hours after I came back I recived a notice from my script that "SMF could not connect to the database"
I checked and I noticed almost all of my sites are not responding. MySql was working. A script on remote server which uses mysql from my server loaded but with dealy
------------------Next step-------------------
log to SSH
# uptime
# 12:XX:XX up XXX days, 5:06, X users, load average: 10.58, 8.86, 5.86
my normal load is less than 0.9
-----------------check open ports ---------------------------
netstat -nap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 1936/couriertcpd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 32447/mysqld
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 14307/xinetd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 9943/smbd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 1916/couriertcpd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1840/couriertcpd
tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN 9626/httpsd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7645/httpd
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 14307/xinetd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 14307/xinetd
tcp 0 0 [MyServerIP]:53 0.0.0.0:* LISTEN 13619/named
tcp 0 0 [MyServerIP]:53 0.0.0.0:* LISTEN 13619/named
tcp 0 0 [MyServerIP]:53 0.0.0.0:* LISTEN 13619/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 13619/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 13820/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 14307/xinetd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
Can someone who really knows what they are talking about write me up a very quick parag. on the reasons why the internet is becoming overloaded w/ e-mail & why people don't get their e-mails besides spam filters filtering them, for example the grey/black list, detecting viruses in Word when the person's anti virus isn't picking it up, etc.
View 4 Replies View Relatedi see alot hosting have a good trick which is auto suspend site over the normal load of 5% .... so what is this script that suspend site for period time and unsuspend it automaticly
View 4 Replies View Relatedi am continously getting warning mail form cpanel cpu watch that my cpu got overloaded as like follows,
IMPORTANT: Do not ignore this email.
This is cPanel cpuwatch on xxx.com!
While processing, the cpu has been
maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of
this email is
19:05:10 up 143 days, 20:38, 0 users, load average: 1.11, 0.69, 0.63
You should check the server to see why the load is so high and take
steps to lower the load. If you want stats to continue to run even with a high load; Edit
/var/cpanel/cpanel.config and change extracpus to a number larger then 0 (run
/usr/local/cpanel/startup afterwards to pickup the changes).
I searched on load average and found that average load for 1 cpu is 2 and default value is 5 to 10.but here i am getting mail for 1.11 itself.I changed the value of threshold of load average in stat and logs of tweak setting to 4.but no improvement.now also i am getting more than 4 mails for average load i.e 1.23 also
My questions are:
1)what is the criteria cpanel is checking for sending cpu-watch warning mail?
2)i am getting nothing more than rsync and exim at the time of overload(while using TOP command).So why now only i am getting warning mail?
what is the cause of this problem?
I was getting idea from internet to create account without stat/ log analyse function .But not sure how will it work and afraid of doing this.......
My problem is server overload.I think it's a mysql optimization problem. But i dont change any setting.
Core(TM)2 Quad CPU Q9400 @ 2.66GHz
8 GB Ram
[url]
[url]
[url]
[url]
CENTOS 5.3 i686 standard on server
cPanel 11.24.4-C37008 - WHM 11.24.2 - X 3.9
I have 3 questions.
1.) I have a user that's kinda knows a lot about linux. More than me. He has a lot of stuff on the system which I have no idea what it is. Is there any way I can install a SSH log, so I can monitor what he does in shell?
2.) My server seems REALLY sluggish. I ran a top in shell, and mysqld was taking up from 70% to 110% of the cpu. Is there any way to fix this or find out why? I've restarted the server, and it's fluctuating between 50% and 90% now.
3.) I think this MIGHT be related to the sqld issue, but I've received about 12 emails saying
Quote:
"[statscheck] Stats/Server Overload on my server". "MPORTANT: Do not ignore this email.
This is cPanel stats runner on server1.cewxp.com!
While processing the log files for user cewxp, the cpu has been
maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is 15:49:16 up 5 days, 10:52, 2 users, load average: 27.59, 31.36, 31.83"
and also another email
Quote:
IMPORTANT: Do not ignore this email.
This is cPanel stats runner on server1.cewxp.com!
While processing the log files for user vegapunk, the cpu has been maxed out for more than a 6 hour period. The current load/uptime line on the server at the time of this email is 12:34:26 up 5 days, 7:37, 2 users, load average: 19.90, 17.59, 17.97