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

Thank you very much for your responses..  It helped a ton!
I did indeed check that I close all opened files.  I didn't know about the FILE object limitation; that sounds like the culprit.  I'll see if I can use one of the file descriptor based calls though I'm not sure how I might do this considering I use libxslt utilities to read the file.  Any further ideas would be appreciated. 
Still a libxml2 and libxslt lightweight.  Doing more learning..
Thanks again...
-- Darryl.

From: Aleksey Sanin [mailto:aleksey aleksey com]
Sent: Monday, February 23, 2004 3:17 PM
To: veillard redhat com
Cc: Jang, Darryl; xml gnome org
Subject: Re: [xml] I/O error : Too many open files

Ops, never used these myself :) In the light of Daniel's correction the last paragraph
from my previous email should say:

Assuming that your program does close *all* the opened files, there is not much you can
do about this except to re-write either
    1) non-LibXML2 related code and minimize the number of FILE* objects used
    2) LibXML2 related code and use file descriptor based IO functions.


Daniel Veillard wrote:
On Mon, Feb 23, 2004 at 02:27:45PM -0800, Aleksey Sanin wrote:
Unfortunately, LibXML2 provides FILE* based API interfaces. Assuming 

  Well, there is file descriptor based ones too:


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