How long have you run your raspi for?


31 posts   Page 1 of 2   1, 2
by SN » Fri Jun 01, 2012 11:18 am
Simple question - what is the longest uptime anyone has achieved with their raspi?

Having finally cracked the power/wireless issue yesterday, I have set my t'internet facing raspi up to see how long it will go.
As well as running a tiny website on a lighttpd install Its got a 10 second ping to 8.8.8.8 (Google running) thats it - uptime is 20 hours - no hiccups, no WLAN down no anything.
And my plan is it will stay like that until it either dies or needs to be moved :roll:.

So who's gone the furthest so far?
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?
User avatar
Posts: 1008
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
by spurious » Fri Jun 01, 2012 11:59 am
done 5 days.. I only restarted it cos I was messing with it.. no hickups
Posts: 343
Joined: Mon Nov 21, 2011 9:29 pm
by AndrewS » Fri Jun 01, 2012 12:22 pm
I think it's safe to assume no-one will have an uptime of 6 months yet ;)
User avatar
Posts: 3580
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
by SN » Fri Jun 01, 2012 12:36 pm
AndrewS wrote:I think it's safe to assume no-one will have an uptime of 6 months yet ;)

clearly... :roll:
so 5 days it is so far... anyone else?
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?
User avatar
Posts: 1008
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
by MarkBenson » Sat Jun 02, 2012 9:13 am
Mine's been on constantly since I got it on Thursday (2 full days) with no issues, I've been running compiles (for SimH) and also did a RSX-11M Pluss SYSGEN operation inside SimH PDP-11 (roughly analogous to a Kernel compile in Linux) which had the CPU running mostly pegged at 100% for a good hour. No issues so far (knocks on several pieces of wood) - CPU has never got hotter than hot to the touch. Very impressed on the performance-per-Watt front :)
Posts: 2
Joined: Sat Jun 02, 2012 8:43 am
by Furyio » Tue Jun 05, 2012 1:10 pm
Set mine up and finished 2 days ago, running smoothly since then

More changes tonight though to organise the dynamicdns etc. but so far only one piece of downtime and couldnt find out what caused it
Raspberry Pi Debian Squeeze
IRC channels : #raspi.ie #d3.ie #att #airsofter.ie
Posts: 21
Joined: Tue Jun 05, 2012 7:02 am
Location: Dublin,Ireland
by abishur » Tue Jun 05, 2012 1:40 pm
I haven't had time to tinker with it recently, so it's been sitting with XBMC running on it for about a week now.
Dear forum: Play nice ;-)
User avatar
Forum Moderator
Forum Moderator
Posts: 4263
Joined: Thu Jul 28, 2011 4:10 am
Location: USA
by obijywk » Tue Jun 05, 2012 2:15 pm
Code: Select all
$ uptime
 10:14:45 up 7 days, 3 min,  2 users,  load average: 0.00, 0.01, 0.05


I do experience intermittent lockups though (well, not during the past week I suppose)... I think they may be related to SD card I/O. The lockups happen when I'm writing a lot to the SD card (e.g. compiling, updating software), and after a restart, many of the files that were being written during the crash have size 0. Haven't been able to diagnose further than that. It's an 8GB SD card, not sure what type.
Posts: 9
Joined: Sat May 12, 2012 10:56 pm
Location: New York
by finnw » Tue Jun 05, 2012 3:26 pm
The current uptime on mine is 7 days, but unfortunately I need to reboot it now.
Posts: 24
Joined: Wed May 16, 2012 7:05 pm
by Rohan Kapoor » Wed Jun 06, 2012 5:48 pm
I've been at 10 days before (well 9 days and 22 hours) but I had to reboot as I was rebuilding the Desktop computer that was power the raspi. Right now, I'm back at 3 days after the rebuild.
Posts: 8
Joined: Sat Apr 21, 2012 7:18 pm
Location: USA
by SN » Wed Jun 06, 2012 9:15 pm
someone disturbed my pi last week, now back to...
22:13:58 up 2 days, 11:03, 1 user, load average: 0.00, 0.01, 0.05 - http://raspi.stevenicklin.com/cgi-bin/about
Fingers crossed,
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?
User avatar
Posts: 1008
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
by aXon » Wed Jun 06, 2012 10:15 pm
Hi there, just my $0.50

Code: Select all
apt-get install uptimed

this also starts up and adds the uptimed daemon.
Code: Select all
uprecords

prints a table to look up your times and records and
Code: Select all
/etc/uptimed.conf

has some self explanatory settings.

Example output looks like this
Code: Select all
     #               Uptime | System                                     Boot up
----------------------------+---------------------------------------------------
->   1     8 days, 11:52:04 | Linux 3.1.9+              Tue May 29 11:14:37 2012
----------------------------+---------------------------------------------------
NewRec     8 days, 11:52:03 | since                     Tue May 29 11:14:37 2012
    up     8 days, 11:52:04 | since                     Tue May 29 11:14:37 2012
  down     0 days, 00:00:00 | since                     Tue May 29 11:14:37 2012
   %up              100.000 | since                     Tue May 29 11:14:37 2012


Hope this helps in your quests to find out about uptime records :D
Posts: 2
Joined: Wed Jun 06, 2012 10:07 pm
by kuantum » Wed Jun 06, 2012 11:38 pm
Running 3 day for now. I don't know why but it sometimes freezes and need to be restarted.
Posts: 5
Joined: Wed Jun 06, 2012 11:00 pm
by kuantum » Thu Jun 07, 2012 12:16 am
As I said above reply it just froze and set my uptime to 0 :(

I think I am going to install Arch instead of Debian because my guess is that my pi freezes because of load and lack of memory. I ended up with this conclusion because it freezes when I start transmission client.
Posts: 5
Joined: Wed Jun 06, 2012 11:00 pm
by RaTTuS » Thu Jun 07, 2012 9:05 am
uprecords
# Uptime | System Boot up
----------------------------+---------------------------------------------------
-> 1 5 days, 22:02:45 | Linux 3.1.9+ Thu Jan 1 01:00:00 1970
----------------------------+---------------------------------------------------
NewRec 5 days, 22:02:44 | since Fri Jun 1 11:58:44 2012
up 5 days, 22:02:45 | since Thu Jan 1 01:00:00 1970
down 0 days, 00:00:00 | since Thu Jan 1 01:00:00 1970
%up 100.000 | since Thu Jan 1 01:00:00 1970
^ however my uprecords don't last over a reboot. :-(
this is on latest debian

previous to this it was 4days then it kernel panicked ;-(
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
"That's not right, the badgers have moved the goalposts."
User avatar
Posts: 5003
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by kaidenshi » Fri Jun 08, 2012 6:29 am
My longest so far is ~3.5 days, I leave it on so I can ssh in as well as test the performance of Apache/MySQL/PHP. I just rebooted it a few minutes ago after running an update via pacman and seeing a new kernel version pop in. (For those new to Arch Linux, get used to low uptime numbers; it's a bleeding-edge distro and you'll get kernel updates within hours of upstream commits.)

I'm really enjoying just having my own ~1W tiny web server! I have other, bigger projects in mind but for now I can ssh in from my WP7 phone during downtime at work, play around with HTML, CSS and PHP files, and see the changes in my phone's browser. Nerdy fun of course, but fun all the same!
User avatar
Posts: 12
Joined: Mon Aug 29, 2011 2:39 am
by jamiefuller » Sun Jun 24, 2012 3:50 pm
My pi was running debian smooth for 2 days, then i woke up this morning to find it unresponsive =(.

Upon further investigation it seemed to be caused by a brute force ssh password hack attempt on my poor little pi =( over 10,000 log on attempts made it fall over.

skiddies didn't get in though, anyone else experiencing strange lock-ups might like to check their logs too, /var/log/auth.log
Posts: 2
Joined: Sun Jun 24, 2012 3:44 pm
by sharix » Sun Jun 24, 2012 9:28 pm
Nice program aXon, thanks
Posts: 170
Joined: Thu Feb 16, 2012 11:29 am
Location: Slovenia
by SN » Sun Jun 24, 2012 10:46 pm
jamiefuller wrote:My pi was running debian smooth for 2 days, then i woke up this morning to find it unresponsive =(.

Upon further investigation it seemed to be caused by a brute force ssh password hack attempt on my poor little pi =( over 10,000 log on attempts made it fall over.

skiddies didn't get in though, anyone else experiencing strange lock-ups might like to check their logs too, /var/log/auth.log

Hmmm. . . Just been and checked mine. Still up, 20 days in 8-) BUT mine too has been slammed to some extent - all manner of attacks recorded since 17th June, but hanging in there :?
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?
User avatar
Posts: 1008
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
by jamiefuller » Sun Jun 24, 2012 11:23 pm
SN wrote:Hmmm. . . Just been and checked mine. Still up, 20 days in 8-) BUT mine too has been slammed to some extent - all manner of attacks recorded since 17th June, but hanging in there :?


Glad to hear such a long uptime is achievable, my pi is replacing my n900 which used to be a small webserver and ssh proxy for me. so I'm hoping for the same level of reliability (my n900 was solid as a rock, until the usb charging port died)

In the meantime I've moved my ssh onto a non standard port, and emailed a complaint to the owner of the attacking ip =)
Posts: 2
Joined: Sun Jun 24, 2012 3:44 pm
by Gert van Loo » Tue Jun 26, 2012 4:39 pm
Spoke to somebody at work. His Pi has been running for three months now. It replaces an old PC he had as file server and other network stuff. He calculated from the power savings alone it will earn itself back before the year. And no noise!
User avatar
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2036
Joined: Tue Aug 02, 2011 7:27 am
by sharix » Sat Jun 30, 2012 8:30 am
I have the same problem with uprecords:
Code: Select all
     #               Uptime | System                                     Boot up
----------------------------+---------------------------------------------------
     1     4 days, 03:54:26 | Linux 3.1.9+              Sat Jun 23 18:35:10 2012
->   2     0 days, 13:43:22 | Linux 3.1.9+              Thu Jan  1 01:00:00 1970
----------------------------+---------------------------------------------------
no1 in     3 days, 14:11:05 | at                        Wed Jul  4 00:40:04 2012
    up     4 days, 17:37:48 | since                     Thu Jan  1 01:00:00 1970
  down   15514 days, 02:51: | since                     Thu Jan  1 01:00:00 1970
   %up                0.031 | since                     Thu Jan  1 01:00:00 1970
Posts: 170
Joined: Thu Feb 16, 2012 11:29 am
Location: Slovenia
by Christoph » Sun Jul 01, 2012 7:26 am
I'm a bit dissapointed in uprecords

I had my pi running for approx. 3 weeks now.
Yesterday I had to reboot my Fritzbox and I forgot about the pi. So I switched of the fuse instead of trying to find the power adapter for the fritzbox (which is kind of complicated so using the fuse is like 100 times easier).

So pi was down, but now uprecords acts like the pi has never been running before.
Maybe thats due to not shutting it down properly, but anyway that stinks.

New uptime: 16 Hours.... :oops:
Not everything is great
User avatar
Posts: 9
Joined: Fri Jun 01, 2012 7:33 pm
Location: Germany
by RaTTuS » Sun Jul 01, 2012 7:45 am
uptimed works fine and as expected on wheezy
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX - Prosliver FTW
"That's not right, the badgers have moved the goalposts."
User avatar
Posts: 5003
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
by damocov » Fri Jul 06, 2012 12:30 am
Due to an enforced business trip to the us I haven't had three chance to tinker with either of my two pi's but a quick check of Webmin whilst i sit here in the airport at Boston tells me they have been up for 30 days and they are still talking to each other! I'll be playing with them again tomorrow and may get around to posting a note about my current project once I've got it fully running
Posts: 9
Joined: Tue May 29, 2012 10:38 pm