send returns EPIPE when requesting a large group
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
send returns EPIPE when requesting a large group
- From: Jakub Hrozek <jhrozek [at] redhat.com>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: send returns EPIPE when requesting a large group
- Date: Tue, 13 Mar 2012 19:18:28 +0100
Hi,
in some cirstumcances, notably when a large group is requested and the
buffer provided by glibc wouldn't fit, the send() call tio_writebuf()
fails with EPIPE.
The issue has come up before ([1] for example) but from looking at both this
list archives and bug reports in Red Hat bugzilla, it seems that users are
getting quite confused as their syslog is filled up with "Broken pipe"
messages.
With EPIPE being quite a common and recoverable error, I was wondering
if it makese sense to special-case this error code and print the message
on a lower debug level?
Of course, it would be preferable to proactively detect that error, but
frankly I didn't see a way how..
Thank you,
Jakub
[1] http://lists.arthurdejong.org/nss-pam-ldapd-users/2011/msg00045.html
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/
- send returns EPIPE when requesting a large group,
Jakub Hrozek