[Date Prev][Date Next] [Chronological] [Thread] [Top]

ber_get_next on fd 25 failed errno=34 (Numerical result out of range) (ITS#2575)



Full_Name: CK Cheung
Version: 2.1.21
OS: Red Hat 7.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (202.64.142.21)


Hi,

        I am running openldap-2.1.21 with BerkeleyDB 4.1.25 and OpenSSL
0.9.7b. I use bdb backend.
        When I use perl-ldap-0.2701 to modify entry in the LDAP server,
the operation stop suddenly and the following is the log of the slapd.

------------------------------------------------------------------------------]
Jun  2 21:41:54 emailldap slapd[25051]: ====>
bdb_unlocked_cache_return_entry_w( 90691 ): returned (0)
Jun  2 21:41:54 emailldap slapd[25042]: daemon: activity on:
Jun  2 21:41:54 emailldap slapd[25042]:  25r
Jun  2 21:41:54 emailldap slapd[25042]:
Jun  2 21:41:54 emailldap slapd[25042]: daemon: read activity on 25
Jun  2 21:41:54 emailldap slapd[25042]: connection_get(25)
Jun  2 21:41:54 emailldap slapd[25042]: connection_get(25): got connid=23
Jun  2 21:41:54 emailldap slapd[25042]: connection_read(25): checking for
input on id=23
Jun  2 21:41:54 emailldap slapd[25042]: ber_get_next on fd 25 failed
errno=34 (Numerical result out of range)
Jun  2 21:41:54 emailldap slapd[25042]: connection_read(25): input
error=-2 id=23, closing.
Jun  2 21:41:54 emailldap slapd[25042]: connection_closing: readying
conn=23 sd=25 for close
Jun  2 21:41:54 emailldap slapd[25042]: connection_close: conn=23 sd=25
Jun  2 21:41:54 emailldap slapd[25042]: daemon: removing 25
Jun  2 21:41:54 emailldap slapd[25042]: conn=23 fd=25 closed
Jun  2 21:41:54 emailldap slapd[25042]: daemon: select: listen=6
active_threads=0 tvp=NULL
Jun  2 21:41:55 emailldap slapd[25042]: daemon: activity on 1 descriptors
Jun  2 21:41:55 emailldap slapd[25042]: daemon: select: listen=6
active_threads=0 tvp=NULL
-----------------------------------------------------------------------------

        The bdb backend contains 90000 entries and I already set
"sockbuf_max_incoming 1000131072" in slapd.conf. Is the problem caused by
slapd configration or the BerkeleyDB ?
        I look forward to see your reply. Thank you.

Regards,

CK