Skip to content

RA & Dec display gets "stuck" #13

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

Open
ojf opened this issue Aug 4, 2017 · 2 comments
Open

RA & Dec display gets "stuck" #13

ojf opened this issue Aug 4, 2017 · 2 comments
Labels

Comments

@ojf
Copy link
Member

ojf commented Aug 4, 2017

Not sure what triggers this, but starting an entry to track it. Team reported, "Noticed that the ra and dec froze on our last target. When we slewed, they didn't update from our last coordinates. Everything else in the Bifrost TTC Status area is fine and working properly. The coordinates are the only thing that's stuck."

Confirmed, I've seen it too.

@ojf ojf added the bug label Aug 4, 2017
@dougbrn
Copy link
Contributor

dougbrn commented Aug 4, 2017

This was common during development and is typically associated with the server freezing/ the driver connection to the telescope being interrupted. While to my knowledge sometimes this just happens for no good reason, one cause I was able to hunt down was a memory leak that occurs when the status log gets too many lines in it. In development when the status log was verbose for testing purposes, it would get too large quickly and start to throttle the memory usage for the rest of the GUI, when this happens the GUI loses ability to keep up with the threaded clock cycles for telescope communication in a stable fashion (checking for a paddle every 0.1 seconds for example). I "corrected" for this by reducing the amount of information put into the logs per second, but over long enough observing periods this could add up and reintroduce as an issue if the observers were active enough.

I doubt this would fix it all together, but my suggestion here would be to introduce limits to the amount of lines the log boxes can hold before deleting lines.

@dougbrn
Copy link
Contributor

dougbrn commented Aug 4, 2017

Also important to note that when the rest of the Status Area is "fine and working properly" this is because these quantities are updated internally and don't rely on communication with the telescope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants