Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: MySQL repeatedly dies
PostPosted: Mon Oct 27, 2003 5:51 pm 
Offline
Senior Newbie

Joined: Wed Sep 10, 2003 6:30 pm
Posts: 5
Website: http://www.shortdaddy.com
AOL: TriLou98
Location: Louisville, KY
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.


Top
   
 Post subject:
PostPosted: Mon Oct 27, 2003 6:08 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
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


Top
   
 Post subject:
PostPosted: Wed Oct 29, 2003 4:30 pm 
Offline
Senior Newbie

Joined: Wed Sep 10, 2003 6:30 pm
Posts: 5
Website: http://www.shortdaddy.com
AOL: TriLou98
Location: Louisville, KY
Thanks. . . it looks like that might have fixed it. . .


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group