[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drbd-user
Subject:    Re: [DRBD-user] drbd, blocked processes in D state, send-Q, recv-Q
From:       Roland Friedwagner <roland.friedwagner () wu ! ac ! at>
Date:       2014-08-25 12:36:33
Message-ID: 201408251436.33422.roland.friedwagner () wu ! ac ! at
[Download RAW message or body]

Hello,

blocking is a normal behavor when you replication link TCP queues 
becomes full.

You may increase the linux kernel defaults like this in /etc/sysctl.conf
  net.core.rmem_default = 16777216
  net.core.wmem_default = 16777216
  net.core.rmem_max = 33554432
  net.core.wmem_max = 33554432
  net.ipv4.tcp_rmem = 131072 16777216 33554432
  net.ipv4.tcp_wmem = 131072 16777216 33554432
  net.ipv4.tcp_mem  = 131072 16777216 33554432
and switch to protocol A.
But after about 16MB unwritten data send to secondary it will block.

If you switch to drbd 8.4 is is pssible to switch automaticaly to resync
with a on-congestion policy.

Regards roland
_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic