I have test it 10 times with nodejs script 10k concurrent connection and every connection sending http request to google.com. It doesn't have problem. But if i tunnel data from my client pc, the server "just die" after 1 day running. i use linux debian jessie, perl5.25, perl5.20. | [reply] |
Maybe you can track it down a little bit by logging 'everything'.
I'd start by letting tcpdump log everything on input, everything on output into a file.
Once the server dies, the final parts of the logs might help finding out what is wrong.
Even if there is some bug to be found - I'd suspect some bad request - being able to reproduce the issue at will would be a huge help for debugging.
Also, monitor the server's size while running. Maybe it runs out of memory if there are some sort of memory leaks...?
Simply looking on the code and find what might be wrong is really hard, most of the time.
| [reply] |