
Connection spikes
Number of replies: 3
Hi,
Attached is a graph with the number of connections throughout the day. At certain times I have these spikes in the number of connections.
Would anyone have any idea what could be the cause of these spikes?
Moodle 3.8.5+
Postgresql 12
Ubuntu 20.04
PHP 7.4
Ricardo

Re: Connection spikes
is this new or something like cron tasks running around that time?
or maybe people are going online more around that time
Re: Connection spikes
This is something new.
These are not connections to the database, but connections that are generated from the browser.
One hypothesis that emerged would be that users would be typing F5 several times at the time of login. If so, is there a way to remedy this situation?
These are not connections to the database, but connections that are generated from the browser.
One hypothesis that emerged would be that users would be typing F5 several times at the time of login. If so, is there a way to remedy this situation?
Re: Connection spikes
IF ... IF ... the hypoth is true, you should be able to see that 'behavior' in your servers access logs. Are you sure they are your users? mdl_user table does record lastip.
From cli: fgrep [alastipofauser] /var/log/httpd/ssl_access_log ... will show ... if logs are kept in that location.
'SoS', Ken
From cli: fgrep [alastipofauser] /var/log/httpd/ssl_access_log ... will show ... if logs are kept in that location.
'SoS', Ken