dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
3
share rss forum feed

dave
Premium,MVM
join:2000-05-04
not in ohio
kudos:8
reply to justin

Re: maximum number of open sockets, files, threads, etc..?

Yeah, but fds are per-process indexes into a per-process table.


justin
..needs sleep
Australian
join:1999-05-28
kudos:15
Reviews:
·iiNet
ok, so you can set it to whatever you want for the box by echoing into file-max. So the theory limit is 1024x1024 (memory willing?) fds?

#define NR_OPEN (1024*1024) /* Absolute upper limit on fd num */
#define INR_OPEN 1024 /* Initial setting for nfile rlimits */