[Samba] Tall tale of woe....
Gerald (Jerry) Carter
jerry at samba.org
Fri Dec 12 14:12:20 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ross McInnes (Systems) wrote:
| When and if it happens again i will try and get an strace
| im assuming its simply strace -p PID
| does it log the results somewhere? or do i >> to a log file?
| was thinking just in case it was a lot of information.
It logs to stdout.
|> Are you servning printers by chance? If so have you
|> set 'disable spoolss = yes' ? I've seen high CPU utilization
|> cases in relation to this param.
|
| yes i am serving printers.. ive just checked the config
| and i dont have 'disable spoolss = yes'
I think the key will be figuring out which tdb the
runaway smbd is reading.
|> use mii-tool and check the duplex settings. And any
|> hardware can have problem no matter what the price tag
|> says :-) Chgeck you routers. Maybe they are getting
|> overloaded or are dropping packets.
|
| Ah, yes network traffic. i ran mii-tool and it reports
| eth0: negotiated 100baseTx-FD flow-control, link ok
|
| However, its a GB card and acording to the switch linked at a GB. im
| hoping mii-tool is wrong.....
Probably. Does ifconfig show an abnormal amount of errors?
If not, then you are probably ok wrt duplex settings, et. al.
And to clarify, when the smbd starts sucking up CPU, check to
which client it is connected to and look at the traffic
pattern from that client to see if the smbd process is doing
real work on behalf of the client.
cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "If we're adding to the noise, turn off this song" --Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/2czDIR7qMdg1EfYRArbGAJ48JseuqNzY56LSLB95ER63P4NslgCfTd7n
YZ5Bg3WeSzn4Z4PFyai8fWk=
=8Cd8
-----END PGP SIGNATURE-----
More information about the samba
mailing list