LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-12-2007, 04:38 AM   #1
dianarani
Member
 
Registered: May 2007
Posts: 63

Rep: Reputation: 15
Cool maxclient issue on apache1.


Hello Everybody,
I am using linux(RHEL4) OS(intel pentium4 3GHz,512MB RAM,40GB HDD) and apache1 web server.Mine is adserving server and it is running normally till yesterday before,but unexpectedly i got "error :maxclient reached " from apache then my apache got hang up.It was happening continously.Then i do seach on this error and got suggestion to increase my maxclient(NOTE:now i had 256 maxclients).
I was advised to increase HARD_SERVER_LIMIT in src/include/httpd.h.
Now i got lot of doubts in my way that is,
1)what are the procedure and constrains to increase maxclient?how many max client i can have as per the above configuration?
2)Is there any command to check out the number of users on our web server?
3)Is there any tool to check the load of apache in easy way?

how come i do make my apache to percieve heavy load?

Please help me.
Thanks in advance.
 
Old 10-12-2007, 05:53 AM   #2
kaushikpriya
LQ Newbie
 
Registered: Dec 2003
Location: india
Posts: 1

Rep: Reputation: 0
the maxclients depends on the resources you have. Every new connection might occupy some space out of memory.So you can have some calculation like memoru usage= MaxCoonection*sizeper connection.

Number of users can no be predicted like this . just check nu. of process threads httpd has created with something like this.

ps -elf |grep httpd.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache1.3.33 and mod_ssl2.8.24-1.3.33 LAdProg2005 Linux - Software 3 10-11-2006 05:04 AM
Apache1.3 and php5 squeaks_27 Linux - Networking 4 06-17-2005 09:36 PM
apache1. or apache2 merlin23 Linux - Networking 1 12-01-2004 11:58 AM
Why use Apache1.3 - What can't Apache2 do? davee Linux - Software 2 11-12-2003 11:42 AM
Apache1.3.28 On Rh9! calissal Linux - Software 1 09-10-2003 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration