High Io Wait But Sy And Us Is Nothing
Jul 31, 2007My VPS had some high %wa this two days,when i refresh(F5) WHM %wa will go to 18-20% and us sy just 1 or 2
Is it my vps provider have a very bad oversell?
My VPS had some high %wa this two days,when i refresh(F5) WHM %wa will go to 18-20% and us sy just 1 or 2
Is it my vps provider have a very bad oversell?
I/O Wait is increasing on my server, please advise what to do: some times it is within 30 % and sometime it is up to 90%
top - 04:40:44 up 5:30, 2 users, load average: 4.57, 2.64, 3.24
Tasks: 171 total, 2 running, 169 sleeping, 0 stopped, 0 zombie
Cpu(s): 18.3% us, 4.3% sy, 0.0% ni, 0.0% id, 77.0% wa, 0.3% hi, 0.0% si
Mem: 1027556k total, 1021944k used, 5612k free, 85460k buffers
Swap: 2040244k total, 2068k used, 2038176k free, 147752k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16754 apache 15 0 96140 58m 5948 S 8.3 5.8 0:04.95 httpd
19760 psaadm 15 0 36936 3628 1548 S 4.7 0.4 0:00.14 httpsd
5417 apache 15 0 103m 67m 5984 S 2.0 6.7 0:13.00 httpd
2738 mysql 15 0 394m 79m 4660 S 0.7 7.9 1:25.08 mysqld
28294 apache 15 0 104m 68m 6076 S 0.7 6.9 0:25.33 httpd
39 root 16 0 0 0 0 S 0.3 0.0 0:06.16 kswapd0
2857 root 16 0 4788 752 628 S 0.3 0.1 0:03.09 couriertcpd
3022 qmails 15 0 2304 484 372 S 0.3 0.0 0:09.28 qmail-send
32688 apache 15 0 96112 58m 6000 S 0.3 5.8 0:10.76 httpd
5632 popuser 15 0 35588 29m 2344 D 0.3 2.9 0:30.44 spamd
9850 apache 16 0 100m 65m 5996 S 0.3 6.5 0:09.85 httpd
12418 apache 16 0 99796 62m 6296 S 0.3 6.2 0:08.56 httpd
19578 qmaild 15 0 4008 840 692 S 0.3 0.1 0:00.01 qmail-smtpd
1 root 16 0 1652 552 472 S 0.0 0.1 0:00.70 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.29 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 events/0
4 root 11 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
5 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
19 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
37 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
38 root 15 0 0 0 0 S 0.0 0.0 0:01.07 pdflush
40 root 11 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
20 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
186 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
295 root 15 0 0 0 0 D 0.0 0.0 0:06.68 kjournald
1373 root 6 -10 1904 456 380 S 0.0 0.0 0:00.01 udevd
1606 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kauditd
1648 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kmirrord
1672 root 19 0 0 0 0 S 0.0 0.0 0:00.00 kjournald
1673 root 19 0 0 0 0 S 0.0 0.0 0:00.00 kjournald
2360 root 15 0 2160 552 456 S 0.0 0.1 0:07.27 syslogd
2364 root 16 0 2620 384 316 S 0.0 0.0 0:00.00 klogd
2391 rpc 15 0 1952 548 452 S 0.0 0.1 0:00.00 portmap
2410 rpcuser 18 0 2400 724 620 S 0.0 0.1 0:00.00 rpc.statd
2436 root 16 0 4628 340 172 S 0.0 0.0 0:00.00 rpc.idmapd
2507 root 17 0 3060 508 300 S 0.0 0.0 0:00.00 smartd
For the past couple of days, I've noticed that there is alot of apache processes running in the "D" state and that my IO wait is up to %80. I straced one of the processes and the result is its locking on a php session:
$ strace -p 3230
06:57:12 open("/var/lib/php/session/sess_86ecf346c6f7adba93cb1077f6b95d43", O_RDWR|O_CREAT,
0600) = 44
06:57:12 flock(44, LOCK_EX
And this is the output of lsof
[root@xeon ~]# lsof | grep session
mysqld 3212 mysql 178u REG 8,33 275456 26099994 /hd/mysql/sitebuilder3/session.MYI
mysqld 3212 mysql 183u REG 8,33 354592 26099937 /hd/mysql/sitebuilder3/session.MYD
bash 6426 root cwd DIR 8,21 1060864 25133096 /var/lib/php/session
httpd 6698 apache 44uW REG 8,21 115 9814967 /var/lib/php/session/sess_e0f1bb824667860260f9e5bd53da54e9
httpd 6704 apache 44u REG 8,21 138 25135115 /var/lib/php/session/sess_325b2701fcb8fb2d8371d1dd72660e8b
httpd 6718 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f
httpd 6723 apache 44u REG 8,21 115 9814794 /var/lib/php/session/sess_79249a69f0a929318c3a8d25b1102ff4
httpd 6765 apache 44u REG 8,21 14 9815234 /var/lib/php/session/sess_0983ce89bad9d37eccec89fe83985945
httpd 6773 apache 44u REG 8,21 141 9815254 /var/lib/php/session/sess_298731e4cb90e58f223bc1b1b2da8cef
httpd 6782 apache 44uW REG 8,21 175 9814514 /var/lib/php/session/sess_608cf6bb40ba33a7505f3857e32c3854
httpd 6786 apache 44u REG 8,21 139 9814480 /var/lib/php/session/sess_10913da266608052ffd08e5fa39356c7
httpd 6787 apache 44uW REG 8,21 138 9814292 /var/lib/php/session/sess_3e0fac0590d02b4f111ce4bee9a8bfe1
httpd 6790 apache 44u REG 8,21 14 9815287 /var/lib/php/session/sess_cdfeac2790c55a62744a66caef886857
httpd 6794 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f
httpd 6798 apache 44uW REG 8,21 93 9814971 /var/lib/php/session/sess_fa0f81edfd26e8653bc94bc9f9af6f6d
httpd 6801 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f
httpd 6802 apache 44uW REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f
httpd 6811 apache 44uW REG 8,21 115 9814802 /var/lib/php/session/sess_396f6670549934766bd8268f0b5628fc
httpd 6822 apache 44u REG 8,21 153 9815061 /var/lib/php/session/sess_0d1fcc65d1964fc3d354e4b94f3638eb
httpd 6833 apache 44uW REG 8,21 153 9815173 /var/lib/php/session/sess_05ed9e41766579f10cfdaa2f7e737a1a
httpd 6846 apache 44u REG 8,21 236 9815142 /var/lib/php/session/sess_23b5cad8471778391bf9748d0f4f1230
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel 11.5.30 MU #44 CentOS 6.5 (Final) 64bit
2 of our our servers are suddenly experiencing high Wait I/O Times, and high Load Averages during the backup process. During this period the Plesk grinds to a halt, sometimes crashing out completely (although SSh is still possible. We have been in talks with our server suppliers (assuming this would be node related) however they have done a lot of testing etc. and categorically state the node is fine , with no other users affecting it.
STEPS TO REPRODUCE : We backup the server using the scheduled backup service and Wait I/O immediately goes up.
ACTUAL RESULT: Plesk downtime / Website downtime
EXPECTED RESULT: No downtime, successful back up
Some other info :
All other processes (MYSQL, apache, Nginx etc) are all running between 1 - 10%
Partition "/usr" utilization 4.2% used (1.81 GB of 43.3 GB) (?)
Partition "/var" utilization 50.6% used (61.8 GB of 122 GB) (?)
We are struggling to identify what has changed on the server that would cause this sudden change.
I have Apache2 installed on my dedicated server. I would like to install a mod / configure my Apache Server in order to limit simultaneous connections / IP.
The thing that I want is that for example if I want a maximum of 2 simultaneous connections / IP, when that IP reaches the LIMIT, I would like to delay its next request, and NOT display him a 503 error like most mods DO.
I've ordered server from LeaseWeb two weeks ago and still wait for the server setup. Its looks to slow for me - we are used to wait only a few hours for servers setup in datacanters in the US.
I'm afraid that such slow response will be also in response and level of the support. Do you think I should cancel this service and look for other provider in Europe? If yes please suggest such provider.
I've paid in advance by paypal for 3 month(~ 500 EURO). Do you think I will be able to cancel that payment?
I'm with one of the big shared hosts. Support is patchy at best, which isn't a problem until you require help at which point it's agonising as you have to wait an age to get an unsatisfactory response.
At the moment the server I'm on is suffering from consistent outages (it's been up and down over the last few days). Support has been hard to get hold of at times (right now my site is completely unacceptable for me and there's no-one tending the live support chat - which is the only chance of getting a prompt response).
My question is should I be actively looking to improve my situation (it's amazingly frustrating to spend the best part of a day doing small updates, which because of instability, take hours instead of minutes) or should I just wait until it blows over (to be fair server issues tend to be fairly infrequent, but they do flair up every so often). I can't really afford to pay that much more than I am (say $20-$50 a month max) so am I stuck with shared hosting or is there anyway to pay a little more (my current package costs around $10 a month) to get better support and stability?
After a initial look around would something like MediaTemples GS or the low end MediaTemples dedicated virtual service be suitable? The pages do have moderate database use (a few forums and galleries) and use around 50GB a month bandwidth (which would climb slowly in future months)?
Any one facing any issue when Running CPanel on the VPS.
I always seem to be getting these errors only for Cpanel VPS only.
kernel: TCP: time wait bucket table overflow
kernel: TCP: too many of orphaned sockets (90 in CT****)
Even Cpanel Install by SSH or VePortal gives the same error.
I have a cPanel server with 4GB RAM
My server hangs time to time, once or twice a day. This is the last status when it happens.
Server Load 75.90 (2 cpus)
Memory Used 92 %
Swap Used 65.78 %
When I was still inside SSH when it happens, the processes I can see inside "top" are a lot of httpd processes.
So I "killall -9 httpd", I had to do it 30~40 times
#killall -9 httpd
#killall -9 httpd
#killall -9 httpd
x 30~40 times until no pid process found & the server load is back to normal.
Before that, I check httpd fullstatus, they look very normal, same goes to what I see inside WHM Apache status & cpu usage status.
At first I thought it was a memory problem after consulting with a server admin, so I replaced all 4GB new ram stick (such a waste)
This is my free -m
total used free shared buffers cached
Mem: 1998 1903 95 0 45 542
-/+ buffers/cache: 1315 683
Swap: 2662 36 2625
Not good ....
I got 5 wordpress and 5 statics website on this server and 100 visitors by 24H00 each day.
Question 1 : Why the memory is so low and the swap so high ?
Question 2 : Why i don't find high usage process in top command ?
Question 3 How can i resolve this problem ?
My server is very slow, High CPU, High Apache load....
I got a new server and i had setup a script on it.
No server tweaks has been done.
I run a filehosting site so it gets very slow when traffic is high.
Here is some info:
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4135 filedip 19 0 12812 8892 2212 R 18.9 0.4 0:00.74 index.cgi
3140 apache 15 0 22624 9604 2768 S 17.3 0.5 1:54.45 httpd
3556 apache 15 0 22792 9592 2768 S 17.3 0.5 0:43.53 httpd
3739 apache 15 0 22672 9556 2744 S 17.3 0.5 1:09.67 httpd
3884 apache 15 0 22664 9560 2744 S 17.3 0.5 0:23.98 httpd
3474 apache 15 0 22672 9572 2756 R 16.1 0.5 1:34.09 httpd
3548 apache 15 0 22792 9560 2740 S 16.1 0.5 1:33.67 httpd
3991 apache 15 0 22640 9588 2756 S 15.1 0.5 0:22.44 httpd
3475 apache 15 0 22672 9580 2756 S 13.2 0.5 1:31.42 httpd
3493 apache 15 0 22664 9592 2768 S 12.9 0.5 1:15.52 httpd
3769 apache 15 0 22664 9580 2756 S 12.9 0.5 0:45.19 httpd
3638 apache 15 0 22664 9576 2756 S 12.3 0.5 0:32.82 httpd
3724 apache 16 0 22664 9580 2756 R 12.3 0.5 0:34.25 httpd
3626 apache 15 0 22672 9580 2756 S 11.7 0.5 0:52.54 httpd
4023 apache 16 0 22792 9560 2740 R 11.3 0.5 0:13.16 httpd
3882 apache 15 0 22664 9576 2756 S 10.1 0.5 0:38.56 httpd
3005 apache 15 0 22672 9588 2768 R 9.1 0.5 2:06.61 httpd
I dont know much about server managment...
how to fix this so server doesnt go slow?
I have a site that is eating up my server resources and need to know what the best solution for this is. I'm thinking of getting another server just for mysql but do not know what specs the server should be to handle the current traffic/database load and have the site run smoothly without slowing down to a snail's pace.
An alternative is to get another server just for the videos being served and leave the database and html on the current server. This is where I'm stuck and don't know what route to take with this.
My current server stats:
Dual Xeon 5130
4GB RAM
250GB
50 Mbit/sec
CentOS 3.9
Website traffic stats:
15,000 visitors/day
150,000 pageviews/day
Serving videos
I've attached screenshots of top and bandwidth usage per day. Hopefully with this information you could tell me if I need another server or if there are any things I can do to the current server to help things move faster.
I am running in a High load problem lately. I have one of those cheap 1and1 servers which was running fine until 2 weeks ago. Once I rebooted accidentaly, it did not come back with some unrepairable kernel errors and I had to re-image it.
I chose to reimage the server with CentOS 5, for better support. The new re-image worked fine for some days, at least so I thought and now I am having high loads. The server crashes if not monitored every moment as the load is unpredictable.
Just a restart of the Apache will bring the server back to normality, but I am not sure if it is apache or some other script to be blamed.
I have beeing monitoring through apache server-status, but I cannot organize something unusual in the high load moments.
At this moment for example:
top - 09:00:36 up 15:43, 3 users, load average: 3.57, 4.60, 5.32
Tasks: 144 total, 2 running, 142 sleeping, 0 stopped, 0 zombie
Cpu(s): 10.6%us, 6.5%sy, 0.0%ni, 18.7%id, 63.5%wa, 0.2%hi, 0.5%si, 0.0%st
12:00:29 AM CPU %user %nice %system %iowait %steal %idle
12:10:01 AM all 9.14 0.00 5.52 44.66 0.00 40.68
12:20:14 AM all 6.83 0.00 3.98 27.88 0.00 61.32
12:30:10 AM all 6.44 0.00 4.20 81.25 0.00 8.11
12:40:09 AM all 5.25 0.00 4.09 81.93 0.00 8.73
12:50:15 AM all 5.11 0.00 3.79 90.74 0.00 0.36
01:00:07 AM all 7.22 0.00 4.52 57.11 0.00 31.15
01:10:13 AM all 6.89 0.00 4.01 55.38 0.00 33.71
01:20:14 AM all 4.37 0.00 3.27 41.88 0.00 50.48
01:30:25 AM all 4.26 0.00 3.29 63.42 0.00 29.03
01:40:06 AM all 27.18 0.00 4.75 58.27 0.00 9.80
01:50:03 AM all 29.64 0.00 6.61 51.50 0.00 12.25
02:00:07 AM all 27.00 0.00 8.48 55.49 0.00 9.03
02:10:10 AM all 19.29 0.00 4.97 73.80 0.00 1.94
02:20:04 AM all 37.85 0.00 6.78 40.70 0.00 14.67
02:30:05 AM all 15.65 0.00 4.80 68.47 0.00 11.08
02:40:08 AM all 9.06 0.00 5.60 37.49 0.00 47.86
02:50:07 AM all 5.36 0.00 3.62 42.29 0.00 48.73
03:00:02 AM all 6.05 0.00 4.08 47.27 0.00 42.60
03:10:02 AM all 4.22 0.00 3.68 38.17 0.00 53.93
03:20:02 AM all 4.06 0.00 3.75 41.37 0.00 50.82
03:30:22 AM all 4.42 0.00 3.93 45.25 0.00 46.41
03:40:11 AM all 4.34 0.00 3.95 39.58 0.00 52.13
03:50:02 AM all 4.67 0.00 4.01 32.53 0.00 58.80
04:00:08 AM all 3.72 0.00 3.87 28.40 0.00 64.02
04:10:02 AM all 13.49 0.00 6.58 20.82 0.00 59.10
04:20:01 AM all 6.70 0.00 4.63 6.06 0.00 82.61
04:30:02 AM all 1.44 0.00 1.21 4.75 0.00 92.59
04:40:01 AM all 12.42 0.00 8.12 7.65 0.00 71.81
04:50:02 AM all 1.43 0.00 1.07 4.02 0.00 93.47
05:00:02 AM all 1.60 0.00 1.40 8.62 0.00 88.38
05:10:10 AM all 3.80 0.00 3.02 17.86 0.00 75.32
05:20:06 AM all 5.10 0.00 4.22 23.34 0.00 67.34
05:30:02 AM all 1.54 0.00 1.40 11.22 0.00 85.85
05:40:05 AM all 1.75 0.00 1.89 13.12 0.00 83.23
05:50:12 AM all 2.15 0.00 2.22 18.92 0.00 76.72
06:00:02 AM all 1.92 0.00 2.01 12.87 0.00 83.20
06:10:02 AM all 2.27 0.00 2.16 11.53 0.00 84.04
06:20:03 AM all 3.56 0.00 3.02 25.26 0.00 68.16
06:30:10 AM all 2.66 0.00 2.05 18.13 0.00 77.16
06:40:02 AM all 2.58 0.00 2.25 22.87 0.00 72.30
06:50:02 AM all 2.68 0.00 1.92 15.77 0.00 79.63
07:00:03 AM all 3.06 0.00 2.48 26.01 0.00 68.46
07:10:03 AM all 3.65 0.00 3.20 36.54 0.00 56.61
07:10:03 AM CPU %user %nice %system %iowait %steal %idle
07:20:03 AM all 4.40 0.00 3.28 43.86 0.00 48.46
07:30:02 AM all 4.10 0.00 3.17 31.30 0.00 61.43
07:40:06 AM all 7.67 0.00 3.95 50.79 0.00 37.59
07:50:02 AM all 4.72 0.00 3.11 44.30 0.00 47.86
08:00:03 AM all 5.57 0.00 3.72 47.15 0.00 43.56
08:10:07 AM all 10.66 0.00 3.59 71.62 0.00 14.13
08:20:17 AM all 5.67 0.00 3.42 58.81 0.00 32.10
08:30:10 AM all 11.12 0.00 3.49 76.71 0.00 8.67
08:40:03 AM all 7.00 0.00 3.36 47.94 0.00 41.71
Average: all 7.53 0.00 3.76 38.90 0.00 49.81
Some configurations:
The reimage partittioning looks like this:
/dev/sda1 950M 138M 765M 16% /
/dev/sda5 4.7G 1.9G 2.9G 40% /usr
/dev/sda7 63G 58G 5.0G 93% /var
/dev/sda6 4.7G 23M 4.7G 1% /home
none 1.0G 500K 1.0G 1% /tmp
KeepAlive On
MaxKeepAliveRequests 300
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 10
MinSpareServers 20
MaxSpareServers 50
ServerLimit 256
MaxClients 180
MaxRequestsPerChild 2000
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_connections=250
interactive_timeout=100
wait_timeout=20
connect_timeout=10
thread_cache_size=80
key_buffer=64M
join_buffer=1M
max_allowed_packet=16M
table_cache=512
record_buffer=1M
sort_buffer_size=1M
read_buffer_size=1M
max_connect_errors=10
thread_concurrency=2
read_rnd_buffer_size=1M
myisam_sort_buffer_size=64M
server-id=1
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 3
model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping : 4
cpu MHz : 2793.324
cache size : 1024 KB
I have extremely high CPU load average, but when I run TOP command there are not any process with high CPU
CPU load averages:
211.65 (1 min) 227.29 (5 mins) 247.89 (15 mins)
Tasks: 364 total, 2 running, 360 sleeping, 2 stopped, 0 zombie
Cpu(s): 0.0%us, 0.3%sy, 0.0%ni, 0.0%id, 99.7%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2065460k total, 2012372k used, 53088k free, 60964k buffers
Swap: 2040212k total, 3280k used, 2036932k free, 619900k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19871 root 15 0 4944 2488 1656 R 1 0.1 0:02.73 top
1 root 15 0 4208 1320 1136 S 0 0.1 0:01.55 init
2 root RT 0 0 0 0 S 0 0.0 0:00.00 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:01.77 ksoftirqd/0
4 root RT 0 0 0 0 S 0 0.0 0:00.01 migration/1
5 root 34 19 0 0 0 S 0 0.0 0:01.16 ksoftirqd/1
6 root 10 -5 0 0 0 S 0 0.0 0:01.04 events/0
7 root 10 -5 0 0 0 S 0 0.0 0:00.65 events/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper
9 root 11 -5 0 0 0 S 0 0.0 0:00.00 kthread
35 root 10 -5 0 0 0 S 0 0.0 0:00.15 kblockd/0
36 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1
37 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid
127 root 10 -5 0 0 0 S 0 0.0 0:13.16 ata/0
128 root 16 -5 0 0 0 S 0 0.0 0:00.00 ata/1
129 root 10 -5 0 0 0 D 0 0.0 0:01.15 ata_aux
130 root 10 -5 0 0 0 S 0 0.0 0:00.00 kseriod
158 root 16 0 0 0 0 S 0 0.0 0:00.00 pdflush
159 root 15 0 0 0 0 D 0 0.0 0:01.00 pdflush
160 root 10 -5 0 0 0 S 0 0.0 0:10.68 kswapd0
161 root 11 -5 0 0 0 S 0 0.0 0:00.00 aio/0
So my server is "unresponsive" for abour 18 hours, burst net didnt answer my tickets and I dont know what to do. Ive been with this setup for almost 5 months with no problems, No changes have been made to hardware or software.
Im using Centos 5.0
When I run the top command on my server, my output is as follows:
=====================================
Tasks: 515 total, 50 running, 363 sleeping, 1 stopped, 101 zombie
Cpu(s): 1.1%us, 2.6%sy, 94.3%ni, 0.0%id, 0.0%wa, 0.3%hi, 1.7%si, 0.0%st
Mem: 1026792k total, 976680k used, 50112k free, 27548k buffers
Swap: 2096472k total, 466248k used, 1630224k free, 251920k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
400 nobody 17 1 48592 18m 6956 R 20 1.9 0:17.65 lsphp5
6925 nobody 17 1 50008 17m 4048 R 20 1.7 0:06.15 lsphp5
13819 nobody 17 1 47900 14m 3372 R 17 1.4 0:04.23 lsphp5
24392 nobody 17 1 51084 16m 4304 S 11 1.6 0:13.07 lsphp5
3339 nobody 16 1 50620 17m 3876 D 11 1.7 0:08.43 lsphp5
358 nobody 17 1 49260 17m 5352 R 10 1.8 0:13.00 lsphp5
4059 nobody 17 1 47824 15m 4688 S 9 1.6 0:08.23 lsphp5
26979 nobody 16 1 51220 19m 5392 R 9 1.9 0:12.04 lsphp5
11864 nobody 17 1 48592 15m 4376 R 8 1.6 0:03.76 lsphp5
381 nobody 17 1 52100 19m 4576 S 7 1.9 0:09.34 lsphp5
4056 nobody 17 1 48564 15m 3932 R 7 1.5 0:06.58 lsphp5
12838 nobody 17 1 48856 16m 4088 R 7 1.6 0:06.11 lsphp5
6924 nobody 17 1 51060 15m 4188 R 6 1.6 0:04.36 lsphp5
14343 nobody 17 1 47736 13m 2712 R 6 1.3 0:00.18 lsphp5
11848 nobody 17 1 48580 16m 5268 S 5 1.7 0:06.18 lsphp5
11862 nobody 17 1 48124 14m 3848 R 5 1.5 0:04.23 lsphp5
14293 nobody 17 1 47872 13m 3020 S 5 1.4 0:00.84 lsphp5
=====================================
lsphp is my webserver (litespeed). The sleeping processes are my SHOUTcast servers.
The thing I am concerned about is the "94.3%ni". This is slowing down my server completely and I am not too sure of what it is. Can anyone shed any light on this?
My VPS holds about 80 domains and low-use accounts.
Every night, from around 1.30am, the load suddenly skyrockets and will usually be around 5 to 10 for a few hours. Occasionally it'll spike to 30+ for a few minutes.
I had some antispam software running, and a couple of other packages (mail queues, mail manage etc), so I disabled all of that and removed all the crontab entries etc.
It's not really made any difference.
I can see the load stats going back 8 hours, as part of the ASSP spam package (I've just left the ASSP server load cron running just so I can continue monitoring it!)
Can the apparent load on my VPS be caused by other VPS's on the same node?? So in reality, my load is fine but is being affected by other people's VPS's?
I hope that makes sense. I'm 99% sure that my VPS is 'clean' (in so far as cron entries)
I'm asking the question because I took a second VPS on the same node and that one too has high loads overnight when there's nothing running on it (ie, no add-on software, no Cpanel accounts added)
I have a VPS with LXadmin control panel and 1024 Ram.
the memory always 333-450 but now it is more than 800 and the VPS stopped I restarted it many times but after restarting it the memory gone crazy again.
So, how to know what causes high load and eating my Memory?
Anyone know of any good/cheap high-bandwidth VPS providers? Don't need anything crazy as far as processing power or RAM (512MB with no burstable is fine). Sorta like Slicebox's budget servers, which I've had good experience with.
To e upfront, the box will be used for a little bit of testing, etc. but mostly to seed the latest Windows 7 builds :p. Don't think Microsoft minds all that much...Win7 requires a legitimate beta key to activate (which I have, and I'm not giving anyone mine) and it's a whole lot cheap for them to let people download over BitTorrent than Akamai, which they normally use.
So, any ideas? EU isn't out of the question...anywhere with a lot of/unmetered bandwidth for cheap, and a VPS that's reliable + has at least 512MB of memory for prices comparable (or slightly lower than) to Slicebox.
I've a remote download site that uses tons of BW (about 900GB daily), and it uses sql connection quite alot - I've set it to max connection for my current server.
For now, I've the intention of separating main site with download server. where The main site will contains the sql DB. But my concern is, I want to buy a cheap VPS for the main site, but no idea if I need high BW and ram.
I've got a dedicated with LW.
I've had it for a while and during that time I've never seen the swap memory go over 20%.
A month or so ago, I had the server upgraded to 8GB of ram to make room for more planned sites.
Since then, the swap memory has gone rampant. It regulary goes to 93% used with less than 20% of the regular ram and really no load on the server.
I've contacted support twice about it and was told don't worry it's normal.
From what I've read in the cpanel forum, no it's not normal and may in fact be caused by bad ram chips and if it hits 100% could freeze the server.
There are no processes or users causing it, so It's something else.
Has anybody had this type of problem that they resolved and could share what they did to resolve it?
What is the point of a high end quadcore cpu with 7200 rpm sata drives ?
i see tons of offers with really nice cpu's with either a single sata drive or 2 drives on crappy fake raid.
I have old dual single core xeon servers under 50% cpu usage that end up hitting the disk IO wall before they ever get to over 60% cpu usage.
Either me and my customers dont user software thats crap and eats up cpu for no reason or im missing something.
i have a vps and its quite a new one since i just ordered it and transfered everything from my previous..
But im getting really high cpu useage and im wanting to know whats best ways to optimize this...
I host a podcast that's rapidly gaining popularity. At the moment, we push about 100gb/day of transfer for the episodes, but could easily double that in the next few months. I need a host that does at least 2tb a month with the ability to later upgrade to more. My operating budget is about 110$/month, but could go a little higher if needed.
Most of our activity is composed of sending files, so usage is pretty low. I'd probably only need a few gb to store the actual content (30mb mp3 files). It's also important that Adult material is allowed (the content of the audio podcast is explicit).
I'm aware of FDC and AT&T, but would like any other recommendations you guys could give.
Anyway I can trace down who is doing it or what is going on?
View 1 Replies View Relatedi have problem in time_wait it's very high
netstat -an|grep ":80"|awk '/tcp/ {print $6}'|sort| uniq -c
13 ESTABLISHED
15 FIN_WAIT1
2 FIN_WAIT2
1 LAST_ACK
2 LISTEN
10 SYN_RECV
1026 TIME_WAIT
I have a Shared Hosting , and a Vps . i use the VPS to Storage Audio files and Leach to them from my Shared Hosting . the shared hosting Only Has Some php, and Html pages with the links to leach from the vps ..
Now which One Gets The Load , or which one is the One Suffering the Load . the Shared Hosting or the VPS ..
Is there a reason to set a high TTL for DNS? Like the standard is a few days.I set mine to 10 minutes. So whenever I do a change its propagated within 10 minutes. Is there a reason this would be bad? I realize it means more queries to my server, but 10 minutes is still rather long, not like thats going to totally hammer my server,
View 7 Replies View RelatedI have two vps's n ifferent hardware, after my hoster performed an update to node I am now seeing high loads on both vps's
When I reboot the problem goes for a while
My servers host very little websites and little activity and normally run fine
I have notice a process "unhide" running, what is this and where should I start looking for this issue
[root@vps ~]# top
top - 18:47:59 up 1 day, 6:51, 1 user, load average: 1.96, 1.95, 1.92
Tasks: 62 total, 2 running, 60 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 2.8% sy, 1.1% ni, 96.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1048576k total, 143908k used, 904668k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
Unknown command - try 'h' for help
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
23980 root 26 10 1872 876 316 S 2.0 0.1 4:40.86 unhide
1 root 15 0 1644 568 484 S 0.0 0.1 0:03.76 init
1982 root 17 0 6412 1828 1124 S 0.0 0.2 0:00.00 crond
1985 root 18 0 2120 900 784 S 0.0 0.1 0:00.00 run-parts
3228 root 18 0 3252 1028 896 S 0.0 0.1 0:00.00 01-rkhunter
3229 root 18 0 1888 548 460 S 0.0 0.1 0:00.00 awk
3665 apache 15 0 39700 18m 6036 S 0.0 1.8 0:05.14 httpd
5771 apache 15 0 39540 16m 4516 S 0.0 1.6 0:01.14 httpd
7837 root 26 10 11320 9272 976 S 0.0 0.9 0:07.64 rkhunter
9958 apache 15 0 39608 18m 6024 S 0.0 1.8 0:02.84 httpd
11611 root 15 0 8584 2532 1964 S 0.0 0.2 0:00.01 sshd
11831 root 16 0 6144 476 324 S 0.0 0.0 0:00.00 vzctl
11836 root 16 0 2184 1264 1048 S 0.0 0.1 0:00.00 bash
13789 root 16 0 1548 528 436 S 0.0 0.1 0:00.38 syslogd
13794 root 18 0 1484 368 308 S 0.0 0.0 0:00.00 klogd
14022 apache 15 0 39432 15m 3868 S 0.0 1.6 0:00.72 httpd
17612 root 18 0 4056 1052 756 S 0.0 0.1 0:00.00 sshd
I know about high CPU usage and how it works against a webmaster when his host decides to suspend an account over this.
My question is what kinds of scripts usually cause CPU Usage to bulk up.
Basically what the script is doing, that just makes it happen.
I tried Google, but i guess poor choice of keywords .
I found many processes like this from a user log, this is a forum site, >>
116.49.xx.xx - - [15/Jun/2008:18:16:30 +0800] "GET /?fromuid=448?info_hash=%A0%AF%9E%0C%9C%A9%0D%29k%A4%21%AF2%AC%DD%5C%5E%CB%DF%17&peer_id=%2DXL0012%2D%E8%ACfS%94%9E%81%8E%FF%D9%F2%1D&ip=169.254.xx.xx& port=80&uploaded=2348474988&downloaded=2348474988&left=2094006272&numwant=200&key=6830&compact=1 HTTP/1.0" 200 453 "-" "Bittorrent"
116.49.xx.xx - - [15/Jun/2008:18:16:30 +0800] "GET /?fromuid=23?info_hash=%A0%AF%9E%0C%9C%A9%0D%29k%A4%21%AF2%AC%DD%5C%5E%CB%DF%17&peer_id=%2DXL0012%2D%E8%ACfS%94%9E%81%8E%FF%D9%F2%1D&ip=169.254.xx.xx&p ort=80&uploaded=2348474988&downloaded=2348474988&left=2094006272&numwant=200&key=20271&compact=1 HTTP/1.0" 200 453 "-" "Bittorrent"
116.49.xx.xx - - [15/Jun/2008:18:16:31 +0800] "GET /?fromuid=168?info_hash=%A0%AF%9E%0C%9C%A9%0D%29k%A4%21%AF2%AC%DD%5C%5E%CB%DF%17&peer_id=%2DXL0012%2D%E8%ACfS%94%9E%81%8E%FF%D9%F2%1D&ip=169.254.xx.xx& port=80&uploaded=2348474988&downloaded=2348474988&left=2094006272&numwant=200&key=8883&compact=1 HTTP/1.0" 200 453 "-" "Bittorrent"
116.49.xx.xx - - [15/Jun/2008:18:16:31 +0800] "GET /?fromuid=221?info_hash=%A0%AF%9E%0C%9C%A9%0D%29k%A4%21%AF2%AC%DD%5C%5E%CB%DF%17&peer_id=%2DXL0012%2D%E8%ACfS%94%9E%81%8E%FF%D9%F2%1D&ip=169.254.xx.xx& port=80&uploaded=2348474988&downloaded=2348474988&left=2094006272&numwant=200&key=12323&compact=1 HTTP/1.0" 200 453 "-" "Bittorrent"
116.49.xx.xx - - [15/Jun/2008:18:16:31 +0800] "GET /?fromuid=32?info_hash=%A0%AF%9E%0C%9C%A9%0D%29k%A4%21%AF2%AC%DD%5C%5E%CB%DF%17&peer_id=%2DXL0012%2D%E8%ACfS%94%9E%81%8E%FF%D9%F2%1D&ip=169.254.xx.xx&p ort=80&uploaded=2348474988&downloaded=2348474988&left=2094006272&numwant=200&key=14310&compact=1 HTTP/1.0" 200 453 "-" "Bittorrent"
when i suspend this user account, it fix the problem....
but when i reupload a new forum file (no mods, original version but keep the old data, ex. post, pm)
to recover the old forum file and then reactive the account again,