After sending the STOP signal to a process, it stops working as expected, but still accepts TCP connections. So is it working anyhow?

  • 1
    Sounds like the operating system is excepting them on your behalf, I think this happens to reduce latency. Sep 27, 2012 at 22:17

1 Answer 1


Once a Unix process binds an IP address and port to a stream socket, the kernel begins accepting TCP connections for that address/port and continues until the socket is unbound or closed. The process gains access to the connections via the accept() system call, but the connections are happening regardless. Beyond the initial TCP handshake, the connection is idle until accept() is called and the process starts to use the connected socket. The kernel will also accept, buffer and acknowledge a system-specific amount of data before accept() is called.

So connections are occurring but there isn't any real activity (mail being sent, web pages being served, etc.) while the process is stopped.

  • Sounds plausible. Just wanted to add there is activity. Data sent to the process over the connection is acknowledged.
    – Holy Sheet
    Sep 28, 2012 at 7:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.