[exim] Patch to fix fclose() errors?

Top Page
Delete this message
Reply to this message
Author: Ward Willats
Date:  
To: exim-users
Old-Topics: [exim] match_domain and named list with query style lookup
Subject: [exim] Patch to fix fclose() errors?
This appeared from Dean Brooks on August 2nd:

>We're running Exim under Solaris 8 on Sparc hardware, and for a long
>time (at least since 4.x was released if I recall) we have always
>had random entries in our panic logs of:
>
>    2006-08-02 09:54:29 daemon: fclose(smtp_out) failed: Broken pipe
>    2006-08-02 09:54:29 daemon: fclose(smtp_out) failed: Broken pipe
>    2006-08-02 09:54:36 daemon: fclose(smtp_out) failed: Broken pipe

>
>We would get 30 to 40 of these every day across all of our servers
>running Solaris.
>
>I don't know if this is the _proper_ fix or not (against 4.63 source),
>but it finally made these errors go away. I did find the following
>text in the Solaris man page on socket():
>
>    A SIGPIPE signal is raised if a process sends on a broken stream;
>    this causes naive processes, which do not handle the signal, to exit.

>
>Not sure if this is somehow related to this error, but thought I would
>mention it if related.
>


I just wanted to chime in that I am running Exim 4.63 on FreeBSD 5.4
and I too had these errors regularly since 4.x was released. Applying
this patch fixed the problem completely. Thank you Dean!

-- Ward