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

two nzbget processes are run on startup #1

Closed
hlarsen opened this issue Oct 6, 2016 · 1 comment
Closed

two nzbget processes are run on startup #1

hlarsen opened this issue Oct 6, 2016 · 1 comment

Comments

@hlarsen
Copy link

hlarsen commented Oct 6, 2016

after the container starts there are two nzbget processes running:

ps aux | grep nzbget

nobody 20 0.0 0.0 315140 4048 ? Ssl 22:56 0:00 /usr/bin/nzbget -D -c /config/nzbget.conf
nobody 41 0.0 0.0 179964 3540 ? Ssl 22:56 0:00 /usr/bin/nzbget -D -c /config/nzbget.conf

this causes an error to endlessly repeat in the nzbget logs:

ERROR Binding socket failed for 0.0.0.0: ErrNo 98, Address already in use

it appears to be happening because start.sh is calling nzbget in daemon mode, resulting in supervisor thinking the process is dead and eventually giving up with two processing still running:

2016-10-05 22:42:55,838 INFO exited: nzbget (exit status 0; not expected)
2016-10-05 22:42:55,838 DEBG received SIGCLD indicating a child quit
2016-10-05 22:42:55,839 INFO gave up: nzbget entered FATAL state, too many start retries too quickly

running nzbget in console mode results in only one process starting, however the interactive nature of the console pollutes supervisord.log.

@binhex
Copy link
Owner

binhex commented Oct 6, 2016

Thanks for bringing this to my attention, this is now fixed and a new image has been generated.

@binhex binhex closed this as completed Oct 6, 2016
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