Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by Krambambuli (Curate)
on Apr 05, 2017 at 11:31 UTC ( #1187093=note: print w/replies, xml ) Need Help??


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

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2019-11-15 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (84 votes). Check out past polls.

    Notices?