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

Unable to epoll_ctl() fd -1 to epoll: Bad file descriptor #37

Closed
aikooo7 opened this issue Aug 23, 2024 · 6 comments
Closed

Unable to epoll_ctl() fd -1 to epoll: Bad file descriptor #37

aikooo7 opened this issue Aug 23, 2024 · 6 comments

Comments

@aikooo7
Copy link

aikooo7 commented Aug 23, 2024

When running default run command I get:

[Aug 23 20:34:37 2024] Anope 2.0.16 starting up
[Aug 23 20:34:37 2024] Unable to initialize languages, gettext is not installed
[Aug 23 20:34:37 2024] Loading modules...
[Aug 23 20:34:37 2024] Error while loading ns_resetpass: Not using mail.
[Aug 23 20:34:37 2024] Unable to epoll_ctl() fd -1 to epoll: Bad file descriptor
@SadieCat
Copy link
Member

SadieCat commented Aug 24, 2024

Given the issue you've reported with the InspIRCd docker container (inspircd/docker#155) I think your Docker host might be broken. Maybe you've reached your file descriptor limit?

@aikooo7
Copy link
Author

aikooo7 commented Aug 24, 2024

Given the issue you've reported with the InspIRCd docker container (inspircd/docker#155) I think your Docker host might be broken. Maybe you've reached your file descriptor limit?

It might be broken but ergo's docker image and multiple others non-irc related images work so is it very specific.

@SadieCat
Copy link
Member

Are they running at the same time? You can't bind to the same ports twice.

@aikooo7
Copy link
Author

aikooo7 commented Sep 1, 2024

Are they running at the same time? You can't bind to the same ports twice.

Sorry didn't see your message. No they are not.

@aikooo7
Copy link
Author

aikooo7 commented Sep 2, 2024

Given the issue you've reported with the InspIRCd docker container (inspircd/docker#155) I think your Docker host might be broken. Maybe you've reached your file descriptor limit?

I was just able to make linuxserver's ngircd image work, so maybe it is really an issue?

@aikooo7
Copy link
Author

aikooo7 commented Sep 2, 2024

With this new information, I tried to find out what was different between anope, inspircd and ngircd. I found out that anope and inspircd create a user in the dockerfile and use it but ngircd don't. Removing it and putting the user in the docker compose fixed it.

@aikooo7 aikooo7 closed this as completed Sep 2, 2024
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