Re: [Exim] exim 4.14 slow for local deliveries?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Dennis Davis
Data:  
Para: exim-users
Assunto: Re: [Exim] exim 4.14 slow for local deliveries?
>From: Philip Hazel <ph10@???>
>To: Exim Users list <exim-users@???>
>Subject: Re: [Exim] exim 4.14 slow for local deliveries?
>Date: Mon, 17 Mar 2003 15:37:35 +0000 (GMT)
>
>What OS are you using? Is is a BSD OS? If so, you may be right about
>item 34. I appear to have fallen in a pit into which I keep repeatedly
>falling, by writing signal() instead of os_non_restarting_signal(). This
>works on Solaris and Linux, so I never notice. (Why, oh, why, are the
>defaults different?)
>
>You can test out this hypothesis by changing line 275 of exim.c from
>
> void (*oldsignal)(int) = signal(SIGALRM, sigalrm_handler);
>
>to
>
> os_non_restarting_signal(SIGALRM, sigalrm_handler);
>
>and changing line 201, which reads
>
> signal(SIGALRM, oldsignal);
>
>to
>
> signal(SIGALRM, SIGIGN);


/* Enter pedantry mode */

That's line 212 in the source I just downloaded.

/* Exit pedantry mode */

>This is a hack, but I think it will work. (It now doesn't preserve the
>signal setting, it just disables it, but I think that was just
>tidiness.)


Would it be wise for us users of BSD systems to apply this patch
anyway?