troubleshooting Question

No child processes ERROR after calling the accept function.

Avatar of mte01
mte01Flag for Lebanon asked on
20 Comments2 Solutions1714 ViewsLast Modified:
i am getting the error (CHILD      10 No child processes) sometimes when i issue a system call (accept) following is the code and the debug logs:

sock = accept((*network)->networkSpecific.TCP.listenSocket, &from, &len);
COUT << "*************AFTER ACCEPT(sock: " << sock << "/errno: "
<< errno << ")*************\n\n\n";

*************AFTER ACCEPT(sock: 5/errno: 10)*************

Any idea of hint on what might cause this error? again this error take place in some rare cases and most of the time the above code works as expected.
Join our community to see this answer!
Unlock 2 Answers and 20 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 20 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros