You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making curl requests one by one, Prax leaks a sock but debug shows that TCPSocket reuses the same file descriptor (eg: 12), indicating that it may not be Server#handle_client that's leaking.
The text was updated successfully, but these errors were encountered:
requesting localhost or a public file doesn't leak any fd;
starting or restarting an application leaks fds (sock 0,7 can't identify protocol);
proxying a request to a rack application leaks 1 fd (sock 0,7 can't identify protocol);
forwarding a request to a port leaks 1 fd (sock 0,7 can't identify protocol);
I have a feeling the problem lies in Application#connect which is used in both cases that are leaking fds, and never in cases where there are no leak. The problem is that the opened TCPSocket are correctly closed...
Prax is leaking File Descriptors on each request. Here is the result of an
lsof
after a few requests:When making curl requests one by one, Prax leaks a
sock
but debug shows that TCPSocket reuses the same file descriptor (eg: 12), indicating that it may not be Server#handle_client that's leaking.The text was updated successfully, but these errors were encountered: