socket problem

Pete Marvin King (pmking@ntsp.nec.co.jp)
Fri, 24 Aug 2001 11:59:21 +0000


Is it possible to increase the maximum sockets that can be opened
simultaneously?
I'd like it to reach 1024, is it possible?

I'm currently doing a stress test on postgres. we created a dummy
client that would
connect to it 1024 times. But is just stops at 324,
postgres reports : " postmaster: StreamConnection: accept: Too many open
files in system".

I don't think the problem is not with the file descriptors. Is it
the max num of sockets?
or maybe the maximum number of files that can be opened?

Any help would be greatly appreciated.

I'm using slackware 7.1 - linux 2.4.5

thanx,
marvin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/