At 14:30 28/01/99 +0800, YUAN XIAOPENG wrote:
how can i change the MAX file no each process can open?
First, you need to get the filehandle-patch from <A HREF="ftp://ftp.is.co.za/linux/local/kernel/"><A HREF="ftp://ftp.is.co.za/linux/local/kernel/</A">ftp://ftp.is.co.za/linux/local/kernel/</A</A>>. I use succussfully version 8.01 of the patch on a 2.0.36 kernel (although it is against 2.0.34 sources). I don't think that the patch will work on 2.2.x kernels although I haven't tried it yet. Patch your kernel, and then configure the max files per process - there is a new option when you run make config. Finally, after you reboot with the new kernel, make use of ulimit, and increase the allowed open files per user-id. You will find more information on this in the man page of bash (I assume that bash is your default shell) if you search for 'ulimit'. Regards, Sotiris. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>