Package: ejabberd
Version: 2.0.1-2
Severity: normal

Hello,

Some days ago we configured ejabberd to use ldaps (port 636) instead of
plaintext ldap to talk with our LDAP server. But after some days of
uptime it reproduceable reaches the open-file limit of 1024 for the
ejabberd user.

[EMAIL PROTECTED]:~$ sudo lsof | grep -i ssl_esock | wc -l
1036

lsof shows a lot of:

ssl_esock 32237    ejabberd 1003u     sock        0,5
922756488 can't identify protocol
ssl_esock 32237    ejabberd 1004u     sock        0,5
922756490 can't identify protocol
ssl_esock 32237    ejabberd 1005u     sock        0,5
922756493 can't identify protocol
ssl_esock 32237    ejabberd 1006u     sock        0,5
922756496 can't identify protocol
ssl_esock 32237    ejabberd 1007u     sock        0,5
922771760 can't identify protocol
ssl_esock 32237    ejabberd 1008u     sock        0,5
922771762 can't identify protocol

[EMAIL PROTECTED]:~$ ulimit -a | grep "open files"
open files                      (-n) 1024


When that happens, users can not logon with their clients. Already
logged in users have no problem - but they can not update buddy
information of other users anymore.

After a restart of ejabberd (or killing ssl_esock only),
everything is fine again.

Regards,
Andreas

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages ejabberd depends on:
ii  adduser                3.102             Add and remove users and groups
ii  debconf [debconf-2.0]  1.5.11etch1       Debian configuration management sy
ii  erlang-nox             1:11.b.2-4        Concurrent, real-time, distributed
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libexpat1              1.95.8-3.4        XML parsing C library - runtime li
ii  libpam0g               0.79-5            Pluggable Authentication Modules l
ii  libssl0.9.8            0.9.8c-4etch3     SSL shared libraries
ii  openssl                0.9.8c-4etch3     Secure Socket Layer (SSL) binary a
ii  ucf                    2.0020            Update Configuration File: preserv
ii  zlib1g                 1:1.2.3-13        compression library - runtime

ejabberd recommends no packages.

-- debconf information:
  ejabberd/nomatch:
  ejabberd/user:
  ejabberd/hostname: localhost



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to