RE: [xml] I/O error : Too many open files
- From: "Jang, Darryl" <djang cybersource com>
- To: "Aleksey Sanin" <aleksey aleksey com>, <veillard redhat com>
- Cc: <xml gnome org>
- Subject: RE: [xml] I/O error : Too many open files
- Date: Mon, 23 Feb 2004 15:35:44 -0800
Everyone,
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.
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
or
2) LibXML2 related code and use file descriptor based IO
functions.
Aleksey
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]