Hi, I recently added a "header append "$REMOTE_ADDR" to 
"X-Forwarded-For" to my relayd.conf file and since adding that line the 
relayd service has died a number of times.
I tried adding the "no splice" option and I think relayd stayed up for 
longer but it died again last night. Relayd seesm to stay up for a 
random about of time before stopping, from a few hours to a few days.
Does anyone know what might be causing this to happen and if there's a 
workaround ?


Mar 19 19:14:15 NodeC relayd[23062]: hce exiting, pid 23062
Mar 19 19:14:15 NodeC relayd[12415]: pfe exiting, pid 12415
Mar 19 19:14:15 NodeC relayd[30965]: relay exiting, pid 30965
Mar 19 19:14:15 NodeC relayd[30994]: relay exiting, pid 30994
Mar 19 19:14:15 NodeC relayd[19179]: relay exiting, pid 19179
Mar 19 19:14:15 NodeC relayd[19774]: relay exiting, pid 19774
Mar 19 19:14:15 NodeC relayd[26432]: parent terminating, pid 26432


table <web_hosts>    { xxx.xxx.xxx.35, xxx.xxx.xxx.36 }
interval 60
timeout 8000
prefork 5
#log updates

protocol "tcp_service" { tcp { nodelay, socket buffer 65536 backlog 100 } }

http protocol "http_service" { tcp { nodelay, sack, socket buffer 65536, 
no splice, backlog 1000 }
# header append "$REMOTE_ADDR" to "X-Forwarded-For"
  return error
}

redirect "http_Main" {
   listen on yyy.yyy.yyy.62 port  80 interface vlanXX
   listen on yyy.yyy.yyy.63 port  80 interface vlanXX
   match tag http_Main
   forward to <web_hosts>  port  82 check http "/" code 200
}
redirect "https_Main" {
   listen on yyy.yyy.yyy.62 port 443 interface vlanXX
   match tag https_Main
   forward to <web_hosts>  port 443 check tcp
}
redirect "https_Only" {
   listen on yyy.yyy.yyy.63 port 443 interface vlanXX
   match tag https_Only
   forward to <web_hosts>  port 445 check tcp
}
relay "http_forwarder" {
   listen on 127.0.0.1 port 8080
   protocol "http_service"
   forward to <web_hosts> port 82 mode loadbalance check http "/" code 200
}
relay "SSL_Generic" {
   listen on 127.0.0.1 port 8441
   protocol "tcp_service"
   forward to <web_hosts> port  443 mode loadbalance check tcp
}
relay "SSL_Only" {
   listen on 127.0.0.1 port 8444
   protocol "tcp_service"
   forward to <web_hosts> port 445 mode loadbalance check tcp
}
################# Out Bound Services #####################################
relay "some_mssql_forwarder" {
         listen on 127.0.0.1 port 8143
         protocol "tcp_service"
         forward to 10.240.8.185 port 1433


Thanks
Keith

Reply via email to