Aeron Error

MediaDriver keepalive older than (ms): 10000

Solution:

  • aeron.close()
  • modify driverTimeout for Client, Server, MediaServer

Insufficient usable storage for new log of length=50335744 in /dev/shm (shm)

https://github.com/real-logic/aeron#troubleshooting


java.lang.InternalError(a fault occurred in a recent unsafe memory access operation in compiled Java code)

Cause: 在Linux上,/dev/shm空间不足


io.aeron.exceptions.DriverTimeoutException: no driver heartbeat detected


aeron.rcv.initial.window.length

1
2
3
4
Exception in thread “main” io.aeron.exceptions.ConfigurationException: window length greater than socket SO_RCVBUF, increase ‘aeron.rcv.initial.window.length’ to match window: windowLength=2097152, SO_RCVBUF=212992

WARNING: Could not get desired SO_RCVBUF, adjust OS to allow aeron.socket.so_rcvbuf: attempted=2097152, actual=212992
WARNING: Could not get desired SO_SNDBUF, adjust OS to allow aeron.socket.so_sndbuf: attempted=2097152, actual=212992

https://www.cnblogs.com/DaweiJ/articles/8528687.html
[Offial Doc]https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/
[Sysctl.conf]https://wiki.alpinelinux.org/wiki/Sysctl.conf
https://stackoverflow.com/questions/54749468/how-to-set-udp-buffer-size-for-a-docker-container
https://forums.docker.com/t/how-to-tune-kernel-properties-in-docker-images/25291