There's a config setting in postgresql.conf called max_files_per_process. I've been told by a DBA he never uses it, and it's unnecessary. Everything I've read on the intertubes recommends setting it if you're having issues running out of filehandles (which we are, and it's set on the kernel side to something absurdly high).
But if I set that, I'm not entirely certain what it does if you run up against the max_files_per_process limit, and I can't find a straight answer on that.
Last edited by Coffee Warlord : 10-16-2018 at 09:13 PM.
|