[ejabberd] S2S SSL problem: too many open files

Magnus Henoch mange at freemail.hu
Thu May 11 14:25:45 MSD 2006

>From time to time, an encrypted S2S connection fails, leaving this in
the logs:

=INFO REPORT==== 2006-05-10 22:48:12 ===
I(<0.3971.17>:ejabberd_s2s_out:104): started: {"jabber.cd.chalmers.se",

=INFO REPORT==== 2006-05-10 22:48:15 ===
I(<0.3971.17>:ejabberd_s2s_out:486): starttls: {"jabber.cd.chalmers.se",

=INFO REPORT==== 2006-05-10 22:48:15 ===
I(<0.3971.17>:ejabberd_s2s_out:688): terminated: {{badmatch,
"SSL_CTX_use_certificate_file failed: error:02001018:system library:fopen:Too many open files"}},

When this happens, the user that tried to send a stanza to that server
receives a "remote server not found" error.

I'm not sure which process might be keeping files open; the limit is
set to 65536, which should be enough.  Has anyone else seen this?

JID: legoscia at jabber.cd.chalmers.se

More information about the ejabberd mailing list