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

Slow DenCam/Slow Pis #54

Open
bkirshh opened this issue Feb 9, 2022 · 5 comments
Open

Slow DenCam/Slow Pis #54

bkirshh opened this issue Feb 9, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@bkirshh
Copy link
Collaborator

bkirshh commented Feb 9, 2022

DenCam is running very slow on my Raspberry Pi 3B+s, and some (3/5 devices) have stopped recording video. The slowness is enough that when you press a button to advance the pages, many seconds elapse before the next page appears. In some cases, the pages do not advance at all. Sometimes, the recording and SunSaver pages do not appear, but the camera preview screen will. No wlan data on page 1 typically precede this event but not always. I'll upload a video in Slack.

If I toggle "off" recording, speeds typically increase when flipping through the pages.

To help troubleshoot, I am changing the logging interval for sunsaver_log.pi to once an hour in crontab (1 * * * *). I do realize that we will need to depress the "action" button to update the SunSaver data in DenCam when using infrequent logging intervals.

@bkirshh bkirshh added the bug Something isn't working label Feb 9, 2022
@icr-ctl
Copy link
Collaborator

icr-ctl commented Feb 9, 2022

@EliasMartinezJ and @iamgarcia I have assigned this to both of you because clearly this is a big issue, it is possible you'll have to confer on things you each have been doing to solve it, and it is probably just better to have two heads on it.

@icr-ctl
Copy link
Collaborator

icr-ctl commented Feb 9, 2022

DenCam is running very slow on my Raspberry Pi 3B+s, and some (3/5 devices) have stopped recording video. The slowness is enough that when you press a button to advance the pages, many seconds elapse before the next page appears. In some cases, the pages do not advance at all. Sometimes, the recording and SunSaver pages do not appear, but the camera preview screen will. No wlan data on page 1 typically precede this event but not always. I'll upload a video in Slack.

If I toggle "off" recording, speeds typically increase when flipping through the pages.

To help troubleshoot, I am changing the logging interval for sunsaver_log.pi to once an hour in crontab (1 * * * *). I do realize that we will need to depress the "action" button to update the SunSaver data in DenCam when using infrequent logging intervals.

@bkirshh to confirm: I believe it was our understanding that the SunSaver logging cronjob would be once per hour in the deployments. Were you thinking it would be more frequent?

@bkirshh
Copy link
Collaborator Author

bkirshh commented Feb 9, 2022

When I set this up with Elias, we set things for 1/min. Now are are logging 1/hour. 1/hour will be plenty of data.

@icr-ctl
Copy link
Collaborator

icr-ctl commented Feb 9, 2022

The thinking of setting it up to be more frequent (1 per minute) may have been to generate more data during this test phase.

@bkirshh
Copy link
Collaborator Author

bkirshh commented Feb 9, 2022

@EliasMartinezJ and @iamgarcia let me know if you want to setup a call to workshop this problem. Thanks in advance for your help on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

5 participants