[ic] Restart and stop problems (multilple processes)

Joachim Leidinger interchange-users@icdevgroup.org
Thu Feb 6 18:46:00 2003


Mike Heins wrote:
....
> No, I don't believe that is any good. We can't be sure it is the same
> process in all situations. It is still a bug in Perl or Solaris....there
> is no way that an opening and reading a file with a completely different
> file handle should release the lock.
> 
> I could go for this:
> 
> 	my $pid = $Global::Variable->{MV_BAD_LOCK} ? $$ : read_pidfile();
> 
> At that point, you just need to set 
> 
> 	Variable MV_BAD_LOCK 1 
> 
> in interchange.cfg.
> 
> I have made that change in CVS.

What is the right solution for IC Version 4.8.6?
I want to try the above solution, but Server.pm with

$Id: Server.pm,v 2.0.2.6 2002/08/11 15:24:03

is not the same as the version for the IC version 4.9 of course and /I'm 
a still stupid perl user. ;-)/

Thanks!

jojo


-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing.
[joachim@leidinger.net]
http://www.leidinger.net