Skip to main content
Level 2
Mar 27, 2017 9:59 PM UTC
Solved

How to monitor number of concurrent authors?

Hello all,

We have been investigating the possibility of using MongoMK for our Author instances, and have decided to continue using TarMK until we absolutely have to switch. One of the suggested Mongo requirements is if you get above 100 concurrent authors. How can you monitor the number of concurrent authors?

Thank you,

Andrew

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
sandeepm744005
sandeepm744005Accepted solution
Level 5
Mar 28, 2017 6:52 AM UTC

You can try below commands -------------------------------------------------------------------

To see the number of authors that have used the system since installation use the command line:
cd <cq-installation-dir>/crx-quickstart/logs

cut -d " " -f 3 access.log | sort -u | wc -l

To see the number of authors working on a given date:

grep "<date>" access.log | cut -d " " -f 3 | sort -u | wc -l

4 replies

MC_Stuff
Level 10
Mar 28, 2017 2:22 AM UTC

Hi Andrew,

Every request in aem is atomic & you need to integrated with any idp (saml...) to get the concurrent monitor validation Or need custom implementation.    Other workarounds like  /system/console/tokenmgr Or parsing logs really not scale out well from personal implementation experience.

Thanks,

Translate
sandeepm744005
sandeepm744005Accepted solution
Level 5
Mar 28, 2017 6:52 AM UTC

You can try below commands -------------------------------------------------------------------

To see the number of authors that have used the system since installation use the command line:
cd <cq-installation-dir>/crx-quickstart/logs

cut -d " " -f 3 access.log | sort -u | wc -l

To see the number of authors working on a given date:

grep "<date>" access.log | cut -d " " -f 3 | sort -u | wc -l

Translate
Level 2
Mar 28, 2017 4:12 PM UTC

Thanks - will they scale up to ~100 users okay? We're mostly worried about that threshold in particular

Translate
Level 2
Mar 28, 2017 4:15 PM UTC

Thanks Sandeep, that actually really helps. It looks like we've only had 80 unique users in the last week, and the highest was 58 in one day. It's safe to say we're under the 100 concurrent user threshold. We'll have to look into better ways to watch concurrent users. 

Translate