if you dont want to change things globally but just for 1 server, log in to webmin - webmin panel - Apache Webserver - click on the virtual server you want to change - in the new screen click on ‘edit directives’ - put your changes in there and restart Apache
I took a look at httpd.conf file and noticed this:
MaxClients: maximum number of simultaneous client connections
it is set at 150.
Now if ı have a busy website like a forum, I could easily
get over 300 people on at one time and as practically every operation
requires a server request, isn’t that limit of 150 a bit low ?
And say I have hundred different websites running forums or wordpress
all using the same apachie server (with different databases ofcourse)
Won’t my concurrent users run into the thousands ?
Don’t I need more like 10,000 possible concurrent users ?
Under the Webmim heading, I have these listed:
Backup Configuration Files
Change Language and Theme
Usermin Configuration
Webmin Actions Log
Webmin Configuration
Webmin Servers Index
Webmin Users
Checked out all of them and coudn’t see anything about editing directives ??
I think it’s actually in a slightly different location than that – if you log into Virtualmin, click Webmin -> Servers -> Apache Web Server, and in there you should see an area that would allow you to edit the configuration.
-Eric
MaxClients: maximum number of simultaneous client connections
There’s a number of factors involved in tuning this paramter; the issue is that if it’s too low, users may get a “website busy” error.
Worse, if it’s too high, it will eat up all your RAM, and cause your server to crash
A number of “150” is rarely too low, and is sometimes too high – but that all depends on how much RAM you have, what sort of CPU’s you’re using, what applications are on your system, what kinds of database queries are being performed, etc.
First, be very careful if you decide to change that – defaults such as that are often very sane numbers
However, you might consider doing some research in Google, looking up ways to tune that number. For example, this site comes up, with some examples of what to watch out for, and things to think of when tuning it:
Again though, be careful, and make sure you have backups of your config files before you make changes. Make sure you remember 3 months down the road that you changed this, so you aren’t wondering what broke if something goes awry
-Eric
Eric is right. I forgot to put -Servers- in my list
Also on the 150 connection, if you do not have a more than average server I would think about setting this a bit lower. Like 125. Think that a connection doesn’t take a lot of time. I can stare 1 hour to your website, but you wont see me that hour on your server as the website is now in my browser…