Oleg Nykolyn added the comment:
There are multiple servers running in Kubrnetes cluster - API servers based on
Django, celery workers, etc. All of them send logs to AWS TCP balancer, which
acts as balancer for vector service[1], which send logs to Elasticsearch.
Basically we have following
New submission from Oleg Nykolyn :
Hi,
I've faced this issue when using logging.handlers.SocketHandler AWS TCP
balancer. AWS balancer uses 60 second time-out by default (max 4000s), thus
resulting in lots of closed sockets during inactive periods.
SocketHandler.send() drops current message