Measuring maximum # active Web OPAC (or GUI) users
- Article Type: General
- Product: Aleph
- Product Version: 20
Description:
How can we know the maximum number of active Web OPAC (or GUI) users in a particular time period?
Resolution:
There are various system monitors which can be configured to provide this information, but aside from that....
The www_server and pc_server logs contain lines like the following which are written every 5 seconds (or less frequently when there are no transactions):
Active users : 000000015
The following grep in the $LOGDIR directory will read the www_server logs, showing the the number of simultaneous users, the next highest number, etc.:
grep 'Active users' www_server*log* | cut -d: -f 3 | sort -nru | head
The following results show, for instance, that the maximum simultaneous users were
123 on 2015-04-07; the next highest was
117 on 2015-04-07; the next,
113 on 2015-04-04, etc.:
0000001232015-04-07 18
0000001172015-04-07 18
0000001132015-04-04 17
0000000902015-04-07 18
0000000802015-03-30 22
0000000762015-04-07 17
As noted in Article 000037619 ( License limit exceeded or System is overloaded **MASTER RECORD** ), www_server sessions remain active for 2 minutes after the time of the user last hit Enter; pc_server sessions, for 10 minutes. (This is hard-coded in the programs.)
Additional Information
License limit exceeded or System is overloaded **MASTER RECORD**
- Article last edited: 10/8/2013