Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Feb 09, 2010 4:59 pm 
Offline
Newbie

Joined: Mon Jun 15, 2009 4:38 am
Posts: 2
Hi,

Does anyone have any guidelines what could be the optimal setting in httpd.conf for centos 5.4 x64?
I now have this:

Code:
Timeout 120

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 200

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 10

##
## Server-Pool Size Regulation (MPM specific)
##

# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# ServerLimit: maximum value for MaxClients for the lifetime of the server
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>

StartServers 1
MinSpareServers 3
MaxSpareServers 6
ServerLimit 24
MaxClients 24
MaxRequestsPerChild 3000

</IfModule>



But I think the server still could perform better? Can someone give me some hints/guidelines what could be the most optimal setting for apache?
I already use lighttpd to serve static content (setup by proxy in httpd.conf), and a apc for php for performance.
I run 2 magento shops and some wordpress instances on the linode fyi.

Thanks in advance!


Top
   
 Post subject:
PostPosted: Tue Feb 09, 2010 5:40 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Running 64bit OS/APPS on a small VPS is your biggest waste of memory.

Way better to switch to 32bit.


Top
   
 Post subject:
PostPosted: Thu Feb 11, 2010 7:28 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
vonskippy wrote:
Running 64bit OS/APPS on a small VPS is your biggest waste of memory. Way better to switch to 32bit.


I strongly agree, having made exactly that test with my Linode. Little if any performance gain with large memory consumption for 64 bit.

James


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