-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
running bun server in pm2 now crashes: ENXIO: No such device or address, SIGHUP #4327
Comments
Can confirm that it runs on 0.7.3 so it's a regression happening in 0.8.1 PS: also got some weird looking errors related to https://www.npmjs.com/package/@swc/core (binding errors) and also a (maybe unrelated) SIGSEGV error. As a temporary solution I have downgraded bun back to 0.7.3 in production, using |
I am experiencing this when running my server with Edit: I actually was able to bypass this issue by running |
Not sure if 0.8.1 changed in the meantime (I've downgraded to 0.7.3 and upgraded again just now) but now I'm getting The curious thing is:
Conclusion: Still have no idea how to fix and thus I'm stuck at 0.7.3 |
We will fix this in Bun v0.8.2 In the meantime, make sure your linux distro has |
This is fixed by #4378, right? |
What version of Bun is running?
0.8.1
What platform is your computer?
Linux 5.15.0-79-generic x86_64 x86_64
What steps can reproduce the bug?
NODE_ENV=production pm2 start bun --name \"bun-server\" -- start
)NODE_ENV=production bun src/server.cli.ts
,which in turn would launch a server using Bun.serveWhat is the expected behavior?
pm2 works
What do you see instead?
it crashes (see screenshot)
Additional information
I don't know how to make it easy to reproduce, as this is my entire server. But maybe it also happens on a smaller server? Anyway, the server worked fine before on bun 0.7.3
The text was updated successfully, but these errors were encountered: