View Full Version : [ubuntu] about apache server

April 5th, 2012, 07:39 AM

i use ubuntu11.10. i will install lamb server. there will be 5000 visitors concurrently on my web site.
how should i install lamb server?
is the lamb server gonna need to set special values for apache server 's settings?

April 5th, 2012, 07:42 AM
I think you mean "lamp", not "lamb". You might want to have a read through this: https://help.ubuntu.com/community/ApacheMySQLPHP

Lars Noodén
April 5th, 2012, 12:45 PM
If you're just serving up static web pages then you won't need MySQL, just Apache. Python and Perl are already installed in Ubuntu by default so you won't need to worry about them either.

Here are some tips on tuning Apache

though with the relatively low traffic, you might not need to change much from the defaults.

April 5th, 2012, 01:38 PM
Yes i mean lamp server.

ok, i read the link you gave me. i already install lamp server.
But is there any special settings for concurrent 5000 visitors?
am i to use prefork_module or mpm_worker_module or threads in apache.conf?
which settings am i to use for below values ?
<IfModule mpm_worker_module>
StartServers 12
MinSpareThreads 25
MaxSpareThreads 175
ThreadLimit 194
ThreadsPerChild 25
ServerLimit 12000
MaxClients 10000
MaxRequestsPerChild 0

Thanks .

April 5th, 2012, 05:21 PM
You should be fine with the default settings.

Just make sure to monitor the system occasionally if you experience slowdown.

April 5th, 2012, 05:57 PM
Just make sure to monitor the system occasionally if you experience slowdown.

If you start increasing the number of active server daemons, make sure you have lots of memory in the machine. You don't want the server swapping to disk while it tries to manage a bunch of simultaneous connections.