"Ben-Nes Michael" <miki@canaan.co.il> writes:
> From time to time i get the following error:
> could not fork new process for connection: Resource temporarily unavailable
This generally means that the kernel has run out of memory.
> my conf is:
> max_connections = 400
Perhaps that is overly optimistic for your available hardware.
regards, tom lane