Argonne National Laboratory

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  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: FRC5CE task stack sizes
From: Peregrine McGehee <mcgehee@cfht.hawaii.edu>
To: tech-talk@aps.anl.gov
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 
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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·