"Geo P.C." <pcgeopc@gmail.com> writes:
> In Ubuntu 14.04 server on a JAVA Application we are getting Too many Open
> files error for postgres.
How many server processes are you trying to use? I suspect you are
hitting the system-wide file table limit not the per-process limit.
Best answer might be to decrease PG's max_files_per_process setting
rather than try to persuade the kernel to increase its limit.
regards, tom lane