You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Adam Theo <th...@theoretic.com> on 2002/12/24 21:59:30 UTC

[users@httpd] mod_rewrite efficiency

Hi, all. As previously mentioned 
<http://marc.theaimsgroup.com/?l=apache-httpd-users&m=104067865408554&w=2>, 
I finally got mod_rewrite to work for shortening the URLs for TWiki 
<http://www.twiki.org>.

I am however experiencing a serious performance hit. TWiki has gone from 
resolving and displaying pages over a DSL line with Mozilla in ~10 
seconds to now doing the same in ~30 seconds, a 200% increase! I have 
timed the pages a few dozen times, and each and every time it takes 
exactly 30 seconds for apache to return the page after making the 
request. The variation is only within 2 seconds either way, so I'm 
thinking there is some error or timeout which apache or mod_rewrite is 
going through.

There are no errors which show up in apache's access or error logs, and 
the mod_rewrite logs likewise don't show anything. Anyone have any idea 
how to debug this? Or is this 20 second increase just the serious price 
to pay for mod_rewrite?

Thanks.

-- 
     /\  Adam Theo, Age 23, Tallahassee FL USA
    //\\   Email & Jabber: theo@theoretic.com
   //  \\  Cell: (850) 567 1138
=//====\\=
//  ||  \\  Theoretic Solutions: http://www.theoretic.com
     ||         "Building Ideas by Bringing them Together"
     ||      Jabber Protocol: http://www.jabber.org
     ||         "The Next Generation Communications Protocol"
     ||  "A Free-Market Socialist Patriotic American Buddhist"


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_rewrite efficiency

Posted by Adam Theo <th...@theoretic.com>.
*sigh* nevermind, I just found the problem. Nothing to do with Apache. A 
program was running amok and eating up resources. That's why it was 
taking so long for apache to process. Now that I've got it fixed, apache 
and mod_rewrite are returning pages within 5 seconds as usual.

Adam Theo wrote:
> Nope, I turned that off, so that's not the problem   :(
> 
> Jurgen wrote:
> 
>> do you still have the RewriteLog on?
> 
> 


-- 
     /\  Adam Theo, Age 23, Tallahassee FL USA
    //\\   Email & Jabber: theo@theoretic.com
   //  \\  Cell: (850) 567 1138
=//====\\=
//  ||  \\  Theoretic Solutions: http://www.theoretic.com
     ||         "Building Ideas by Bringing them Together"
     ||      Jabber Protocol: http://www.jabber.org
     ||         "The Next Generation Communications Protocol"
     ||  "A Free-Market Socialist Patriotic American Buddhist"


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_rewrite efficiency

Posted by Adam Theo <th...@theoretic.com>.
Nope, I turned that off, so that's not the problem   :(

Jurgen wrote:
> do you still have the RewriteLog on?

-- 
     /\  Adam Theo, Age 23, Tallahassee FL USA
    //\\   Email & Jabber: theo@theoretic.com
   //  \\  Cell: (850) 567 1138
=//====\\=
//  ||  \\  Theoretic Solutions: http://www.theoretic.com
     ||         "Building Ideas by Bringing them Together"
     ||      Jabber Protocol: http://www.jabber.org
     ||         "The Next Generation Communications Protocol"
     ||  "A Free-Market Socialist Patriotic American Buddhist"


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_rewrite efficiency

Posted by Jurgen <ap...@squarehosting.com>.
Hi Adam,

do you still have the RewriteLog on?

Jurgen


On Tue, 24 Dec 2002 15:59:30 -0500
Adam Theo <th...@theoretic.com> wrote:

> Hi, all. As previously mentioned 
> <http://marc.theaimsgroup.com/?l=apache-httpd-users&m=104067865408554&w=2>, 
> I finally got mod_rewrite to work for shortening the URLs for TWiki 
> <http://www.twiki.org>.
> 
> I am however experiencing a serious performance hit. TWiki has gone from 
> resolving and displaying pages over a DSL line with Mozilla in ~10 
> seconds to now doing the same in ~30 seconds, a 200% increase! I have 
> timed the pages a few dozen times, and each and every time it takes 
> exactly 30 seconds for apache to return the page after making the 
> request. The variation is only within 2 seconds either way, so I'm 
> thinking there is some error or timeout which apache or mod_rewrite is 
> going through.
> 
> There are no errors which show up in apache's access or error logs, and 
> the mod_rewrite logs likewise don't show anything. Anyone have any idea 
> how to debug this? Or is this 20 second increase just the serious price 
> to pay for mod_rewrite?
> 
> Thanks.
> 
> -- 
>      /\  Adam Theo, Age 23, Tallahassee FL USA
>     //\\   Email & Jabber: theo@theoretic.com
>    //  \\  Cell: (850) 567 1138
> =//====\\=
> //  ||  \\  Theoretic Solutions: http://www.theoretic.com
>      ||         "Building Ideas by Bringing them Together"
>      ||      Jabber Protocol: http://www.jabber.org
>      ||         "The Next Generation Communications Protocol"
>      ||  "A Free-Market Socialist Patriotic American Buddhist"
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org