EPICS Controls 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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event
From: Ben Franksen <[email protected]>
To: [email protected]
Date: Sat, 2 Jul 2011 01:08:51 +0200
Am Freitag, 1. Juli 2011, um 23:22:44 schrieb Allison, Stephanie:
> Do you activate more than a few programs using the same sequence on one
> soft IOC?  I had a similar problem last year when moving some state
> programs from an RTEMS IOC to a linux IOC and found that putting a delay
> between activations helped:
> 
> ...
> seq(&psControl,"ps=GTL-ALPHA,limit=Des")
> epicsThreadSleep(1)
> seq(&psControl,"ps=GTL-Q1F,limit=Des")
> epicsThreadSleep(1)
> seq(&psControl,"ps=GTL-Q2D,limit=Des")
> ...
> 
> I never got a chance to debug further.  Probably something specific to my
> set up but your symptoms are the same.

Interesting. This confirms my suspicion that this might be a race condition. 
There is certain state that is shared between multiple instances of the same 
program (mostly during startup) which has not been properly protected against 
concurrent access in the 2.0.x series. These parts have been completely re-
engineered in what will become 2.1.0, so hopefully these delays (and similar 
ad-hoc work-arounds) will no longer be necessary.

Cheers
Ben

References:
SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Utzel Nadine
RE: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Allison, Stephanie

Navigate by Date:
Prev: Re: minimum CA Server requirements Andrew Johnson
Next: RE: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Utzel Nadine
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Allison, Stephanie
Next: RE: SNL seq-2.0.13 on Linux 64 bits: not all monitored PVs receive their first monitor event Utzel Nadine
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·