AuthCookie on Win32

[prev] [thread] [next] [Date index for 2005/01/28]

From: Gary M. Spieler
Subject: AuthCookie on Win32
Date: 21:46 on 28 Jan 2005
We're running Apache 1.3.20, modperl 1.25_01-dev, and AuthCookie 3.00 
(yeah, I know they're old, but I don't have any say about that).

We were having reports of some slowness issues as of late, so I got access 
to the access logs.  What I found out is that any time AuthCookie is used 
to authenticate, apache queues any other requests until the file for that 
first request is completely transmitted.  If we are transmitting a 300k 
file over a LAN, it's not terribly noticeable, but if we do the same thing 
over a modem, it "freezes" the web site for a few seconds or more.  Having 
to wait an extra half second may not seem that noticeable to users (or it 
might), but I think them not having to wait would make things fly!

Earlier this week, I found out mp for win32 is single threaded.  Hmmm.... 
Our stuff is fast and simple, so let's just assume single-threading is 
okay as far as response time goes.  Given this, I'd like to know why 
apache is holding on to that instance of modperl until that file is 
completely transmitted.  I would expect it to release as soon as it has 
been authenticated.

BTW, I'm pretty sure we've ruled out AuthCookie as we ran a bare bones 
version that did virtually nothing and we had the same problem.

Any ideas on how to get modperl to release right away?  What I'm hoping to 
hear is something simple like upgrade to modperl 1.99.  What I'm expecting 
to hear is upgrade to 2.0....

Thanks,
Gary



http://spieler.freeshell.org
SDF Public Access UNIX System - http://sdf.lonestar.org

AuthCookie on Win32
Gary M. Spieler 21:46 on 28 Jan 2005

Re: AuthCookie on Win32
Octavian Rasnita 09:20 on 29 Jan 2005

Re: AuthCookie on Win32
Randy Kobes 15:37 on 29 Jan 2005

Generated at 12:39 on 05 Feb 2005 by mariachi v0.52