3

I've been using my raspberry pi for about 3 days, and on these 3 days the Pi has stopped running 2 times. It just shuts down. I'm using it as a server and it gets kind off warm when I'm using it. (I'm using it 24/7.)

I'm using a trancend 8gb SDHC micro card. And for the power im using a regular Samsung s5 charger. And I'm using a hdmi cable for the monitor and a ethernet cable for internet.

Thats basically it, does anyone has any idea what might cause this issue?

6
  • This will be hard answer. Do you have anything to narrow it down? Anything unusual happening befor shutdown? Had a look in the log files?
    – Ghanima
    Commented May 30, 2015 at 18:01
  • No i have my monitor off, so i cant see the screen, i just hear the external the harddrive and Pi's sound disapearing, and then its shut off
    – Anton
    Commented May 30, 2015 at 18:18
  • But it's still worth to check the logs. What's your OS (rasbian?)?
    – Ghanima
    Commented May 30, 2015 at 18:24
  • yea its rasbian, the reccomended one. i have shut down my Pi at the moment because of the heat, can i still see the logs of when it happend, if i turn it back on?
    – Anton
    Commented May 30, 2015 at 18:28
  • Yes, you should find those logs (unless /var is not mounted in RAM). Have a look to /var/log/*
    – Ghanima
    Commented May 30, 2015 at 18:59

1 Answer 1

3

This is most always a case of either a bad power supply or software that is too "heavy" on the pi.

Hardware

Some times adapters output a different voltage/current then the label says they do. If you have a multimeter you can check to see the current and voltage output of your charger. In order for you Pi to run properly in an idle state for most boards it needs at least 700 mA and between 4.75 V (absolute minimum) and 5.25 volts. Depending on peripherals such as, high current Wifi adapters, wireless keyboard adapters, and external hard drives, you will need more current input.

Software

The issue could also be a problem with the software overloading the Pi. You could write a simple script to monitor the cpu usage to check this. Sort of something like this or this. If you are running your pi headless as a server if you have not already done so I suggest you run sudo raspi-config and split the ram to give the most to the cpu since you are not using the gpu.

9
  • Hello thanks for replying, how do i split the ram when i typed sudo raspi-config
    – Anton
    Commented May 30, 2015 at 22:34
  • nevermind i found it, but how much memory should i use on the cpu? its says 16/32/64/128/256
    – Anton
    Commented May 30, 2015 at 22:40
  • Since I understand you are not using the GUI I would give it the full 256!
    – NULL
    Commented May 30, 2015 at 23:03
  • I saw a post about ram split with this command sudo rpi-update 240/16 is this the same thing, just a different way to do it?
    – Anton
    Commented May 30, 2015 at 23:06
  • I am unaware of that command. However, I would suspect that all that does is update your system before changing ram allocation to 240 for CPU and 16 for GPU. Could you post the link? I can't find anything like that.
    – NULL
    Commented May 30, 2015 at 23:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.