Results 1 to 9 of 9
Thread: Can u help me in this issue
-
01-17-2008, 07:41 AM #1Web Hosting Guru
- Join Date
- Dec 2007
- Posts
- 255
Can u help me in this issue
iam useing Apache/2.0.61 (Unix) now i planned to increase the max_clinets to 300 for that desided to increase the HARD_SERVER_LIMIT i open the path /usr/local/apache/include/httpd.h when i tried to edit the HARD_SERVER_LIMIT i can able to find that line in httpd.h any idea help me in this issue
-
01-17-2008, 08:18 AM #2Newbie
- Join Date
- Oct 2006
- Location
- Chile
- Posts
- 19
I think that you only need increase max_clients
-
01-17-2008, 08:27 AM #3Web Hosting Guru
- Join Date
- Dec 2007
- Posts
- 255
when i increase the max_client to 300 after restaring my apachi in server staus cpsrvd has been failed
-
01-17-2008, 08:40 AM #4Newbie
- Join Date
- Oct 2006
- Location
- Chile
- Posts
- 19
try to change max_client to 300
and then , recompile apache /scripts/easyapache
Server limits I think will be generated on base of max clients setting
-
01-17-2008, 08:46 AM #5Web Hosting Guru
- Join Date
- Dec 2007
- Posts
- 255
then what about HARD_SERVER_LIMIT
-
01-17-2008, 09:29 AM #6Web Hosting Guru
- Join Date
- Dec 2007
- Posts
- 255
not woreking any way to change the max client
-
01-17-2008, 10:29 AM #7Newbie
- Join Date
- Oct 2006
- Location
- Chile
- Posts
- 19
after change max_clients ... you recompile apache or not ??
apache need recompile to correct problems ...
cpsrvd is the process of cpanel , type in console: service cpanel restart and wait few moments... it will turn green
-
01-17-2008, 10:30 AM #8Junior Guru
- Join Date
- Jul 2004
- Location
- Athens, Greece
- Posts
- 209
Hello,
The correct httpd.h should be located at /home/cpeasyapache/src/include/httpd.h but you don't necessarily need to change it directly, as cPanel already has an option to raise SERVER_LIMIT.
You may simply login at cPanel, go to Software > Apache Update:
1. Profile: Previously Saved Config [Start customizing based on profile]
2. Apache Version: (your choice) [Next Step]
3. PHP Major Version: (your choices) [Next Step]
4. PHP Minor version: (your choices) [Next Step]
5. Short Options List: (your choices) [Exhaustive Options List]
6. Exhaustive Options list: [CHECK] Raise Hard Server Limit
7. Save and build
The above process can be done via SSH as well (using /scripts/easyapache) and finding similarly "Raise Hard Server Limit" in order to enable it and then recompile Apache.
Wen you choose "Raise Hard Server Limit" (via cPanel or SSH), cPanel patches /home/cpeasyapache/src/include/httpd.h (using /home/cpeasyapache/src/cppatch/raise_hard_server_limit.patch) in order to increase HARD_SERVER_LIMIT from 256 to 2048.
Thank you.SharkTECH Internet Services
http://www.sharktech.net
DDOS Firewalled Dedicated Servers
Managed Services / IRC Allowed
-
01-17-2008, 11:54 AM #9Web Hosting Guru
- Join Date
- Dec 2007
- Posts
- 255
thanks to both of them now it workeing fine,thanks a lotz