1820254 Members
2619 Online
109622 Solutions
New Discussion юеВ

Apache MaxClients Error?

 
someone_4
Honored Contributor

Apache MaxClients Error?

Hi everyone

An issue has come up with apache.
Last week I was working on adding users to the Authentication, Authorization and Access Control.

After I made the changes I restarted Apache. But it did not want to come up. I kept getting MaxClient setting errors. Finaly I just decided to reboot the server. After the reboot apache came up just fine.

Yesterday I had to add a couple of more users. Once again I tried to restart the Apache and once again I kept getting the Max Client settings error.

Then I contacted HP support to help me troubleshoot the issue. They tried to help me but at the end they didnt know why it would work after I reboot the system.

So far I made changes to the MaxClients settings , changed a few other parameters in httpd.conf per HP, tried the default hpptd.conf file. And nothing has worked.

Here is the error:

[Tue Nov 09 14:41:04 2004] [notice] SIGHUP received. Attempting to restart

[Tue Nov 09 14:41:05 2004] [notice] Apache/2.0.52 HP-UX_Apache-based_Web_Server(Unix) DAV/2 configured -- resuming normal operations

[Tue Nov 09 14:41:09 2004] [error] server reached MaxClients setting, consider raising the MaxClients setting



Thanks

Richard
6 REPLIES 6
Steve Steel
Honored Contributor

Re: Apache MaxClients Error?

Hi


Which apache do you use and where did you get it.

see
http://opensource.hp.com/apache/index.html



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
someone_4
Honored Contributor

Re: Apache MaxClients Error?

I use Apache/2.0.52
this is the latest depot from HP.

What is intresting is that it has worked fine in the past. I was able to restart it at will and it started up just great.

Richard
Victor BERRIDGE
Honored Contributor

Re: Apache MaxClients Error?

Hi Richard,
I wonder if you are not having some socket trouble...
When you do a netstat -a|grep WAIT, what do you see?


All the best
Victor
someone_4
Honored Contributor

Re: Apache MaxClients Error?

netstat -a|grep WAIT
tcp 0 0 lvapp16.smtp lvapp16.64818 TIME_WAIT
tcp 0 0 lvapp16.64866 lvapp16.389 TIME_WAIT
tcp 0 0 lvapp16.64829 lvapp16.1984 TIME_WAIT
tcp 0 0 lvapp16.64845 lv2ivr7.telnet TIME_WAIT
tcp 0 0 lvapp16.64841 lv2ivr6.telnet TIME_WAIT
tcp 0 0 lvapp16.64839 lv2ivr5.telnet TIME_WAIT
tcp 0 0 lvapp16.64837 lv2ivr4.telnet TIME_WAIT
tcp 0 0 lvapp16.64835 lv2ivr3.telnet TIME_WAIT
tcp 0 0 lvapp16.64833 lv2ivr2.telnet TIME_WAIT
tcp 0 0 lvapp16.64831 lv2ivr1.telnet TIME_WAIT
tcp 0 0 lvapp16.64849 lv2ivr9.telnet TIME_WAIT
tcp 0 0 lvapp16.64847 lv2ivr8.telnet TIME_WAIT
tcp 0 0 pet.http 24.204.3.242.35140 TIME_WAIT
tcp 0 0 pet.http 24.204.3.242.35138 TIME_WAIT
tcp 0 0 lvapp16.64868 laivr10.telnet TIME_WAIT
tcp 0 0 lvapp16.64865 laivr9.telnet TIME_WAIT
tcp 0 0 lvapp16.64862 laivr8.telnet TIME_WAIT
tcp 0 0 lvapp16.64860 laivr7.telnet TIME_WAIT
tcp 0 0 lvapp16.64858 laivr6.telnet TIME_WAIT
tcp 0 0 lvapp16.64856 laivr5.telnet TIME_WAIT
tcp 0 0 lvapp16.64853 laivr4.telnet TIME_WAIT
tcp 0 0 lvapp16.64851 laivr1.telnet TIME_WAIT


This server is the host for our big brother monitoring software. The *.telnet are the tests.

- Richard
Steven E. Protter
Exalted Contributor

Re: Apache MaxClients Error?

Number of possible sources.

1) You made need to increase the max clients in the httpd.conf file and restart apache.
2) You may have a resource shortage as far as nproc or nfile or maxuprc. This seems possible since booting cleared the problem.

Just what came to mind.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Victor BERRIDGE
Honored Contributor

Re: Apache MaxClients Error?

...
No comment on netstat...

What value do you hjave for MaxClient?
And how many server processes are running /configured?(ps -ef|grep httpd)
Startservers ?
MinSpareServers ?
MaxSpareServers ?

All the best
Victor