httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] How many connected users
Date Wed, 01 Oct 2003 07:30:58 GMT
Free Grafton wrote:
> While the information on mod_status information is helpful, you are
> in that it isn't showing me the total number of users. I am reticent to
> increasing the server limit and maxclients as it appears to make no
> difference on the time that sessions are timing out for individuals when
> they are logged in. They are already set to 1000 on each. I have checked
> my PHP settings and there isn't really anything there that would make a
> difference in this case as far as I can tell.

It is possible to develop an algorithm which calculates the number of active
sessions you have at any one time, but how is that going to help you? You
are experiencing performance problems, and then, sessions don't matter; only
connections do.

In order to reduce the load on the server, you could add some logic in your
"session creation" code, that would only create a session if the number of
current active sessions is less than N. However, that's not a really good
idea either. You are best off trying to get your box to serve all its

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message