Your's host system summary


#1

Hi,

I’m trying to resolve some problems with my server ‘thing’ (this server of course isn’t really mine, it’s shared :smiley: ) and I’m a little suprised with some parameters listed by program top. For example my server has only about 100 MB memory free and average load is over 70%.
Could you please post output from ‘top’ just for compare and maby some discuss? My listing is below.
Thanks, Adam

[code]top - 19:16:21 up 33 days, 17:01, 14 users, load average: 69.96, 70.35, 70.85
Tasks: 12 total, 1 running, 11 sleeping, 0 stopped, 0 zombie
Cpu(s): 28.1%us, 25.4%sy, 0.2%ni, 27.7%id, 16.5%wa, 0.2%hi, 1.8%si, 0.0%st
Mem: 16437220k total, 16323900k used, 113320k free, 257848k buffers
Swap: 8000328k total, 1808k used, 7998520k free, 10213552k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5445 adamuss 20 0 130m 11m 7124 S 0 0.1 0:00.66 php5.cgi
6545 adamuss 20 0 131m 11m 7432 S 0 0.1 0:00.34 php5.cgi
6549 adamuss 20 0 10604 1220 952 R 0 0.0 0:00.10 top
13628 adamuss 20 0 133m 12m 7812 S 0 0.1 0:14.84 php5.cgi
15480 adamuss 20 0 85848 2664 1820 D 0 0.0 0:00.02 mc
17106 adamuss 20 0 88504 3516 2136 D 0 0.0 0:03.50 mc
17109 adamuss 20 0 78924 2256 1432 S 0 0.0 0:00.02 bash
19532 adamuss 20 0 85852 2684 1820 D 0 0.0 0:00.02 mc
19538 adamuss 20 0 78956 2284 1432 S 0 0.0 0:00.00 bash
20435 adamuss 20 0 36932 1744 1164 S 0 0.0 0:00.10 sshd
20438 adamuss 20 0 78964 2304 1440 S 0 0.0 0:00.02 bash
29314 adamuss 20 0 130m 11m 7136 S 0 0.1 0:06.66 php5.cgi
[/code]


#2

What scripts are you running, and what customisations have you implemented?

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#3

OsCommerce based shop, 4images based photoforum, joomla based news agregator (news acquiring temporary disabled).
As you can guess I’m new DH customer. All of these things worked ok on previous hosting and for few days on DH hosting, but there are some problems from about 24 hours. Few minutes works great but then I just can’t connect to any of my sites, I have ‘waiting for server’ in my browser, sometimes ‘500 internal server error’

I was trying ‘wget’ from shell and sometimes looks ok, but very often ‘connecting to [my.site.adress]’ takes 20 seconds and more !
I was also trying ‘ab’ command with very ‘light’ parameters:

[thing]$ /usr/sbin/ab -n 10 -c 5 http://my.site.adress/ and sometimes I have 2-4 requests per second, sometimes 0.2 (!!!) request per second, sometimes I have got errors with time limit…

I’m sure that my site (I mean my site code, scripts etc) is ok: when everything works good I’ve try

[thing]$ /usr/sbin/ab -n 100 -c 50 http://my.site.adress/ and:

Time taken for tests: 10.600236 seconds Requests per second: 18.84 [#/sec] (mean) Time per request: 2653.285 [ms] (mean) Time per request: 53.066 [ms] (mean, across all concurrent requests) Transfer rate: 182.98 [Kbytes/sec] received as you can see - looks OK

Could you run ‘top’ on your server and post program output? As you can see my processes use <1% of memory and up to 5% of CPU (for a very short time), but server looks quite busy. I suppose that some other user(s) utilize most of resources, but I’m not sure about that.

Adam


#4

Unfortunately my server stats aren’t going to help you. Suffice to say they are (of course) nowhere near as high as what you are witnessing on your server.

The server load is what’s causing your issues. Those values don’t represent a “70% load”, they’re indicating a demand 70x above what is available. This is an indication that a script has gone berserk and you’ll need to contact Support to have them track it down and kill it with extreme prejudice.

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#5

sXi, thank you for helping
I’ll send ticket to support of course

Yes, I know that (and still have 28.1%us, 25.4%sy, 27.7%id what gives to me over 80% [smile]
I’m still curious about your server load. If for some (security?) reasons you don’t want to post it on this board maybe pm? Of course if you don’t want to publish them that’s no problem at all [smile]
Thank you and greetings from snowy Poland
Adam


#6

Server restarted, works like a charm :slight_smile: so far…
Thanks for helping