LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-14-2004, 11:13 AM   #1
SkiTz0.BiLL-BoB
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: SuSE 11.2
Posts: 7

Rep: Reputation: 0
Question uptime has reset itself, but the machine hasnt rebooted


Is there somethign I don't know? how can the uptime now be 18hrs when 2 days ago it was 58days (or so).. the machine is a server (SuSE 9) but only has 2 ports open to the world, proftpd and poptop (FTP & VPN) both the latest versions. The rest are behind a router/switch & software firewall.

I've been running this install for 6 months and never has this happened, i've tried a few different ways of getting the uptime, but it seems /proc/uptime is saying 18hrs so all i get back is 18hrs.

I've gone through some logs files, and looked around the time the pc "reset" and nothing unusual, it cant reboot anyway, the boot manager is passworded and all my processes are still fine.

Anybody got any light to shed?
 
Old 03-14-2004, 11:43 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Not totally sure but maybe the /proc/uptime file got reset somehow, maybe deleted, etc.
 
Old 03-14-2004, 01:33 PM   #3
SkiTz0.BiLL-BoB
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: SuSE 11.2
Posts: 7

Original Poster
Rep: Reputation: 0
thx for your reply, i've done enough asking around now to answer the question myself... the reason is..

Quote:
this is because you're running a kernel where the "ticks" (the internal
counter the kernel uses to keep time) are ten times more than a regular
kernel. A regular kernel resets the uptime after roughly 497 days, because
the counter can't hold bigger values. Your kernel reaches this level after a
tenth, or about 49.7 days

The higher tick rate is supposed to give a better desktop experience
[ http://lists.suse.com/archive/suse-l...-Jan/3769.html ]

If anybody can tell me how to change this ticks value then please do, otherwise i shall just accept it (even though its a server, not desktop).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW my machine got rebooted??? Rinish Linux - Security 9 08-29-2005 08:53 AM
my machine was suddently rebooted Menestrel Linux - Security 5 11-23-2004 04:56 AM
Who rebooted my server ? and why ? itselango Linux - Security 5 09-23-2004 02:01 AM
Who rebooted my server and why ? itselango Linux - Newbie 2 09-22-2004 03:51 PM
if i run iptables-save ... is it permanent even if machine is rebooted? kublador Linux - General 4 08-31-2004 11:25 PM


All times are GMT -5. The time now is 06:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration