Hi, I have made a site using mod_perl with ModPerl::Registry.
It works much faster than using a simple cgi script, but it still works slow sometimes and I would like to change some things. There are 3 situations: 1. The page is displayed pretty fast (less than a second) 2. The same kind of page is displayed very slow (more than 20 seconds) 3. The same kind of page, sometimes is still "Opening page..." for tens of seconds, and after that appears a 404 Not Found error. If I refresh that page immediately after that, it is displayed very fast with no problem. Please tell me how I can test: - Why that 404 error appears - Why sometimes it takes so long to display the same kind of page other times displays much faster - How can I test where the script hangs, which part of the script is so slow Another thing I would like to know is if the site will be much faster if using mod_perl handlers (and not ModPerl::Registry or ModPerl::PerlRun) but using the CGI.pm module (because I find it easier to use than the libapreq modules). I am using mod_perl 2, Apache 2.054, perl 5.8.6, Apache::DBI (latest) and I found aproximately the same issues under Windows 2000 and Linux. Thank you very much for any help. Teddy