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

Nailgun Error - org.jruby.util.NailMain: command not found #5981

Closed
rwilliams opened this issue Nov 26, 2019 · 3 comments
Closed

Nailgun Error - org.jruby.util.NailMain: command not found #5981

rwilliams opened this issue Nov 26, 2019 · 3 comments

Comments

@rwilliams
Copy link

@rwilliams rwilliams commented Nov 26, 2019

Environment

jruby 9.2.9.0 (2.5.7) 2019-10-30 458ad3e OpenJDK 64-Bit Server VM 25.232-b09 on 1.8.0_232-b09 +jit [linux-x86_64]

Host OS - WSL2
Linux 975c34fa2e2c 4.19.84-microsoft-standard #1 SMP Wed Nov 13 11:44:37 UTC 2019 x86_64
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

Docker Container
GNU/LinuxDistributor ID: Debian
Description: Debian GNU/Linux 9.11 (stretch)
Release: 9.11
Codename: stretch

Gem/Framework info:
Rails 6.1 nothing too exciting

Environment variables
JRUBY_OPTS=--dev. I set JRUBY_OPTS to --ng after starting the server.

Expected Behavior

I expect rails routes to show routes and run fast after warmup.

Actual Behavior

I get the following error /opt/jruby/bin/jruby: line 488: org.jruby.util.NailMain: command not found

image

@rwilliams rwilliams changed the title Nailgun Error Nailgun Error - org.jruby.util.NailMain: command not found Nov 26, 2019
@headius
Copy link
Member

@headius headius commented Dec 5, 2019

Ah yes...I didn't figure anyone would notice this being removed in 9.2.9. I guess I was wrong!

We'll have to debate if we want to restore it, and whether it's worth maintaining given that the slave JVM tends to always leak resources until it crashes.

@rwilliams
Copy link
Author

@rwilliams rwilliams commented Dec 6, 2019

Updated the wiki

@headius
Copy link
Member

@headius headius commented Dec 17, 2019

I pushed changes for the launcher in a5b8232 that replace the nailgun options with hard errors, so at least it's made clear that Nailgun is no longer supported.

I lament that this was necessary, but Nailgun never really worked well due to its inability to enforce "red line" memory and thread lifetime limits. It's best that we direct folks to more robust options like Drip or Theine.

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

2 participants