RE: Re: Strange behavior in Embperl

2008-01-02 Thread Gerald Richter - ECOS GmbH
Hi, I would suggest using Apache::DBI, which will take care of shareing db handles Gerald > -Original Message- > From: abhishek jain [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 02, 2008 4:20 AM > To: Gerald Richter > Cc: embperl@perl.apache.org > Subject: Re: Strange behavio

Re: Re: Strange behavior in Embperl

2008-01-02 Thread abhishek jain
Thanks again Gerald, appreciated. What about the problem , at times i observe a blank page, i believe that $r = shift does not give me the value of $r . If i refresh the page at times need to do that twice than it shows the correct page. My server has free resources . Is it the case that i need to

RE: Re: Strange behavior in Embperl

2008-01-02 Thread Calvin Dallimore
One important thing to note when using Apache::DBI to share connections is that you should not create a connection pool when apache starts up, otherwise you will have multiple apache requests sharing the same DB handles. I have seen some really nasty side effects to this where data from one process

Re: Re: Strange behavior in Embperl

2008-01-02 Thread abhishek jain
Hi, I think i found part of the problem, actually i also see an entry into httpd.conf that says segmentation fault when the blank page appears, may be the process grows up on multiple req, if i do MaxRequestsPerChild 1 It solves the problem, i do not know whether this is the right forum but any ide