[lvs-users] Why do Weights Change by Themselves?

Robinson, Eric eric.robinson at psmnv.com
Thu Mar 26 08:59:11 GMT 2009

I've got ldirectord logs in /var/log, but they are all 0 bytes. My
ldirectord.cg contains these entries:


ldirectord is managed by heartbeat, so I'm not sure how to change its
debug level on the fly without messing with existing connections. 

Which brings up another point. I notice that my load balancer computers
BOTH have the following in rc.local:

/sbin/ipvsadm --start-daemon master
/sbin/ipvsadm --start-daemon backup

Both daemons are running on both computers. That's contrary to what the
man page seems to indicate, but then maybe it's correct for a heartbeat

Eric Robinson

-----Original Message-----
From: lvs-users-bounces at linuxvirtualserver.org
[mailto:lvs-users-bounces at linuxvirtualserver.org] On Behalf Of Graeme
Sent: Thursday, March 26, 2009 1:32 AM
To: LinuxVirtualServer.org users mailing list.
Subject: Re: [lvs-users] Why do Weights Change by Themselves?

On Thu, 2009-03-26 at 01:26 -0700, Robinson, Eric wrote:
> I've been using lvs+ldirectord for a while now. I've observed on many 
> occasions that weights sometimes seem to change spontaneously.

Nothing in a computer is ever spontaneous, unless it's broken. Or
overclocked ;-)

Anyway: you'll need to be looking in, or turning up the level of, your
logs. I suspect something, somewhere, is interacting with ldirectord (it
may be ldirectord itself) and is fiddling with the weights in normal

Can you see if anything is logged, and if not consider turning up the
log level?


Please read the documentation before posting - it's available at:

LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
Send requests to lvs-users-request at LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Disclaimer - March 26, 2009 
This email and any files transmitted with it are confidential and intended solely for LinuxVirtualServer.org users mailing list.. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physician Select Management and Physician's Managed Care. Warning: Although Physician Select Management and Physician's Managed Care have taken reasonable precautions to ensure no viruses are present in this email, the companies cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

More information about the lvs-users mailing list