2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

2416. [func] Log file descriptors that cause exceeding the

internal maximum. [RT #18460]
This commit is contained in:
Tatuya JINMEI 神明達哉
2008-08-13 23:44:18 +00:00
parent 52d5489b95
commit cf225ed6cd
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
2416. [func] Log file descriptors that cause exceeding the
internal maximum. [RT #18460]
2415. [bug] 'rndc dumpdb' could trigger various assertion failures
in rbtdb.c. [RT #18455]

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.298 2008/08/09 19:02:10 jinmei Exp $ */
/* $Id: socket.c,v 1.299 2008/08/13 23:44:18 jinmei Exp $ */
/*! \file */
@@ -1874,7 +1874,8 @@ opensocket(isc_socketmgr_t *manager, isc_socket_t *sock) {
ISC_LOGMODULE_SOCKET, ISC_LOG_ERROR,
isc_msgcat, ISC_MSGSET_SOCKET,
ISC_MSG_TOOMANYFDS,
"%s: too many open file descriptors", "socket");
"socket: file descriptor exceeds limit (%d/%u)",
sock->fd, manager->maxsocks);
return (ISC_R_NORESOURCES);
}
@@ -2625,8 +2626,9 @@ internal_accept(isc_task_t *me, isc_event_t *ev) {
ISC_LOGMODULE_SOCKET, ISC_LOG_ERROR,
isc_msgcat, ISC_MSGSET_SOCKET,
ISC_MSG_TOOMANYFDS,
"%s: too many open file descriptors",
"accept");
"accept: "
"file descriptor exceeds limit (%d/%u)",
fd, manager->maxsocks);
(void)close(fd);
goto soft_error;
}