On Fri, Nov 19, 2010 at 7:00 AM, Tomasz Chmielewski wrote:
> How do you debug websites running on Apache?
>
I have a few tricks I use.
First, I try to write my applications so they can be run from the
commandline. That means when they misbehave, I can run them directly under
strace or a debugg
On 19.11.2010 14:39, Igor Galić wrote:
What are other debugging methods which can be used on a busy
webserver?
Ideally, I'd like to see all connections, database queries, files
opened
for read/write by Apache processes, with timestamps, as I connect from
a
given IP address (so all other noise is
- "Tomasz Chmielewski" wrote:
> How do you debug websites running on Apache?
>
> Say, you have a website which is dog slow on the powerful server.
If your website is static, and is dog slow although running on
a powerful server, you're doing it wrong.
Check http://wiki.apache.org/httpd/Pe
How do you debug websites running on Apache?
Say, you have a website which is dog slow on the powerful server.
My favourite way (after checking the obvious errors from the logs) was
to simply run Apache through strace, which would print where httpd
processes connect to (and possibly hang, whi