lkml.org 
[lkml]   [1996]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problems raising fd limits in 1.3.78-1.3.80
On Mon, 1 Apr 1996 sct@dcs.ed.ac.uk wrote:

> It is not recommended to increase __FD_SET's size. Unfortunately,
> however large you make it, libc simply cannot cope with a select size
> larger than 256 fd's.

Libc doesn't have to do anything. I just need the fdset macros to
work and I need select to work.

> As for the other parameters, you don't need to recompile the kernel.
> In all post-1.3.57 kernels, you could achieve your inode and file
> limits by (as root):
> echo 4096 > /proc/sys/kernel/inode-max
> echo 2048 > /proc/sys/kernel/file-max

Yes, that does work. But without the 256 fds per process fix, I'm
still pretty much screwed. :(

JK



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.079 / U:1.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site