Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: LAMP tuned up
PostPosted: Mon May 19, 2008 1:39 am 
Offline
Senior Newbie

Joined: Sun May 18, 2008 8:52 am
Posts: 17
Website: http://www.arie-online.net
Yahoo Messenger: arie_wijayanto
Location: Indonesia - Bogor
dear all

i'm using openSuse 10.3 in my linode 360 and using apache+php+mysql to run my site which is based on joomla and fireboard (joomla based forum)

this is my first time dealing with real server. for the first time using default configuration, my linode get crash when going into busy hour.

my forum ussualy had 30 - 60 online user at same time on busy hour

i tried to my apache tunned up by using folloing configuration

Code:
<IfModule prefork.c>
        StartServers         1
        MinSpareServers      1
        MaxSpareServers     5
        ServerLimit        60
        MaxClients         60
        MaxRequestsPerChild  500
</IfModule>


and mysql with following configuration

Code:
# The MySQL server
[mysqld]
skip-locking
key_buffer = 64M
max_allowed_packet = 1M
table_cache = 128
sort_buffer_size = 4M
read_buffer_size = 1M
query_cache_size = 16M


but sometimes i need to restart apache and mysql to get fresh condition. actually it's better than Suse's default configuration, i can't even login to sshd to restart service

i want to ask, is there any better configuration for my LAMP ?

is there any ways to simulated multiple connections/users to access my web ? i found article about 'ab' (maybe is stand for 'Apache benchmark') but i didn't found it in yast (suse CP)

and where i can found articles to make my linode more secure ? i've installed Suse firewall (installed and activeted on yast)

thanks for your help,

arie


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