From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Graham Allan Newsgroups: gmane.os.tru64.managers Subject: SUMMARY Re: Samba "Incurred fault #32" on ES40 Date: Tue, 03 May 2005 12:19:05 -0500 Message-ID: <20050503171905.GQ8902@physics.umn.edu> References: <20050503153938.GM8902@physics.umn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115141779 23893 80.91.229.2 (3 May 2005 17:36:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 May 2005 17:36:19 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue May 03 19:36:17 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DT1JB-0005gU-SH for gotm-tru64-unix-managers@gmane.org; Tue, 03 May 2005 19:35:46 +0200 Original-Received: (qmail 25260 invoked by uid 49509); 3 May 2005 17:41:51 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25245 invoked by uid 49501); 3 May 2005 17:41:51 -0000 Original-Received: from 160.91.4.119 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 1.450345 secs); 03 May 2005 17:41:51 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute1.cind.ornl.gov (160.91.4.119) by sws1.ornl.gov with SMTP; 3 May 2005 17:41:50 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IFX00H4QD512S@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 May 2005 13:41:48 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IFX00G5ID1WRM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 May 2005 13:39:51 -0400 (EDT) Original-Received: from florence.spa.umn.edu (florence.spa.umn.edu [128.101.220.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTPS id <0IFX009WFC3V6N@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 May 2005 13:19:11 -0400 (EDT) Original-Received: from peevish.spa.umn.edu ([128.101.220.230]) by florence.spa.umn.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44 (FreeBSD)) id 1DT133-000GJv-Ug for tru64-unix-managers@ornl.gov; Tue, 03 May 2005 12:19:07 -0500 Original-Received: from peevish.spa.umn.edu (localhost.localdomain [127.0.0.1]) by peevish.spa.umn.edu (8.12.11/8.12.11) with ESMTP id j43HJ5x6018124 for ; Tue, 03 May 2005 12:19:05 -0500 Original-Received: (from allan@localhost) by peevish.spa.umn.edu (8.12.11/8.12.11/Submit) id j43HJ5mc018122 for tru64-unix-managers@ornl.gov; Tue, 03 May 2005 12:19:05 -0500 In-reply-to: <20050503153938.GM8902@physics.umn.edu> Original-To: tru64-unix-managers@ornl.gov Content-disposition: inline User-Agent: Mutt/1.4.1i X-Envelope-From: X-SA-Exim-Version: 4.1 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.3 Xref: news.gmane.org gmane.os.tru64.managers:8252 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8252 We found the cure: Remove "ldap" from the netgroups line of /etc/nsswitch.conf Discovered from truss as smbd was accessing the netscape ldap certificate files /etc/cert7.db, despite being linked against openldap. It's possible that samba had not been restarted since ldap was added to nsswitch.conf a month or so ago. One certainly wouldn't expect a config change like this to break a previously working application, but... We did "sort of" get ldap netgroups working a while back, but it was always on the todo-list to either email the list about or open a support call, as it's very inconsistent, not to mention almost undocumented. At present, we have several systems which are successfully using ldap for netgroups. They're all running 5.1B PK3. Those running PK4 generally don't work, although the samba server did have PK4 and was using ldap netgroups successfully prior to today. I've re-enabled NIS purely for netgroups support, for now. On PK3 machines, "lsof" shows that mountd makes a direct connection to the ldap server. On PK4 machines, there is no such connection, *but* a small C program written to enumerate the netgroups contents does work! Goodness knows what is going on. If ldap netgroups (presumably /usr/shlib/libnss_ldap.so) doesn't operate through ldapcd and ldapcd.conf, then I don't even see where it gets its configuration from (how does it know where the ldap server is?) - yet if it does operate through ldapcd, then why does the PK3 mountd itself connect to the ldap server? Graham On Tue, May 03, 2005 at 10:39:39AM -0500, Graham Allan wrote: > We've had Samba 3.0.x running for about a year now on our ES40, Tru64 > 5.1B PK4. Suddenly yesterday it went badly wrong, for no apparent > reason - all smbd processes become cpu-bound, though they function > (slowly). Load average on the server heads up towards 200 or so unless > we kill samba. We tried a bunch of things ranging from tweaking the > samba config (which has worked for a long time unchanged), updating > samba from 3.0.11 to 3.0.14a, to restarting the system. No change. > > Attaching to a cpu-bound smbd with truss shows rapid repeated > occurances of: > > Incurred fault #32, FLTBOUNDS %pc = 0x000003FF801D40BC > addr = 0x000000011FFF8C40 > > the memory addresses stay contant across processes and samba restarts. > > This is perhaps more samba related than Tru64, but while we continue to > look for a cause, I thought I'd throw this out to the list, to see if > anyone has any ideas about interpreting it... > > Graham > -- > ------------------------------------------------------------------------- > Graham Allan > School of Physics and Astronomy - University of Minnesota > ------------------------------------------------------------------------- -- ------------------------------------------------------------------------- Graham Allan - I.T. Manager - gta@umn.edu - (612) 624-5040 School of Physics and Astronomy - University of Minnesota -------------------------------------------------------------------------