[Samba] High CPU utilization for smbd on AIX

Jeff Schoby JAS at GoColumbiaMO.com
Tue Feb 22 16:41:48 GMT 2005


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



More information about the samba mailing list