-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exit() after doing an rmprocs() takes almost 60 seconds to exit. #3685
Comments
Without a call to |
Did you terminate all the sockets correctly? |
No, the sockets are not being closed due to #3495 I'll leave this open till that is fixed and then retest with a But shouldn't exit() just clean up all resources and exit? What is it waiting on? |
It's trying to cleanly shutdown everything, so you don't lose data. Probably still a bug that it takes so long though. Try using |
For this particular socket, the other end has already closed the connection - the worker process has exited. |
this is the fault of the
|
While the above should be fixed, I think it makes sense to have
|
Why not make the time to wait the option? And zero means exit right away, defaults to ten. |
Good idea. I agree. Since Can the implementation of this use SIGALRM - set using the Windows will need an equivalent to SIGALRM Or can libuv provide any support for this? |
Should I file the requirement for an |
no. it is an awful idea to allow a finalizer to sleep. this could break your code in any number of ways. I will try to push a fix that turns calls from finalizers to yield into errors |
The following :
results in
exit()
taking 60 seconds to return.strace -p
on the julia process shows a continuous call to epoll for 60 seconds.The text was updated successfully, but these errors were encountered: