Opened 4 years ago

Last modified 4 years ago

#2116 open enhancement

Limit NTCP connections to portion of open files ulimit

Reported by: zzz Owned by: zzz
Priority: minor Milestone: eventually
Component: router/general Version: 0.9.32
Keywords: reliability, performance, ntcp, i2psnark Cc:
Parent Tickets: Sensitive: no


Since we now know the open files soft ulimit in i2prouter (see #1967) we can easily export that value to the environment and pick it up as a System property. NTCP and i2psnark could use that to limit their usage, for example 60% for NTCP, 30% for i2psnark. This will prevent one subsystem from using up all the FDs and causing random errors elsewhere.


Change History (1)

comment:1 Changed 4 years ago by str4d

Component: router/transportrouter/general
Keywords: reliability performance ntcp i2psnark added
Status: newopen
Note: See TracTickets for help on using tickets.