From owner-freebsd-net@FreeBSD.ORG Thu Dec 5 11:46:11 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2750216F for ; Thu, 5 Dec 2013 11:46:11 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D96CC158B for ; Thu, 5 Dec 2013 11:46:10 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id db12so13229678veb.8 for ; Thu, 05 Dec 2013 03:46:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=cZ0SuuLqXcu1J5zThNldubYBkpS6gR2tDX0Hzf/jIEU=; b=BsmnILlK0YkOwK11zmMLln3azyvhJUxRKPS3jaKkk4K3sG1PwTljotlcfHR+qqOyR3 x8G7rKN+hNJXRjOpTtKBgAIF18klyEZue7p0xMxmEZK+6rFkVtkvdJD7VEJidR2MQr1m EDX6+V4iuGLa1AjycMRY5JmZEdSxCinRJAr+R2/gD/62s/t3JCKBTOYrUFZ82zD0mxX4 ZV5VsuSJbt6wpEIJo/xBqdligGyfjNB0L1SIQS2DzB+C9eODtvAFrlnTWYz98pmjHdeg SDRRcHTrz/9GHM8ybQTZvHjEJDZRg5UdfC/K9EyomUGRiSEkPq3sKe1Fvgkmk3MqA7iv CtAw== X-Gm-Message-State: ALoCoQlaocxIH4l9bH6seEsPkp9dyhitHRHCile58Z6PLWgnVaopKzrgZnTzl8rEIL+IVJzgAteS MIME-Version: 1.0 X-Received: by 10.220.86.69 with SMTP id r5mr62999959vcl.9.1386243964186; Thu, 05 Dec 2013 03:46:04 -0800 (PST) Received: by 10.221.48.3 with HTTP; Thu, 5 Dec 2013 03:46:04 -0800 (PST) Date: Thu, 5 Dec 2013 13:46:04 +0200 Message-ID: Subject: Relayd and load balancing modes From: Ilias Bertsimas To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 11:46:11 -0000 Hello All, We are baffled by the relayd modes for relays as it seems some of them are not working at all. We are running FreeBSD 9.1-RELEASE-p7 and the latest relayd from ports relayd-5.4.20131122. We notice on relays with 2 hosts both of them up 100% we only get traffic sent to just one server. We tried mode loadbalance/hash/source-hash without any success. We only get load balancing between the 2 hosts with roundrobin or random. Both clients and target hosts are on the same vlan. We also had issues with any version apart from the "stable" packaged one that comes with FreeBSD 9.1. We end up with 2-3 relayd child procs at 100% cpu without doing anything I tried ktrace on them but there were no syscalls or anything else going on. They are unresponsive and survive reloads and only can be terminated with kill -9. Any ideas what is going on ? Kind Regards, Ilias Bertsimas.