MySQL Error Too many connections again

Since about a month I get DB problems every couple of days.

The cause is MySQL Error Too many connections.

I didn’t update and I only removed hosts before it first happend.

I did update PHP and LibreNMS to the current versions with out success and now I updated max_connections from 150 to 300 and hope for the best.

My guess is, it will happen again as every time it happend so far the process list was huge so I suspect a deadlock.

We’ve been seeing this too, and it started right around the same time as you. Any luck in resolving it? Did tweaking max_connections work for you?

No, we increased the monitoring but it stopped happening.

We had a different problem caused by a PHP update resetting the max_memory.
Maybe fixing this also resolved the our MySQL problem.