[imp] lingerd

Michael Bull mbull@uoguelph.ca
Mon, 20 May 2002 20:23:35 -0400


Quoting Chuck Hagenbuch <chuck@horde.org>:

> Quoting Liam Hoekenga <liamr@umich.edu>:
> 
> > can we easily point horde's image links to another server that's got
> > keep-alive turned on?  or don't you think that'll be a problem?
> 
> Sure, but I don't think things will be happy if your main connection is
> over SSL - unless you could use a _different_ SSL server?

I've done this and it worked well; I had to do a small amount of patching 
to .php files to have them path with a fully qualified url, but other than that 
it worked well.  I run thttpd and turned off Keepalives with apache, and it 
made a big difference on the process load on our site (~16,000 logins a day in 
peak). Just watch your logs for missing file errors and tweak appropriately 
(mostly in IMP.php if I remember right).

We investigated lingerd, however on our sparc solaris 8 machine it caused a 
kernel panic when it attempted to close a socket that was already closed.  That 
port was still fairly new, so that issue may have been unique to the solaris 
implementation.  We left that, and are running with thttpd and 0 keepalives and 
it's working like a champion.