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

Assertion failed for xxx: RUNNING not in STARTING #458

Closed
markcollister opened this issue Jul 9, 2014 · 2 comments
Closed

Assertion failed for xxx: RUNNING not in STARTING #458

markcollister opened this issue Jul 9, 2014 · 2 comments

Comments

@markcollister
Copy link

I have been seeing the following error, only happening when the processes i'm supervising are exiting often and I have supervisor set to auto restart. Happening about daily - with 5 processes all of which frequently exit (i.e. every few seconds)

Traceback (most recent call last):
  File "/usr/local/bin/supervisord", line 9, in <module>
    load_entry_point('supervisor==3.0', 'console_scripts', 'supervisord')()
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/supervisord.py", line 360, in main
    go(options)
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/supervisord.py", line 370, in go
    d.main()
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/supervisord.py", line 83, in main
    self.run()
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/supervisord.py", line 100, in run
    self.runforever()
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/supervisord.py", line 254, in runforever
    self.reap()
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/supervisord.py", line 288, in reap
    process.finish(pid, sts)
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/process.py", line 455, in finish
    self._assertInState(ProcessStates.STARTING)
  File "/usr/local/lib/python2.7/dist-packages/supervisor-3.0-py2.7.egg/supervisor/process.py", line 179, in _assertInState
    self.config.name, current_state, allowable_states))
AssertionError: Assertion failed for orchestration_listings_solr: RUNNING not in STARTING

I also saw this when trying to figure out what was happening: https://lists.supervisord.org/pipermail/supervisor-users/2012-July/001111.html

Cheers

@vrnagy
Copy link

vrnagy commented Dec 4, 2014

Hi,

We are expirencing exactly the same error as You.
Do You managed to solve the problem?

Thanks

@markcollister
Copy link
Author

Hi

Not really, I ended up reworking the apps that supervisor was managing, so that rather than exiting frequently they stayed up for a set amount of time

Cheers

mnaberez added a commit that referenced this issue Aug 8, 2015
mnaberez added a commit that referenced this issue Nov 4, 2015
mnaberez added a commit that referenced this issue Nov 8, 2015
alexsilva pushed a commit to alexsilva/supervisor that referenced this issue Jun 21, 2019
alexsilva pushed a commit to alexsilva/supervisor that referenced this issue Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants