[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #21312 [Obfuscation/Snowflake]: snowflake-client is pegged at 100% cpu
#21312: snowflake-client is pegged at 100% cpu
-----------------------------------+---------------------
Reporter: arlolra | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Obfuscation/Snowflake | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------------+---------------------
Comment (by arma):
My snowflake-client has 1024 threads open, according to gdb's 'thread
apply all bt'.
About half of them are sitting in select:
{{{
Thread 559 (Thread 0x7f1178072700 (LWP 5595)):
#0 0x00007f127a105893 in select () at ../sysdeps/unix/syscall-
template.S:81
#1 0x00000000007b1fd5 in ?? ()
#2 0x0000000000681185 in ?? ()
#3 0x00000000006938e4 in ?? ()
#4 0x000000000069428c in ?? ()
#5 0x00007f127ac7d064 in start_thread (arg=0x7f1178072700)
at pthread_create.c:309
#6 0x00007f127a10c62d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
}}}
and about half are in pthread_cond_timedwait:
{{{
Thread 561 (Thread 0x7f1178a75700 (LWP 5586)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1 0x0000000000696b6a in ?? ()
#2 0x000000000096c9b3 in ?? ()
#3 0x000000000096cb29 in ?? ()
#4 0x00000000006999e5 in ?? ()
#5 0x0000000000699a19 in ?? ()
#6 0x00007f127ac7d064 in start_thread (arg=0x7f1178a75700)
at pthread_create.c:309
#7 0x00007f127a10c62d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
}}}
but anyway I don't have many symbols so hey.
What thing makes it keep making new threads? It's probably good that
something in my system stopped it at 1024. :)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21312#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs