Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: fork and spoon

by Illuminatus (Curate)
on Apr 04, 2011 at 11:57 UTC ( #897313=note: print w/replies, xml ) Need Help??


in reply to fork and spoon

Are you sure it is hanging on the actual system/backtick line that invokes the updater? You listed several functions that the manager can/will do. Does it always do all of them? It would seem like depending on how it was invoked, it would either start, show status, or kill. Is that the case? Are the updaters called within a loop? If so, I think you should post the loop.

fnord

Replies are listed 'Best First'.
Re^2: fork and spoon
by Sly_G (Novice) on Apr 04, 2011 at 22:28 UTC
    Well, thanks for concern - the problem has been solved. The child after fork must call setsid - after that he is officially cutted from parent and Apache closes connection.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://897313]
help
Chatterbox?
LanX explains much cargo bla ...
[Eily]: what? I thought PHP was known for its reliable and consistent behaviour and documentation!
[LanX]: ... and a lot of pseudo Perl experts
[Eily]: though honestly, I'm sure I have seen people use closure to mean anonysub for perl as well
[stonecolddevin]: good morning friends
[LanX]: yes, mainly pseudo Perl experts
[Eily]: good morning stonecolddevin
LanX has to go/
[Eily]: bye LanX

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2018-02-23 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (305 votes). Check out past polls.

    Notices?