EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: scan task stack overflow
From: Ralph Lange <[email protected]>
To: Geoff Savage <[email protected]>
Cc: [email protected]
Date: Thu, 22 Sep 2005 10:50:58 +0200
Laznovsky, Michael wrote:

How about driving some of them with fanout records? Only one scan per fanout then.

Or an FLNK chain...


Or pointing CPP input links back to fields ...
Or using the Event scan mechanism (together with an eventRecord) for groups of records that belong together...


In general, the different stack sizes for EPICS base tasks are hardcoded (see <BASE>/src/libCom/osi/os/<OS>/osdThread.c). There is the possibility to switch completely to using the OS's default stack size (by setting OSITHREAD_USE_DEFAULT_STACK = YES when compiling EPICS base), but you would have to increase the default stack size on your target to make it large enough, which then would be used for *all* tasks, not just the "big" ones. I don't know if your system could live with such a waste of memory.

Reorganizing your database in one of the mentioned ways is probably the most slim, elegant, and advisable solution.

Ralph


References:
RE: scan task stack overflow Laznovsky, Michael

Navigate by Date:
Prev: Re: scan task stack overflow Noboru Yamamoto
Next: Re: scan task stack overflow Marty Kraimer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: scan task stack overflow Noboru Yamamoto
Next: EDM <--> MEDM display-file translators Tim Mooney
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·