CPU Problem on Solaris and 2.2.2
Peter Bryant
peter at infopop.com
Wed Oct 31 20:01:05 GMT 2001
Hi we have a pretty nasty CPU usage problem running Samba 2.2.2 on Solaris
(SunOS infpdb01.atinfopop.com 5.8 Generic_108528-03 sun4u sparc
SUNW,Ultra-80)
The server was coping OK with the load then 'something changed' and CPU
usage has been climbing over the last couple of weeks. I've posted CPU,
config files and a sambastatus snapshot below. Other information that may
be helpful:
- We have a fair amount of load (maybe 20 8K file requests a second)
- The load has not changed much over the last couple of months (but CPU has
been creeping up).
- we have lots of files (30K or so)
- directories typically have no more than a dozen of so files each
- we are connecting to the server from 4 Windows2000 clients (application
servers)
- server is a SunE420R dual proc with a couple of Gb memory (also running
Oracle)
- storage is on an HP256 SAN device.
Any help you can provide is appreciated. Any troubleshooting advice also
appreciated. Thanks!
User CPU Util Cum Block
Block
Process Name PID PPID Pri Name ( 200% max) CPU IO Rate RSS
On
----------------------------------------------------------------------------
----
smbd 23113 23083 20 root 75.3/28.6 53047.7 0.2/ 0.9 11.1mb
NONE
smbd 23114 23083 41 root 70.9/29.5 54763.2 0.0/ 0.9 11.1mb
PRI
smbd 23111 23083 32 root 19.8/29.1 53920.2 0.0/ 0.8 11.2mb
PRI
smbd 23112 23083 40 root 9.9/31.4 58260.9 0.0/ 3.3 12.8mb
PRI
Config File:
[global]
workgroup = US
netbios name = xxxSAMBA01
interfaces = 208.xx.xxx.xxx
security = SHARE
log file = /var/adm/smb.log.%m
shared mem size = 104857600
os level = 65
comment = xxxx-smb
guest account = xxx
create mask = 0644
directory mask = 0775
[app_data]
path = /app_data
writeable = Yes
create mask = 0775
guest ok = Yes
locking = No
oplocks = No
Status:
[infp at infpdb01:/export/home/infp]$ /usr/local/samba/bin/smbstatus -d
Unknown parameter encountered: "shared mem size"
Ignoring unknown parameter "shared mem size"
using configfile = /usr/local/samba/lib/smb.conf
Opened status file ÿ¾÷0ÿ¶
Samba version 2.2.2
Service uid gid pid machine
----------------------------------------------
app_data infp admins 23111 xxxxp03 (208.xx.83.249) Mon Oct 29
16:19:39 2001
app_data infp admins 23114 xxxxp02 (208.xx.83.248) Mon Oct 29
16:19:40 2001
app_data infp admins 23112 xxxxp04 (208.xx.83.250) Mon Oct 29
16:19:39 2001
app_data infp admins 23113 xxxxp01 (208.xx.83.247) Mon Oct 29
16:19:39 2001
Locked files:
Pid DenyMode R/W Oplock Name
--------------------------------------------------
23111 DENY_NONE RDONLY NONE
/app_data/data/xxxx/uploads/xxxx_m.grande.bmp Wed Oct 31 19:39:32 2001
More information about the samba
mailing list