When the Who's Online block says "36 guests online" does it mean, some 36 users accessed page within the last 5 or so minutes. Cause I see around 20-40 guests online 24 hours of the day. Are there any pointers on more information on how the block calculates the number of guest, if this topic was already discussed before? Any help appreciated. Thanks.

Vishal.

Comments

marky’s picture

at admin/system/modules/user

If you got a busy site, try setting the 'User activity' to a lower value and track what happens...

/marky

dries’s picture

The number of online users is computed based on the number of sessions that have been active in the last x minutes. The interval x can be configured but defaults to 15 minutes.

Note that if you access your site using cron.php (if you have a Drupal crontab setup), a session will be created and counted. The same happens when crawlers are indexing your website. This may explain the behavior.

vishal-1’s picture

Your replies were helpful. I think 15 minutes per session might give a wrong impression and I changed it to a lesser value. Now the block numbers make a bit more sense to me. Appreciate your help.

Vishal.

TheoGB’s picture

I've just upgraded from 4.4.2 and I've immediately noticed a stupid number of guests on line: 30s-70s

Now it would seem the above solution isn't available obviously under 4.6.3 but is there another one?

This thread: http://drupal.org/node/29096 suggests a robots.txt file will help but I don't want to stop Google putting our articles into its database.

Can someone advise me if there's a way round this?

green monkey’s picture

Drupal 4.6.3

I'm stuck on this one too. I've created over 150 guests in less than 30 mins, while doing some heavy editing. Trottle shut me down the first time.

I tired to use Admin block in Stat filer, but it doesn't seem to work at either the Admin or Staff created Role.

I would like to leave the 15 window alone, do I have other options... just to not read Admin?

thanks

UPDATE
I did the "unheard of" I went back and read the instructions again ;-)

and tried something that worked :-)

... even though the instructions say you need the BrowseCap.mod to block Search Engines.. I have found you also need it to "Ignore administrator" it will only take you 5 minutes to correct this issue, well worth it... They are both great mod's... thanks Mike

rojo’s picture

After installation I only see number of users, I do not see "number of guests" displayed. How can I have number of guests displayed? Thanks