|
From: Olaf H. <ola...@ph...> - 2007-04-11 20:35:08
|
...
> I see these errors:
>
> Couldn't remove semaphore set 23789588: Identifier removed at
> source.pl line 0
> Couldn't remove shared memory segment 23789588: Invalid argument at
> source.pl line 0
>
IMHO adding the following line to your config ...
log4perl.appender.SyncScreen.options = sub { { create => 1, destroy => 0 } }
... should solve the issue.
The 'destroy' attribute controls whether the semaphore will be removed while a
process is going to terminate. With the given additional line the semaphore
survives. (You can check this also with 'ipcs' tool.)
If this is a problem for you then your altruistic good parent process ;-) will
have to clean it up at the very end.
Regards,
Olaf
|