Posted by klikoo, 01-27-2011, 05:44 PM | Hello,
I am from BOSNIA AND HERCEGOVINA i run a penny auction site on a voxel cloud server located in amsterdam 1.400 km/h from my country.
So the site worked 2 days good and at today in the moring its slow down very much, my coundows began to stop and to jump from example:
12, 11, 10, 14, 9
Please help what is the reason my script or server what i have to do. I will cry!!!!
How i can check this or can someone check this for me....
PLEASSSSEE HELLLLP?
|
Posted by Kevin K, 01-27-2011, 05:58 PM | Have you contacted your web host?
|
Posted by klikoo, 01-27-2011, 06:05 PM | Hello,
Thanks for replay.
Yes they sad me that i have to check my cpu in ssh i have check but dont understand anything i have this results.
root@sandman [~]# top
top - 23:04:46 up 4:09, 1 user, load average: 6.70, 6.71, 7.11
Tasks: 327 total, 16 running, 303 sleeping, 0 stopped, 8 zombie
Cpu(s): 44.4%us, 37.4%sy, 0.0%ni, 18.0%id, 0.1%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 8388608k total, 2171196k used, 6217412k free, 205776k buffers
Swap: 8393952k total, 0k used, 8393952k free, 1257688k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1773 klikoob 17 0 108m 26m 5940 R 11.1 0.3 0:00.34 php
1826 klikoob 17 0 104m 22m 5768 R 3.9 0.3 0:00.12 php
1831 klikoob 17 0 94020 8828 5256 R 1.0 0.1 0:00.03 php
1835 klikoob 17 0 91340 8416 5064 R 1.0 0.1 0:00.03 php
853 root 15 0 12876 1260 808 R 0.7 0.0 0:00.04 top
1717 klikoob 17 0 0 0 0 Z 0.7 0.0 0:00.02 php
1742 klikoob 17 0 0 0 0 Z 0.7 0.0 0:00.02 php
1825 klikoob 17 0 0 0 0 Z 0.7 0.0 0:00.02 php
1842 klikoob 15 0 92972 7320 4500 S 0.7 0.1 0:00.02 php
1847 klikoob 17 0 93764 8876 5284 R 0.7 0.1 0:00.02 php
1848 klikoob 17 0 93504 8388 4888 R 0.7 0.1 0:00.02 php
16335 nobody 15 0 73936 3340 1512 S 0.7 0.0 0:00.34 httpd
19251 nobody 16 0 73800 3188 1512 S 0.7 0.0 0:00.18 httpd
29991 nobody 15 0 73664 3128 1504 S 0.7 0.0 0:00.10 httpd
31606 mysql 15 0 391m 35m 3116 S 0.7 0.4 0:58.93 mysqld
689 nobody 15 0 73936 3324 1508 S 0.3 0.0 0:00.01 httpd
1554 nobody 15 0 73664 3128 1484 S 0.3 0.0 0:00.01 httpd
|
Posted by nel$on, 01-27-2011, 06:13 PM | Your cpu load is quite high, try restarting your server.
|
Posted by klikoo, 01-27-2011, 06:18 PM | I have try it and become this massage:
nameserver failed @ Thu Jan 27 18:56:30 2011. A restart was attempted automagically.
Service Check Method: [check command]
Cmd Service Check Raw Output: named is not running
Why is this aktually happen?
|
Posted by nel$on, 01-27-2011, 06:19 PM | Do you use WHM/cPanel?
|
Posted by klikoo, 01-27-2011, 06:22 PM | Can someone rate me to use a dediced server by my neighboring countrie?
Is its better than a cloud server distant *2 of me?
Or is my script bed?
|
Posted by Hsunami, 01-27-2011, 06:22 PM | I would think so as only cPanel restarts things "automagically."
|
Posted by klikoo, 01-27-2011, 06:24 PM | Yes i have cpanel?
Why?
|
Posted by Kevin K, 01-27-2011, 06:27 PM | This is common right after you restart the server. That is nothing to worry about.
How is the load on your server now?
Do you have a dedicated server or VPS? Is it a managed server?
|
Posted by klikoo, 01-27-2011, 06:31 PM | I do now how to chek it i mean the load.
Its a cloud server with dadiced without managed.
|
Posted by Kevin K, 01-27-2011, 06:35 PM | Who is the server through, if you don't mind me asking?
You might be better getting a server that is managed. It seems like you are not very experienced in server management. So that would be a good place to start.
What does "top" say in ssh or check the server status in WHM.
|
Posted by klikoo, 01-27-2011, 06:37 PM | Now my site work right???????
Whats gona on?????
Before 3 hour i have the same user 80 on my site and its slow but now work again?
|
Posted by Kevin K, 01-27-2011, 06:39 PM | You need to block that IP. Do you have a firewall such as CSF installed?
|
Posted by josephgarbett, 01-27-2011, 06:40 PM | Basic stuff, Add a tracker link on your site.
See what files are being requested the most Then optimise the code a little. Tedious work but will go allot further in the long run..
|
Posted by klikoo, 01-27-2011, 06:45 PM | IN the top of the topic is the first TOP
And here now the top:
top - 23:40:43 up 4:44, 1 user, load average: 6.02, 9.35, 9.66
Tasks: 296 total, 14 running, 281 sleeping, 0 stopped, 1 zombie
Cpu(s): 31.9%us, 30.9%sy, 0.0%ni, 36.9%id, 0.2%wa, 0.0%hi, 0.0%si, 0.1%st
Mem: 8388608k total, 2439244k used, 5949364k free, 225036k buffers
Swap: 8393952k total, 0k used, 8393952k free, 1327992k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15703 klikoob 18 0 108m 26m 5940 R 14.5 0.3 0:00.44 php
15753 klikoob 16 0 106m 24m 5772 R 4.6 0.3 0:00.14 php
15765 klikoob 17 0 0 0 0 R 1.3 0.0 0:00.04 php
15764 klikoob 17 0 92972 7320 4500 S 1.0 0.1 0:00.03 php
9922 nobody 16 0 73800 3212 1508 S 0.7 0.0 0:00.08 httpd
10233 nobody 16 0 73664 3136 1492 S 0.7 0.0 0:00.08 httpd
12004 root 15 0 12876 1264 808 R 0.7 0.0 0:00.09 top
15769 klikoob 17 0 93228 8028 4888 R 0.7 0.1 0:00.02 php
2953 nobody 15 0 73936 3320 1512 S 0.3 0.0 0:00.62 httpd
3215 nobody 16 0 73800 3288 1508 S 0.3 0.0 0:00.45 httpd
8782 nobody 16 0 73664 3160 1504 S 0.3 0.0 0:00.11 httpd
9767 nobody 15 0 73800 3236 1512 S 0.3 0.0 0:00.04 httpd
9769 nobody 15 0 73800 3304 1508 R 0.3 0.0 0:00.06 httpd
9780 nobody 16 0 73936 3348 1508 S 0.3 0.0 0:00.10 httpd
9915 nobody 16 0 73664 3188 1508 S 0.3 0.0 0:00.03 httpd
9927 nobody 16 0 73664 3156 1504 S 0.3 0.0 0:00.12 httpd
9938 nobody 15 0 73664 3156 1504 S 0.3 0.0 0:00.06 httpd
10056 nobody 16 0 73664 3160 1504 S 0.3 0.0 0:00.01 httpd
10137 nobody 15 0 73800 3232 1508 S 0.3 0.0 0:00.09 httpd
10169 nobody 16 0 73664 3136 1492 S 0.3 0.0 0:00.06 httpd
10184 nobody 15 0 73664 3136 1492 S 0.3 0.0 0:00.16 httpd
12432 nobody 15 0 73800 3296 1508 S 0.3 0.0 0:00.01 httpd
14684 nobody 15 0 73664 3152 1504 S 0.3 0.0 0:00.02 httpd
15766 klikoob 17 0 93764 8844 5256 R 0.3 0.1 0:00.01 php
15770 klikoob 17 0 89676 5072 3420 R 0.3 0.1 0:00.01 php
16782 nobody 16 0 73800 3204 1508 S 0.3 0.0 0:00.08 httpd
31606 mysql 15 0 392m 31m 3132 S 0.3 0.4 1:26.70 mysqld
1 root 15 0 10352 700 588 S 0.0 0.0 0:00.17 init
2 root RT -5 0 0 0 S 0.0 0.0 0:02.11 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.45 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenwatch
10 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenbus
16 root RT -5 0 0 0 S 0.0 0.0 0:01.48 migration/1
17 root 34 19 0 0 0 R 0.0 0.0 0:00.83 ksoftirqd/1
18 root RT -5 0 0 0 S 0.0 0.0 0:00.00 wat
KEVIN: i do no if i have that i am really new. How i can look at this or do you can take a look. please.
JWEBHOST: I dont how to make this o my good i dont have thing that this with the server will make me cry!
|
Posted by CMBPF, 01-27-2011, 06:47 PM | i think that load comes with wordpress, wordpress can be very hard for some servers due requests on mysql on the first page to check posts.
please try using wp-cache plugin to allow you convert your website to htmp page frontend, will help you out lowering that load ( if you use wordpress )
then you need some tweets on MySQL and make some limit on HTTPD.
You can go too trying install nginx, i can assist you on that.
nginx its one proxy layer attached on HTTPD, made cache of your websites instead of requesting directly on HTTPD
If you need any help on stop that im here to help.
|
Posted by Kevin K, 01-27-2011, 06:49 PM | Sure I can give you a hand with this if you need it. Send me a pm and I will help you out.
|
Posted by Dustin B Cisneros, 01-27-2011, 07:08 PM | Since you have WHM log in to root whm and at the top right you will see the load, this is handy for users who are not good with SSH and look at the processes that are high causing the high load and kill accordingly
|
Posted by klikoo, 01-27-2011, 07:18 PM | Thank you guys very much.
I must bring decision to stay on the cloud server (1400 km/h) from me or to change to a dedicad server (600 Km/h) from me in my neighbor country.
Please give me a tip:
This is one site in my neighbor country with the same script and dediced server in this country
www.ulovi.hr its to fast
What i have to do? what is the best for me? I cant afford a miststake again!
i am simply lost
|
Posted by Kevin K, 01-27-2011, 07:41 PM | I took a look for him and the problem is the traffic is just too much for a cloud VPS server. He need a dedicated solution with a doubt.
|
|
Add to Favourites
Print this Article |