> From: Michael Peters
> Sent: Friday, 4 November 2005 2:47 a.m.
> 
> I have never used Persistent Perl so I won't be much help there, but
> here are some general suggestions:
>   + Do you know where it's hanging? Try putting in lots of debug stuff
> to see if it's actually hanging in C::A::D or in some other portion of
> your application.

To date I haven't been able to identify where it hangs. I have an
overabundance of Log4perl debug statements throughout my code, but they
haven't identified any unique lines where the code hangs. 

I never thought of adding debug statements to C::A::D, so I'll follow your
suggestion there.

>   + You said it only occurs when using C::A::D. Have you tried modifying
> that same script that is hanging to not use C::A::D? If so, how long did
> you let it run before concluding that it wasn't going to hang?

The app ran without C::A::D for a while (days, weeks) without hanging. I've
converted it to C::A::D and C::A::P::Config::General quite recently, as they
enable to me manage multiple apps, sites & configs quite nicely.

>   + Is the hanging associated with the amount of time it's been running
> or the number of requests it's processed?

I haven't been able to link it to either. I've set the PP process to die
after either 120 seconds or 50 requests to ensure that memory leaks or other
factors like state get cleaned out. However, when the hanging occurs, the PP
processes don't die. This leads me to believe it could be a PP problem, so I
was wondering if other PP users have encountered it.
 
> > My first instinct was that in requiring the application modules at
> runtime,
> > PP's caching of the modules got a bit muddled. I placed explicit "use
> > <module>" statements for each module in the instance script, but alas
> this
> > hasn't helped.
> 
> Again, I'm not that familiar with PPerl, so...
> Sorry I couldn't be of more help?
> 
Hey, any input appreciated ... I'm out of ideas!

Thanks

Dan



---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to