> Kees, if you are doing system() call just put setsid back, 
> and add this:
> 
>  tie *OUT, 'Apache';
>  close OUT;
> 
> Apache keeps the socket tied. Tell me whether this works
> for you.
> 
> I'll document these things shortly and post for your
> review.

Adding (between fork and setsid):

  tie *OUT, 'Apache';
  close OUT;

causes the following error:

  Can't locate object method "TIEHANDLE" via package "Apache"
  at /app/env_control/bin/depldctl line 142.

(where depldctl is my long running process).
When I add 'use Apache;' I get the following error:

  Can't locate object method "request" via package "Apache"
  at /opt/perl5/lib/site_perl/PA-RISC2.0/Apache.pm line 191.

any ideas?

Kees

Reply via email to