PDA

View Full Version : The Ubuntu uptime record thread



Hallvor
April 26th, 2007, 07:10 PM
The title says it all, and someone has to start. Anyone better? Shouldn`t be that hard.


top - 21:27:09 up 6 days, 23:23, 3 users, load average: 0.27, 0.16, 0.11
Tasks: 96 total, 1 running, 95 sleeping, 0 stopped, 0 zombie
Cpu(s): 10.0% us, 0.0% sy, 0.0% ni, 87.0% id, 2.0% wa, 0.3% hi, 0.7% si
Mem: 515940k total, 502972k used, 12968k free, 9252k buffers
Swap: 522072k total, 141192k used, 380880k free, 213832k cached

Uptime like that under Windows XP was unrealistic on my system. It would crawl after three days. After a week with Ubuntu and no restarts, the system is still snappy.

Swab
April 26th, 2007, 07:12 PM
top - 19:17:07 up 41 days, 22:09, 19 users, load average: 0.00, 0.00, 0.00
Tasks: 165 total, 1 running, 164 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1% us, 0.1% sy, 0.0% ni, 99.8% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 2073464k total, 1524000k used, 549464k free, 85632k buffers
Swap: 7807580k total, 60392k used, 7747188k free, 686692k cached

Hallvor
April 26th, 2007, 07:51 PM
Impressive. What are your specs?

Iarwain ben-adar
April 26th, 2007, 08:50 PM
top - 23:02:57 up 15 days, 5:08, 1 user, load average: 0.22, 0.08, 0.02
Tasks: 83 total, 1 running, 82 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.6%us, 1.9%sy, 0.0%ni, 91.9%id, 3.9%wa, 0.0%hi, 0.6%si, 0.0%st
Mem: 30000k total, 28680k used, 1320k free, 964k buffers
Swap: 1052216k total, 44740k used, 1007476k free, 11816k cached


This is run on a NSLU :D


Iarwain

PartisanEntity
April 26th, 2007, 08:51 PM
How do you get those nice figures? :)

AndyW
April 26th, 2007, 08:53 PM
my firewall has an uptime of 99 days:)
with a 100mhz processor and 40mb of ram

naughtywill
April 26th, 2007, 09:04 PM
Holy hell you can get up times like this from Linux? I really had no idea. I thought I was doing something special 2 nights ago when I left my machine on overnight and it did not skip a beat. I will really have to test it out now. My xp would sputter to a screeching halt if I left it on overnight trying to do some things. Hell it would sputter and stall when I would play some intensive games. The whole restarting thing every couple of hours was a bit retarded I though anyway. I will start the marathon Linux run tonight.....:guitar:

AndyCooll
April 26th, 2007, 09:22 PM
My file server is on all the time and can go for months on end without being rebooted, and I'm pretty sure there are plenty of guys on this forum who can give the same sort of testimony.

:cool:

Swab
April 26th, 2007, 09:32 PM
Impressive. What are your specs?

It's the main server at work. I keep thinking it must need more memory, but it's doing just fine :)

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 5
cpu MHz : 2399.766
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 4804.20

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 5
cpu MHz : 2399.766
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 4798.99

processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 5
cpu MHz : 2399.766
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 4799.02

processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) CPU 2.40GHz
stepping : 5
cpu MHz : 2399.766
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips : 4799.06

tkjacobsen
April 26th, 2007, 09:33 PM
This guy had 2003 days uptime on freebsd:
http://lists.freebsd.org/pipermail/freebsd-advocacy/2003-August/000225.html

Iceni
April 26th, 2007, 11:45 PM
How do you get those nice figures? :)

"Top" in the terminal ;)

PartisanEntity
April 26th, 2007, 11:47 PM
Okay, don't be jealous:


top - 00:46:14 up 5:20, 3 users, load average: 0.35, 0.34, 0.17
Tasks: 118 total, 3 running, 115 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.3%us, 1.0%sy, 0.0%ni, 92.0%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 2076016k total, 748824k used, 1327192k free, 37688k buffers
Swap: 2907724k total, 0k used, 2907724k free, 490932k cached

:) (it's a laptop)

beercz
April 26th, 2007, 11:50 PM
Type

uptime
in terminal

See:
http://ubuntuforums.org/showthread.php?t=337150
http://ubuntuforums.org/showthread.php?t=380696

Had a debian box stay up for 412 days once.

augied
April 27th, 2007, 12:05 AM
My fileserver once stayed up for 159 days before kernel updates forced me to reboot.

I've kept my laptop (which I use as a desktop) on for 3+ weeks a few times. The only maintenance needed was to restart Firefox occasionally.

XeroxGUI
September 24th, 2008, 04:34 AM
huh. you know kexec will allow you to update the kernel without doing a full reboot, but it resets the uptime :( . I will post screenshots later, but right now my web server cluster frontend's uptime is 48 (about to be 49) days according to the constant htop screen, the only server to not be headless out of 7.

The funny thing is it would be higher would kexec not have reset the uptime on the kernel .26-19 update. Unless the next kernel update is a huge bug or security fix, I'm not doing it. 2 slashdottings kept the servers down long enough due to the bandwidth (2Mbps up) being hosed to the tune of about 12,000 users per second, and my other webhosting clients were NOT amused :lolflag:.
But nonetheless I took htop and apache2/lighttpd screenshots throughout the slashdottings and if the uptime persists (that is, the UPSes powering this monster) then I'll post a screenshot.

Congrats to everyone else!

aaaantoine
September 24th, 2008, 04:40 AM
I've heard of people having uptimes measuring in years. But that's purely anecdotal.

I never noticed any performance crawl in Windows after having the computer on for multiple days. But likewise, I can leave my laptop on overnight in Ubuntu and not have any lapse in performance the next day. In fact, it's usually a little better because all the stuff I did the day before is cached (4GB RAM comes in handy, VirtualBox or not).

Oh, almost forgot:

23:41:01 up 1 day, 14:36, 2 users, load average: 2.71, 2.32, 2.26
Don't know what that 2 users thing is about, other than I appear to be logged in twice.

myusername
September 24th, 2008, 04:47 AM
I've heard of people having uptimes measuring in years. But that's purely anecdotal.

I never noticed any performance crawl in Windows after having the computer on for multiple days. But likewise, I can leave my laptop on overnight in Ubuntu and not have any lapse in performance the next day. In fact, it's usually a little better because all the stuff I did the day before is cached (4GB RAM comes in handy, VirtualBox or not).

Oh, almost forgot:

23:41:01 up 1 day, 14:36, 2 users, load average: 2.71, 2.32, 2.26
Don't know what that 2 users thing is about, other than I appear to be logged in twice.

your root user perhaps? did you just use sudo?

xeth_delta
September 24th, 2008, 04:51 AM
I've heard of people having uptimes measuring in years. But that's purely anecdotal.

I never noticed any performance crawl in Windows after having the computer on for multiple days. But likewise, I can leave my laptop on overnight in Ubuntu and not have any lapse in performance the next day. In fact, it's usually a little better because all the stuff I did the day before is cached (4GB RAM comes in handy, VirtualBox or not).

Oh, almost forgot:

23:41:01 up 1 day, 14:36, 2 users, load average: 2.71, 2.32, 2.26
Don't know what that 2 users thing is about, other than I appear to be logged in twice.

You can use


w

to see what users are logged to your machine.

That said, the current record for my machine would be at around 7 days (not much I know :p )
Currently:
06:53:04 up 4 days, 7:57, 1 user, load average: 0.66, 0.42, 0.27

RiceMonster
September 24th, 2008, 04:52 AM
The longest uptime I had was something like 20 days last month (that's on Arch).

Greyed
September 24th, 2008, 04:58 AM
BTW, if you're interested in your uptime records I suggest installing uptimed.



{grey@teleute:~} apt-cache show uptimed
Package: uptimed
Description: Utility to track your highest uptimes
Uptimed allows you to track your highest uptimes via boot IDs.
It uses the system boot time to keep sessions apart from each
other.
.
Features:
- Console program to display statistics
- Can send mail if a milestone or a new record is reached


From my home file server/router/torrent machine...



{grey@teleute:~} uptime
20:54:00 up 95 days, 23:39, 1 user, load average: 1.08, 1.05, 1.01


Not my record with that machine though and it doesn't have uptimed installed. I know it's been up close to 300 days but once or twice a year I get a hankering to try to fix what ain't broke mod the hardware or install Xen or something crazy like that. ;)

Here's my leased Xen box...


{grey@olethros:~} uprecords
# Uptime | System Boot up
----------------------------+---------------------------------------------------
1 335 days, 22:18:28 | Linux 2.6.16.33-vpsX Fri Oct 5 00:44:49 2007
-> 2 19 days, 00:54:18 | Linux 2.6.16.33-vpsX Thu Sep 4 23:01:57 2008
----------------------------+---------------------------------------------------
no1 in 316 days, 21:24:11 | at Thu Aug 6 21:20:03 2009


Huh, I didn't know it was rebooted 19 days ago. How interesting. Almost a year prior to that. How rude of them!

earthpigg
September 24th, 2008, 09:05 AM
37 days, 19 hours.

anyone got higher for a desktop in regular use to browse the web, talk on IM, etc, and not as a server?

i finally restarted cuz of updates...

(i will admit that i ctrl+alt+backspace'd several times in there)

JLB
September 24th, 2008, 10:53 AM
i just blew my 16 month + uptime on my FreeBSD server last week due to an extended power outage :( Any other time the power would go out, my UPS would keep that thing going. Ahh, to start all over again. :)