I support web server software on which users can deploy web applications. Web applications run as separate processes: the web server starts the web application process, redirects the HTTP request to the web application, and redirects the web application response back to the HTTP client. Communication between the web server and the web application occurs through sockets.
Some users (= web application developers) report that they sometimes get mysterious EIO errors when they write to the socket that connects their web application to the web server (at least they think they write to the socket that causes error), Some others report that they also get this error when writing something to STDERR (which is redirected to a log file). Restarting the web server and web application fixes this problem for a short period of time.
What does EIO mean? I know that the manual says "I / O Error", but this description is as vague as it can be obtained. Under what circumstances can this happen and how does it differ from ECONNREFUSED / EPIPE / ENOTCONN / etc?
source
share