[Samba] High CPU utilization for smbd on AIX
Speaking of AIX on samba... (and just joined the list myself) (Some names and dates have been changed to protect the innocent) Samba server name: HEATHER Samba server is an IBM RS/6000 F50 with 1.2 GB of RAM and dual ~333 MHz ppc processors Samba 3.0.11 AIX 4.3.3 ML10 gcc -v Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.3.4/specs Configured with: ../gcc-3.3.4/configure --disable-nls Thread model: aix gcc version 3.3.4 # Begin smb.conf # Global parameters [global] netbios name = HEATHER workgroup = CAPSSGRP username map = /usr/local/samba/lib/smbusers wins server = 172.16.1.23 [web_calls] comment = data transfer share path = /usr/home/web_calls read only = No # End smb.conf Extracted, compiled, and installed form samba-latest tarball source. We have an application running on a windows 2000 server that mapps a drive to HEATHER. This application will periodically poll the mapped drive for files (*.sql - small text files with an MSSQL query in them), read them, execute the query to an MSSQL server and then delete the file. This directory can have anywhere from 0-30,000 files in it at any given time. Whenever the process on the windows 2000 server is accessing the samba drive the smbd process servicing it pretty much eats up the cpu on the samba server. The process on the win2k server goes through the files on the samba drive very slowly no matter how many files are in it. Any ideas/suggestions? -- Jeff Schoby Unix/Network Admin City of Columbia, Missouri 573.874.6320 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] High CPU utilization for smbd on AIX
On Tue, Feb 22, 2005 at 10:41:48AM -0600, Jeff Schoby wrote: Extracted, compiled, and installed form samba-latest tarball source. We have an application running on a windows 2000 server that mapps a drive to HEATHER. This application will periodically poll the mapped drive for files (*.sql - small text files with an MSSQL query in them), read them, execute the query to an MSSQL server and then delete the file. This directory can have anywhere from 0-30,000 files in it at any given time. Whenever the process on the windows 2000 server is accessing the samba drive the smbd process servicing it pretty much eats up the cpu on the samba server. The process on the win2k server goes through the files on the samba drive very slowly no matter how many files are in it. Any ideas/suggestions? Ok - for a directory with 30,000 files in it you need to have the latest svn source for Samba 3.0 (this fix isn't in 3.0.11 I'm afraid as it was deemed too big a change at too late a stage) and to follow the advice I gave on the list about how to set up a share to efficiently cope with large directories. Someone from IBM is happily using this for 100,000 file directories, so I'm comfortable that it works. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] High CPU utilization for smbd on AIX
Ok - for a directory with 30,000 files in it you need to have the latest svn source for Samba 3.0 (this fix isn't in 3.0.11 I'm afraid as it was deemed too big a change at too late a stage) and to follow the advice I gave on the list about how to set up a share to efficiently cope with large directories. Someone from IBM is happily using this for 100,000 file directories, so I'm comfortable that it works. Just joined the list yesterday, got a link to that archived post? This directory rarely has that many files in it. The point I was trying to get across was that the access was slow no matter how many files are there, due to the high cpu utilization of that particular smbd. If the directory has 3000 files in it...it even slows down on the AIX side and becomes unmanagable. Good to see that someone at IBM is using it that way tho. Thanks for the advice!... -- Jeff Schoby Unix/Network Admin City of Columbia, Missouri 573.874.6320 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] High CPU utilization
Gary MacKay schrieb: Apparently nobody has a suggestion to why smbd process all of a sudden starts sucking CPU like crazy? Restarted samba and then restarting the entire server does not fix it. Searching the archives shows I'm not the only one with this problem. The archives do not show what to do about it yet. Grr... Redhat 9.0 Samba 3.04 ( I have 2.2.7 servers that have done this to me also) Hello, i had the same problem. Check your groups and bmembers in there. The problem comes, when you have more groupmembers the users., or if you have a groupmember who is deleted user. matze -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] High CPU utilization
Matthias Spork wrote: Gary MacKay schrieb: Apparently nobody has a suggestion to why smbd process all of a sudden starts sucking CPU like crazy? Restarted samba and then restarting the entire server does not fix it. Searching the archives shows I'm not the only one with this problem. The archives do not show what to do about it yet. Grr... Redhat 9.0 Samba 3.04 ( I have 2.2.7 servers that have done this to me also) Hello, i had the same problem. Check your groups and bmembers in there. The problem comes, when you have more groupmembers the users., or if you have a groupmember who is deleted user. matze or ntop running on the samba server -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] High CPU utilization
Apparently nobody has a suggestion to why smbd process all of a sudden starts sucking CPU like crazy? Restarted samba and then restarting the entire server does not fix it. Searching the archives shows I'm not the only one with this problem. The archives do not show what to do about it yet. Grr... Redhat 9.0 Samba 3.04 ( I have 2.2.7 servers that have done this to me also) - Gary -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] High CPU utilization
I find this often happens if you are having nameserver trouble. That's one of the coincidences I have noticed in the past, but there are probably others... being out of locks or resources for example. Hope this helps at all. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630 On Mon, 24 May 2004, Gary MacKay wrote: Apparently nobody has a suggestion to why smbd process all of a sudden starts sucking CPU like crazy? Restarted samba and then restarting the entire server does not fix it. Searching the archives shows I'm not the only one with this problem. The archives do not show what to do about it yet. Grr... Redhat 9.0 Samba 3.04 ( I have 2.2.7 servers that have done this to me also) - Gary -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] High CPU utilization
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ryan Novosielski wrote: | I find this often happens if you are having nameserver | trouble. That's one of the coincidences I have noticed in | the past, but there are probably others... being out | of locks or resources for example. Hope this helps at | all. If a restart doesn't stop the CPU piggishness, I would recommend getting a network trace. Look for a client that is sending an abnormal amount of traffic. This has been reported to happen when you set 'disable spoolss = yes' and support 2k/XP clients. cheers, jerry - -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc ...a hundred billion castaways looking for a home. --- Sting -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAskj6IR7qMdg1EfYRAiNVAKCMaZaUhvqdb3DpTQGGUjYqGRNPeACePMTT e6BZgVOtllIXktWZ2ennMG4= =k8rH -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba