Summary: | After 1 hour of imaging kstars/ekos became unresponsive | ||
---|---|---|---|
Product: | [Applications] kstars | Reporter: | Hans Lambermont <hans> |
Component: | general | Assignee: | Jasem Mutlaq <mutlaqja> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | No memory impact |
Description
Hans Lambermont
2016-11-25 22:53:32 UTC
Did you check memory consumption? Did you have INDI debug enabled to client? i.e. debug message getting printed in the INDI control panel? (In reply to Jasem Mutlaq from comment #1) > Did you check memory consumption? Yes, kstars memory usage was normal, a few hundred MiB. > Did you have INDI debug enabled to client? Not anymore :-/ I had when I started the evening, but I did not re-enable debugging after an earlier kstars crash where I also restarted indiserver. Afaik INDI debug settings are not auto-restored. I think I need to write a script that sets these extra wanted settings. Would help with other parts that do not self-restore like asi_ccd's raw-16-bit and USB Bandwidth. > i.e. debug message getting printed in the INDI control panel? I did not see any (otherwise I'd added them to this bug report). Sorry. Not much to work with. We can now narrow the issue down a bit further : This happens when PHD2 sends a constant stream of guide commands to the mount via INDI. I have mount debugging enabled in INDI control panel (but not to the 'Scope Verbose level). EKOS then quickly becomes completely unresponsive. The INDI control panel also stopped showing updates of the mount commands and its window is unresponsive as well. The Kstars status line at the bottom of the window does show the constant flow of guide commands. The reason I do not always see this issue is that for me PHD2 only sends guide commands to the mount when the tip/tilt plate reaches a maximum tilt. PHD2 then instructs the mount to center the star again in the tip/tilt plate. I let PHD2 talk directly to the tip/tilt plate so its guide commands do not show up in INDI. Here's just 3 seconds of log lines. It's not that many actually. 2016-12-04T00:21:57.036 - DEBG - Celestron GPS : "Moving toward West. " 2016-12-04T00:21:57.132 - DEBG - Celestron GPS : " END-OF-TIMER " 2016-12-04T00:21:57.231 - DEBG - Celestron GPS : " USE_PULSE_CMD = 0 " 2016-12-04T00:21:57.328 - DEBG - Celestron GPS : " GUIDE_DIRECTION = 2 " 2016-12-04T00:21:57.454 - DEBG - Celestron GPS : " CALL_DIRECTION = 2 " 2016-12-04T00:21:57.551 - DEBG - Celestron GPS : "CMD (50 02 10 24 00 00 00 00) " 2016-12-04T00:21:57.657 - DEBG - Celestron GPS : "RES (#) " 2016-12-04T00:21:57.753 - DEBG - Celestron GPS : "Movement toward West halted. " 2016-12-04T00:21:57.848 - DEBG - Celestron GPS : " CALL SendPulseStatusCmd " 2016-12-04T00:21:57.944 - DEBG - Celestron GPS : " PULSE STATUS REQUEST: (FD:03, DIR:02) " 2016-12-04T00:21:58.040 - DEBG - Celestron GPS : " COMMAND (50 03 10 27 00 00 00 01) " 2016-12-04T00:21:58.138 - DEBG - Celestron GPS : " ISSUING COMMAND " 2016-12-04T00:21:58.234 - DEBG - Celestron GPS : " WAITING FOR REPLY " 2016-12-04T00:21:58.330 - DEBG - Celestron GPS : " NBYTES = 2, RESPONSE = 01 23 " 2016-12-04T00:21:58.427 - DEBG - Celestron GPS : " PULSE STILL IN PROGRESS, POSSIBLE MOUNT JAM. " 2016-12-04T00:21:58.522 - DEBG - Celestron GPS : "GUIDE CMD COMPLETED " 2016-12-04T00:21:58.625 - DEBG - Celestron GPS : "GUIDE CMD: W 84 ms " 2016-12-04T00:21:58.721 - DEBG - Celestron GPS : " PULSEGUIDE IS OFF " 2016-12-04T00:21:58.817 - DEBG - Celestron GPS : " PULSEGUIDE OFF, STARTING MOTION " 2016-12-04T00:21:58.913 - DEBG - Celestron GPS : "CMD (50 02 10 24 01 00 00 00) " 2016-12-04T00:21:59.009 - DEBG - Celestron GPS : "RES (#) " 2016-12-04T00:21:59.106 - DEBG - Celestron GPS : "Moving toward West. " 2016-12-04T00:21:59.205 - DEBG - Celestron GPS : "GUIDE CMD: N 132 ms " 2016-12-04T00:21:59.300 - DEBG - Celestron GPS : " PULSEGUIDE IS OFF " 2016-12-04T00:21:59.396 - DEBG - Celestron GPS : " PULSEGUIDE OFF, STARTING MOTION " 2016-12-04T00:21:59.493 - DEBG - Celestron GPS : "CMD (50 02 11 24 01 00 00 00) " 2016-12-04T00:21:59.589 - DEBG - Celestron GPS : "RES (#) " 2016-12-04T00:21:59.686 - DEBG - Celestron GPS : "Moving toward North. " 2016-12-04T00:21:59.783 - DEBG - Celestron GPS : " END-OF-TIMER " 2016-12-04T00:21:59.918 - DEBG - Celestron GPS : " USE_PULSE_CMD = 0 " I hope this helps. So same question again about memory consumption? Created attachment 102611 [details]
No memory impact
Try to turn off "INDI Messages in Status Bar" and see if that makes any difference. It is found in the INDI Settings in KStars Settings. I disabled "INDI Messages in Status Bar" and it has an effect, but very little. Sorry, not much to work with. Can you reproduce this in 2.8.3? If you still experience this in 2.9.3, please reopen. |