Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually tool "ping 8.8.8.8" never quits unless running on windows. This can spawn many processes that kill the server.

This is one of the first production grade errors I've made when I started my programming. I had a widget that would ping the network, but every time someone went on the page, a new ping process would spawn



If you look at the actual code, it runs ping -c 5. I agree ping without options doesn't terminate.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: