Experimental Physics and Industrial Control System
|
The problem was that the EPICS callback queue was overflowing. John was getting a lot of these errors:
callbackRequest: cbLow ring buffer full
By adding this command just before iocInit() the problem was fixed:
callbackSetQueueSize(10000)
This is normally not
needed if the IOC is controlling a single TetrAMM. However, John is controlling several TetrAMM devices from the same IOC, and that led to more callbacks than the default queue size could handle.
Please also consider setting callbackParallelThreads
to enable multiple concurrent threads to be working on the callback queues. Making the callback queue larger is one way, having the IOC process the callbacks faster is another way to cope with high traffic situations. See the AppDevGuide for more details [1].
There are iocShell commands to show statistics on queue usage to allow for checking as well as proper and safe queue size configuration. The iocStats module [2] can be used for continuous monitoring of queue status.
Cheers, ~Ralph
- Replies:
- Re: odd ASYN behavior Mark Rivers via Tech-talk
- References:
- odd ASYN behavior Runchey, John via Tech-talk
- Re: odd ASYN behavior Mark Rivers via Tech-talk
- Re: odd ASYN behavior Mark Rivers via Tech-talk
- Re: odd ASYN behavior Runchey, John via Tech-talk
- Re: odd ASYN behavior Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: odd ASYN behavior Mark Rivers via Tech-talk
- Next:
Re: odd ASYN behavior Mark Rivers 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
2020
2021
<2022>
2023
2024
- Navigate by Thread:
- Prev:
Re: odd ASYN behavior Mark Rivers via Tech-talk
- Next:
Re: odd ASYN behavior Mark Rivers 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
2020
2021
<2022>
2023
2024
|
ANJ, 14 Sep 2022 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|