Re: Hoststated SSL Relay Issue Resolved?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Taggart <mikeytag@...>
Cc: <misc@...>
Date: Friday, August 17, 2007 - 6:13 am

hi!

On Thu, Aug 16, 2007 at 03:15:47PM -0700, Michael Taggart wrote:

this is not a bug, it is just a stupid behaviour of opera... (btw. WHY
do you use IE4 Mac???). but you can tweak it, see below...

> So naturally, I dove into /usr/src/usr.sbin/hoststated/relay.c and found

please don't do this, this is just wrong. you cannot ignore the
timeout condition, it will either have some strange side effects or
eat all your ressources... you cannot just disable a timeout handler!

> Any feedback would be greatly appreciated.

i admit that the timeout configuration is a little bit confusing.
we're probably going to split the timeout options in different
dedicated values after 4.2.

see comments in your configuration below

> Thanks,

thanks for you feedback!
reyk

>

the accept timeout is inherited from the global timeout option, and
the default is a little bit low for crappy ssl implementations (see
above) or slow connections, try to set it to

timeout 4000

(it has to be a little bit less than the interval)

> # prefork 5

i figured out that it sometimes is a good idea to allow keep-alives
(hoststated does support keep-alive sessions with multiple requests),
because it reduces the internal load on the webservers. but you can
decrease the timeout to keep the number of concurrent sessions on the
loadbalancer low:

header change "Keep-Alive" to "$TIMEOUT"

$TIMEOUT is the value in seconds as defined below. the typical
keep-alive timeout as used by the browsers is around 300-600 seconds,
which is way too high for busy loadbalancers (you will run out of
sockets/file descriptors).

> # Various TCP performance options

timeout 10

10 seconds seems to be a good choice, but you have to figure out the
best value which works in your environment.

> # Forward to hosts in the webhosts table using a src/dst hash

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Hoststated SSL Relay Issue Resolved?, Michael Taggart, (Thu Aug 16, 6:15 pm)
Re: Hoststated SSL Relay Issue Resolved?, Reyk Floeter, (Fri Aug 17, 6:13 am)