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

memmon - supervisor rpc client sometimes throws exception on start #43

Open
LZornes opened this issue Jul 29, 2014 · 1 comment
Open
Labels

Comments

@LZornes
Copy link

LZornes commented Jul 29, 2014

Because the restart is not an atomic operation around .001% of the time after memmon stops a process it throws an exception when trying to start it. This results both in memmon crashing and the process being restarted being left in a stopped state.

The error is often a broken pipe, but is sometimes: httplib.IncompleteRead: IncompleteRead(32644 bytes read, 35829 more expected) which I believe means that
memmon.rpc = childutils.getRPCInterface(os.environ)
will need to be executed and then start to be retried.

@mnaberez
Copy link
Member

mnaberez commented Jul 6, 2015

Possibly related to Supervisor/supervisor#628.

@mnaberez mnaberez added the memmon label Sep 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants