Search squid archive

RE: RE: Squid Up Time is shown as negative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I started the box and for a minute didn't see the negative up time but one minute later I again saw that Squid cachemgr is again reporting the negative uptime. Can you suggest what is going wrong?

Regards,
Saurabh

-----Original Message-----
From: Saurabh Agarwal 
Sent: Tuesday, March 29, 2011 11:25 AM
To: Keith Chadwick; squid-users@xxxxxxxxxxxxxxx
Subject: RE:  RE: Squid Up Time is shown as negative

I am checking if someone tried changing the system time. Thank You Keith.

Regards,
Saurabh

-----Original Message-----
From: Keith Chadwick [mailto:chadwick@xxxxxxxx] 
Sent: Tuesday, March 29, 2011 10:54 AM
To: Saurabh Agarwal; squid-users@xxxxxxxxxxxxxxx
Subject: RE:  RE: Squid Up Time is shown as negative

Another possibility is that when your system booted, it started with
a initial system boot time "in the future", and the boot time was later
"corrected" in the system startup by ntp synchronization.

-Keith.

At 10:44 AM +0530 3/29/11, Saurabh Agarwal wrote:
>  >From the first I get "1301274733" and from the second I get "1301299358"
>
>Regards,
>Saurabh
>
>-----Original Message-----
>From: Keith Chadwick [mailto:chadwick@xxxxxxxx]
>Sent: Tuesday, March 29, 2011 10:39 AM
>To: Saurabh Agarwal; squid-users@xxxxxxxxxxxxxxx
>Subject:  RE: Squid Up Time is shown as negative
>
>  From the looks of your output, it appears to be a counter wrapping issue.
>
>If you are using RHEL or RHEL compatible distribution, what do the
>following commands return?
>
>	cat /proc/stat | grep btime | awk -F ' ' '{print $2}'
>and
>	date +"%s"
>
>The first should list the system boottime in seconds from the UNIX epoch,
>the second should list the current epoch time.
>
>-Keith.
>
>At 10:28 AM +0530 3/29/11, Saurabh Agarwal wrote:
>>Resending since earlier mail text got poorly mixed.
>>
>>Hi All
>>
>>I am using Squid-2.7.Stable7. The cachemgr info using "squidclient
>>-h ip mgr:info" is showing uptime as negative. Below is the output
>>from cachemgr. All other output is right and is being shown as +ve.
>>
>>Resource usage for squid:
>>          UP Time:        -49193.139 seconds
>>          CPU Time:       0.525 seconds
>>          CPU Usage:      -0.00%
>>          CPU Usage, 5 minute avg:        0.00%
>>          CPU Usage, 60 minute avg:       0.00%
>>          Process Data Segment Size via sbrk(): 2372 KB
>>          Maximum Resident Size: 0 KB
>>
>>
>>Can someone tell what could be the issue here?
>>
>>Regards,
>>Saurabh
>>
>>-----Original Message-----
>>From: Saurabh Agarwal
>>Sent: Tuesday, March 29, 2011 10:27 AM
>>To: squid-users@xxxxxxxxxxxxxxx
>>Subject: Squid Up Time is shown as negative
>>
>>Hi All
>>
>>I am using and using Squid-2.7.Stable7. squidclient -h ip mgr:info
>>shown uptime as negative. Below is the output from cachemgr. All
>>other output is right and is being shown as +ve.
>>
>>Resource usage for squid:
>>          UP Time:        -49193.139 seconds
>>          CPU Time:       0.525 seconds
>>          CPU Usage:      -0.00%
>>          CPU Usage, 5 minute avg:        0.00%
>>          CPU Usage, 60 minute avg:       0.00%
>>          Process Data Segment Size via sbrk(): 2372 KB
>>          Maximum Resident Size: 0 KB
>>
>>
>>Can someone tell what could be the issue here?
>>
>>Regards,
>>Saurabh




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux