> 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
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Kees Vonk 7249 24549
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Jeremy Howard
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Vivek Khera
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Kees Vonk 7249 24549
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Kees Vonk 7249 24549
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Tom Brown
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Kees Vonk 7249 24549
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Kees Vonk 7249 24549
- Re: fork inherits socket connection Stas Bekman
- Re: fork inherits socket connection Rafael Caceres
- Re: fork inherits socket connection Stas Bekman