Re: mod_perl woes! frequent 500!

[prev] [thread] [next] [Date index for 2004/11/22]

From: Faisal Nasim
Subject: Re: mod_perl woes! frequent 500!
Date: 23:13 on 22 Nov 2004
--=====================_36226843==.ALT
Content-Type: text/plain; charset="us-ascii"

I added the IO::File wrapper in two scripts and they worked fine and the third one
failed occasionally. Now I changed the third and the occasional 500 does not
show up anymore. I think XML::Simple does not close the file handle after
simply creating the data structure. I'll have to check that.

I'm doing libxml = 2.5.8, XML::Simple... latest from CPAN.

I've now upgraded to libxml 2.6.16.

Regards,

Faisal Nasim
http://fnasim.blogspot.com/


At 02:04 AM 11/23/2004, Perrin Harkins wrote:
>On Mon, 2004-11-22 at 15:50, Tom Schindl wrote:
>> Well as Perrin already stated there are issues with XML::LibXML which 
>> you are using with XML::Simple. Which version do you have installed?
>> See this thread and a working patch against these libs. Still I would 
>> upgrade as a first try libxml and XML::LibXML.
>
>Or try something faster.  Benchmark:
>http://perlmonks.org/index.pl?node_id=409517
>
>I'm not certain about expat thread-safety, but it might be worth trying.
>
>- Perrin

--=====================_36226843==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
<font size=3>I added the IO::File wrapper in two scripts and they worked
fine and the third one<br>
failed occasionally. Now I changed the third and the occasional 500 does
not<br>
show up anymore. I think XML::Simple does not close the file handle
after<br>
simply creating the data structure. I'll have to check that.<br><br>
I'm doing libxml = 2.5.8, XML::Simple... latest from CPAN.<br><br>
I've now upgraded to libxml 2.6.16.<br><br>
Regards,<br><br>
Faisal Nasim<br>
<a href="http://fnasim.blogspot.com/"; eudora="autourl">http://fnasim.blogspot.com/<br><br>;
<br>
</a>At 02:04 AM 11/23/2004, Perrin Harkins wrote:<br>
<blockquote type=cite class=cite cite="">On Mon, 2004-11-22 at 15:50, Tom
Schindl wrote:<br>
&gt; Well as Perrin already stated there are issues with XML::LibXML
which <br>
&gt; you are using with XML::Simple. Which version do you have
installed?<br>
&gt; See this thread and a working patch against these libs. Still I
would <br>
&gt; upgrade as a first try libxml and XML::LibXML.<br><br>
Or try something faster.&nbsp; Benchmark:<br>
<a href="http://perlmonks.org/index.pl?node_id=409517"; eudora="autourl">http://perlmonks.org/index.pl?node_id=409517</a><br><br>;
I'm not certain about expat thread-safety, but it might be worth
trying.<br><br>
- Perrin</font></blockquote></body>
</html>

--=====================_36226843==.ALT--


mod_perl woes! frequent 500!
Faisal Nasim 19:01 on 22 Nov 2004

Re: mod_perl woes! frequent 500!
Perrin Harkins 19:16 on 22 Nov 2004

Re: mod_perl woes! frequent 500!
Tom Schindl 20:50 on 22 Nov 2004

Re: mod_perl woes! frequent 500!
Perrin Harkins 21:04 on 22 Nov 2004

Re: mod_perl woes! frequent 500!
Faisal Nasim 23:13 on 22 Nov 2004

Re: mod_perl woes! frequent 500!
Tom Schindl 07:35 on 23 Nov 2004

Generated at 11:27 on 21 Dec 2004 by mariachi v0.52