EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: unable to create virtual circuit b/c "Too many open files"
From: "Bertrand H.J. Biritz" <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Sun, 6 Jul 2008 13:06:10 -0400
I should then implement a portion which checks the connection status to the PV's, correct?

Thanks,
Bertrand

On Jul 6, 2008, at 12:57 PM, Andrew Johnson wrote:


I thought it has to do with the CA part due to the nature
of the error message. But I added in some more fclose statements and
will see if that removes the problem.

I think it's more likely because you're repeatedly calling ca_context_create() and then ca_context_destroy(). Try moving those calls outside the while loop so that you re-use the same context and I suspect your problem will go away (CA probably only expects to be used once within a single process context).


- Andrew



Replies:
Re: unable to create virtual circuit b/c "Too many open files" Andrew Johnson
References:
CAC: unable to create virtual circuit b/c "Too many open files" Bertrand H.J. Biritz
RE: unable to create virtual circuit b/c "Too many open files" Mark Rivers
Re: unable to create virtual circuit b/c "Too many open files" Bertrand H.J. Biritz
Re: unable to create virtual circuit b/c "Too many open files" Andrew Johnson

Navigate by Date:
Prev: Re: unable to create virtual circuit b/c "Too many open files" Andrew Johnson
Next: Re: unable to create virtual circuit b/c "Too many open files" Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: unable to create virtual circuit b/c "Too many open files" Andrew Johnson
Next: Re: unable to create virtual circuit b/c "Too many open files" Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·