0

Reading this post on StackOverflow, they tell you not to use persistent database connection when Apache is configured in Prefork Mode.

Is this notice still valid in 2022?

The reason for asking this is that, currently my Apache is configured with prefork, and I use persistent connections. However, it happens that at a certain time of day, on alternate days, the connections are no longer reused, creating hundreds of new persistent connections in less than a minute, reaching the user database limit.

apache2ctl -M | grep prefork
mpm_prefork_module (shared)
Tom
  • 565
  • 1
  • 6
  • 17

0 Answers0