I am having some strange performance issues with a relayd.
I have a setup where relayd forward http picture requests to two webservers.

If you visit a webpage with the pictures handled by relayd (normally 6
pics), maybe 4 of these will load at once, and the last 2 will load a little
slow 1-2 secs.
But this is only an issue the first time you hit a webpage, if you goto the
next page with 6 new pictures they will all load at once.
If you then wait for 5 minutes and try again, you will see the same pattern
again, delays on the first page and then no delays on the next pages.

There is no problems when I hit the webservers directly without relayd.
Adding/removing the "tcp" performance options below from the config file
does not change anything

My config file:
interval 10
timeout 200
prefork 25
log updates

http protocol "http_setup" {
 header append "$REMOTE_ADDR" to "X-Forwarded-For"
 tcp { nodelay, sack, socket buffer 65536, backlog 100 }
}

table <pixXX.xxxxxx.com> { xxx.173.226.135, xxx.173.226.184 }
relay "pixXX.xxxxxx.com" {
 listen on 213.173.226.142 port 80
 forward to <pixXX.xxxxxx.com> port 80 mode loadbalance check tcp
}

Any ideas about what can cause this behavior?

Thanks,
Claus Larsen

Reply via email to