Am having a problem with phalcon not closing db connections. In my.cnf file I have set max_connections = 10000.
But after some hours I have to restart my VPS in order to get rid of the 'Too many Connections' error.
Have set db as shared, set persistent to true, all as troubleshooting measures but still gets the connection error.
I will be happy for a solid suggestion.