"Too Many Users Online"???

Post

Posted
Rating:
#6134 (In Topic #1487)
Avatar
Standard member
Florida_Owl is in the usergroup ‘Honoured member’
Hi,

has anyone come acrosss this issue?

Users online
0 Guests, 0 Members

When I click on the link to view them, the error message is:

"There are too many online users to list."


Below is the stack trace:

Critical error – bailing out
This is an error that has been elevated to critical error status because it occurred during the primary error mechanism reporting system itself (possibly due to it occuring within the standard output framework). It may be masking a secondary error that occurred before this, but was never output - if so, it is likely strongly related to this one, thus fixing this will fix the other.
There are too many online users to list. (version: 9.custom, PHP version: 5.6.40, URL: /onlinemembers.htm?keep_fatalistic=1)
Stack trace…
File -> '/home/fauowlsn/public_html/sources/failure.php'
Line -> 797
Function -> 'die_html_trace'
Args -> array ( 0 => 'There are too many online users to list. (version: 9.custom, PHP version: 5.6.40, URL: /onlinemembers.htm?keep_fatalistic=1)', )
File -> '/home/fauowlsn/public_html/sources/global.php(210) : eval()\'d code'
Line -> 1049
Function -> '_fatal_exit'
Args -> array
File -> '/home/fauowlsn/public_html/sources/failure.php'
Line -> 244
Function -> 'fatal_exit'
Args -> array
File -> '/home/fauowlsn/public_html/sources/global.php(210) : eval()\'d code'
Line -> 1009
Function -> '_generic_exit'
Args -> array
File -> '/home/fauowlsn/public_html/site/pages/modules/onlinemembers.php'
Line -> 74
Function -> 'warn_exit'
Args -> array
File -> '/home/fauowlsn/public_html/sources/zones.php'
Line -> 425
Function -> 'run'
Class -> 'Module_onlinemembers'
Object -> Module_onlinemembers::__set_state(array( ))
Type -> '->'
Args -> array ( )
File -> '/home/fauowlsn/public_html/sources/site.php'
Line -> 859
Function -> 'load_module_page'
Args -> array ( 0 => 'site/pages/modules/onlinemembers.php', 1 => 'onlinemembers', )
File -> '/home/fauowlsn/public_html/sources/site.php'
Line -> 646
Function -> 'request_page'
Args -> array ( 0 => 'onlinemembers', 1 => true, )
File -> '/home/fauowlsn/public_html/index.php'
Line -> 97
Function -> 'do_site'
Args -> array ( )
Online now: No Back to the top

Post

Posted
Rating:
#6135
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

(For reference, this is an ocPortal v9 site)

I took a look at your session table (I still have access), and there really are a lot of hits in it. I then looked at your stats table, and there's a lot of logged bot activity.

You can probably fix your issue by adding this to the end of your robots.txt file…

Code

User-agent: MJ12bot
Disallow: /

User-agent: AhrefsBot
Disallow: /

User-agent: SemrushBot
Disallow: /

User-agent: ZoominfoBot
Disallow: /

User-agent: Buck
Disallow: /

User-agent: trendictionbot
Disallow: /

User-agent: omgili
Disallow: /

User-agent: bbot
Disallow: /

User-agent: brands-bot-logo
Disallow: /

User-agent: brands-bot
Disallow: /

These aren't bots I necessarily specifically saw – it's more like a master list that includes some I saw.

Otherwise you'll need to either raise the Admin Zone > Setup > Configuration > Site options > Maximum users option, or lower the Admin Zone > Setup > Configuration > Site options > Logging > Inactivity for considered departure option.

Increasing maximum users has effect of making ocPortal remember all those users for each page hit (we made it more efficient in future versions), which is a performance factor.

I think you'll likely be fine banning the bots though.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#6136
Avatar
Standard member
Florida_Owl is in the usergroup ‘Honoured member’
Hi Chris,

Thanks for the reply!

We'll try adding these to the robot.txt file, but considering the amount of max users which have been noted of ~ 200 this might not be the cause…checked the admin zone maximum users setting and it is at 400…most sites like ours have 100's of people on at a time and we're trying to get there successfully, so please let Francois know if you can assist us in a demo site to evaluate and possibly upgrade.

Believe that is where we last left it via e-mail conversation between you and him on Feb 8, 2019, 2:27 PM…we are open to that.

Thanks!

Rick
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

babu, amit.nigam, Paul D, Salman, Philip, John Connor, MVLipwig

Forum statistics:
  • 1,117 topics, 5,357 posts, 6,338 members
  • Our newest member is himachalstory
Birthdays:
Back to Top