X-Junkmail-Premium-Raw: score=7/49, refid=2.7.2:2014.8.30.134822:17:7.944, ip=, rules=__HAS_FROM, FROM_EDU_TLD, __TO_MALFORMED_2, __TO_NO_NAME, __SUBJ_ALPHA_START, __SUBJ_ALPHA_END, __HAS_MSGID, __SANE_MSGID, __MIME_VERSION, __CT, __CT_TEXT_PLAIN, __CD, __ANY_URI, __URI_NO_WWW, __URI_NO_PATH, __CP_URI_IN_BODY, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_1800_1899, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, __PHISH_SPEAR_STRUCTURE_1, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS MIME-Version: 1.0 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 Content-Disposition: inline X-Mirapoint-Virus-Rapid-Raw: score=unknown(0), refid=str=0001.0A150201.54065B6A.0014,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2012-12-31 14:30:00, dmn=2013-03-21 17:37:32 X-Junkmail-Status: score=10/49, host=jinn.its.uow.edu.au X-Junkmail-Iwf: false content-type: text/plain; charset="utf-8" Message-ID: <20140903000601.GA9456@uow.edu.au> X-Uow-Internal: yes by 10. Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) by bugs.isc.org (Postfix) with ESMTP id 055B42D20571 for ; Wed, 3 Sep 2014 00:06:07 +0000 (UTC) Received: from beru.its.uow.edu.au (beru.its.uow.edu.au [130.130.208.213]) by mx.pao1.isc.org (Postfix) with ESMTP id B73EA349410 for ; Wed, 3 Sep 2014 00:06:04 +0000 (UTC) Received: from jinn.its.uow.edu.au ([130.130.208.196]) by beru.its.uow.edu.au with esmtp (Exim 4.72) (envelope-from ) id 1XOy5K-0000U8-Ab for bind-bugs@isc.org; Wed, 03 Sep 2014 10:06:02 +1000 Received: from draci.its.uow.edu.au (HELO uow.edu.au) ([10.25.26.2]) by jinn.its.uow.edu.au (MOS 4.3.6-GA FastPath queued) with SMTP id BJU63699; Wed, 03 Sep 2014 10:06:01 +1000 (EST) Received: (nullmailer pid 11701 invoked by uid 2444); Wed, 03 Sep 2014 00:06:01 -0000 X-Mirapoint-Loop-ID: 8a68e4ec85110fcc8277b15658b8eb3a Delivered-To: bind9-bugs@bugs.isc.org Subject: runtime error X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A150201.54065B6A.0014,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2012-12-31 14:30:00, dmn=2013-03-21 17:37:32, mode=multiengine Return-Path: X-Original-To: bind9-bugs@bugs.isc.org Date: Wed, 3 Sep 2014 10:06:01 +1000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org To: bind-bugs@isc.org From: "Peter D. Gray" X-RT-Original-Encoding: us-ascii Content-Length: 1834 Hi there. I built bind 9.10-0-P2 on solaris 10 sparc, using studio compiler 12.3 I selected use_tuning=large just for fun. Build worked ok, but at runtime I get these messages in the log. Sep 3 09:45:40 sif1.its.uow.edu.au named[5461]: [ID 873579 syslog.error] socket.c:2786: unexpected error: Sep 3 09:45:40 sif1.its.uow.edu.au named[5461]: [ID 873579 syslog.error] setsockopt(560, SO_RCVBUF, 16777216) failed: No buffer space available Sep 3 09:45:41 sif1.its.uow.edu.au named[5461]: [ID 873579 syslog.error] socket.c:2786: unexpected error: Sep 3 09:45:41 sif1.its.uow.edu.au named[5461]: [ID 873579 syslog.error] setsockopt(560, SO_RCVBUF, 16777216) failed: No buffer space available Sep 3 09:45:41 sif1.its.uow.edu.au named[5461]: [ID 873579 syslog.error] socket.c:2786: unexpected error: Sep 3 09:45:41 sif1.its.uow.edu.au named[5461]: [ID 873579 syslog.error] setsockopt(560, SO_RCVBUF, 16777216) failed: No buffer space available It looks like the setting of RCVBUFSIZE in lib/isc/unix/socket.c is a bit excessive. /*% * The size to raise the receive buffer to (from BIND 8). */ #ifdef TUNE_LARGE #define RCVBUFSIZE (16*1024*1024) #else #define RCVBUFSIZE (32*1024) #endif /* TUNE_LARGE */ Increasing it by a factor of 500 seems a tad overkill and seems to cause problems on solaris. Could I suggest a factor of 8-32 might be a better idea. Actually, given the increasing size of DNS answers, maybe increasing the default would be a good idea as well. Anyway, just thought you would like to know. I am rebuilding without use_tuning. Keep up the good work. Regards, pdg Peter Gray Ph (direct): +61 2 4221 3770 Information Technology Services Ph (switch): +61 2 4221 3555 University of Wollongong Fax: +61 2 4229 1958 Wollongong NSW 2522 Email: pdg@uow.edu.au Australia URL: http://pdg.uow.edu.au