GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Apache gurus I got a easy Question... (https://gfy.com/showthread.php?t=493355)

sixxxthsense 07-17-2005 11:34 PM

Apache gurus I got a easy Question...
 
How do I set a different value for MaxClients in the httpd.conf file?

I'm just not sure what the command is in in UNIX... or do I haveto emacs the file and shit... :thumbsup

AdPatron 07-17-2005 11:44 PM

Edit httpd.conf and find "MaxClients". Make sure it is not commented out with a "#". If you want more than 256, you'll have to re-install it with a higher client configuration.

sixxxthsense 07-17-2005 11:48 PM

Quote:

Originally Posted by JoesTraffic
Edit httpd.conf and find "MaxClients". Make sure it is not commented out with a "#". If you want more than 256, you'll have to re-install it with a higher client configuration.

I had it @ 300, I just changed it to 400... do you think it will work?

sickbeatz 07-17-2005 11:49 PM

Piss into a condom and suck on your thumb

hotstuff 07-18-2005 12:36 AM

Quote:

Originally Posted by sixxxthsense
I had it @ 300, I just changed it to 400... do you think it will work?

you also need to restart apache. there is also a compile time maximum for maxclients, if you need to set it above that you wll need to recompile apache.

liquidmoe 07-18-2005 12:53 AM

Run:
# apachectl configtest

It will report any errors, even if you had at 300, if your server wasnted compiled for more than 256 (editing the source files) then it would start but still only run 256 max.

High_Times 07-18-2005 02:01 AM

apachectl restart

s9ann0 07-18-2005 03:46 AM

to get over 256 edit httpd.h and in src/incldues I think and change HARDSERVERLIMIT and recompile

adultguus 07-18-2005 03:49 AM

Quote:

Originally Posted by spanno
to get over 256 edit httpd.h and in src/incldues I think and change HARDSERVERLIMIT and recompile

I think the HARDSERVERLIMIT is 500 by default, but I'm not sure.

Apache won't start if you set MaxClients above the HARDSERVERLIMIT, so if it starts, it's okay.


All times are GMT -7. The time now is 12:52 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123