> -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list- > bounces@xxxxxxxxxx] On Behalf Of Ben Russo > Sent: Tuesday, April 12, 2005 8:32 AM > To: redhat-list@xxxxxxxxxx > Subject: ps shows wierd clock time values ? > > Today I looked at a system that has weird timestamp/clock issues? > Anybody seen this before, know what it is? > I have some excerpts of commands below that demonstrate the issue. > Please note the 2006, and April 15 dates on some of the processes and > file timestamps as well as process times last year, when the "uptime" > says only 17 days (March 25th).... But I could swear that the box has > been up for a LONG time (like maybe 2+ years?) > Doesn't make sense. What you are seeing are symptoms of the "jiffies overflow" bug. The problem is that uptime and process related time values are stored as a 32 bit values which contain the number of jiffies elapsed (jiffie = 1/100th second). Basically the counter overflows after 497 days of uptime and the symptoms your system exhibits appear. Upgrading the kernel to a more recent version should fix the issue. > > This is our billing server, so if the system clock/date is skewing > wildly this could cause havoc with our accounting. > > > [root@harp2 root]# cat /etc/redhat-release ; date ; ntpq -np ; ps -ef | > grep ntp ; ps -ef ; ls -l /var/lock/subsys/* ; ps -ef | grep xfs > > Red Hat Linux Advanced Server release 2.1AS (Pensacola) > > Tue Apr 12 11:06:08 EDT 2005 > > remote refid st t when poll reach delay offset > jitter > ======================================================================== == > ==== > *172.17.3.47 208.224.248.17 3 u 183 1024 377 0.963 -0.049 > 0.076 > +172.17.3.253 208.224.248.18 3 u 691 1024 377 0.971 0.455 > 0.391 > +172.17.200.63 208.224.248.18 3 u 543 1024 377 110.811 -18.125 > 23.673 > > ntp 2112 1 0 Nov24 ? 00:00:11 ntpd -U ntp -p > /var/run/ntpd.pid > > > root 24347 21094 0 11:06 pts/9 00:00:00 grep ntp > UID PID PPID C STIME TTY TIME CMD > root 1 0 0 Mar25 ? 00:02:47 init [3] > root 2 1 0 Mar25 ? 00:00:00 [keventd] > root 3 1 0 Mar25 ? 00:00:00 [keventd] > root 4 0 0 Mar25 ? 00:00:27 [ksoftirqd_CPU0] > root 5 0 0 Mar25 ? 00:01:19 [ksoftirqd_CPU1] > root 6 0 0 Mar25 ? 02:06:02 [kswapd] > root 7 0 0 Mar25 ? 00:00:00 [kreclaimd] > root 8 0 0 Mar25 ? 00:03:10 [krefilld] > root 9 0 0 Mar25 ? 00:05:59 [bdflush] > root 10 0 0 Mar25 ? 00:00:19 [kupdated] > root 11 1 0 Mar25 ? 00:00:00 [mdrecoveryd] > root 17 1 0 Mar25 ? 00:00:00 [aacraid] > root 18 1 0 Mar25 ? 00:00:00 [scsi_eh_0] > root 21 1 0 Mar25 ? 00:05:03 [kjournald] > .... > root 639 1 0 Mar25 ? 00:00:01 inetd > root 731 1 0 Mar25 ? 00:00:03 sendmail: accepting > connections > dbadmin 1331 1 0 Mar25 ? 00:01:29 caplog > dbadmin 3185 1 0 Mar25 ? 00:00:09 forwardlog harp2 > oracle 17916 1 0 Mar30 ? 00:00:00 -bash > dbadmin 12403 1 0 Mar31 ? 00:00:01 caplog -s 1 > xfs 21632 1 0 Apr15 ? 00:00:00 xfs -droppriv -daemon > root 21879 1 0 Apr15 ? 00:00:00 login -- root > root 23612 21879 0 Apr15 tty1 00:00:00 -bash > dbadmin 19199 1 0 Jun01 ? 00:00:05 /bin/ksh > /u2/batch/bin/v51watch. > root 28152 1 0 Jun16 tty2 00:00:00 /sbin/mingetty tty2 > root 20657 1 0 Jun19 ? 00:00:00 /usr/bin/python > /usr/sbin/rhn_ch > root 10000 1 0 Aug09 ? 00:00:00 /usr/bin/python > /usr/sbin/rhn_ch > root 14317 1 0 Aug13 ? 00:00:00 /usr/bin/python > /usr/sbin/rhn_ch > tomcat4 25035 1 0 Sep12 ? 00:00:02 > /usr/java/j2sdk1.4.2_02/bin/java > ... > root 25205 1 0 Sep12 ? 00:00:06 /usr/sbin/httpd > -DHAVE_ACCESS -D > tomcat4 16379 25038 0 Sep22 ? 00:00:00 > /usr/java/j2sdk1.4.2_02/bin/java > tomcat4 16381 25038 0 Sep22 ? 00:00:00 > /usr/java/j2sdk1.4.2_02/bin/java > dbadmin 16369 1 0 Nov08 ? 00:00:57 /bin/ksh > ./report_ftp_search.sh > root 31818 1 0 Nov21 ? 00:02:12 xinetd -stayalive > -pidfile /var/ > ntp 2112 1 0 Nov24 ? 00:00:11 ntpd -U ntp -p > /var/run/ntpd.pid > lp 15509 1 0 Dec12 ? 00:00:00 lpd Waiting > ... > dbadmin 17501 14066 0 Dec27 ? 00:00:00 [IMPO <defunct>] > dbadmin 17727 14066 0 Dec27 ? 00:00:00 [IMPO <defunct>] > dbadmin 17782 14066 0 Dec27 ? 00:00:00 [IMPO <defunct>] > dbadmin 5565 1 0 2006 ? 00:00:00 /bin/ksh > /u2/outclear/billing/ci > dbadmin 5577 5565 0 2006 ? 00:00:00 /bin/sh > /u2/outclear/bin/billing > dbadmin 32343 1 0 2006 ? 00:00:00 pgp -ks 0x58453DD3 -u > TNSNDM01 > dbadmin 20757 1 0 2006 ? 00:07:10 /bin/ksh > /u2/batch/bin/webwatch. > root 16793 1 0 2006 ? 00:00:06 crond > root 17523 1 0 2006 ? 00:05:06 /usr/sbin/sshd > root 17567 1 0 2006 ? 00:02:44 syslogd -m 0 > root 17572 1 0 2006 ? 00:00:00 klogd -2 > root 30732 17523 0 Apr04 ? 00:00:01 /usr/sbin/sshd > lowellc 30733 30732 0 Apr04 pts/7 00:00:00 -ksh > root 30751 30733 0 Apr04 pts/7 00:00:00 su - dbadmin > dbadmin 30752 30751 0 Apr04 pts/7 00:00:00 -ksh > root 4262 17523 0 Apr05 ? 00:00:00 /usr/sbin/sshd > lowellc 4276 4262 0 Apr05 pts/8 00:00:00 -ksh > root 4301 4276 0 Apr05 pts/8 00:00:00 su - dbadmin > dbadmin 4307 4301 0 Apr05 pts/8 00:00:00 -ksh > dbadmin 25975 30752 0 Apr11 pts/7 00:00:00 ping guinness1 > dbadmin 25976 30752 0 Apr11 pts/7 00:00:00 ping > guinness2.red.tnsi.com > dbadmin 32101 30752 0 Apr11 pts/7 00:00:00 grep -i c > apache 1099 25205 0 04:02 ? 00:00:00 /usr/sbin/httpd > -DHAVE_ACCESS -D > ... > apache 1109 25205 0 04:02 ? 00:00:00 /usr/sbin/httpd > -DHAVE_ACCESS -D > tomcat4 1111 25038 0 04:02 ? 00:00:00 > /usr/java/j2sdk1.4.2_02/bin/java > dbadmin 8319 30752 0 08:32 pts/7 00:00:00 ping 10.62.4.56 > ... > dbadmin 24292 22272 0 11:05 pts/7 00:00:00 /bin/ksh > /u2/idplus/bin/format_o > dbadmin 24314 24292 0 11:06 pts/7 00:00:00 /bin/ksh > /u2/idplus/bin/run_idpl > dbadmin 24342 24314 0 11:06 pts/7 00:00:00 sleep 1 > root 24348 21094 0 11:06 pts/9 00:00:00 ps -ef > > > > -rw-r--r-- 1 root root 0 Nov 24 17:10 > /var/lock/subsys/crond > -rw-r--r-- 1 root root 0 May 3 2004 > /var/lock/subsys/httpd > -rw-r--r-- 1 root root 0 Nov 14 2003 > /var/lock/subsys/inet > -rw-r--r-- 1 root root 0 Nov 14 2003 > /var/lock/subsys/keytable > -rw-r--r-- 1 root root 0 Nov 14 2003 > /var/lock/subsys/kudzu > -rw-r--r-- 1 root root 0 Nov 14 2003 > /var/lock/subsys/local > -rw-r--r-- 1 root root 0 Aug 2 2004 > /var/lock/subsys/lpd > -rw-r--r-- 1 root root 0 Nov 14 2003 > /var/lock/subsys/network > -rw-r--r-- 1 root root 0 Jul 15 2004 > /var/lock/subsys/ntpd > -rw-r--r-- 1 root root 0 Nov 14 2003 > /var/lock/subsys/random > -rw-r--r-- 1 root root 0 Nov 14 2003 > /var/lock/subsys/sendmail > -rw-r--r-- 1 root root 0 Nov 24 17:13 > /var/lock/subsys/sshd > -rw------- 1 root root 0 Nov 24 17:13 > /var/lock/subsys/syslog > -rw-r--r-- 1 root root 0 May 3 2004 > /var/lock/subsys/tomcat4 > > -rw-r--r-- 1 root root 0 Dec 5 2003 > /var/lock/subsys/xfs > > -rw-r--r-- 1 root root 0 Jul 12 2004 > /var/lock/subsys/xinetd > > > xfs 21632 1 0 Apr15 ? 00:00:00 xfs -droppriv -daemon > root 24351 21094 0 11:06 pts/9 00:00:00 grep xfs > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list