lkml.org 
[lkml]   [1999]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Opening 5000 file descriptors in linux??
"Christopher E. Brown" wrote:

> The default limit is 1024 fh. ulimit -n will reset this. *note*,
> a normal user CANNOT increase their own fh limit.
>
> After
>
> echo 32768 > /proc/sys/fs/file-max # increase default system wide from 4096
> echo 131072 > /proc/sys/fs/inode-max # boost system wide inodes too
>
> ulimit -n 32768 #change roots fh limit
>
> I get 32285 opened...
>
> Whatever script calls your program should increase the default fh limit
> before it starts the program as a normal user.
>

Thank you very very much.

i did not know that ulimit is in effect without turning something on.

Now i can open as much sockets as i want.

Gerold


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

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