When I use netstat, it shows the sockets my application is using. Great. However, randomly it starts showing them under a completely different program: sh. It started happening at least since I started stress testing it over 1000+ sockets (file descriptors). It could have been happening before that, I don't know I had other issues to work out. I'm using Asio.
Does anybody have the slightest idea what could be happening here?
The process id for sh seems to change too.. 5365/sh, 4192/sh, 1736/sh.
Then, out of the blue, it starts showing them back under my program name. It goes back and forth every 3-10 minutes. I feel this may also be causing a bug where all of my sockets suddenly go invalid.
What the heck? Any information greatly appreciated!