Changes between Initial Version and Version 1 of Ticket #24857, comment 4


Ignore:
Timestamp:
Jan 24, 2018, 10:09:59 AM (17 months ago)
Author:
creideiki
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24857, comment 4

    initial v1  
    44
    55I'm not sure if it's related, since I don't have CPU usage history for this container and thus don't know when the 100% CPU usage started, but the Tor log contains a lot of these messages:
    6 
    7    Jan 24 05:17:24.000 [warn] Failing because we have 4063 connections already. Please read doc/TUNING for guidance. [over 16000001 similar message(s) suppressed in last 21600 seconds]
    8 
     6{{{
     7Jan 24 05:17:24.000 [warn] Failing because we have 4063 connections already. Please read doc/TUNING for guidance. [over 16000001 similar message(s) suppressed in last 21600 seconds]
     8}}}
    99If that suppression count is correct, that's 740 messages per second, which seems a bit excessive.
    1010
    1111I'm currently running this package:
    12 
    13    net-vpn/tor-0.3.2.9::gentoo was built with the following:
    14    USE="-libressl -lzma -scrypt seccomp (-selinux) -systemd -test tor-hardening -web -zstd" ABI_X86="(64)"
    15 
     12{{{
     13net-vpn/tor-0.3.2.9::gentoo was built with the following:
     14USE="-libressl -lzma -scrypt seccomp (-selinux) -systemd -test tor-hardening -web -zstd" ABI_X86="(64)"
     15}}}
    1616The logs suggest the following timeline:
    1717
     
    3333
    3434"strace" on the Tor process sees mostly calls to epoll_pwait():
    35 
    36    [pid 23279] 1516784382.485502 epoll_pwait(3, [{EPOLLIN, {u32=9, u64=9}}], 512, 9, NULL, 8) = 1
    37 
     35{{{
     36[pid 23279] 1516784382.485502 epoll_pwait(3, [{EPOLLIN, {u32=9, u64=9}}], 512, 9, NULL, 8) = 1
     37}}}
    3838Actually, a whole lot of them; strace counts around 69000 such calls per second, with other syscalls during one random second coming in at much lower counts:
    39 
     39{{{
    4040      1 accept4
    4141      1 close
     
    4848   1116 epoll_ctl
    4949   1561 read
     50}}}
     51(Edit: formatting)