Re: [Gafd-users] afd 1.3.4 on HP-UX
Brought to you by:
hkiehl
From: Holger K. <Hol...@dw...> - 2007-06-05 09:29:40
|
On Tue, 5 Jun 2007, Holger Kiehl wrote: > On Mon, 4 Jun 2007, Holger Kiehl wrote: > >> On Mon, 4 Jun 2007, Stoyan Angelov wrote: >> >>> afd will not shutdown after that, and all processes need to be killed. >>> >> I have not yet found the cause of this, but will check this tomorrow. >> > Opening the pid file with O_SYNC solved this for me. Please try and see > if this patch also fixes the problem for you. > I just saw that this did not always help. There where still cases where you had to kill of the process by hand. Please try the attached patch, this uses mmap() instead of lseek()+write(). I have also attached the file init_afd.c so you do not need to patch, just copy this to src/init_afd. Regards, Holger |