The Arcive of vBulletin Modifications Site. |
|
Mysql problem, any help is appreciated. Details »»
|
||||||||||||||||||||||||||
I'm not sure where to look, but intermittently, mysql either crashes or stops working
The only time I know when something is wrong is when I start getting emails about it being down Is there a paticular log file I need to check to find out what happened? This is from the hostname.err log file Quote:
Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
What do the error e-mails actually say ?
|
|
#3
|
|||
|
|||
|
The first email I get, is this
Quote:
|
|
#4
|
|||
|
|||
|
This error means either:
1. The info in your config.php file is wrong (in which case your forums wouldn't work at all), or 2. MySQL crashed, it's not running or it can't find the socket. You need to contact your host about this. Here is more info on this error: http://dev.mysql.com/doc/mysql/en/Ca...to_server.html |
|
#5
|
||||
|
||||
|
This is likely a memory problem Either you are actually running out of memory, or you are hitting a system limit such as open files. If you are running on a shared server you should look to changing hosts.
run ulimit -a to find out how many open files you are allowed run the mysql commands show status and show variables to see if you are hitting any limits. |
|
#6
|
|||
|
|||
|
I'm running on a VPS with 768mb of reserved system memory
This is the result of ulimit Quote:
|
|
#7
|
||||
|
||||
|
Your system looks fine. What does mysql report? what are the values for open files in show status and show variables?
Also, since you are on a vps you should be able to look at the bean counters, which will live under /proc somewhere. These will show an instant snap shot of your system resources. |
![]() |
|
|