[ZBX-18951] Zabbix server: TCP CLOSE_WAIT until forever with media type slack Created: 2021 Feb 01 Updated: 2021 Mar 29 |
|
Status: | Confirmed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 5.0.8 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Steffen Scheib | Assignee: | Zabbix Development Team |
Resolution: | Unresolved | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Steps to reproduce:
root@zabbix:/home/steffen# ss -ano | grep CLOSE-WAIT root@zabbix:/home/steffen#
root@zabbix:/home/steffen# ss -ano | grep CLOSE-WAIT tcp CLOSE-WAIT 40 0 10.10.20.8:47818 3.123.248.34:443 root@zabbix:/home/steffen#
root@zabbix:/home/steffen# ss -ano | grep CLOSE-WAIT tcp CLOSE-WAIT 40 0 10.10.20.8:59914 3.123.248.34:443 tcp CLOSE-WAIT 40 0 10.10.20.8:47818 3.123.248.34:443 root@zabbix:/home/steffen#
root@zabbix:/home/steffen# systemctl restart zabbix-server root@zabbix:/home/steffen# ss -ano | grep CLOSE-WAIT root@zabbix:/home/steffen# Result: With every new alert a new CLOSE_WAIT socket will spawn and the server will eventually run out of open ports.
Initially I "reported" the issue back in the beginning of 2020 [here|https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/394351-zabbix-4-4-5-slack-media-type-tcp-close-wait]and here. I guess nobody is monitoring for CLOSE_WAIT sockets or is not making use of the webhooks. BTW: The same can be reproduced with Discord as media type.
|
Comments |
Comment by Steffen Scheib [ 2021 Feb 01 ] |
Unfortunately, I am unable to edit the issue, so here the corrected link for the second "here": |