Re: [xml] Suddenly all xmlTextWriterWrite*, xmlTextWriterStart* return rc < 0 ?

Franzen, Holger wrote:
on the weekend i encountered a strange behaviour of libxml. Using the
xmlTextWriter interface on an xmlNewTextWriterDoc instance every write
method suddenly started to fail until i restarted the process. The
application run without problems for several weeks and was under a lot
of traffic. The writer is used for creating xhtml files. Each request
has its own writer but all of these shared the behavior?

The runnig os is SuSE 10.0.

# xml2-config --version

# uname -a
Linux 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24
17:41:23 MSD 2007 i686 i686 i386 GNU/Linux

Did somebody else encounter this behavior and what causes it?

Sounds like a memory leak to me. Check if the process constantly grows in
memory consumption until the OS stops giving it any more memory.


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