올해가 윤초(Leap Second) 가 발생되는 2012년 이라고 한다.

ex)

—————————————————————————-

Sat Jun 30 23:59:60 2012 <== 6월30일 23시59분60초 발생

Sun Jul  1 00:00:00 2012

—————————————————————————-

해당  상황이 되면 기존 59 초로 마무리되는 시간에 60초라는 1초의 값을 추가(또는 삭제도 되려나?)

시켜서 태양력과 원자력의 시간 간격을 조정한다고 한다.

@ 윤초(Leap Second)란?:

Link 1 : http://www.bek.me/index.php?document_srl=333668&mid=news

Link 2 : http://www.meinberg.de/english/info/leap-second.htm

 

해당 내용을 보면… 일반적인 경우엔…
————————————–
2005-12-31 23.59.57
2005-12-31 23.59.58
2005-12-31 23.59.59
2006-01-01 00.00.00
2006-01-01 00.00.01
2006-01-01 00.00.02
————————————–

 

이런식으로 시간이 지나 가지만… 해당 윤초가 발생되면
————————————–
2005-12-31 23.59.57 2
2005-12-31 23.59.58
2005-12-31 23.59.59
2005-12-31 23.59.60 <– leap second
2006-01-01 00.00.00
2006-01-01 00.00.01
2006-01-01 00.00.02

————————————–

 

위처럼 59분 60초 라는 결과까지 카운트가 되면서 1초가 추가되는 현상 생기는것 같다.
이 이슈는 time zone 에 따라서 발생되는걸로 보이며 아래의 명령어로 언제 Leap Second 가
발생될지 확인 가능 하다.

 

#zdump -v right/UTC

 

@ 한국 시간 확인

#zdump -v right/Asia/Seoul

 

위 명령으로 확인 하였을때 최신 버전의 tzdata 가 아니라면 Leap Second 관련
Time List 확인이 안 된다.

 

@ RHEL Leap Second Hang Issue

Link : https://access.redhat.com/knowledge/articles/15145 (RHN ID 필요)

 

#kernel Update
RHEL 4    kernel-2.6.9-89.EL         4.8    RHSA-2009:1024-1
RHEL 5    kernel-2.6.18-164.el5    5.4    RHSA-2009:1243-3
RHEL 6    RHEL 6 kernel is not affected by this problem

Please note that PPC and IA64 kernels may not insert the leap second properly.

For systems running on those architectures, the method below for systems not

running NTP should be used.

 

#tzdata Update ( 2012 Leap Second )
RHEL 3    tzdata-2011n-2.el3
RHEL 4    tzdata-2011n-2.el4
RHEL 5    tzdata-2011n-2.el5
RHEL 6    tzdata-2011n-2.el6

For additional information on the update to tzdata, please refer to RHEA-2012:0356-1 tzdata

 

업데이트 후 각 지역에 맞는 zoneinfo 파일을 아래와 같이 overwrite 한다.
한국 zoneinfo 파일은 /usr/share/zoneinfo/right/Asia/Seoul 이다.

*) tzdata 를 update 하게되면 Leap Second 가 List UP 되므로 kernel update 가 안 되어 있는 서버라면

해당 기간엔 tzdata update 를 자제하길 바란다.

 

#cp /usr/share/zoneinfo/right/Asia/Seoul /etc/localtime

 

@ Debian Leap Second Hang Issue

Link : http://lists.debian.org/debian-user/2005/12/msg03343.html

 

[2012/07/01]

찾아본 결과 java 쪽도 별도의 tzdata 를 가지고 update 를 하는걸로 보인다.

### Timezone Updater Tool for java
Link : http://www.oracle.com/technetwork/java/javase/tzupdater-readme-136440.html

 

RHEL 제품의 RPM 을 보면

tzdata-2012c-1.el5
tzdata-java-2012c-1.el5

이런식으로 java 용 tzdata 가 존재한다.

 

그 외… 이번 leap second 이슈는 OS 부분에서만 발생되는게 아닌것으로 보인다.

[java]
Link : http://forums.pentaho.com/showthread.php?98217-Java-leap-second-bug-how-to-fix-your-broken-servers
Link : http://remibergsma.wordpress.com/2012/07/01/high-cpu-load-on-cloudstack-management-servers-after-leap-second-3062012235959-utc/
Link : http://www.mail-archive.com/user@cassandra.apache.org/msg23462.html

[mysql]
Link : http://blog.mozilla.org/it/2012/06/30/mysql-and-the-leap-second-high-cpu-and-the-fix/
Link : http://planet.mysql.com/entry/?id=33709
Link : http://planet.mysql.com/

[amazone]
Link : https://forums.aws.amazon.com/thread.jspa?messageID=360449&tstart=0

 

그리고 아래의 링크에 leap second 조취 방법은 아래와 같다.

Link : http://pedroalves-bi.blogspot.kr/2012/07/java-leap-second-bug-how-to-fix-your.html

[RHEL]

/etc/init.d/ntpd stop;export LANG=C;date;date `date +”%m%d%H%M%C%y.%S”`;date

ntp daemon 을 stop 시키고 date 를 실행하여 시간 데이터를 초기화 시킨다.

 

[2012/07/02]

레드헷 커스터머포털 메인에 “Learn more about how Red Hat Enterprise Linux supports leap seconds. ( RHN ID 필요 ) ”

이란 내용이 걸리고 아래와 같은 이슈 사항들이 공유 되었습니다.

 

High CPU Usage after inserting the leap second.
– After the insertion of the leap second several processes, notably java, were reporting a High CPU usage.
Link : https://access.redhat.com/knowledge/solutions/154793 ( RHN ID 필요 )

해당 이슈를 보면 java 프로세스가 100% 이상의 사용률을 보입니다.

그리고 call trace 에 ktime_get 관련 내용도 발생 될 수 있습니다.

해결 방법은

#export LANG=C 
#date -s "`date`" >> 해당 내용은 수동으로 사간값을 초기화 하는 것 이라고 합니다. 위의 7월 1일 회피 방법과 비슷 하다고 보면 될듯 하다. 

Systems hang due to leap-second livelock.
– Systems repeatedly crash due to NMI Watchdog detecting a hang. There are two similar backtraces that appear to be related to this issue.
Link : https://access.redhat.com/knowledge/solutions/154713 ( RHN ID 필요 )

위 이슈는 RHEL6 에 해당되는 이슈 입니다.

Share/Bookmark

8 Thoughts on “(Linux) Leap second message Issue 2012

  1. Its like you read my thoughts! You appear to understand
    a lot approximately this, like you wrote the e book
    in it or something. I think that you just can do with some p.
    c. to drive the message house a bit, but other than that, that is great blog.
    A fantastic read. I’ll certainly be back.

  2. Hello there, I discovered your site by the use of Google even as looking for a related
    matter, your site came up, it looks good. I’ve bookmarked it in my google bookmarks.
    Hi there, simply turned into aware of your blog thru Google, and found that it’s truly informative.
    I’m gonna be careful for brussels. I’ll appreciate in the event
    you proceed this in future. A lot of other people will likely be benefited from your writing.
    Cheers!

  3. Excellent enthusiastic analytical attention with regard to details and may foresee complications prior to they
    happen.

  4. Excellent confident synthetic vision to get details and can foresee troubles
    before these people take place.

  5. I have a happy synthetic attention meant for details and can foresee issues prior to these people happen.

    My site – regenerate
    regeneration
    regenerative
    regenerative cooling
    regenerator
    regent
    regicide
    regime
    regimen
    regiment
    regimentals
    region
    regional
    regionalism
    register
    register ton
    registered
    registered bond
    registered nurse
    registered representative
    registrant
    registrar
    registration
    registry
    registry office
    reglet
    regnal
    regnant
    regolith
    regorge
    regrate
    regress
    regression
    regressive
    regret
    regretful
    regulable
    regular
    regular year
    regularize
    regularly
    regulate
    regulation
    regulator
    regulus
    regurgitate
    regurgitation
    rehabilitate
    rehabilitation
    rehash
    rehearing
    rehearsal
    rehearse
    reheat
    reify
    reign
    reimburse
    reimport
    reimpression
    rein
    rein in
    reincarnate
    reincarnation
    reindeer
    reindeer moss
    reinforce
    reinforced concrete
    reinforcement
    reins
    reinstate
    reinsure
    reis
    reiterant
    reiterate
    reive
    reject
    rejection
    rejoice
    rejoin
    rejoinder
    rejuvenate
    rel.
    relapse
    relapsing fever
    relate
    related
    relation
    relational
    relations
    relationship
    relative
    relative aperture
    relative bearing
    relative density
    relative frequency
    relative humidity
    relativistic
    relativity
    relativize
    relator
    relax
    relaxation
    relay
    relay race
    release
    release therapy
    relegate
    relent
    relentless
    relevance
    relevant
    reliable
    reliance
    reliant
    relic
    relict
    relief
    relief map
    relieve
    religieuse
    religieux
    religion
    religionism
    religiose
    religiosity
    religious
    relinquish
    reliquary
    relique
    reliquiae
    relish
    relive
    relucent
    reluct
    reluctance
    reluctant
    reluctivity
    relume
    rely
    remain
    remainder
    remainderman
    remains
    remake
    remand
    remand home
    remanence
    remanent
    remark
    remarkable
    remarque
    rematch
    remediable
    remedial
    remediless
    remedy
    remember
    remembrance
    remembrancer
    remex
    remind
    remindful
    reminisce
    reminiscence
    reminiscent
    remise
    remiss
    remissible
    remission
    remit
    remittance
    remittance man
    remittee
    remittent
    remitter
    remnant
    remodel
    remonetize
    remonstrance
    remonstrant
    remonstrate
    remontant
    remora
    remorse
    remorseful
    remorseless
    remote
    remote control
    remotion
    remount
    removable
    removal
    remove
    removed
    remunerate
    remuneration
    remunerative
    renaissance
    renal
    renascence
    renascent
    rencontre
    rend
    render
    rendering
    rendezvous
    rendition
    renegade
    renegado
    renege
    renew
    renewal
    reni-
    renin
    renitent
    rennet
    rennin
    renounce
    renovate
    renown
    renowned
    rensselaerite
    rent
    rent-free
    rent-roll
    rental
    renter
    rentier
    renunciation
    renvoi
    reopen
    reorder
    reorganization
    reorganize
    reorientation
    rep
    rep.
    repair
    repairer
    repairman
    repand
    reparable
    reparation
    reparative
    repartee
    repartition
    repast
    repatriate
    repay
    repeal
    repeat
    repeated
    repeater
    repeating decimal
    repel
    repellent
    repent
    repentance
    repentant
    repercussion
    repertoire
    repertory
    repertory company
    repetend
    repetition
    repetitious
    repetitive
    rephrase
    repine
    replace
    replacement
    replay
    replenish
    replete
    repletion
    replevin
    replevy
    replica
    replicate
    replication
    reply
    report
    reportage
    reporter
    reportorial
    repose
    reposeful
    reposit
    reposition
    repository
    repossess
    repp
    reprehend
    reprehensible
    reprehension
    represent
    representation
    representational
    representationalism
    representative
    repress
    repression
    repressive
    reprieve
    reprimand
    reprint
    reprisal
    reprise
    repro
    repro proof
    reproach
    reproachful
    reproachless
    reprobate
    reprobation
    reprobative
    reproduce
    reproduction
    reproduction proof
    reproductive
    reprography
    reproof
    reprovable
    reproval
    reprove
    rept.
    reptant
    reptile
    reptilian
    republic
    republic of letters
    republican
    republicanism
    republicanize
    repudiate
    repudiation
    repugn
    repugnance
    repugnant
    repulse
    repulsion
    repulsive
    repurchase
    reputable
    reputation
    repute
    reputed
    req.
    request
    requiem
    requiem shark
    requiescat
    requiescat in pace
    require
    requirement
    requisite
    requisition
    requital
    requite
    reredos
    reremouse
    rerun
    res adjudicata
    res gestae
    res judicata
    res publica
    resale
    rescind
    rescission
    rescissory
    rescript
    rescue
    research
    reseat
    reseau
    resect
    resection
    reseda
    resemblance
    resemble
    resent
    resentful
    resentment
    reserpine
    reservation
    reserve
    reserve bank
    reserved
    reservist
    reservoir
    reset
    resh
    reshape
    reside
    residence
    residency
    resident
    resident commissioner
    residential
    residentiary
    residual
    residuary
    residue
    residuum
    resign
    resignation
    resigned
    resile
    resilience
    resilient
    resin
    resinate
    resiniferous
    resinoid
    resinous
    resist
    resistance
    resistance thermometer
    resistant
    resistive
    resistless
    resistor
    resnatron
    resojet engine
    resoluble
    resolute
    resolution
    resolutive
    resolvable
    resolve
    resolved
    resolvent
    resonance
    resonant
    resonant cavity
    resonate
    resonator
    resorcinol
    resort
    resound
    resource
    resourceful
    resp.
    respect
    respectability
    respectable
    respectful
    respecting
    respective
    respectively
    respirable
    respiration
    respirator
    respiratory
    respire
    respite
    resplendence
    resplendent
    respond
    respondence
    respondent
    response
    responser
    responsibility
    responsible
    responsion
    responsive
    responsiveness
    responsory
    responsum
    rest
    rest home
    rest mass
    rest room
    restate
    restaurant
    restaurateur
    restful
    restharrow
    resting
    resting place
    restitution
    restive
    restless
    restoration
    restorative
    restore
    restrain
    restrained
    restrainer
    restraint
    restraint of trade
    restrict
    restricted
    restriction
    restrictive
    result
    resultant
    resume
    resumption
    resupinate
    resupine
    resurge
    resurgent
    resurrect
    resurrection
    resurrection plant
    resurrectionism
    resurrectionist
    resuscitate
    resuscitator
    ret
    retable
    retail
    retain
    retained object
    retainer
    retaining wall
    retake
    retaliate
    retaliation
    retard
    retardant
    retardation
    retarded
    retarder
    retardment
    retch
    retd.
    rete
    retene
    retention
    retentive
    retentivity
    rethink
    retiarius
    retiary
    reticent
    reticle
    reticular
    reticulate
    reticulation
    reticule
    reticulum
    retiform
    retina
    retinite
    retinitis
    retinol
    retinoscope
    retinoscopy
    retinue
    retire
    retired
    retirement
    retiring
    retool
    retorsion
    retort
    retortion
    retouch
    retrace
    retract
    retractile
    retraction
    retractor
    retrad
    retral
    retread
    retreat
    retrench
    retrenchment
    retribution
    retributive
    retrieval
    retrieve
    retriever
    retro-
    retroact
    retroaction
    retroactive
    retrocede
    retrochoir
    retroflex
    retroflexion
    retrogradation
    retrograde
    retrogress
    retrogression
    retrogressive
    retrorocket
    retrorse
    retrospect
    retrospection
    retrospective
    retroversion
    retrusion
    retsina
    return
    return ticket
    returnable
    returnee
    returning officer
    retuse
    reunion
    reunionist
    reunite
    rev
    rev.
    revalue
    revamp
    revanche
    revanchism
    reveal
    revealment
    revegetate
    reveille
    revel
    revelation
    revelationist
    revelatory
    revelry
    revenant
    revenge
    revengeful
    revenue
    revenue cutter
    revenue tariff
    revenuer
    reverberate
    reverberation
    reverberator
    reverberatory
    revere
    reverence
    reverend
    reverent
    reverential
    reverie
    revers
    reversal
    reverse
    reversible
    reversion
    reversioner
    reverso
    revert
    revest
    revet
    revetment
    review
    reviewer
    revile
    revisal
    revise
    revision
    revisionism
    revisionist
    revisory
    revitalize
    revival
    revivalism
    revivalist
    revive
    revivify
    reviviscence
    revocable
    revocation
    revoice
    revoke
    revolt
    revolting
    revolute
    revolution
    revolutionary
    revolutionist
    revolutionize
    revolve
    revolver
    revolving
    revolving credit
    revolving door
    revolving fund
    revue
    revulsion
    revulsive
    reward
    rewarding
    rewire
    reword
    rework
    rewrite
    rhabdomancy
    rhachis
    rhamnaceous
    rhapsodic
    rhapsodist
    rhapsodize
    rhapsody
    rhatany
    rhea
    rhenium
    rheo-
    rheo.
    rheology
    rheometer
    rheostat
    rheotaxis
    rheotropism
    rhesus
    rhet.
    rhetor
    rhetoric
    rhetorical
    rhetorical question
    rhetorician
    rheum
    rheumatic
    rheumatic fever
    rheumatism
    rheumatoid
    rheumatoid arthritis
    rheumy
    rhigolene
    rhinal
    rhinarium
    rhinencephalon
    rhinestone
    rhinitis
    rhino
    rhino-
    rhinoceros
    rhinoceros beetle
    rhinology
    rhinoplasty
    rhinoscopy
    rhizo-
    rhizobium
    rhizocarpous
    rhizogenic
    rhizoid
    rhizome
    rhizomorphous
    rhizopod
    rhizotomy
    rhodamine
    rhodic
    rhodium
    rhododendron
    rhodolite
    rhodonite
    rhomb
    rhombencephalon
    rhombic
    rhombohedral
    rhombohedron
    rhomboid
    rhombus
    rhonchus
    rhotacism
    rhubarb
    rhumb
    rhumb line
    rhyme
    rhyme royal
    rhyme scheme
    rhymester
    rhyming slang
    rhynchocephalian
    rhyolite
    rhythm
    rhythm method
    rhythm-and-blues
    rhythmical
    rhythmics
    rhythmist
    rhyton
    ria
    rial
    rialto
    riant
    riata
    rib
    ribald
    ribaldry
    riband
    ribband
    ribbing
    ribbon
    ribbon development
    ribbon worm
    ribbonfish
    ribbonwood
    riboflavin
    ribonuclease
    ribonucleic acid
    ribose
    ribosomal RNA
    ribosome
    ribwort
    rice
    rice paper
    ricebird
    ricer
    ricercar
    ricercare
    rich
    rich rhyme
    riches
    richly
    ricinoleic acid
    ricinus oil
    rick
    rickets
    rickettsia
    rickety
    rickey
    rickrack
    ricochet
    ricotta
    rictus
    rid
    riddance
    ridden
    riddle
    ride
    ride down
    ride out
    rident
    rider
    ridge
    ridgeling
    ridgepole
    ridicule
    ridiculous
    riding
    riding crop
    riding habit
    riding light
    riding school
    ridotto
    riel
    rife
    riff
    riffle
    riffraff
    rifle
    rifle grenade
    rifle range
    rifleman
    riflery
    rifling
    rift
    rig
    rig out
    rig up
    rigadoon
    rigamarole
    rigatoni
    rigger
    rigging
    rigging loft
    right
    right angle
    right ascension
    right away
    right field
    right hand
    right of way
    right off
    right triangle
    right whale
    right wing
    right-angled triangle
    right-hand
    right-hand man
    right-handed
    right-hander
    right-minded
    righteous
    righteousness
    rightful
    rightism
    rightist
    rightly
    rightness
    rights
    rightward
    rightwards
    rigid
    rigidify
    rigmarole
    rigor
    rigor mortis
    rigorism
    rigorous
    rigsdaler
    rile
    rilievo
    rill
    rillet
    rim
    rime
    rimester
    rimose
    rimple
    rimrock
    rind
    rinderpest
    ring
    ring finger
    ring in
    ring out
    ring ouzel
    ring road
    ring up
    ring-necked
    ring-necked pheasant
    ring-tailed
    ring-tailed cat
    ringdove
    ringed
    ringed plover
    ringent
    ringer
    ringhals
    ringleader
    ringlet
    ringmaster
    ringside
    ringster
    ringtail
    ringworm
    rink
    rinse
    riot
    riotous
    rip
    rip cord
    rip-roaring
    riparian
    ripe
    ripen
    ripieno
    riposte
    ripping
    ripping bar
    ripple
    ripple mark
    ripplet
    ripply
    ripsaw
    riptide
    rise
    rise above
    riser
    rishi
    risibility
    risible
    rising
    risk
    risk capital
    risky
    risotto
    rissole
    rit.
    ritardando
    rite
    rite of passage
    ritenuto
    ritornello
    ritual
    ritual murder
    ritualism
    ritualist
    ritualize
    ritzy
    riv.
    rivage
    rival
    rivalry
    rive
    riven
    river
    river horse
    riverhead
    riverine
    riverside
    rivet
    rivulet
    rix-dollar
    riyal
    rm.
    rms
    roach
    road
    road agent
    road hog
    road metal
    road show

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다.

다음의 HTML 태그와 속성을 사용할 수 있습니다: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation