-
Notifications
You must be signed in to change notification settings - Fork 200
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
verdi daemon status command fails #2485
Comments
Haven't seen this in a while. Closing now - happy to reopen if this resurfaces. |
Hi @ltalirz , |
Hi @ConradJohnston - thanks for the report. |
Some more info: I can replicate the fault quite reliably If I run the command in quick succession like this: It seems to be due to this line: aiida-core/aiida/cmdline/utils/daemon.py Line 66 in 999ae3a
EDIT: This is the content of and when it fails: |
@sphuber as discovered by conrad, |
I myself cannot reproduce the behavior even when calling the command twice consecutively and even for a very busy daemon. However this is on a powerful server. I take it this problem is transient @ConradJohnston and the command will work when issued again some time after it failed? It just seems that when called in quick succession sometimes the circus daemon process fails to poll one or multiple of the daemon workers. I guess there will always be a possibility for this so we should simply add error handling code in the |
@sphuber - It's indeed transient. I cannot always reproduce it, even when using a loop to hammer the DB, while at other times it simply happens. There does seem to be some sort of performance issue occurring with my fresh Postgres installation though, which I suppose this is a symptom of. |
This should have nothing to do with the database, it does not touch it at all. |
@sphuber Hmm, I'm experiencing this quite frequently even without issuing the commands in succession. Your PR gives some relief - but what is the underlying cause of this problem? I haven't seen this behaviour for other installations on other machines. |
This is on
provenance_redesign
:From time to time, I get an error when running
verdi daemon status
The text was updated successfully, but these errors were encountered: