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

Labrad node sometimes freezes? #293

Open
egdeist opened this issue Sep 21, 2016 · 3 comments
Open

Labrad node sometimes freezes? #293

egdeist opened this issue Sep 21, 2016 · 3 comments

Comments

@egdeist
Copy link

egdeist commented Sep 21, 2016

I have an issue every once in a while where the labrad node that I use to start and stop a lot of servers sometimes "freezes." When it's frozen I am not able to start and stop servers with cxn.node.start('server') from a client connection. I can typically unfreeze it with ctrl+c in the command prompt where I started the node and then it sort of catches up. Any idea what could be going on here? Or is there some sort of error check thing I should be doing so the node can tell me what's wrong when it freezes? Thanks much!

@maffoo
Copy link
Contributor

maffoo commented Sep 22, 2016

I've never seen this and don't have enough info to reproduce it, so not sure what to tell you. It seems particularly strange that 'Ctrl-C' would fix anything; do these freezes happen when you try to run a server or just at random times? Is it possible that one of the server processes you're trying to launch is blocking waiting for user input? I don't think that should affect the node itself (the server just wouldn't connect to labrad) but that's the only thing I can think of. What OS are you using and what versions of pylabrad, labrad, python, twisted, etc. do you have?

@ejeffrey
Copy link
Contributor

The control-C thing is probably killing the node process and then having it
auto-restart. If you are using the windows batch file that starts the
node, it does so in an infinite loop. ctrl-c kills the python process but
not the script.

On Thu, Sep 22, 2016 at 1:16 PM, Matthew Neeley notifications@github.com
wrote:

I've never seen this and don't have enough info to reproduce it, so not
sure what to tell you. It seems particularly strange that 'Ctrl-C' would
fix anything; do these freezes happen when you try to run a server or just
at random times? Is it possible that one of the server processes you're
trying to launch is blocking waiting for user input? I don't think that
should affect the node itself (the server just wouldn't connect to labrad)
but that's the only thing I can think of. What OS are you using and what
versions of pylabrad, labrad, python, twisted, etc. do you have?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#293 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnKHAcrSFQvQyJuCfPzZL_S8Qdk29LFks5qsuIBgaJpZM4KDSpR
.

@maffoo
Copy link
Contributor

maffoo commented Sep 22, 2016

@ejeffrey, which windows batch file are you referring to?

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

3 participants