Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Perl EV script always closed with no warnings and error

by processor (Initiate)
on Apr 05, 2017 at 11:08 UTC ( #1187090=note: print w/replies, xml ) Need Help??


in reply to Re: Perl EV script always closed with no warnings and error
in thread Perl EV script always closed with no warnings and error

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.
  • Comment on Re^2: Perl EV script always closed with no warnings and error

Replies are listed 'Best First'.
Re^3: Perl EV script always closed with no warnings and error
by Krambambuli (Curate) on Apr 05, 2017 at 11:31 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1187090]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2020-12-02 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (47 votes). Check out past polls.

    Notices?