You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Statsite usesSO_REUSEADDR option on UDP socket. This causes that if there is another UDP server bind to that port, statsite will take its place, receiving all packets. It's not so polite and an expected behaviour I think.
I tested this issue on Linux, on Mac OS does not happen. To replicate this issue disable tcp listen, open a statsite instance and then another one, you will see al metrics going to the new one.
The text was updated successfully, but these errors were encountered:
If this setting is changed it should wait until the next major release, since it has definite behavioral differences which are different across different platforms and the existing behavior is one that /could/ be useful for some people in doing "zero-downtime" style deploys. Where starting a new instance will pickup the data stream before the old instance is shutdown.
FWIW the specific effects of the SO_REUSEADDR socket option has varied in the recent past of the linux kernel AND is different on BSD and perhaps other platforms.
I think this issue should just be closed and if someone cares to do a PR which changes the socket options we can have a debate as to the merit of the change there.
Statsite uses
SO_REUSEADDR
option on UDP socket. This causes that if there is another UDP server bind to that port, statsite will take its place, receiving all packets. It's not so polite and an expected behaviour I think.I tested this issue on Linux, on Mac OS does not happen. To replicate this issue disable tcp listen, open a statsite instance and then another one, you will see al metrics going to the new one.
The text was updated successfully, but these errors were encountered: