Subject: |
Re: Handle leak in Channel Access Server V4.13 (current EPICS base) - WinXP |
From: |
Carsten Winkler <[email protected]> |
To: |
<[email protected]> |
Date: |
Thu, 28 Apr 2011 08:35:55 +0200 |
Hi Jeff,
I use the native win32-x86 EPICS base port to windows. My caget doesn't run at a high repetition
rate. The problem also occurs when I use camonitor.
I used camonitor and netstat to check how many tcp circuits are active and in what state they are
in. I called camonitor from a different machine as softIoc.
At the beginning of my test softIoc had 1282 used handles (constant). When I called camonitor I saw
a new TCP connection to port 5064 (via netstat) and an increase of softIoc handles to 1294. Both
values were constant while running camonitor. After stopping camonitor the handle count of softIoc
decreased to 1284 and the TCP connection to port 5064 was still open. After some seconds the TCP
connection to port 5064 has been closed but the handle count still stands by 1284. This two
additional handles will no more be removed and every new camonitor or caget request will add two
more handles until softIoc crashes.
To diagnostic the handle count I use the "Performancemonitor" (perfmon.exe) from MS Windows and the
"Processexplorer" (procexp.exe) from Systeminternals.
I think caget terminates regularly and calls ca_context_destroy to clean up all used channel access
resources.
I looks to me that Channel Access Server has a serious resource problem!
Best Regards,
Carsten Winkler
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführer: Prof. Dr. Anke Rita Kaysser-Pyzalla, Prof. Dr. Dr. h.c. Wolfgang Eberhardt, Dr. Ulrich Breuer
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- Replies:
- RE: Handle leak in Channel Access Server V4.13 (current EPICS base) - WinXP Jeff Hill
- References:
- Handle leak in Channel Access Server V4.13 (current EPICS base) - WinXP Carsten Winkler
- RE: Handle leak in Channel Access Server V4.13 (current EPICS base) - WinXP Jeff Hill
- Navigate by Date:
- Prev:
Re: gateway aborted by SIGBUS Bruce Hill
- Next:
Handling of a character waveform of 64k elements Ritesh Sugandhi
- 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
- Navigate by Thread:
- Prev:
RE: Handle leak in Channel Access Server V4.13 (current EPICS base) - WinXP Jeff Hill
- Next:
RE: Handle leak in Channel Access Server V4.13 (current EPICS base) - WinXP Jeff Hill
- 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
|