Ubuntu 14.04, i2p 0.9.26. Через пару часов после рестарта в /var/log/i2p/log-router-0.txt начинает сыпаться примерно следующее
6/29/16 7:45:42 AM ↓↓↓ 639 similar messages omitted ↓↓↓
6/29/16 7:45:42 AM ERROR [NTCP Pumper ] ter.transport.ntcp.EventPumper: Error accepting
java.io.IOException: Too many open files
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
at net.i2p.router.transport.ntcp.EventPumper.processAccept(EventPumper.java:528)
at net.i2p.router.transport.ntcp.EventPumper.processKeys(EventPumper.java:393)
at net.i2p.router.transport.ntcp.EventPumper.run(EventPumper.java:192)
at java.lang.Thread.run(Thread.java:745)
at net.i2p.util.I2PThread.run(I2PThread.java:103)
6/29/16 7:45:42 AM ERROR [P reader 2/4] r.transport.ntcp.NTCPTransport: Error opening a channel
java.net.SocketException: Too many open files
at sun.nio.ch.Net.socket0(Native Method)
at sun.nio.ch.Net.socket(Net.java:411)
at sun.nio.ch.Net.socket(Net.java:404)
at sun.nio.ch.SocketChannelImpl.<init>(SocketChannelImpl.java:105)
at sun.nio.ch.SelectorProviderImpl.openSocketChannel(SelectorProviderImpl.java:60)
at java.nio.channels.SocketChannel.open(SocketChannel.java:145)
at net.i2p.router.transport.ntcp.NTCPTransport.outboundMessageReady(NTCPTransport.java:281)
at net.i2p.router.transport.TransportImpl.send(TransportImpl.java:434)
at net.i2p.router.transport.GetBidsJob.getBids(GetBidsJob.java:84)
at net.i2p.router.transport.CommSystemFacadeImpl.processMessage(CommSystemFacadeImpl.java:152)
at net.i2p.router.OutNetMessagePool.add(OutNetMessagePool.java:49)
at net.i2p.router.tunnel.OutboundMessageDistributor.distribute(OutboundMessageDistributor.java:125)
at net.i2p.router.tunnel.OutboundMessageDistributor.distribute(OutboundMessageDistributor.java:73)
at net.i2p.router.tunnel.OutboundTunnelEndpoint$DefragmentedHandler.receiveComplete(OutboundTunnelEndpoint.java:75)
at net.i2p.router.tunnel.FragmentHandler.receiveComplete(FragmentHandler.java:495)
at net.i2p.router.tunnel.FragmentHandler.receiveSubsequentFragment(FragmentHandler.java:450)
at net.i2p.router.tunnel.FragmentHandler.receiveFragment(FragmentHandler.java:295)
at net.i2p.router.tunnel.FragmentHandler.receiveTunnelMessage(FragmentHandler.java:150)
at net.i2p.router.tunnel.OutboundTunnelEndpoint.dispatch(OutboundTunnelEndpoint.java:45)
at net.i2p.router.tunnel.TunnelDispatcher.dispatch(TunnelDispatcher.java:544)
at net.i2p.router.InNetMessagePool.doShortCircuitTunnelData(InNetMessagePool.java:328)
at net.i2p.router.InNetMessagePool.shortCircuitTunnelData(InNetMessagePool.java:313)
at net.i2p.router.InNetMessagePool.add(InNetMessagePool.java:182)
at net.i2p.router.transport.TransportManager.messageReceived(TransportManager.java:655)
at net.i2p.router.transport.TransportImpl.messageReceived(TransportImpl.java:498)
at net.i2p.router.transport.ntcp.NTCPConnection$ReadState.receiveLastBlock(NTCPConnection.java:1556)
at net.i2p.router.transport.ntcp.NTCPConnection$ReadState.receiveSubsequent(NTCPConnection.java:1514)
at net.i2p.router.transport.ntcp.NTCPConnection$ReadState.receiveBlock(NTCPConnection.java:1464)
at net.i2p.router.transport.ntcp.NTCPConnection.recvUnencryptedI2NP(NTCPConnection.java:1289)
at net.i2p.router.transport.ntcp.NTCPConnection.recvEncryptedFast(NTCPConnection.java:1270)
at net.i2p.router.transport.ntcp.NTCPConnection.recvEncryptedI2NP(NTCPConnection.java:1200)
at net.i2p.router.transport.ntcp.Reader.processRead(Reader.java:180)
at net.i2p.router.transport.ntcp.Reader.access$400(Reader.java:21)
at net.i2p.router.transport.ntcp.Reader$Runner.run(Reader.java:120)
at java.lang.Thread.run(Thread.java:745)
at net.i2p.util.I2PThread.run(I2PThread.java:103)
6/29/16 7:45:42 AM ↓↓↓ 47 similar messages omitted ↓↓↓
При этом в /etc/security/limits.conf у меня прописано
* hard nofile 500000
* soft nofile 500000
root hard nofile 500000
root soft nofile 500000
ulimit -Sn и -Hn даёт 500000 и для основнего юзера, и для рута (i2p работает из-под юзера i2psvc, под которым я не могу залогиниться, чтобы проверить лимиты, но вроде оно и там должно быть ок), в выжранные 500к дескрипторов мне как-то не очень верится, если честно. Где косяк?