SvenVD / rpisurv

Raspberry Pi surveillance
https://community.rpisurv.net
GNU General Public License v2.0
609 stars 101 forks source link

Streams reboot every few minutes #37

Closed gavzzorz closed 7 years ago

gavzzorz commented 7 years ago

Hi,

I have an issue where every few minutes the screen will go back to the Raspberry Pi Terminal screen then load back up RPISurv with the connecting image then load back into the streams. it does this every 5 mins or so.

Video of issue https://www.dropbox.com/s/k1r9d7un2kz9tkg/2017-08-21%2011.46.44.mp4?dl=0

SvenVD commented 7 years ago

Hi, this should not happen.

Can you send the output of the logs in /usr/local/bin/rpisurv/logs/.

Thanks

arrfour commented 7 years ago

The first thing hung I would check is power. What are you using to power your RPi?

On Aug 21, 2017, at 7:04 AM, gavzzorz notifications@github.com wrote:

Hi,

I have an issue where every few minutes the screen will go back to the Raspberry Pi Terminal screen then load back up RPISurv with the connecting image then load back into the streams. it does this every 5 mins or so.

Video of issue https://www.dropbox.com/s/k1r9d7un2kz9tkg/2017-08-21%2011.46.44.mp4?dl=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

gavzzorz commented 7 years ago

the RPI is a genuine RPI3 starter kit as linked below that comes with the official PSU... https://www.amazon.co.uk/Raspberry-Pi-Official-Desktop-Starter/dp/B01CI5879A/ref=sr_1_2?ie=UTF8&qid=1503388074&sr=8-2&keywords=rpi3

Please see the below link to all the logs. i have replaced the RTSP Address in the logs as this is in a school and could be accessed remotely.

https://www.dropbox.com/sh/j8136iohunsu9dy/AAAp513A7X45RuAS8xWy_uW3a?dl=0

Hope that helps.

Thanks

SvenVD commented 7 years ago

It seems the main process is crashing, after which rpisurv tries to revive itself via systemd (It will do anything it can to stay alive :-). To confirm this theory please post output of journalctl -u rpisurv. The question is now why it crashes, it could be hardware related.

gavzzorz commented 7 years ago

im thinking its not hardware related as i had the same issue with a RPI Model B+ the other day and then the same again when the RPI 3 Arrived.

I have used this before with no issues what so ever on an earlier version of Raspbian (Pixel) to i'm thinking its something to do with Raspbian Stretch.

please see the below logs for Journalctl... https://www.dropbox.com/s/kwdn80nb3pdlkk1/JournalCtl_Log.txt?dl=0

Cheers

SvenVD commented 7 years ago

Hi, check https://github.com/SvenVD/rpisurv/issues/28 I found and hopefully fixed the bug. Can you install the latest version and test again? If you do not want to test again you can workaround this bug by setting memory_usage_check to False in the advanced section.

Thanks

gavzzorz commented 7 years ago

Hi SvenVD,

I have updated the Pi this morning and so far so good :).

Thanks for sorting this!