Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 22, 2010 10:35 pm 
Offline
Senior Newbie

Joined: Sat Feb 20, 2010 12:43 am
Posts: 16
Hi, added the Lamp stack (from stackscript) and everything working fine except Now I uploaded all my entries into my site which is a directory site with more than 100k listings and its running like a dog.

free -m
total used free shared buffers cached
Mem: 348 343 4 0 7 241
-/+ buffers/cache: 93 254
Swap: 255 0 255

Looks ok to me although 'top' shows mysql using anything between 10-30% of memory and similar amount of cpu at any one time.

Played around with the my.cnf settings but nothing affects this performance.

Mysqltuner reports that more ram is required but I don't understand this if their is a fair amount free?


Top
   
 Post subject:
PostPosted: Tue Feb 23, 2010 2:09 am 
Offline
Senior Newbie

Joined: Sat Feb 20, 2010 12:43 am
Posts: 16
Oh and it averages about 20k i/o on the disk with around 60k peak.

I use Binarycanary as a site monitor which is mailing me telling me the sites down about every hour.

Theres nobody on it really except for Googles robots et al.


Top
   
 Post subject:
PostPosted: Tue Feb 23, 2010 4:58 am 
Offline
Senior Member
User avatar

Joined: Tue Mar 17, 2009 5:11 am
Posts: 129
Location: UK
Are there indexes on the tables?


Top
   
 Post subject:
PostPosted: Tue Feb 23, 2010 6:47 am 
Offline
Senior Newbie

Joined: Sat Feb 20, 2010 12:43 am
Posts: 16
Yes, the script provides caching which is turned on though.


Top
   
 Post subject:
PostPosted: Tue Feb 23, 2010 6:53 am 
Offline
Senior Member
User avatar

Joined: Sun Mar 23, 2008 10:10 am
Posts: 71
Website: http://frontseed.com/
caleb2003 wrote:
Yes, the script provides caching which is turned on though.

FYI caching ≠ table index in SQL.


Top
   
 Post subject:
PostPosted: Tue Feb 23, 2010 8:40 am 
Offline
Senior Newbie

Joined: Sat Feb 20, 2010 12:43 am
Posts: 16
Sorry, did not mean to indicate the same, yes there are indexes on the tables.

thanks


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


Who is online

Users browsing this forum: No registered users and 0 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