RPi hangs/freeze randomly: how to find out the causes??!

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby sdjf » Mon Mar 10, 2014 7:06 pm

tikidollracer: any ideas how to detect when usage is peaking out before a freeze? I thought that assignment of GPU was dynamic now?
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby ivanhoe1024 » Mon Mar 10, 2014 8:31 pm

Yes, I think it's dynamic... However, right now: uptime 2 days 6 hours and it's still going!! With transmission, sickbeard and samba running!!

If someone has freeze problems and has an hard case for the Pi on it, he/she can try to put the Pi on the side, and not on the bottom, and see if things change!
ivanhoe1024
 
Posts: 17
Joined: Mon Mar 03, 2014 10:12 pm

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby ivanhoe1024 » Wed Mar 12, 2014 6:50 pm

No luck, today the Pi is doing the same old thing... Same freeze... Same ping available but no ssh... Same power off by unplugging... Why the hell is it doing this?!?!? :x :x
ivanhoe1024
 
Posts: 17
Joined: Mon Mar 03, 2014 10:12 pm

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby sdjf » Thu Mar 13, 2014 5:16 pm

tikidollracer's comment about peaking out at high usage seems important, but no response about how to detect this.

My hunch from my own freezes is that memory or cpu or whatever (I get them confused) maxes out too quickly for the situation to be detected in any logs, because when that happens, my pi loses the ability to write the information, or do anything. there has to be a way to detect this, so we can have daemons of some sort monitoring the situation, and forcing a safe shutdown when that happens, before the Pi freezes and forces us to pull the power plugs to reboot.

for me, I think it is when there is too much going on, too many memory intense things happening all at the same time. it might get worse when I reinstall a GUI browser but, right now, I have things set up so my Pi refuses to run VNC viewer if I have spreadsheets open, since that combination seems to cause the freezes. In your case, needing to run a number of memory intense things (?), not running them together is not an option.

Somebody, please, what system state or information could we monitor in heartbeat scripts or daemons that would enable us to determine the need for a safe shutdown or sync/reboot before a freeze?
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby dhead666 » Thu Mar 13, 2014 7:18 pm

Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby ivanhoe1024 » Thu Mar 13, 2014 7:34 pm

$this->bbcode_second_pass_quote('dhead666', '[')url=http://elinux.org/R-Pi_Troubleshooting#Troubleshooting_power_problems]Troubleshooting power problems[/url]


Excuse me, what are you suggesting? I don't think is our situation...
ivanhoe1024
 
Posts: 17
Joined: Mon Mar 03, 2014 10:12 pm

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby tikidollracer » Fri Mar 21, 2014 3:08 am

sorry, i was on hiatus. the gpu memory is supposed to be handled dynamically, but in my experience (and others), it is not working correctly. my experience is that the gpu is reserving gpu_mem + cpu_lwm. i manually changed the boot settings.

http://tikiblog.segosha.net/2014/02/hea ... erver.html

short of dynamically watching the memory i don't know of a way to check this. most software does not check for a valid memory allocation, and even if it did wouldn't have any recourse except to let bad things happen, so you are unlikely to get a diagnostic from a running daemon - which is itself a diagnostic that you may have a memory problem.
tikidollracer
 
Posts: 16
Joined: Sun Feb 02, 2014 4:38 am

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby ivanhoe1024 » Fri Mar 21, 2014 4:45 pm

$this->bbcode_second_pass_quote('tikidollracer', 's')orry, i was on hiatus. the gpu memory is supposed to be handled dynamically, but in my experience (and others), it is not working correctly. my experience is that the gpu is reserving gpu_mem + cpu_lwm. i manually changed the boot settings.

http://tikiblog.segosha.net/2014/02/hea ... erver.html

short of dynamically watching the memory i don't know of a way to check this. most software does not check for a valid memory allocation, and even if it did wouldn't have any recourse except to let bad things happen, so you are unlikely to get a diagnostic from a running daemon - which is itself a diagnostic that you may have a memory problem.


Thank you for your advices... What value are you using (if you have a Model B)?
ivanhoe1024
 
Posts: 17
Joined: Mon Mar 03, 2014 10:12 pm

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby tikidollracer » Sat Mar 22, 2014 3:43 am

check the blog post i linked for details.
tikidollracer
 
Posts: 16
Joined: Sun Feb 02, 2014 4:38 am

Re: RPi hangs/freeze randomly: how to find out the causes??!

Postby ivanhoe1024 » Sat Mar 22, 2014 1:09 pm

$this->bbcode_second_pass_quote('tikidollracer', 'c')heck the blog post i linked for details.


I checked, of course, it deals with the Model A. I tried several values, for my Model B, but it doesn't want to boot. Now I set a quite high value (200), and it's working, but I would like to ask you what's the value you use, to set a lower one...
ivanhoe1024
 
Posts: 17
Joined: Mon Mar 03, 2014 10:12 pm
Top

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 10 guests