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
I'd look into your apache error logs
you can also d
On Sat, 20 Aug 2005, Octavian Rasnita wrote:
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
Randy Kobes wrote:
At least for linux, the Apache::DB module (see especially
Apache::SmallProf) may help in tracking down where the
script is spending most of its time.
Actually, I'm thiking you mean Apache::DProf just make sure you look it EARLY
enough
as Perrin has said before to other poster
From: "Randy Kobes" <[EMAIL PROTECTED]>
Subject: Re: speed
>
> I assume, for the delay problem, you've ruled out
> correlations with a (momentary) high server load?
>
No. Unfortunately not. The server has no load, because it is a test server
and I am the on
Octavian Rasnita wrote:
Yes it involves a MySQL connection, but that MySQL database and that server
is not used by someone else so I don't understand why some pages show so
fast while others so slow.
Could be that MySQL has the queries cached in memory for some pages which would
be a substantia
On Mon, 2005-08-22 at 20:47 +0300, Octavian Rasnita wrote:
> No. Unfortunately not. The server has no load, because it is a test server
> and I am the only user.
> It works locally, so the internet connection speed is not an issue either.
Sounds like an HTTP browser-compatibility problem to me. I
From: "Philip M. Gollucci" <[EMAIL PROTECTED]>
> Octavian Rasnita wrote:
> > Yes it involves a MySQL connection, but that MySQL database and that
server
> > is not used by someone else so I don't understand why some pages show so
> > fast while others so slow.
> Could be that MySQL has the querie
Octavian Rasnita wrote:
I don't think this is the problem, because that site shows more articles,
and each article has a counter that appears on the page. I am trying only
articles that have the counter 0, so nobody visited that page so MySQL
couldn't make a cache of that specific query.
My bes
On 8/16/07, Jen mlists <[EMAIL PROTECTED]> wrote:
> Is it possible to write speed limit module (for file downloading) by
> modperl rather than using Apache's official module?
Yes, you have the full Apache API available to you from mod_perl. If
you look on CPAN, you may find something like this al