[Windows] Hangs on accept() #89
Unanswered
godlikepanos
asked this question in
Q&A
Replies: 2 comments
-
这是来自QQ邮箱的假期自动回复邮件。您好,您的邮件我已收到,我会尽快处理,谢谢 Liao Jiaxi
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a program with 16 threads where each thread invokes one external process thousands of times. So each thread hammers
reproc_start()
,reproc_wait()
andreproc_destroy()
. Unfortunately, after a while I might observe a hang where all threads are stuck insocketpair()
and more precisely inaccept()
. If I setREPROC_REDIRECT_DISCARD
in all redirects then there is no hang.I'm not sure what could be wrong. There are only 16 processes running at the same time. My guess is that there is some issue with the cleanup and the parent process runs out of descriptors or something.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions