jboss_eap_6.x_jgrp000014_socket_buffer_warn

JGRP000014 Socket Buffer WARN

JBoss EAP 6.x 를 HA구성하여 기동시 아래와 같은 WARN 메세지가 나오는 경우

16:48:27,233 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 62) JGRP000014: the send buffer of socket DatagramSocket was set to 640KB, but the OS only allocated 124.93KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
16:48:27,233 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 62) JGRP000014: the receive buffer of socket DatagramSocket was set to 20MB, but the OS only allocated 124.93KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)
16:48:27,233 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 62) JGRP000014: the send buffer of socket MulticastSocket was set to 640KB, but the OS only allocated 124.93KB. This might lead to performance problems. Please set your max send buffer in the OS correctly (e.g. net.core.wmem_max on Linux)
16:48:27,234 WARN  [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 62) JGRP000014: the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 124.93KB. This might lead to performance problems. Please set your max receive buffer in the OS correctly (e.g. net.core.rmem_max on Linux)

이런 경우는 에러 메세지 내용대로 JBoss에서는 클러스터 데이터 전송을 위한 버퍼 사이즈가 설정되어있는데 OS의 설정이 낮아서 제대로된 성능이 나오지 않을수 있으므로 해당 파라메터를 변경하라는 내용이다.

# Allow a 25MB UDP receive buffer for JGroups
net.core.rmem_max = 26214400
# Allow a 1MB UDP send buffer for JGroups
net.core.wmem_max = 1048576

위와같이 설정해주면 해결이 가능하다.

관련링크 : https://access.redhat.com/solutions/190643

로그인하면 댓글을 남길 수 있습니다.
  • jboss_eap_6.x_jgrp000014_socket_buffer_warn.txt
  • 마지막으로 수정됨: 2015/09/21 07:56
  • 저자 koov