-
Notifications
You must be signed in to change notification settings - Fork 15
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
Program freezes after approx 35 hours #4
Comments
Hmm.... really does not seem to be much in there. Everything's running along fine and then... nothing. I've seen odd crashes when I first started working on this, and a new/beefier power supply fixed the problem. I have no idea if this is the same issue. |
My kernel debugging is not great, but the timestamps add up well, so it must be related. One thing I notice (looking again at the logs you uploaded earlier) is that the time to take a full size picture seems to increase as time goes on. I was using python's tempfile module (which uses /tmp as a temporary file store) while uploading pictures to picasa; but not deleting the files once I was done with them (expecting the OS to free space as needed) -- Perhaps this was a bad assumption. I am now explicitly calling os.unlink on the files after uploading them Would you be able to run another test with the latest script please? |
Hi, I will start new testrun today or latest tomorrow morning. Hopefully we have some results on Sunday/Monday. I will be running via ethernet cable instead of WLAN. |
OK, I had the same problem. Weird.
Looks like there are some issues with SD card access? Not sure.
around the "kworker blocked" messages. A little googling led me to this page, which suggested increasing the size of vm.min_free_kbytes to 16Mb Anyway, I'm re-running the script with the settings suggested in the previous link:
|
Could this kworker issue be due dynamic ip? Are you having static or dynamic ip, I guess I have dynamic. See : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/975445 |
My last run started on 9.8.2013 07:45 ended 10.8.2013 19:57 to following messages: 2013-08-10 19:57:06 DEBUG: it's been 900.017170191 seconds since last pic taken. Force it! I am leaning towards network issue due DCHP. I am trying now next run with static ip. |
Hi pinjan, I am not sure about the last trace you uploaded. It seems to be a different issue to the original crash:
With the aforementioned tweak of vm.min_free_kbytes = 16384, I managed to replicate the issue, but this time instead of a pi that was completely hung & requiring a reboot, I could still access it and poke around. From what I could tell, the process mmcqd was using a lot of cpu. I ran some of the tests detailed here, and it looked like the SD card read speeds had plummeted. These appear to line up with the logs which show that it takes an extra-ordinarily long amount of time to save the image to disk. Perhaps I should try with a different SD card? Perhaps not saving images to SD card at all (which was the original implementation but I noticed you very quickly run out of RAM if there are lots of photos being taken and you can't upload them quickly). I might post this to the raspberry Pi forums and see if someone else has any ideas about the mmcqd issue. |
Program freezes after approx 35 hours. Log can be found:
http://www.filehostfree.com/?d=52027E8A1
The text was updated successfully, but these errors were encountered: