Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 07-17-2005, 11:34 PM   #1
sixxxthsense
Confirmed User
 
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
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...
sixxxthsense is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2005, 11:44 PM   #2
AdPatron
No commissions, no fees.
 
Industry Role:
Join Date: Apr 2003
Location: USA
Posts: 17,706
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.
AdPatron is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2005, 11:48 PM   #3
sixxxthsense
Confirmed User
 
Join Date: Aug 2004
Location: Toronto
Posts: 2,421
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?
sixxxthsense is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-17-2005, 11:49 PM   #4
sickbeatz
The Hustler
 
Join Date: Feb 2005
Posts: 4,993
Piss into a condom and suck on your thumb
__________________

GalleryFeeder.com
sickbeatz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2005, 12:36 AM   #5
hotstuff
So Fucking Banned
 
Join Date: Aug 2004
Posts: 234
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.
hotstuff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2005, 12:53 AM   #6
liquidmoe
Confirmed User
 
Join Date: Mar 2002
Location: NY
Posts: 4,994
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.
__________________

Take Luck!
liquidmoe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2005, 02:01 AM   #7
High_Times
Confirmed User
 
Join Date: Apr 2005
Posts: 115
apachectl restart
High_Times is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2005, 03:46 AM   #8
s9ann0
Confirmed User
 
Join Date: Sep 2001
Location: Boston
Posts: 4,873
to get over 256 edit httpd.h and in src/incldues I think and change HARDSERVERLIMIT and recompile
s9ann0 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-18-2005, 03:49 AM   #9
adultguus
Confirmed User
 
Industry Role:
Join Date: Jul 2004
Location: The Netherlands
Posts: 815
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.
adultguus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.