Hi
after running for a while, Persistent Perl processes decide to hang, and =
no
further requests are allowed. My command line is:
#!/usr/local/bin/perperl -- -t60 -r20
The thing is once we start having a problem, the backend processes never
disappear, even through the timeout and max runs parameters are set =
quite
low... The app is under extremely low load in the development system, so
it's not load related
The app uses the CGI:Application framework. The CGI script is simply a
bootstrap and all real processing gets handled by Perl modules. =
Depending on
the query path, the request will get dispatched to different modules =
(using
CGI::Application::Dispatch). e.g.:
TABLE =3D> {
cart =3D> 'Redbone::CMS::Controller::Cart',
classification =3D> 'Redbone::CMS::Controller::Classification',
content =3D> 'Redbone::CMS::Controller::Content',
file =3D> 'Redbone::CMS::DownloadFile',
gallery =3D> 'Redbone::CMS::Controller::Gallery',
login =3D> 'Redbone::CMS::Login',
search =3D> 'Redbone::CMS::Search',
setup =3D> 'Redbone::Application::Setup',
user =3D> 'Redbone::Application::User',
vehicle =3D> 'Redbone::CarYard::Vehicle',
yard =3D> 'Redbone::CarYard',
}
I don't think it has anything to do with globals or any untidy info =
being
left behind. The app runs fine under mod_perl (as a registry script), =
but
I'm hoping that it will run fine under PP, bit I'm not sure how to =
diagnose
the reason for the hanging
Any ideas?
Dan
|