niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS
Question about the 497.1-day-uptime bug.
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Volker Halle
*nix forums beginner


Joined: 29 Jul 2005
Posts: 33

PostPosted: Thu Jul 20, 2006 6:38 am    Post subject: Re: Question about the 497.1-day-uptime bug. Reply with quote

AEF,

it is quite likely, that V6.1 could also exhibit this problem.

The 497.1 fix done to [SYS]WRTMFYPAG is dated MAY-1998. The most recent
available WORKING_SET_MANAGEMENT.EXE for V6.1 is dated APR-1996 (from
VAXSYS16_061).

And the code in V6.1 is the same, so the 'bug' is in there as well and
probably also in earlier versions.

Volker.
Back to top
AEF
*nix forums Guru


Joined: 27 Jul 2005
Posts: 516

PostPosted: Wed Jul 19, 2006 7:02 pm    Post subject: Re: Question about the 497.1-day-uptime bug. Reply with quote

JF Mezei wrote:
Quote:
AEF wrote:

Hello!

In VAX/VMS V6.2, there is the 497.1-day-uptime bug. Does anyone happen
to know if V6.1 also has this bug? I looked on the Web but couldn't
find anything. A description of the bug follows. Thanks!

Problems addressed in VAXSYSA02_062 kit

o If a system has been up for 497.1 days without rebooting, the
system cell EXE$GL_ABSTIM_TICS (number of 10 millisecond tics
since boot) will overflow.


Not sure about that particular bug, but there is a most excellent FAQ
item on the care and feeding of VAX TOY clocks.

[more about the VAX TOY clocks omitted]

I know that one. I run SET TIME between Jan 1 and Apr 1 on each VAX to
take care of that. This is something different.
Back to top
JF Mezei
*nix forums Guru


Joined: 21 Jul 2005
Posts: 2556

PostPosted: Wed Jul 19, 2006 6:57 pm    Post subject: Re: Question about the 497.1-day-uptime bug. Reply with quote

AEF wrote:
Quote:

Hello!

In VAX/VMS V6.2, there is the 497.1-day-uptime bug. Does anyone happen
to know if V6.1 also has this bug? I looked on the Web but couldn't
find anything. A description of the bug follows. Thanks!

Problems addressed in VAXSYSA02_062 kit

o If a system has been up for 497.1 days without rebooting, the
system cell EXE$GL_ABSTIM_TICS (number of 10 millisecond tics
since boot) will overflow.


Not sure about that particular bug, but there is a most excellent FAQ
item on the care and feeding of VAX TOY clocks.

Basically, the toy clock accumulates time since jan 1 of any year. The
number of bits in that register only allows up to 497 days.

Whenever you issue a SET TIME command to change the time, the TOY clock
is updated (so if you set time in January 1 at 00:00:01, the toy clock
gets back to a value near "1", and the SYS.EXE file is updated to
contain that fact as well as the current year.

So when you reboot, the system checks the time in SYS.EXE and the time
in the TOY clock. If the time in TOY is smaller than the time in
SYS.EXE, it is considered invalid.

So if you do not issue a SET TIME command within 3/4 months of january,
the TOY clock overflows and goes back to 0, at which point it is lower
than the value in SYS.EXE and considered invalid.
Back to top
AEF
*nix forums Guru


Joined: 27 Jul 2005
Posts: 516

PostPosted: Wed Jul 19, 2006 5:58 pm    Post subject: Question about the 497.1-day-uptime bug. Reply with quote

Hello!

In VAX/VMS V6.2, there is the 497.1-day-uptime bug. Does anyone happen
to know if V6.1 also has this bug? I looked on the Web but couldn't
find anything. A description of the bug follows. Thanks!

Problems addressed in VAXSYSA02_062 kit


o If a system has been up for 497.1 days without rebooting, the
system cell EXE$GL_ABSTIM_TICS (number of 10 millisecond tics
since boot) will overflow. This problem can cause some
processes to remain indefinitely in the RWMPB or COMO
scheduling state. Furthermore, candidate processes for Virtual
Balance Set Slot (VBSS) selection can be missed.

Code using the EXE$GL_ABSTIM_TICS cell to time other activity
could get stuck if a reference counter is large (FFFFxxxx) and
the EXE$GL_ABSTIM_TICS value is low due to the overflow
(0000xxxx). Most such checks compare to see if the number of
tics is larger than the reference value, i.e. has the event
come due?
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
The time now is Thu Dec 04, 2008 4:15 am | All times are GMT
navigation Forum index » Not Unix » VMS
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Newbie question: How to forward a domain to a mailbox? leei Postfix 0 Fri Aug 24, 2007 4:55 pm
No new posts configuration question for httpd Karl Wang Apache 1 Fri Jul 21, 2006 2:10 pm
No new posts nim problem/question Ron AIX 0 Fri Jul 21, 2006 1:57 pm
No new posts question for JAVA developer who r using postgres sql as b... deepak pal PostgreSQL 1 Fri Jul 21, 2006 9:00 am
No new posts Encryption Question dtuttle1@gmail.com Berkeley DB 2 Thu Jul 20, 2006 10:09 pm

Online Advertising | Mortgages | Debt Consolidation | Property for sale in Spain | Electrical Shops
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1785s ][ Queries: 20 (0.0960s) ][ GZIP on - Debug on ]