Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 251171

Summary: net-misc/tor - Increase open files limit
Product: Gentoo Linux Reporter: Craig Andrews <candrews>
Component: Current packagesAssignee: Gustavo Felisberto (RETIRED) <humpback>
Status: RESOLVED FIXED    
Severity: enhancement CC: fauli
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/security/limits.d/tor.conf

Description Craig Andrews gentoo-dev 2008-12-16 13:40:05 UTC
Tor uses lots of open sockets/files. In the default Gentoo configuration, one will see these messages in their /var/log/tor/tor.log file:
Dec 16 08:32:30.932 [warn] Failing because we have 991 connections already. Please raise your ulimit -n.

Reproducible: Always

Steps to Reproduce:
Comment 1 Craig Andrews gentoo-dev 2008-12-16 13:43:20 UTC
Created attachment 175469 [details]
/etc/security/limits.d/tor.conf

Installing this file as part of the ebuild's postinst fixes the problem
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2008-12-21 01:32:23 UTC
This file is now installed in src_install() phase.  Thanks for your valuable report.