Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: MySQL Memory Usage
PostPosted: Wed Mar 24, 2010 1:12 pm 
Offline
Senior Newbie

Joined: Tue Mar 16, 2010 3:03 pm
Posts: 12
Would there be any drawback to running the following commands via cron every hour or so as a way of improving performance?

Code:
service mysqld restart

service lighttpd restart

service network restart


I am a newbie and I know this question may seem silly, but these commands help quite a lot to reduce memory usage when I start to go into swap.

Running CentOS on a linode 360 with kloxo and two magento installations running 3 stores. I know magento and kloxo are resource intensive, so if anyone has any better suggestions please let me know. :)


Top
   
 Post subject:
PostPosted: Wed Mar 24, 2010 2:07 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
No, it won't help at all. In fact, it'll probably break things if somebody tries to access your site in the meantime.

What you need to do is to configure the individual services (e.g. my.cnf) to prevent them from using excessive RAM even if left running for months at a time.


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


Who is online

Users browsing this forum: No registered users and 3 guests


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