 |
Linode.com Forum Linode Community Forums
|
| Author |
Message |
ckshort
Joined: 10 Sep 2003
Posts: 5
Location: Louisville, KY
|
| Posted: Mon Oct 27, 2003 4:51 pm Post subject: MySQL repeatedly dies |
|
|
I've been having this problem with MySQL. It dies repeatedly claiming to be out of memory. I've been monitoring memory usage on my linode and it usually dies while there is still large amounts of mem available. Additionally, as it is setup to automatically restart the server when it dies, it reaches a point that restarts no longer appear to work and a full reboot has been required to get the server up and running again.
I've had several people run through the configs to see if I had something wrong, no such luck. Also, my server is not hit very hard at all. It's mainly used for some backend work in holding information for the generation of static pages.
Has anyone else had a similiar problem or any ideas?
I'm running 4.0.16-standard and I've had the same problem with 4.0.15-standard. |
|
| Back to top |
|
caker
Joined: 15 Apr 2003
Posts: 2386
Location: Galloway, NJ
|
| Posted: Mon Oct 27, 2003 5:08 pm Post subject: |
|
|
Based on this page:
http://www.mysql.com/doc/en/Server_parameters.html
You might want to try something like this for low-memory conditions:
Code: mysqld_safe -O key_buffer=8M -O sort_buffer=512k &
Maybe mysql tries to lock physical memory for it's buffers?
-Chris |
|
| Back to top |
|
ckshort
Joined: 10 Sep 2003
Posts: 5
Location: Louisville, KY
|
| Posted: Wed Oct 29, 2003 3:30 pm Post subject: |
|
|
| Thanks. . . it looks like that might have fixed it. . . |
|
| Back to top |
|
| |
|