EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  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  Index 1994  1995  <19961997  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 
<== Date ==> <== Thread ==>

Subject: FRC5CE task stack sizes
From: Peregrine McGehee <[email protected]>
To: [email protected]
Date: Tue, 29 Oct 1996 09:34:11 -1000
	Yesterday we experienced a number of IOC crashes that were
traced to a stack overflow on the task that was handling the CA client
connection to a MEDM application. This isn't the first time I've had 
to increase the stack size for EPICS tasks running on the FRC5CE -
last year I experienced a similar problem with the Sequencer Auxillary Task.

	In both cases, the stack sizes usually are reasonable, except
in infrequent (and not well understood) situations. For example, the 
"CA client" task has been well-behaved all year, until minor changes
were made to the application's database and SNL code.

	The current databases at CFHT are small (less than a few
hundred channels - most scanned at 20Hz (".05 second" scan task)).

	In any case, from task_params.h:
#define CA_CLIENT_STACK		10096     /* moved up by 5000 for FRC5CE */

	And the current margins are:	  
- -> checkStack 0xc73e58
  NAME        ENTRY        TID     SIZE   CUR  HIGH  MARGIN
- ------------ ------------ -------- ----- ----- ----- ------
CA client    _camsgtask   c73e58    9880   984  8816   1064


Aloha,
	Peregrine

-------------------------------------------------------------------------------
Peregrine M. McGehee			http://www.cfht.hawaii.edu/~mcgehee
Telescope Control Systems Group 	Canada-France-Hawaii Telescope
(808) 885-3178				P.O. Box 1597, Kamuela, Hawaii 96743	


Navigate by Date:
Prev: R3.13 Update Marty Kraimer
Next: Capfast Rolf Keitel
Index: 1994  1995  <19961997  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: R3.13 Update Marty Kraimer
Next: Capfast Rolf Keitel
Index: 1994  1995  <19961997  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