-
Notifications
You must be signed in to change notification settings - Fork 74
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
Video Drops/Cam Freeze #99
Comments
If this is happening every 15 minutes, it's likely because of My workaround was to disable logging on --- /etc/init.d/S35wifi
+++ /etc/init.d/S35wifi
@@ -31,7 +31,7 @@
# https://stackoverflow.com/questions/1251999/how-can-i-replace-a-newline-n-using-sed
sed -i ':a;N;$!ba;s/\r//g' "$CONFIGPATH/wpa_supplicant.conf"
- wpa_supplicant -Dnl80211 -i wlan0 -c "$CONFIGPATH/wpa_supplicant.conf" -B -d -f /var/log/wpa_supplicant.log
+ wpa_supplicant -Dnl80211 -i wlan0 -c "$CONFIGPATH/wpa_supplicant.conf" -B -d
HOSTNAME=`cat /etc/hostname`
--- /etc/logrotate.conf
+++ /etc/logrotate.conf
@@ -24,7 +24,7 @@
rotate 2
size 10k
missingok
- postrotate
- /usr/bin/killall -SIGHUP wpa_supplicant
- endscript
} You will need to set something up to ensure
If you want to preserve logging behavior, this change also appears to work ( --- /etc/logrotate.conf
+++ /etc/logrotate.conf
@@ -24,7 +24,7 @@
rotate 2
size 10k
missingok
- postrotate
- /usr/bin/killall -SIGHUP wpa_supplicant
- endscript
+ copytruncate
} |
This could be the root cause of the issue that is causing the cameras to stop working suddenly when the filesystem becomes corrupted. I've created some branches to remove logging completely here and here. As my PRs are not being merged in this project, I decided to merge together all of my changes from the last six months and release them for testing. This should address the issue that it stops working after a while. Testing is appreciated, and you can file an issue in that repo if you have any problems. |
@EQNish also see if your v4l2rtspserver is crashing (can you ssh in?). I use a script to check mine and restart it. Not sure why it dies - RAM on my camera might be imperfect (vi isn't even stable, though nano is, for instance). Cheap computers. :) |
I'm getting this issue as well (sometimes a few others) "this issue" being the RTSP stream dies after sometime. Seems I can't even get it started up:
This is on v0.0.40. MJPEG seems to work fine however. Rebooting the camera sometimes brings things back up. |
Been using OpenMiko for almost a year on about 12 cams, I like the project, love the RTSP and no Cloud feature, but my Cams Lock/freeze and/or stop sending video. In order to fix I have to reboot/remove power, any ideas what to tweak to fix this? where should I start?
The text was updated successfully, but these errors were encountered: