|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Confirmed User
Join Date: Nov 2001
Posts: 72
|
HELP - mySQL question
My server is running FreeBSD + apache + php + mySQL. Recently, I keep getting error messages like this:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) When I check the memory and cpu usage, there are a couple hundreds of MB ram free. But the cpu idle is 0.0%! And mysqld is taking 95% or more of the cpu time. The server was running well and there is no new scripts installed and no significant increase in traffic. Anyone can provide some insight about what went wrong here? I don't know if it's related, but the problem started just a couple days after the recent internet worm attack. Any help please? Thanks! Jin |
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Jun 2002
Location: Back in the USSA
Posts: 8,849
|
![]()
__________________
![]() Photos by Ian X.: Distinctive photos of goth babes. Blood Money:Your traffic, my sites, our money. MojoHost: Still the best. |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Dec 2001
Location: Malibu
Posts: 3,817
|
Yes, this could be indeed the sql worm, I suggest you contact your system admin or something :-P.
http://www.microsoft.com/Downloads/d...7-2DE45CFA6A89 |
|
|
|
|
|
#4 |
|
Confirmed User
Join Date: Jan 2002
Posts: 2,025
|
are you running the latest version?
ahahhahah, this as no chance to be the SLAMMER worm... its an MS-SQL worm...
__________________
LiveBucks / Privatefeeds - Giving you money since 1999 Up to 50% Commission! 25% Webmaster Referal Powered by Gamma |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Nov 2001
Posts: 72
|
I am running mysql version 3.23.49. Do you think the upgrade will help here? I don't believe it's from the slammer worm, either.
|
|
|
|
|
|
#6 |
|
Confirmed User
Join Date: Mar 2001
Location: Cat Detector Van
Posts: 1,600
|
Jesus fucking christ.
It's not the SQL worm, that only affects MS SQL. You are probably running out of connections.. And if mysql is taking 100% of your CPU, then whatever script you are running was written by a retarded monkey. You wouldn't believe the abuse I can put mysql through before it even starts to break a sweat. The short of it: Talk to your sysadmin. He'll be able to up your connections, or restart the server, or whatever has gone wrong with MySQL. Cheers, Backov
__________________
<embed src="http://banners.spotbrokers.com/button.swf" FlashVars="clickURL=http://banners.spotbrokers.com" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="60"></embed> |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: Jun 2002
Location: Back in the USSA
Posts: 8,849
|
Actually... Could the worm be causing traffic that would explain the load on a non-MS SQl server?
__________________
![]() Photos by Ian X.: Distinctive photos of goth babes. Blood Money:Your traffic, my sites, our money. MojoHost: Still the best. |
|
|
|
|
|
#8 | |
|
Confirmed User
Join Date: Dec 2002
Posts: 194
|
Quote:
Heh. You'll get this error if a) all your mysql connections are taken up b) mysql isnt running I'd say you have a slow process running. Restart the DB and sit in a mysql window doing a 'show processlist' to see what's going on. Rob.
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60. |
|
|
|
|
|
|
#9 |
|
Macdaddy coder
Industry Role:
Join Date: Feb 2002
Location: MacDaddy pimp coder
Posts: 2,806
|
try todo a 'show processlist' to see which queries are fucking up your system.
May b one of your indexes is corrupt, try todo a mysqlcheck -o --all-databases -p
__________________
MacDaddy Coder. |
|
|
|