I was compiling retropie on my pi and it being bery cpu intensive, my pi is showing both power and act/sdcard light constantly lit instead of flickering as usual.
Is it hung??
pi hung???
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
Re: pi hung???
What does top show when you/if you can ssh into it?
There are 10 types of people: those who understand binary and those who don't.
Re: pi hung???
Although its working now looks like it was super loadedkusti8 wrote:What does top show when you/if you can ssh into it?
I couldn't ssh at that time at all even tty2 via alt+f2 hung
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
Re: pi hung???
Sounds like it started swapping out to SD card. That can bring them to a crawl.
Software guy, working in the applications team.
Re: pi hung???
It started doing it again, any way to disable sd swap??jamesh wrote:Sounds like it started swapping out to SD card. That can bring them to a crawl.
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
- Jednorozec
- Posts: 809
- Joined: Sun Nov 24, 2013 2:17 pm
- Location: Deposit, NY
Re: pi hung???
You could move your root file system to a hard drive.
The most important leg of a three legged stool is the one that's missing.
It's called thinking. Why don't you try it sometime?
It's called thinking. Why don't you try it sometime?
Re: pi hung???
Wouldn't be worth the hassel and then i would need an external power supply hubJednorozec wrote:You could move your root file system to a hard drive.

My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
Re: pi hung???
Ok so it is NOT swap as i disabled it positively.....jamesh wrote:Sounds like it started swapping out to SD card. That can bring them to a crawl.
Swap disabled using:
Code: Select all
sudo apt-get purge dphys-swapfile
sudo reboot
Code: Select all
sudi MAKEFLAGS="-j4" ./retropie_setup.sh
Select emulationstation
Select Source based
Has to do something with the ram and/or -j4 as cpu stress test went fine with the system responded fine while the stresstest ran
Stress Test:
github.com/ric96/hotpi
[Update]
Tried using -j2 and as expected the program compiled smoothly with the Free RAM dipping to a minimum 155mb and mostly staying above 200mb.
Whereas with -j4 Frer RAM went as low as 15-30mb.
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com
Re: pi hung???
Even without swap a low ram situation can cause extreme performance drops before it finally triggers the OOM killler. Without swap the kernel can't evict "anonymous" pages but it can and will still evict pages backed by files such as the code of the programs and libraries you are running.
Re: pi hung???
What I did in a case like this is putting the swap file on a usb hdd, a fast usb stick might do the trick too. Can even be done in runtime.
Just make sure that the swap priority of the HDD hosted swapfile is higher than the one on the SD card.
No need to move the whole root fs.
Regards
Aydan
Just make sure that the swap priority of the HDD hosted swapfile is higher than the one on the SD card.
No need to move the whole root fs.
Regards
Aydan