I think one may safely state that the Pi is a stable platform for long uptimes.Until this evening's power cut, where the Raspberry Pi writes to a file to record the uptime once a day, the last entry says...
07:35:05 up 688 days, 6:24, 0 users, load average: 0.07, 0.22, 0.32
Three years?!? Okay I have a couple of questions.jahboater wrote:...Mine have been running for years.
Bad wording sorry, I simply meant I have never powered them down other than for hardware upgrades B to B+ to Pi2, OS upgrades, and the occasional change to config.txt.TigerClawTV wrote:Three years?!? Okay I have a couple of questions.jahboater wrote:...Mine have been running for years.
1) what do you use them for?
2) What OS do you use?
3)Really? Three YEARS?
First of all thanks you all for your answers. Now about your comments Heater, I am trying to find out if the h/w (not including microSD) of the Raspberry will have any type of problems after a "non-stop" usage (without any power failure, lets say that we use ups systems) for some years (4-5 years). I know about the microSD/SD card read/write issues. The O/S we want to run is Ubuntu. Also I want to believe that the failure of device could be between 0-3% per year.Heater wrote:I believe the Pi itself will run reliably as long as it has power and is not exposed to excessive temperature extremes or other physical hazards.
The software it is running could bring your system down at any time of course. But experience shows that Linux based systems are pretty damn robust.
The anecdotes here are a testament to all of that.
The killer is the SD card and the file system on it. A power outage at the wrong moment can corrupt the file system and rendering your applications un-runnable or the system un-bootable.
This is really annoying and expensive when the Pi in question is at some remote location and just expected to work. This has caused me a lot of problems, not just on the Pi.
If you want a reliable system then ensure you never write to the file system. Preferably arrange to have it mounted read-only at boot time. See here for how to do that: https://wiki.debian.org/ReadonlyRoot Put any data you need to write onto a USB stick, or preferably send it out over the net for some server to deal with.
Of course it all depends on how reliable you need it to be as to what precautions you take.
So, JohnBet, when you say "24 hours /7 days week /365 days" you forgot to mention what probability of failure you could tolerate. A 90% chance of failure per year, 99% maybe, 99.9% perhaps. Even in the most expensive fault tolerant systems there is no 100% guarantee.
Is there a compelling reason for Ubuntu? While there are people who have Ubuntu on RPis it probably is going to be less thoroughly tested as Raspian and presumably less stable. Ubuntu's also going to have a heavier foot print (swap space and memory usage) which is probably best avoided on the Pi. Both are Debian-based so there is no meaningful difference in the available software base.JohnBet wrote:The O/S we want to run is Ubuntu.