From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4513b5acc840d41 X-Google-Attributes: gid111c93,public From: "M.C. Lewis" Subject: Re: Is Linux/Alpha 64 bit? Date: 1997/11/20 Message-ID: <3474BBF4.D94F2D8A@geocities.com>#1/1 X-Deja-AN: 291106586 References: <01bcefcc$3393c3a0$11779fc2@tornado> To: Sarah Addams Organization: PSI X-Posted-By: @207.218.55.79 (indigo) Newsgroups: comp.os.linux.alpha > Does it significantly improve on the max number of files per process as > compared with other Unixes? I believe 255 is a typical maximum... You can change this by editing some header files and recompiling the kernel. I have mine running with 4096 per process and 8192 system-wide. I have tested it with 4000 sockets open between two applications (8000 file descriptors total). I was able to change it to 2048 without difficulty, but to get the really large numbers I had to edit another header file. This is under Linux 2.0.0, Intel-based PC. With this number of inodes, LILO behaves strangely -- if I let it boot straight into the modified kernel, it works just fine, but if I hit SHIFT and select that kernel, root's console hangs when logging on (the rest of the machine is fine). I should be getting an Alpha soon, and will make the same changes to it (fd limits + a few others). Also note that with large numbers of FDs, things like select() take quite a while, as does forking (as thousands of FDs are copied), and exiting a program takes a while, too (as thousands of inodes are freed). If you want specific instructions on how to do this, e-mail me and I will pull up my header files and write back.