You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robert Andersson <ro...@profundis.nu> on 2003/10/01 09:30:58 UTC

Re: [users@httpd] How many connected users

Free Grafton wrote:
> While the information on mod_status information is helpful, you are
correct
> in that it isn't showing me the total number of users. I am reticent to
keep
> 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
all
> 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
visitors.

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org