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: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "'Tagger, Jueri'" <jtagger at bnl.gov>
Cc: "Papu, Joseph" <jpapu at bnl.gov>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Mon, 4 May 2020 15:21:20 +0000

Ø  callbackRequest: cbLow ring buffer full

Ø  A call to 'assert(ev_que->evque[ev_que->putix] == EVENTQEMPTY)'

 

That is a problem when you have lots of records doing callbacks quickly.

 

You just need to increase the size of the callback queue before iocInit in your startup script.

 

Here is an example:

# Set the callback queue size to 5000, up from default of 2000 in base.

# This can be needed to avoid errors "callbackRequest: cbLow ring buffer full".

callbackSetQueueSize(5000)

 

Mark

 

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Tagger, Jueri via Tech-talk
Sent: Monday, May 4, 2020 9:56 AM
To: tech-talk at aps.anl.gov
Cc: Papu, Joseph <jpapu at bnl.gov>
Subject: epicsThreadSuspendSelf()

 

callbackRequest: cbLow ring buffer full

A call to 'assert(ev_que->evque[ev_que->putix] == EVENTQEMPTY)'

    by thread 'CAS-client' failed in ../../../src/ioc/db/dbEvent.c line 769.

Dumping a stack trace of thread 'CAS-client':

[          0x54b86b]: ../../bin/linux-x86_64/CryD(epicsStackTrace+0x4b)

[          0x5467fa]: ../../bin/linux-x86_64/CryD(epicsAssert+0x3a)

[          0x4daa3b]: ../../bin/linux-x86_64/CryD(db_queue_event_log+0xcb)

[          0x4dac8d]: ../../bin/linux-x86_64/CryD(db_post_single_event+0x3d)

[          0x4ffce7]: ../../bin/linux-x86_64/CryD(event_add_action+0x1b7)

[          0x5005de]: ../../bin/linux-x86_64/CryD(camessage+0x9e)

[          0x4fd00c]: ../../bin/linux-x86_64/CryD(camsgtask+0x12c)

[          0x54789c]: ../../bin/linux-x86_64/CryD(start_routine+0xdc)

[    0x7f3c14cdf064]: /lib/x86_64-linux-gnu/libpthread.so.0(start_thread+0xc4)

[    0x7f3c13b9c62d]: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)

EPICS Release EPICS R3.15.5.

Local time is 2020-05-03 13:45:51.091659821 EDT

Please E-mail this message to the author or to tech-talk at aps.anl.gov

Calling epicsThreadSuspendSelf()

Thread CAS-client (0x7f3bc4016f20) suspended

callbackRequest: cbLow ring buffer full

 

Any ideas?


References:
epicsThreadSuspendSelf() Tagger, Jueri via Tech-talk

Navigate by Date:
Prev: epicsThreadSuspendSelf() Tagger, Jueri via Tech-talk
Next: Re: epicsThreadSuspendSelf() Konrad, Martin 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: epicsThreadSuspendSelf() Tagger, Jueri 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 
ANJ, 04 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·