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: general purpose callback tasks : callbackRequest()
From: "Davidsaver, Michael" <[email protected]>
To: "John Dobbins" <[email protected]>, "EPICS Tech-Talk" <[email protected]>
Date: Wed, 8 Jun 2011 11:14:53 -0400
Hi John,

I've run into this problem before.  In my case I could drop events if
the rate is too high.
So I added a counter for each CALLBACK which is incremented when it is
requested, and decremented
When it completes.  If the counter is too high then callbackRequest()
isn't called.

Regards,
Michael


> -----Original Message-----
> From: [email protected] [mailto:tech-talk-
> [email protected]] On Behalf Of John Dobbins
> Sent: Wednesday, June 08, 2011 9:02 AM
> To: EPICS Tech-Talk
> Subject: general purpose callback tasks : callbackRequest()
> 
> Greetings,
> 
> I have an IOC on which all records stopped updating for 5 seconds at a
> time followed by resumption of normal operation. The IOC would operate
> normally for hours at a time and then would suffer a burst of stop/go
> activity lasting several minutes.
> 
> The IOC has multiple thread implementing asynchronous device support
> and
> uses the general purpose IOC callback tasks. I think the problem is
> that
> callbackRequest(), which can fail silently, was overflowing the
> callback
> queue.
> 
> My problem appears to be fixed by increasing the callback queue size.
> 
> My question: Is there a way to know about the callback queue status or
> otherwise avoid this situation?
> 
> John Dobbins
> 
> Cornell Laboratory for Accelerator-based Sciences and Education
> Cornell University
> Ithaca, NY


References:
general purpose callback tasks : callbackRequest() John Dobbins

Navigate by Date:
Prev: RE: unsymmetrical mutex use in dbCa.c Jeff Hill
Next: Request for opinions about device driver/support Gurd Pamela EXT
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: general purpose callback tasks : callbackRequest() John Dobbins
Next: unsymmetrical mutex use in dbCa.c Dirk Zimoch
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 ·