Thicko_1970
Posts: 24
Joined: Thu Jan 03, 2013 12:32 am
Location: Hawick

Re: Longest Raspberry Pi uptime

Mon Jan 06, 2014 2:44 pm

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.

Ravenous
Posts: 1956
Joined: Fri Feb 24, 2012 1:01 pm
Location: UK

Re: Longest Raspberry Pi uptime

Mon Jan 06, 2014 2:54 pm

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
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.

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.

User avatar
rpdom
Posts: 18147
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Longest Raspberry Pi uptime

Mon Jan 06, 2014 3:11 pm

mikerr wrote:Libretto was a great machine, ahead of it's time - but let down by a tiny battery life.
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 Pi :-)

adream
Posts: 23
Joined: Fri Jul 06, 2012 4:15 pm
Contact: Website

Re: Longest Raspberry Pi uptime

Sun Feb 09, 2014 2:15 pm

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/

PiArrific
Posts: 1
Joined: Fri May 09, 2014 4:59 pm

Re: Longest Raspberry Pi uptime

Fri May 09, 2014 5:09 pm

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:~$

User avatar
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

Fri May 09, 2014 9:48 pm

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:~$
So it is running a year back level on firmware and Linux updates. That could be a security risk.

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.

cpnkpnk
Posts: 1
Joined: Wed Sep 24, 2014 12:45 pm

Re: Longest Raspberry Pi uptime

Wed Sep 24, 2014 12:48 pm

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

:)

User avatar
Offcenter
Posts: 184
Joined: Wed Jul 31, 2013 4:57 pm
Location: Northwestern New Jersey USA

Re: Longest Raspberry Pi uptime

Tue Dec 09, 2014 2:28 am

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!)

User avatar
jbeale
Posts: 3754
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Longest Raspberry Pi uptime

Fri Jan 02, 2015 9:30 pm

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

User avatar
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

Fri Jan 02, 2015 10:33 pm

jbeale wrote:T I "hardened" it against the attacks I know about, so I can't upgrade or reboot.
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.

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.

BeJay
Posts: 32
Joined: Mon Aug 06, 2012 1:52 pm
Location: Western Australia

Re: Longest Raspberry Pi uptime

Sat Feb 14, 2015 12:49 pm

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

Sisyphus
Posts: 1
Joined: Sun Apr 12, 2015 8:53 pm

Re: Longest Raspberry Pi uptime

Sun Apr 12, 2015 9:05 pm

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 :)

User avatar
Kratos
Posts: 395
Joined: Sun Apr 12, 2015 12:41 pm

Re: Longest Raspberry Pi uptime

Sun Apr 12, 2015 10:39 pm

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.

dan3008
Posts: 1172
Joined: Wed Aug 15, 2012 1:05 pm

Re: Longest Raspberry Pi uptime

Mon Apr 13, 2015 8:55 am

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....
dan3008 wrote:Pays your money, takes your choice

ollizei
Posts: 1
Joined: Tue Jun 02, 2015 8:16 pm

Re: Longest Raspberry Pi uptime

Tue Jun 02, 2015 8:39 pm

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
Attachments
2015-06-02-223804_800x480_scrot.png
2015-06-02-223804_800x480_scrot.png (39.73 KiB) Viewed 19543 times

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Longest Raspberry Pi uptime

Tue Jun 02, 2015 10:12 pm

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.
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)

User avatar
jbeale
Posts: 3754
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Longest Raspberry Pi uptime

Tue Jun 02, 2015 10:51 pm

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

caldimerda
Posts: 69
Joined: Tue Oct 09, 2012 9:41 am

Re: Longest Raspberry Pi uptime

Sat Aug 15, 2015 6:35 pm

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.

BeJay
Posts: 32
Joined: Mon Aug 06, 2012 1:52 pm
Location: Western Australia

Re: Longest Raspberry Pi uptime

Sat Jan 23, 2016 3:19 pm

Still going strong...

$ uptime
23:13:36 up 860 days, 4:33, 1 user, load average: 0.32, 0.15, 0.15

User avatar
aladins
Posts: 5
Joined: Tue May 03, 2016 1:10 am

Re: Longest Raspberry Pi uptime

Thu Aug 18, 2016 1:25 am

Mine has been up for 75 days now, functioning as a headless torrent box

User avatar
jbeale
Posts: 3754
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: Longest Raspberry Pi uptime

Thu Aug 18, 2016 1:47 am

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.)

Code: Select all

 18:46:40 up 1005 days,  1:37,  1 user,  load average: 1.06, 1.07, 1.11
I have another one at home on a battery backup system, also for a while:

Code: Select all

 18:49:32 up 837 days,  5:36,  1 user,  load average: 1.08, 1.17, 1.14

adream
Posts: 23
Joined: Fri Jul 06, 2012 4:15 pm
Contact: Website

Re: Longest Raspberry Pi uptime

Thu Aug 18, 2016 8:26 am

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.)

Code: Select all

 18:46:40 up 1005 days,  1:37,  1 user,  load average: 1.06, 1.07, 1.11
I have another one at home on a battery backup system, also for a while:

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/

histvan81
Posts: 1
Joined: Fri Nov 18, 2016 10:09 am

Re: Longest Raspberry Pi uptime

Fri Nov 18, 2016 10:18 am

Mine is also in a datacentre in netherlands.

Code: Select all

xxxxxx@piserver ~ $ uptime
 10:11:21 up 1037 days, 23:23,  1 user,  load average: 0.00, 0.01, 0.05
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.

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
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 :)

Heater
Posts: 17421
Joined: Tue Jul 17, 2012 3:02 pm

Re: Longest Raspberry Pi uptime

Fri Nov 18, 2016 11:58 am

Joe Schmoe,
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?
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.

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 .

User avatar
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

Fri Nov 18, 2016 12:10 pm

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
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.

Return to “Off topic discussion”