Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Forking not working when perl runs in Docker

by neilwatson (Priest)
on Nov 05, 2016 at 13:29 UTC ( [id://1175348]=perlquestion: print w/replies, xml ) Need Help??

neilwatson has asked for the wisdom of the Perl Monks concerning the following question:

Greetings,

I have an IRC bot using Bot::BasicBot and it does some forking to lookup requested data. It runs without problems, until I put it in a docker container. When in docker some forks seem not to happen. Has anyone experience this?

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re: Forking not working when perl runs in Docker
by GrandFather (Saint) on Nov 05, 2016 at 19:55 UTC

    I will look at a small self contained example script that demonstrates the problem, but I'm not going to go off site to chase down some code that I probably can't easily run to help solve an issue that is of minor interest to me.

    It's unlikely to be a Perl issue so much as something missing from the Docker image. Check your logs and make sure you use strictures (use strict; use warnings; - see The strictures, according to Seuss).

    Premature optimization is the root of all job security
Re: Forking not working when perl runs in Docker
by talexb (Chancellor) on Nov 07, 2016 at 17:03 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-03-28 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found