[dapper] socket.c:1616: INSIST(!sock->pending_recv) failed [fixed 9.3.5-P2]

Bug #328688 reported by jwestfall
2
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bind9

Hi

Ever since the the 1:9.3.2-2ubuntu1.5 update to fix the source port randomization issue we have been seeing the following error on some of our busier name servers.

named[765]: socket.c:1616: INSIST(!sock->pending_recv) failed
named[765]: exiting (due to assertion failure)

From what I have gathered this issue is caused by having >1024 sockets being passed to select() and is suppose to be resolved by the following bug fix that went into 9.3.5-P2.

2406. [bug] Some operating systems have FD_SETSIZE set to a
low value by default, which can cause resource
exhaustion when many simultaneous connections are
open. Linux in particular makes it difficult to
increase this value. To use more sockets with
select(), set ISC_SOCKET_FDSETSIZE. Example:
STD_CDEFINES="-DISC_SOCKET_FDSETSIZE=4096" ./configure
(This should not be necessary in most cases, and
never for an authoritative-only server.) [RT #18328]

Would it be possible to either back port this fix or 9.3.5-P2 to dapper?

jwestfall (jwestfall)
description: updated
Revision history for this message
jwestfall (jwestfall) wrote : Re: [Bug 328688] Re: [dapper] socket.c:1616: INSIST(!sock->pending_recv) failed [fixed 9.3.5-P2]

Hi

Sorry I ment to update. In testing 9.3.5-P2 doesnt fix this issue. I
ended up having to goto 9.3.6-P1.

jim

LaMont Jones <email address hidden> wrote [03.18.09]:
> ** Summary changed:
>
> - [dapper] socket.c:1616: INSIST(!sock->pending_recv) failed
> + [dapper] socket.c:1616: INSIST(!sock->pending_recv) failed [fixed 9.3.5-P2]
>
> --
> [dapper] socket.c:1616: INSIST(!sock->pending_recv) failed [fixed 9.3.5-P2]
> https://bugs.launchpad.net/bugs/328688
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in ???bind9??? source package in Ubuntu: New
>
> Bug description:
> Binary package hint: bind9
>
> Hi
>
> Ever since the the 1:9.3.2-2ubuntu1.5 update to fix the source port randomization issue we have been seeing the following error on some of our busier name servers.
>
> named[765]: socket.c:1616: INSIST(!sock->pending_recv) failed
> named[765]: exiting (due to assertion failure)
>
> >From what I have gathered this issue is caused by having >1024 sockets being passed to select() and is suppose to be resolved by the following bug fix that went into 9.3.5-P2.
>
> 2406. [bug] Some operating systems have FD_SETSIZE set to a
> low value by default, which can cause resource
> exhaustion when many simultaneous connections are
> open. Linux in particular makes it difficult to
> increase this value. To use more sockets with
> select(), set ISC_SOCKET_FDSETSIZE. Example:
> STD_CDEFINES="-DISC_SOCKET_FDSETSIZE=4096" ./configure
> (This should not be necessary in most cases, and
> never for an authoritative-only server.) [RT #18328]
>
> Would it be possible to either back port this fix or 9.3.5-P2 to dapper?

Revision history for this message
Chuck Short (zulcss) wrote :

I believe this is fixed for karmic. If not can you re-open the bug and provide the error you are getting.

Regards
chuck

Changed in bind9 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.