Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251171 - net-misc/tor - Increase open files limit
Summary: net-misc/tor - Increase open files limit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gustavo Felisberto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-16 13:40 UTC by Craig Andrews
Modified: 2008-12-21 01:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/security/limits.d/tor.conf (tor.conf,89 bytes, text/plain)
2008-12-16 13:43 UTC, Craig Andrews
Details

Note You need to log in before you can comment on or make changes to this bug.
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.