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

Subject: Re: epicsThreadSuspendSelf()
From: "Konrad, Martin via Tech-talk" <tech-talk at aps.anl.gov>
To: "Tagger, Jueri" <jtagger at bnl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Cc: "Papu, Joseph" <jpapu at bnl.gov>
Date: Mon, 4 May 2020 15:24:20 +0000
Hi Jueri,
> callbackRequest: cbLow ring buffer full
You're overrunning the ring buffer for low priority callbacks. Try
bumping up the size by running

callbackSetQueueSize(x)

x depends on the number of outstanding callbacks you can have. For our
IOCs a good rule of thumb is to set it to at least the number of records
communicating with the hardware.

On modern versions of EPICS you can monitor usage of the callback queues
by running the following command on the IOC shell:

callbackQueueShow

Similar commands are available for the scan once queues:

scanOnceSetQueueSize(x)
scanOnceQueueShow

We saw bad things happen as a consequence of callback-queue overruns so
I would recommend to fix the queue overruns first and see if you can
reproduce the assert.

-Martin

-- 
Martin Konrad
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: konrad at frib.msu.edu

Navigate by Date:
Prev: RE: epicsThreadSuspendSelf() Mark Rivers via Tech-talk
Next: Re: epicsThreadSuspendSelf() Michael Davidsaver via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: epicsThreadSuspendSelf() Michael Davidsaver via Tech-talk
Next: EPICS DB file automation for PLC from spreadsheet Shen, Guobao via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 05 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·