Web Hosting Talk







View Full Version : What do you think of this server info?


Dave22
12-23-2002, 04:02 PM
good or bad?


http://members.aol.com/_ht_a/david6566//Image6.gif

mccuem
12-23-2002, 04:08 PM
A little busy.

ServerSonic
12-23-2002, 04:16 PM
Looks to me like mysql has gone a little crazy... you might want to restart it and see if that clears the load up a bit.

Website Rob
12-23-2002, 04:32 PM
The heavy Perl load could also be connected to the mySQL load, if it is used to create mySQL connections with DBI for a forum, for example.

17 zombies is also not good so compare Top results carefully, once you've done a restart/reboot.

Andrew
12-23-2002, 04:37 PM
Lots of processes...

What are the settings in my.cnf and httpd.conf ?

Dave22
12-23-2002, 04:50 PM
It's not my server, i have a virtual account with a host i was getting ready to complain and wanted to see what you guys had to say :)

Under TIME for MySQL what does that mean? MySQL has been running for 22.6 hours or 22 min and it's using 85% of the CPU which is bad right?

James[UH]
12-23-2002, 04:57 PM
Can you get the stats of the mysqld ?

Will tell you how many queries per second its receiving etc.

To get stats:

mysql -u youruser -pyourpass

Then type: status

Something like this will output.

Threads: 1 Questions: 544731 Slow queries: 0 Opens: 1874 Flush tables: 2 Open tables: 62 Queries per second avg: 0.149

Of course your need a mysql user, so if you havnt got one you wont be able to see the stats.

Andrew
12-23-2002, 05:02 PM
Originally posted by Dave22
It's not my server, i have a virtual account with a host i was getting ready to complain and wanted to see what you guys had to say :)

Under TIME for MySQL what does that mean? MySQL has been running for 22.6 hours or 22 min and it's using 85% of the CPU which is bad right?

Yes, that's what the time means. No that's not good. Hopefully they know what to do when problems like this arise :)

wowewo
12-24-2002, 03:25 AM
Can the Mysql problems be caused by too many scripts not dyeing?

I noticed that on my server caused by one script. The customer refused to do antyhing about it. So since they were a long term customer I quit complainging and edited the file to have a die function. That fixed that problem. I havent noticed any serious hanging processes since.

rusko
12-24-2002, 07:27 AM
a script may not be freeing resources. there is quite a bit of discussion regarding this for both perl and php. google is your friend =]

ServerSonic
12-24-2002, 07:29 AM
For whatever reason people remember to use mysql_pconnect() and just "forget" to use mysql_close()...:angry:

Dave22
12-24-2002, 12:47 PM
I e-maled my host and they fixed it in 2 min :)

they said (we restarted the MySQL daemon and the CPU usage has gone back up. over time mysql cpu usage spikes high like you had just seen)

Whatever that means lol

ServerSonic
12-24-2002, 02:13 PM
Regardless of what they say it is not normal for mysql usage to be that high. Something is not right on the server. Either it is overloaded, MySQL is misconfigured, someone has some scripts which are consuming way too many resources, or something is going on.

Hopefully, for you, this doesn't happen again anytime soon. Good luck;-)

jolly
12-24-2002, 02:34 PM
MySql is crazy here....
:D