[xml] I/O error : Too many open files



I am using libxml2 and libxslt on this environment:
 
SunOS cbrdeveng5 5.8 Generic_108528-18 sun4u sparc SUNW,Ultra-Enterprise
 
Through my application, I am transforming data with xslt to properly format a message out to a third party.  In normal circumstances my transformations work just fine; my .xsl file is there and globally readable.  However, in high concurrency (40+ threads) I am getting this in STDERR:
 
I/O error : Too many open files
I/O warning : failed to load external entity "/home/djang/codebase/feservertarget/server/data/payment/insert_order_cc_auth.xsl" error
 
I get this error when calling:
 
xsltParseStylesheetFile
 
It returns NULL.  I've looked in the source code briefly, and it's reporting EMFILE from sys/errno.h.  Something within xmlIO.c is NULL.  I am using libxml 2.6.4 and have compiled it --with-threads.  Any insight on this matter would be much appreciated.
 
Thanks much.
 
-- Darryl.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]