Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Improve my tcp-mqtt server

by perlfan (Vicar)
on Jun 22, 2020 at 06:22 UTC ( [id://11118345]=note: print w/replies, xml ) Need Help??


in reply to Improve my tcp-mqtt server

nohup ./tcp-mqtt_server_multiclient.pl 2> nohup.out &

Probably not your issue, but make sure by not clobering nohup.out:

nohup ./tcp-mqtt_server_multiclient.pl 2> nohup.out.errs &
You can checkout nohup.out for messages via STDOUT, still.

You can skip nohup and catch the signal in the Perl code, then do something actually useful, like reread a config or reset the service, etc:

$SIG{HUP} = sub { warn "never gonna give you up!" };

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-16 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found