Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: Re: Problem with CSS archive engine
From: Ralph Lange <Ralph.Lange@gmx.de>
To: EPICS Tech-Talk <tech-talk@aps.anl.gov>
Cc: 龙巍 <longw@ihep.ac.cn>
Date: Mon, 20 Oct 2014 20:32:40 +0200
Hello Wei Long,

When you look at the timestamps of the data updates the archive engine receives, you see that the new updates have a timestamp of 08 January 1990. Timestamps internally are implemented as "seconds since the epoch", in this case 01 Jan 1990. So your IOC timestamps are very close to the epoch, which usually means that the IOC has not been able to synchronize its system time after reboot. An IOC timestamp of 08 Jan 06:31 means the IOC has been rebooted 7 days and 6:31 hours before.

So... your log looks like your IOC has been rebooted at 13-10-2014 09:54, and was not able to synchronize its time.

Hope this helps,
~Ralph


On 20/10/2014 10:47, 龙巍 wrote:
Hi,

   When we tried to archive the waveform PVs, there is a problem with our RDB archive system with MYSQL on Windows.
Here is the report:
2014-10-20 16:25:38.094 配置 [Thread 1] org.csstudio.vtype.pv.internal.Activator
  (start) - PV prefix ca provided by JCA in org.csstudio.vtype.pv
2014-10-20 16:25:38.110 配置 [Thread 1] org.csstudio.vtype.pv.internal.Activator
  (start) - PV prefix loc provided by Local in org.csstudio.vtype.pv
2014-10-20 16:25:38.110 配置 [Thread 1] org.csstudio.vtype.pv.internal.Activator
  (start) - Default PV type ca
2014-10-20 16:25:38.110 信息 [Thread 1] org.csstudio.archive.engine.Application
(start) - Archive Engine 3.3.0.201406061208
2014-10-20 16:25:38.297 信息 [Thread 1] org.csstudio.archive.engine.server.Engin
eServer (<init>) - Engine HTTP Server on http://localhost:4812/main
2014-10-20 16:25:38.297 信息 [Thread 1] org.csstudio.archive.engine.Application
(start) - Reading configuration 'Demo'
2014-10-20 16:25:38.765 信息 [Thread 1] org.csstudio.archive.engine.Application
(start) - Read configuration: 1 channels in 0.453 seconds
2014-10-20 16:25:38.765 信息 [Thread 1] org.csstudio.archive.engine.Application
(start) - Running, CA addr list: 192.168.0.66
2014-10-20 16:25:38.765 信息 [Thread 45] org.csstudio.archive.engine.model.Write
Thread (run) - WriteThread starts
2014-10-20 16:25:38.796 配置 [Thread 1] org.csstudio.vtype.pv.jca.JCAContext (<i
nit>) - Using Pure Java CAJ
2014-10-20 16:25:39.030 信息 [Thread 53] org.csstudio.archive.engine.scanner.Sca
nThread (run) - Scan Thread runs
2014-10-20 16:25:39.124 信息 [Thread 48] org.csstudio.archive.engine.ThrottledLo
gger (log) - rcs:cpci9110:wf_6_a skips back-in-time:
last: 2014/10/20 15:08:25.100000000     313.9744873046875, 312.3721923828125, 31
1.2276916503906, 310.00689697265625, 308.9386901855469, ... (total 2048 elements
) ..., 3486.68115234375, 3485.994384765625, 3485.994384765625, 3485.994384765625
, 3485.994384765625
new : 1990/01/08 06:31:28.997000000     314.2033996582031, 312.6011047363281, 31
1.45660400390625, 310.3121032714844, 309.243896484375, ... (total 2048 elements)
  ..., 3486.604736328125, 3485.918212890625, 3485.918212890625, 3485.918212890625
, 3485.918212890625
2014-10-20 16:25:39.139 信息 [Thread 48] org.csstudio.archive.engine.ThrottledLo
gger (log) - rcs:cpci9110:wf_6_a skips back-in-time:
last: 2014/10/20 15:08:25.100000000     313.9744873046875, 312.3721923828125, 31
1.2276916503906, 310.00689697265625, 308.9386901855469, ... (total 2048 elements
) ..., 3486.68115234375, 3485.994384765625, 3485.994384765625, 3485.994384765625
, 3485.994384765625
new : 1990/01/08 06:31:29.037000000     314.1271057128906, 312.5248107910156, 31
1.45660400390625, 310.15948486328125, 309.09130859375, ... (total 2048 elements)
  ..., 3486.528564453125, 3485.841796875, 3485.841796875, 3485.841796875, 3485.84
1796875
... More messsages suppressed for 1.00 days ....

   With the message above, what do you think the problem is? And, How to fix it?
Thanks,
Wei Long





References:
Problem with CSS archive engine 龙巍

Navigate by Date:
Prev: Problem with CSS archive engine 龙巍
Next: License or copyright for the naming module in DISCS Jeong Han Lee
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Problem with CSS archive engine 龙巍
Next: Re: Problem with CSS archive engine 龙巍
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·