Opened 21 months ago

Last modified 18 months 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

Description

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.

Subtickets

Change History (1)

comment:1 Changed 18 months ago by str4d

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