-
- Posts: 24
- Joined: Thu Jan 03, 2013 12:32 am
- Location: Hawick
Re: Longest Raspberry Pi uptime
The Pi, that I bought last Christmas, has been on for 99.9% of the time. I've powered it down a few times, just to swap peripherals and to make backups of the SD card. I use it with RaspBMC, which I like a lot.
Re: Longest Raspberry Pi uptime
I never noticed that problem (I remember resetting the BST/GMT many times too, so it definitely ran for at least a year at a time) - so it probably depended on specific builds of Windows, or whatever services you had running. Mine was just a simple non-networked thing anyway.mikerr wrote: Of course Windows 95 had that HILARIOUS bug that meant it would crash at 49.7 days uptime,
http://news.cnet.com/2100-1040-222391.html
The joke when windows 95 came out was "95" meant the number of hours it would run reliably, or maybe even minutes! Not the case for simple applications of course.
Re: Longest Raspberry Pi uptime
I've been running Debian on some Librettos for years now. They are very reliable (battery life wasn't too bad on my, but I mostly ran them on mains power). Now they are getting a well deserved rest, with some of their functions taken over by the much faster Raspberry Pimikerr wrote:Libretto was a great machine, ahead of it's time - but let down by a tiny battery life.

Re: Longest Raspberry Pi uptime
563 days so far, email and web server getting visited 400-1000 times a day 

Code: Select all
root@rasbian:~# uprecords
# Uptime | System Boot up
----------------------------+---------------------------------------------------
-> 1 563 days, 11:05:11 | Linux 3.6.11+ Mon Mar 4 03:07:57 2013
2 113 days, 00:57:10 | Linux 3.2.27+ Tue Oct 16 22:04:41 2012
3 19 days, 13:01:30 | Linux 3.2.27+ Thu Feb 7 12:53:10 2013
4 1 day , 00:23:08 | Linux 3.6.11+ Sun Mar 3 02:44:27 2013
5 0 days, 12:05:07 | Linux 3.2.27+ Thu Feb 7 00:47:44 2013
6 0 days, 02:56:40 | Linux 3.6.11+ Sat Mar 2 21:30:25 2013
7 0 days, 02:16:41 | Linux 3.6.11+ Sun Mar 3 00:27:24 2013
8 0 days, 00:16:47 | Linux 3.2.27+ Wed Feb 6 21:16:37 2013
----------------------------+---------------------------------------------------
NewRec 229 days, 10:08:00 | since Tue Jun 25 05:05:07 2013
up 476 days, 19:02:14 | since Tue Oct 16 22:04:41 2012
down 3 days, 22:06:13 | since Tue Oct 16 22:04:41 2012
%up 99.184 | since Tue Oct 16 22:04:41 2012
Last edited by adream on Thu Sep 18, 2014 11:05 pm, edited 1 time in total.
http://212.159.76.122:81/serendipity/
Re: Longest Raspberry Pi uptime
Big day for my Pi today. It is its BIRTHDAY.
Uptime 365 days.
I'm so proud
Uptime 365 days.
I'm so proud

Code: Select all
pi@raspberrypi:~$ uptime
17:23:16 up 365 days, 8:14, 1 user, load average: 0.18, 0.09, 0.06
pi@raspberrypi:~$
- DougieLawson
- Posts: 40821
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: Longest Raspberry Pi uptime
So it is running a year back level on firmware and Linux updates. That could be a security risk.PiArrific wrote:Big day for my Pi today. It is its BIRTHDAY.
Uptime 365 days.
I'm so proud
Code: Select all
pi@raspberrypi:~$ uptime 17:23:16 up 365 days, 8:14, 1 user, load average: 0.18, 0.09, 0.06 pi@raspberrypi:~$
One of my RPis got rebooted five times yesterday, the other was rebooted four times.
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: Longest Raspberry Pi uptime
uptime
13:47:39 up 425 days, 21:37, 1 user, load average: 1.63, 1.72, 1.06

13:47:39 up 425 days, 21:37, 1 user, load average: 1.63, 1.72, 1.06

Re: Longest Raspberry Pi uptime
Mine was running my website continuously for just about a year until Thanksgiving weekend when a local power failure took it down. Once the power was restored, it booted right back up and is running fine again.
George in New Jersey.
(learning a little bit every day.)
(and darned confused most of the time!)
(learning a little bit every day.)
(and darned confused most of the time!)
Re: Longest Raspberry Pi uptime
This one is physically far away. Still running just fine, and I can login as a normal user but sad to say I've actually lost the root password. I "hardened" it against the attacks I know about, so I can't upgrade or reboot. It may be up for a while yet!
Code: Select all
$ uptime
13:21:39 up 411 days, 21:11, 2 users, load average: 1.12, 1.14, 1.14
$ uname -a
Linux rp1 3.6.11+ #557 PREEMPT Wed Oct 2 18:49:09 BST 2013 armv6l GNU/Linux
$ date
Fri Jan 2 13:22:19 PST 2015
- DougieLawson
- Posts: 40821
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: Longest Raspberry Pi uptime
If you can update /boot/cmdline.txt (either with a windows machine (if it's on the first FAT partition), with the NOOBS recovery system or with another linux system) and add "init=/bin/sh" you can reboot to a root shell (by pulling the power). Once you have a root shell you can update root's password.jbeale wrote:T I "hardened" it against the attacks I know about, so I can't upgrade or reboot.
You'll lose the massive uptime but you'll be able to bring it up to date.
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Re: Longest Raspberry Pi uptime
Mine has been up for a while..
pi@pimachine$ uptime
20:48:10 up 517 days, 2:08, 1 user, load average: 0.23, 0.13, 0.14
pi@pimachine$ uptime
20:48:10 up 517 days, 2:08, 1 user, load average: 0.23, 0.13, 0.14
Re: Longest Raspberry Pi uptime
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
From this, I think I can say the old 256MB early revision Model B I'm using as a server is pretty reliable!
Had to happen one day, now I can look at updating the firmware and changing the micro USB power cable for a better one
07:35:05 up 688 days, 6:24, 0 users, load average: 0.07, 0.22, 0.32
From this, I think I can say the old 256MB early revision Model B I'm using as a server is pretty reliable!
Had to happen one day, now I can look at updating the firmware and changing the micro USB power cable for a better one

Re: Longest Raspberry Pi uptime
Mine was as follows:
RPi: Model B 256
OS: Raspbian Wheezy
Uptime: 8 days
I was using it normally and it performed well over the entire period.
RPi: Model B 256
OS: Raspbian Wheezy
Uptime: 8 days
I was using it normally and it performed well over the entire period.
Re: Longest Raspberry Pi uptime
I was at 54 days running as a web server, and it was working well...
However, I had a powercut 3 days ago so it restarted....
However, I had a powercut 3 days ago so it restarted....
dan3008 wrote:Pays your money, takes your choice
Re: Longest Raspberry Pi uptime
Hi everyone,
I found this forum/topic by accident and just wanted to let you know that my Pi is running 569 days now. Why am I doing this? In the past, my Pi never ran more than 14 days due to poor-quality SD cards. After investing a few bucks more for a better SD card, I was wondering how long it would last. My Pi is still running...
Cheers,
Olli
I found this forum/topic by accident and just wanted to let you know that my Pi is running 569 days now. Why am I doing this? In the past, my Pi never ran more than 14 days due to poor-quality SD cards. After investing a few bucks more for a better SD card, I was wondering how long it would last. My Pi is still running...
Cheers,
Olli
- Attachments
-
- 2015-06-02-223804_800x480_scrot.png (39.73 KiB) Viewed 19543 times
-
- Posts: 4277
- Joined: Sun Jan 15, 2012 1:11 pm
Re: Longest Raspberry Pi uptime
Isn't it the case that on 32 bit platforms, the Linux uptime (being measured in 100ths of a second, aka, "jiffies") wraps around at about 410 days?
So, you could never have more than that of uptime. Or, have they patched this since the last time I tested it?
Note that the Pi *is* a 32 bit platform.
So, you could never have more than that of uptime. Or, have they patched this since the last time I tested it?
Note that the Pi *is* a 32 bit platform.
And some folks need to stop being fanboys and see the forest behind the trees.
(One of the best lines I've seen on this board lately)
(One of the best lines I've seen on this board lately)
Re: Longest Raspberry Pi uptime
I am not seeing any wraparound bug on my long-term Pi, judging by the last report it sent me...
Code: Select all
01 Jun 2015
11:57:01 up 561 days, 18:47, 0 users, load average: 1.12, 1.12, 1.12
-
- Posts: 69
- Joined: Tue Oct 09, 2012 9:41 am
Re: Longest Raspberry Pi uptime
Running my Java home automation app:
19:32:09 up 626 days, 4:01, 10 users, load average: 0.44, 0.37, 0.34
Alas, moving house again so down she goes.
19:32:09 up 626 days, 4:01, 10 users, load average: 0.44, 0.37, 0.34
Alas, moving house again so down she goes.
Re: Longest Raspberry Pi uptime
Still going strong...
$ uptime
23:13:36 up 860 days, 4:33, 1 user, load average: 0.32, 0.15, 0.15
$ uptime
23:13:36 up 860 days, 4:33, 1 user, load average: 0.32, 0.15, 0.15
Re: Longest Raspberry Pi uptime
Mine has been up for 75 days now, functioning as a headless torrent box
Re: Longest Raspberry Pi uptime
One of my Pi boxes has now made it into 4 digits of uptime. (It's in a data center, we get occasional power outages at home.)
I have another one at home on a battery backup system, also for a while:
Code: Select all
18:46:40 up 1005 days, 1:37, 1 user, load average: 1.06, 1.07, 1.11
Code: Select all
18:49:32 up 837 days, 5:36, 1 user, load average: 1.08, 1.17, 1.14
Re: Longest Raspberry Pi uptime
very impressive, ,mines back to 365 days after a 24 hour power outage a year ago hmpf...
jbeale wrote:One of my Pi boxes has now made it into 4 digits of uptime. (It's in a data center, we get occasional power outages at home.)I have another one at home on a battery backup system, also for a while:Code: Select all
18:46:40 up 1005 days, 1:37, 1 user, load average: 1.06, 1.07, 1.11
Code: Select all
18:49:32 up 837 days, 5:36, 1 user, load average: 1.08, 1.17, 1.14
http://212.159.76.122:81/serendipity/
Re: Longest Raspberry Pi uptime
Mine is also in a datacentre in netherlands.
I almost lost it 2 days ago where it somehow "disconnected" and "reconnected" the network card and eth0 flapped down/up dropping the ip / netmask / gw config.
I don't know what has caused this, but the pcextreme's noc team was kind enough to log in and do a network restart for me saving my precious uptime !
in her 1035 days of uptime it was the very first time she did that
Code: Select all
xxxxxx@piserver ~ $ uptime
10:11:21 up 1037 days, 23:23, 1 user, load average: 0.00, 0.01, 0.05
Code: Select all
Nov 14 19:26:12 raspberrypi kernel: [89371497.107135] usb 1-1.1: USB disconnect, device number 3
Nov 14 19:26:12 raspberrypi kernel: [89371497.107606] smsc95xx 1-1.1:1.0: eth0: unregister 'smsc95xx' usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet
... <snip> ....
Nov 14 19:26:15 raspberrypi kernel: [89371499.327625] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Nov 14 19:26:15 raspberrypi kernel: [89371499.330717] smsc95xx v1.0.4
Nov 14 19:26:15 raspberrypi kernel: [89371499.392544] smsc95xx 1-1.1:1.0: eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:97:ec:c8
Nov 14 19:26:15 raspberrypi kernel: [89371499.761435] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Nov 14 19:26:17 raspberrypi kernel: [89371501.255978] smsc95xx 1-1.1:1.0: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
in her 1035 days of uptime it was the very first time she did that

Re: Longest Raspberry Pi uptime
Joe Schmoe,
Timekeeping on Unix/Linux is based on the number of seconds since the "epoch". 1/1/1970. That seconds counter was due to overflow on January 19th, 2038 at 3:14:08?. Jiffies is a totally other thing.
I'm pretty sure there will be no such rollover on 64 bit systems. I'm not too clear on what is being done for 32 bit machines.
The Raspi Foundation has 22 years left to get that 64 bit Raspbian working!

I don't think that has ever been true. Unless there was some horrible bug in Linux at some time that I have never heard of.Isn't it the case that on 32 bit platforms, the Linux uptime (being measured in 100ths of a second, aka, "jiffies") wraps around at about 410 days?
Timekeeping on Unix/Linux is based on the number of seconds since the "epoch". 1/1/1970. That seconds counter was due to overflow on January 19th, 2038 at 3:14:08?. Jiffies is a totally other thing.
I'm pretty sure there will be no such rollover on 64 bit systems. I'm not too clear on what is being done for 32 bit machines.
The Raspi Foundation has 22 years left to get that 64 bit Raspbian working!

Memory in C++ is a leaky abstraction .
- DougieLawson
- Posts: 40821
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
- Contact: Website Twitter
Re: Longest Raspberry Pi uptime
It's not Raspbian that would need to change. It's Linux and the kernel that provides the boot time & uptime in /proc.
grep -e 'btime' /proc/stat
cat /proc/uptime
http://lxr.free-electrons.com/source/fs/proc/uptime.c
grep -e 'btime' /proc/stat
cat /proc/uptime
http://lxr.free-electrons.com/source/fs/proc/uptime.c
Any language using left-hand whitespace for syntax is ridiculous
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.
Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.
Any requirement to use a crystal ball or mind reading will result in me ignoring your question.