MySQL Connections

Hi Cornelius,

I noticed that on specific times of the day, the number of connection
opened by PrivacyIDEA grows significantly and saturates my MySQL DB
capacity. Are there any schedulated background tasks which could cause this?
Thanks in advance,

Daniele

Hi Cornelius,

I noticed that on specific times of the day, the number of connection
opened by PrivacyIDEA grows significantly and saturates my MySQL DB
capacity. Are there any schedulated background tasks which could cause this?
Thanks in advance,

Daniele

Hi,

how many users do you manage in your installation? Perhaps this happens
when hopping from token to user view whil logged in?
I have a setup with 100 user and 150 tokens and while hopping around I get
not more than 20 selects per second.

Without backups this is the max value for about 2 months …

MichaelAm Montag, 19. Dezember 2016 10:34:35 UTC+1 schrieb caruso.d...@gmail.com:

You hsould get this investigated.
You may take a look at all timeout settings of the database and database
clients / drivers!
Maybe some connections do not get closed and do not get reused.
Kind regards
Cornelius

caruso.daniele.89@gmail.com:Am Dienstag, 20. Dezember 2016 10:45:41 UTC+1 schrieb

At the moment we have about 80K users indeed. I don’t think the problem is
related to PrivacyIDEA web views because we interact with PI via API.
This problem arises only on specific times of the day, with no particular
differences from the rest in terms of load of requests.

Daniele

Il giorno lunedì 19 dicembre 2016 14:03:21 UTC+1, Michael Muenz ha scritto:

Am Montag, 19. Dezember 2016 10:34:35 UTC+1 schrieb caruso.d...@gmail.com
:

Hi Cornelius,

I noticed that on specific times of the day, the number of connection
opened by PrivacyIDEA grows significantly and saturates my MySQL DB
capacity. Are there any schedulated background tasks which could cause this?
Thanks in advance,

Daniele

Hi,

how many users do you manage in your installation? Perhaps this happens
when hopping from token to user view whil logged in?
I have a setup with 100 user and 150 tokens and while hopping around I
get not more than 20 selects per second.

Without backups this is the max value for about 2 months …

Michael

At the moment we have about 80K users indeed. I don’t think the problem is
related to PrivacyIDEA web views because we interact with PI via API.
This problem arises only on specific times of the day, with no particular
differences from the rest in terms of load of requests.

DanieleIl giorno lunedì 19 dicembre 2016 14:03:21 UTC+1, Michael Muenz ha scritto:

Am Montag, 19. Dezember 2016 10:34:35 UTC+1 schrieb caruso.d...@gmail.com:

Hi Cornelius,

I noticed that on specific times of the day, the number of connection
opened by PrivacyIDEA grows significantly and saturates my MySQL DB
capacity. Are there any schedulated background tasks which could cause this?
Thanks in advance,

Daniele

Hi,

how many users do you manage in your installation? Perhaps this happens
when hopping from token to user view whil logged in?
I have a setup with 100 user and 150 tokens and while hopping around I get
not more than 20 selects per second.

Without backups this is the max value for about 2 months …

Michael