Re: Out of file-descriptors message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Geoffrey wrote:

> Okay, I'm just not getting it.  Postgres complains that it is out of 
> file descriptors.  The kernel is not complaining about any such issues. 
> 
> 
>                         So I should lower the max_files_per_process 
> value and this will rid us of the 'out of file descriptors' error?
> 
> Is it because the max_files_per_process is greater then the number of 
> file descriptors that are alloted to Postgres by the kernel?

Yes.  Which is kinda weird, because Postgres actually tests the number
when it starts, so that if you set the number too high, it will decrease
it according to what the kernel allows.

Maybe the test is newer than the version you are running -- what was it,
again?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux