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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Gateway Crashes |
From: | "Jeff Hill" <[email protected]> |
To: | "'Steven Banks'" <[email protected]>, <[email protected]> |
Date: | Mon, 26 Jun 2006 09:06:54 -0600 |
Steven,
I was curious why the GW code might be crashing when it was unable to create a thread. The code should of course just refuse to attach to another client if it runs low on resources.
I looked in CVS and it appears that there is a patch to the posix version of the epicsThreadCreate function, first appearing in R3.14.7, which changes a checkStatusQuit macro invocation to a checkStatus macro invocation. The net impact is that, in R3.14.6, if there is any problem creating a thread in the posix version of epicsThreadCreate the thread is suspended inside of epicsThreadCreate, but this is fixed in R3.14.7.
Jeff
From: Steven Banks
[mailto:[email protected]]
We are having severe problems with the EPICS gateway, and I'm hoping that someone can help us resolve them.
The problem is that the gateway is continually crashing whenever we open up a GUI display with requires connection to multiple IOCs. These are Libera BPM boxes, and we have 98 of them. We have a status display which shows the status of 33 of these at once. As we scroll from one display to the other, the gateway invariably crashes.
(This is a gateway between our office network and our accelerator network, and is used for monitoring the status of the machine from our desktops.)
The gateway log provides the following information:
*************************************************************** Jun 26 16:01:02 PV Gateway Version 2.0.0.0 [Jun 14 2006
15:10:22]
Jun 26 16:36:12 !!! Errlog message received (message is
above)
Jun 26 16:36:12 !!! Errlog message received (message is above) ***************************************************************
Has anyone else seen the memory problems that we are experiencing? Is this an indication that we are trying to connect to too many PVs at once? Will purchasing more memory for the gateway perhaps alleviate the problem. It currently has 512MB but we are planning to upgrade it to 1 GB.
Dr. Steven M. Banks –
Control Systems Engineer |