Re: [tor-relays] [WARN]Failing because we have 4063 connections already. Please read doc/TUNING for guidance

2016-02-21 Thread tor-admin
On Sunday 21 February 2016 12:02:49 nusenu wrote:
> > since I upgraded the torland relay from 2.6.7 to 0.2.7.6 I get the
> > following warnings:
> > 
> > 09:20:30 [WARN] Failing because we have 4063 connections already. Please
> > read doc/TUNING for guidance. [101144347 similar message(s) suppressed in
> > last 21600 seconds]
> 
> Are you using tor packages from
> https://deb.torproject.org/torproject.org/dists/ ?
I get packages via
deb https://deb.torproject.org/torproject.org precise main

But I use a custom startup script from torservers, that is able to handle 
multiple instances. It should set ulimits -a 65535 but that seams not to work. 
After I increased it via sysctl, the warning is gone.

torland 

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] [WARN]Failing because we have 4063 connections already. Please read doc/TUNING for guidance

2016-02-21 Thread tor-admin
On Sunday 21 February 2016 12:57:52 Julien ROBIN wrote:
> When I had 2 tor clients running (the second launched manually by a user
> named "tor2"), I modified the "limits.conf" file, adding those 2 lines at
> the end :
> 
> #*   softcore0
> #roothardcore10
> #*   hardrss 1
> #@studenthardnproc   20
> #@facultysoftnproc   20
> #@facultyhardnproc   50
> #ftp hardnproc   0
> #ftp -   chroot  /ftp
> #@student-   maxlogins   4
> tor2 softnofile  10
> tor2 hardnofile  10
> 
> May be it needs a restart, or it doesn't apply to what have been started by
> "tor2" user before the modification When tor is launched by /etc/init.d/tor
> start may be this haven't to be done manually.
Thanks Julian for the hint. I adjusted limits.conf accordingly, so the users 
that run the tor processes get increased number of fds.

torland
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] [WARN]Failing because we have 4063 connections already. Please read doc/TUNING for guidance

2016-02-21 Thread tor-admin
On Sunday 21 February 2016 11:56:37 Jonas Bergler wrote:
> https://gitweb.torproject.org/tor.git/tree/doc/TUNING

Thanks Jonas for the link. file descriptors should be set to ulimit -n 65535 in 
the tor startup script. I thought that would work. But checking 
/proc/PID/limits I saw that file descriptors were actually limited to 4096.

I increased fds via sysctl. Now the warning is gone.


___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] [WARN]Failing because we have 4063 connections already. Please read doc/TUNING for guidance

2016-02-21 Thread nusenu
> since I upgraded the torland relay from 2.6.7 to 0.2.7.6 I get the following 
> warnings:
> 
> 09:20:30 [WARN] Failing because we have 4063 connections already. Please read 
> doc/TUNING for guidance. [101144347 similar message(s) suppressed in last 
> 21600 seconds]

Are you using tor packages from
https://deb.torproject.org/torproject.org/dists/ ?

> Google only spits out https://trac.torproject.org/projects/tor/ticket/16929 
> which does not help me. I don't find the mentioned branch bug16929 in git.
> 
> Can someone please advise what has to be done to avoid the warning, 

> or point 
> me where I find can the file "doc/TUNING". 

https://gitweb.torproject.org/tor.git/tree/doc/TUNING



signature.asc
Description: OpenPGP digital signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] [WARN]Failing because we have 4063 connections already. Please read doc/TUNING for guidance

2016-02-21 Thread Julien ROBIN
Hi,

I think it's a problem of amount of file descriptors : depending on the user, 
you have a limited amount of file descriptor that can be used (inside the tor's 
code, file descriptors are also used as handle/identifier for all network 
connections).

I think the max amount of it (for a given user) can be checked with the command 
"ulimit -n" as this user.

When I had 2 tor clients running (the second launched manually by a user named 
"tor2"), I modified the "limits.conf" file, adding those 2 lines at the end :

#*   softcore0
#roothardcore10
#*   hardrss 1
#@studenthardnproc   20
#@facultysoftnproc   20
#@facultyhardnproc   50
#ftp hardnproc   0
#ftp -   chroot  /ftp
#@student-   maxlogins   4
tor2 softnofile  10
tor2 hardnofile  10

May be it needs a restart, or it doesn't apply to what have been started by 
"tor2" user before the modification
When tor is launched by /etc/init.d/tor start may be this haven't to be done 
manually.

That's all I know about it, hope it will help you to find and correct the 
problem !

Best regards,
Julien ROBIN

- Mail original -
De: tor-ad...@torland.me
À: tor-relays@lists.torproject.org
Envoyé: Dimanche 21 Février 2016 12:39:59
Objet: [tor-relays] [WARN]Failing because we have 4063 connections      
already. Please read doc/TUNING for guidance

Hi all,

since I upgraded the torland relay from 2.6.7 to 0.2.7.6 I get the following 
warnings:

09:20:30 [WARN] Failing because we have 4063 connections already. Please read 
doc/TUNING for guidance. [101144347 similar message(s) suppressed in last 
21600 seconds]

Google only spits out https://trac.torproject.org/projects/tor/ticket/16929 
which does not help me. I don't find the mentioned branch bug16929 in git.

Can someone please advise what has to be done to avoid the warning, or point 
me where I find can the file "doc/TUNING". 

Thanks

torland
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] [WARN]Failing because we have 4063 connections already. Please read doc/TUNING for guidance

2016-02-21 Thread Jonas Bergler
https://gitweb.torproject.org/tor.git/tree/doc/TUNING

On Sun, Feb 21, 2016 at 11:39 AM,  wrote:

> Hi all,
>
> since I upgraded the torland relay from 2.6.7 to 0.2.7.6 I get the
> following
> warnings:
>
> 09:20:30 [WARN] Failing because we have 4063 connections already. Please
> read
> doc/TUNING for guidance. [101144347 similar message(s) suppressed in last
> 21600 seconds]
>
> Google only spits out
> https://trac.torproject.org/projects/tor/ticket/16929
> which does not help me. I don't find the mentioned branch bug16929 in git.
>
> Can someone please advise what has to be done to avoid the warning, or
> point
> me where I find can the file "doc/TUNING".
>
> Thanks
>
> torland
> ___
> tor-relays mailing list
> tor-relays@lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
>
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


[tor-relays] [WARN]Failing because we have 4063 connections already. Please read doc/TUNING for guidance

2016-02-21 Thread tor-admin
Hi all,

since I upgraded the torland relay from 2.6.7 to 0.2.7.6 I get the following 
warnings:

09:20:30 [WARN] Failing because we have 4063 connections already. Please read 
doc/TUNING for guidance. [101144347 similar message(s) suppressed in last 
21600 seconds]

Google only spits out https://trac.torproject.org/projects/tor/ticket/16929 
which does not help me. I don't find the mentioned branch bug16929 in git.

Can someone please advise what has to be done to avoid the warning, or point 
me where I find can the file "doc/TUNING". 

Thanks

torland
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays