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: unable to create virtual circuit b/c "Too many open files" |
From: | Andrew Johnson <[email protected]> |
To: | "Bertrand H.J. Biritz" <[email protected]> |
Cc: | [email protected] |
Date: | Sun, 06 Jul 2008 11:57:57 -0500 |
> 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