PHP FPM processes opening a ton of files and leaving them open
| From: | Joe Auty | Date: | Wed, 14 Dec 2011 10:58:15 +0000 |
| Subject: | PHP FPM processes opening a ton of files and leaving them open | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-20133@lists.php.net to get a copy of this message | ||
Hello,
I'm finding that my PHP FPM processes are opening a ton of files, so many that I'm bumping up against OS limits causing my FPM processes to die. I'm assuming that this is caused by memory leaky PHP apps that are crashing and these connections not severing? What sort of config options would be best for me to focus on in turning over new connections and closing files so that I'm dealing with this more gracefully and don't have to use the emergency threshold limit or rely on Monit to automatically reload PHP FPM?
--
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org <http://www.netmusician.org>
joe@netmusician.org <mailto:joe@netmusician.org>