Skip to content
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

USR1 is not supported on JRuby #599

Closed
vangberg opened this issue Jan 20, 2016 · 4 comments
Closed

USR1 is not supported on JRuby #599

vangberg opened this issue Jan 20, 2016 · 4 comments

Comments

@vangberg
Copy link
Contributor

Reference: c4d5d35

This doesn't work on JRuby/JVM and prints a warning:

The signal USR1 is in use by the JVM and will not work correctly on this platform

Maybe we could use ABRT instead? Does Process.exit(1) accomplish anything that kill -9 doesn't?

@benlangfeld
Copy link
Member

We already use ABRT a few lines up. We should switch USR1 for USR2.

@bklang
Copy link
Member

bklang commented Jan 20, 2016

@vangberg the force_stop attempts to terminate active calls so they don't get orphaned in the telephony engine. For FreeSWITCH this shouldn't be a big deal (mod_rayo will eventually clean up), but for Asterisk, not cleaning up results in calls that have no owner and never time out.

@bklang
Copy link
Member

bklang commented Jan 20, 2016

Then I go back and look at the implementation and realize that's not the actual behavior we have now, though I'm pretty sure it's what we intended.

@benlangfeld
Copy link
Member

That's the start of the shutdown process initiated by SIGINT and SIGTERM. SIGABT is intended for an abrupt stop.

gfaza pushed a commit to gfaza/adhearsion that referenced this issue Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants