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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Memory Problem related to CA? |
From: | Andrew Johnson <[email protected]> |
To: | Jeff Hill <[email protected]> |
Cc: | [email protected] |
Date: | Tue, 18 Mar 2008 09:53:23 -0500 |
What does the first number in parenthesis mean? Something like an element count. For this sick connection it was 54! Please look at theattachment.
This means that your client has subscribed (called ca_create_subscription or ca_add_event) 54 times! One option of course will be to find the misbehaved client (the IP address is in the casr report) and convince its author to recode his application.
The best would be to disconnect all CA connections and give back (at least a part of) the additionally allocated memory back to the system pool.
We don't currently have an option to do this, but considering that vxWorks memory allocation is much better than in the past perhaps one option that should be considered for R3.15 is to use free lists dedicated to each client that are returned to system pool when the client disconnects.
- Andrew -- When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong. -- Arthur C. Clarke