3 ms·
The problem is that it doesn't scale linearly. There's some O(n4) algorithm being used in netstat or some kernel syscalls or something. Once you go over 250k,
by getsat 12y ago
The problem is that it doesn't scale linearly. There's some O(n4) algorithm being used in netstat or some kernel syscalls or something. Once you go over 250k, things get _really_ weird.
- patrickmcmanus 12y agotry ss -nt instead.. it uses netlink sockets instead of /proc and generally scales much better
- getsat 12y agoThanks for the tip!