Path: utzoo!attcan!uunet!snorkelwacker!ai-lab!dead!ead.dsa.com!schorr From: schorr@ead.dsa.com (Andrew J. Schorr) Newsgroups: comp.unix.aix Subject: file descriptor limit in AIX 3.1 Message-ID: <1990Sep19.100751@ead.dsa.com> Date: 19 Sep 90 14:07:51 GMT Sender: news@ead.dsa.com Reply-To: schorr@ead.dsa.com (Andrew J. Schorr) Organization: Daiwa Securities America, New York Lines: 29 We have a home-grown database system that we are currently running under SunOS 4.0.3. The key to this system is a database server that memory maps a large number of files and responds to queries from the network. Under SunOS, this is not a problem because memory mapping does not require a file descriptor. Under AIX 3.1, however, each memory mapping requires an open file descriptor, as I understand it. Our problem is that we would like to memory map more than 2000 files. In particular, a number in the range of 5000 would be useful. We would like to port this system to AIX, but are currently stymied by the limit of 2000 descriptors per process. Question: is there any way around this limit? Ideally, a given process would be able to extend its limit by making a system call to extend this resource. However, a kernel recompile would also be an acceptable solution. Thanks for your help, Andy P.S. I know that I could solve this problem by forking multiple processes, but that approach would not be as efficient.