Project

General

Profile

Feature #2205

relayd enhancements in system_advanced_misc.php

Added by Pierre POMES almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Load Balancer
Target version:
Start date:
02/15/2012
Due date:
% Done:

100%

Estimated time:

Description

I suggest to add two new settings in system_advanced_misc.php for a better relayd control. (cf screenshot attached)

The goal is to use the directive "timeout" and "interval" in relayd.conf.

Patch is ready, I can commit in mainline for upcoming 2.1 if nobody has any objection.

pfSense_lb.png (30 KB) pfSense_lb.png Pierre POMES, 02/15/2012 09:36 AM
lb.png (19.8 KB) lb.png Pierre POMES, 02/18/2012 08:09 PM

Associated revisions

Revision 259f606e (diff)
Added by Pierre POMES almost 8 years ago

Ticket #2205 - Main logic for relayd global settings screen, still need to add stuff (input validation, etc) before closing ticket

Revision 206aa9fc (diff)
Added by Pierre POMES almost 8 years ago

Ticket #2205 - Add input validation, keep same logic as 2.0.1 and abore for default values

Revision bf34d0de (diff)
Added by Pierre POMES almost 8 years ago

Ticket #2205 - Add prefork setting

History

#1 Updated by Jim Pingle almost 8 years ago

That is ambiguous as to whether that works with inbound or outbound load balancing. The sticky option works for both in and out, gateway switching is outbound only, and those two new options are for inbound only. Seems a bit odd to have them there though, would be better to have a "global" options tab for relayd if they really are global, or per-vs or per-pool option if that makes more sense.

#2 Updated by Pierre POMES almost 8 years ago

You are right, it is confusing.

According to relayd man page, these parameters can be applied globally and for each redirection. However, when using a "interval" in a specific redirection, the value should be a multiple of the global interval value (if not, relayd does not stat)

So to be safe in a first time, I propose a new tab with global parameters only, cf screenshot.

Pierre

#3 Updated by Pierre POMES almost 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

New tab added for global relayd settings.

#4 Updated by James Starowitz almost 8 years ago

Im am ecstatic you are adding these much needed settings to the load balancer.

When we deployed our pfsense, we had to make 3 customizations to get the load balancer to work correctly,

1. interval
2. timeout
3. prefork

if you can add prefork to the advanced options then i can finally revert back to the stock config generators!

with the prefork set to default (5) our load balancer times out with many hosts, we have ours set at 30.

#5 Updated by Pierre POMES almost 8 years ago

I will add it.

Stay tuned.
Pierre

#6 Updated by Pierre POMES almost 8 years ago

Hi James,

It's added.
Pierre

#7 Updated by James Starowitz almost 8 years ago

awesome! i cant wait to upgrade to the latest version that has this support!

#8 Updated by Chris Buechler over 7 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF