Re: mod_perl woes! frequent 500!

2004-11-22 Thread Tom Schindl
Faisal Nasim wrote: 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 hav

Re: mod_perl woes! frequent 500!

2004-11-22 Thread Faisal Nasim
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'

Re: mod_perl woes! frequent 500!

2004-11-22 Thread Perrin Harkins
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 an

Re: mod_perl woes! frequent 500!

2004-11-22 Thread Tom Schindl
Perrin Harkins wrote: On Mon, 2004-11-22 at 14:01, Faisal Nasim wrote: It compiles and it runs great but for no reason it all the scripts randomly gives a 500 error! I was using XML::Simple so I realized I might have some unclosed file handles which cause a 500 after several hits. This is what

Re: mod_perl woes! frequent 500!

2004-11-22 Thread Perrin Harkins
On Mon, 2004-11-22 at 14:01, Faisal Nasim wrote: > It compiles and it runs great but for no reason it all the scripts randomly > gives > a 500 error! I was using XML::Simple so I realized I might have some unclosed > file handles which cause a 500 after several hits. This is what I found in > the

mod_perl woes! frequent 500!

2004-11-22 Thread Faisal Nasim
Hi, I have recently developed a project in Perl and it works great but it works pretty slow because of forking. I've used mod_perl in the past, and have also compiled mod_perl C and Perl modules myself on my local box. This is the first time I'm trying to use mod_perl in a production environment a