Re: [lvs-users] ip_vs_send_async error

To: users mailing list. <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ip_vs_send_async error
From: Jay Faulkner <jay.faulkner@xxxxxxxxxxxxx>
Date: Wed, 16 Dec 2009 07:42:34 -0600
How does this work with people using the NoHZ kernels?

Jason Faulkner
Linux Engineer
Rackspace Email & Apps

-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx 
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Simon Horman
Sent: Wednesday, December 16, 2009 6:44 AM
To: users mailing list.
Subject: Re: [lvs-users] ip_vs_send_async error

On Wed, Dec 16, 2009 at 10:07:33AM +0200, Aleksey Chudov wrote:
> I have kernel and it seems like code was changed and there is no
> msleep_interruptible in net/netfilter/ipvs/ip_vs_sync.c

Completely untested, but I think that this will have the
effect that you are after.

diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c
index e177f0d..20b05db 100644
--- a/net/netfilter/ipvs/ip_vs_sync.c
+++ b/net/netfilter/ipvs/ip_vs_sync.c
@@ -757,7 +757,7 @@ static int sync_thread_master(void *data)
-               schedule_timeout_interruptible(HZ);
+               schedule_timeout_interruptible(HZ/10);
        /* clean up the sync_buff queue */

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

<Prev in Thread] Current Thread [Next in Thread>