[Samba] please help: smbd 100% cpu usage
lists at mhcsoftware.de
lists at mhcsoftware.de
Sun Jun 20 19:58:33 GMT 2004
you are right ... as log.norber is quite large i've placed it here:
<http://www.mhcsoftware.de/log.norbert.txt>
log.smbd is mutch shorter:
[2004/06/20 19:44:02, 6] param/loadparm.c:lp_file_list_changed(2661)
lp_file_list_changed()
file /etc/samba/dhcp.conf -> /etc/samba/dhcp.conf last mod_time: Thu Jan
1 01:00:00 1970
file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Sun Jun
20 19:32:20 2004
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_KEEPALIVE = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_REUSEADDR = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_BROADCAST = 0
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option TCP_NODELAY = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option IPTOS_LOWDELAY = 16
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option IPTOS_THROUGHPUT = 16
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_SNDBUF = 8192
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_RCVBUF = 8192
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_SNDLOWAT = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_RCVLOWAT = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_SNDTIMEO = 0
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_RCVTIMEO = 0
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_KEEPALIVE = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_REUSEADDR = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_BROADCAST = 0
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option TCP_NODELAY = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option IPTOS_LOWDELAY = 16
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option IPTOS_THROUGHPUT = 16
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_SNDBUF = 8192
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_RCVBUF = 8192
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_SNDLOWAT = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_RCVLOWAT = 1
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_SNDTIMEO = 0
[2004/06/20 19:44:02, 5] lib/util_sock.c:print_socket_options(105)
socket option SO_RCVTIMEO = 0
[2004/06/20 19:44:02, 5] lib/gencache.c:gencache_init(59)
Opening cache file at /var/run/samba/gencache.tdb
[2004/06/20 19:44:02, 5] libsmb/namecache.c:namecache_enable(58)
namecache_enable: enabling netbios namecache, timeout 660 seconds
[2004/06/20 19:44:02, 10] registry/reg_cachehook.c:reghook_cache_add(60)
reghook_cache_add: Adding key
[/HKLM/SYSTEM/CurrentControlSet/Control/Print]
[2004/06/20 19:44:02, 8] lib/adt_tree.c:sorted_tree_add(247)
sorted_tree_add: Enter
[2004/06/20 19:44:02, 10] lib/adt_tree.c:sorted_tree_add(314)
sorted_tree_add: Successfully added node
[HKLM/SYSTEM/CurrentControlSet/Control/Print] to tree
[2004/06/20 19:44:02, 8] lib/adt_tree.c:sorted_tree_add(316)
sorted_tree_add: Exit
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_context_list(602)
Trying to load: smbpasswd
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(93)
Attempting to register passdb backend ldapsam
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(106)
Successfully added passdb backend 'ldapsam'
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(93)
Attempting to register passdb backend ldapsam_compat
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(106)
Successfully added passdb backend 'ldapsam_compat'
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(93)
Attempting to register passdb backend smbpasswd
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(106)
Successfully added passdb backend 'smbpasswd'
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(93)
Attempting to register passdb backend tdbsam
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(106)
Successfully added passdb backend 'tdbsam'
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(93)
Attempting to register passdb backend guest
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:smb_register_passdb(106)
Successfully added passdb backend 'guest'
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_methods_name(498)
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_methods_name(519)
Found pdb backend smbpasswd
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_methods_name(522)
pdb backend smbpasswd has a valid init
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_context_list(602)
Trying to load: guest
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_methods_name(498)
Attempting to find an passdb backend to match guest (guest)
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_methods_name(519)
Found pdb backend guest
[2004/06/20 19:44:02, 5] passdb/pdb_interface.c:make_pdb_methods_name(522)
pdb backend guest has a valid init
--On Sonntag, Juni 20, 2004 09:33:06 -0400 "Jason C. Waters"
<jwaters at h2os.com> wrote:
| That look like your nmbd. What about the log.norbert file and the
| log.smbd. Try tail -n 500 filename, for each that will output the last
| 500 lines of the file. You don't keep your log level at 10 do you? If
| you have a busy server this will peg your CPU.
|
| Jason
|
| lists at mhcsoftware.de wrote:
|
| > next try - as i was not able to post the level 10 log as a mail
| > (180kb) i've put it here: <http://www.mhcsoftware.de/smbprob.txt>
| >
| > the machine names are:
| >
| > samba server: linux
| > windows ME: norbert
| >
| > perhaps some can suggest a solution ...
| >
| > TIA
| > matthias
| >
| >
| >
| >
| > --On Freitag, Juni 18, 2004 08:01:45 -0400 "Jason C. Waters"
| > <jwaters at h2os.com> wrote:
| >
| > | Set your log level to 10 and then send us the log for smbd and the
| > | machine name. Maybe that will tell us something.
| > |
| > | Jason
| > |
| > | lists at mhcsoftware.de wrote:
| > |
| > | > hi,
| > | >
| > | > i've a problem with samba 3.0.2. there is one windows ME client
| > | > which used to work with out any problems. now, as soon as the user
| > | > connects (sharelevel: user, or share - i've tried both) on smbd is
| > | > forked
| > which
| > | > causes 90 to 100% cpu load. when i stop samba (smbd/nmbd) this
| > | > proces does not die i can only get rid of it whit a kill -9. with
| > | > this no data can be transfered from or to the win ME client.
| > | >
| > | > this is what a level 2 log stats:
| > | >
| > | > [2004/06/16 16:28:44, 2] smbd/reply.c:reply_special(105)
| > | > netbios connect: name1=LINUX name2=NORBERT
| > | > [2004/06/16 16:28:44, 2] smbd/reply.c:reply_special(112)
| > | > netbios connect: local=linux remote=norbert, name type = 0
| > | > [2004/06/16 16:28:44, 2] smbd/sesssetup.c:setup_new_vc_session(591)
| > | > setup_new_vc_session: New VC == 0, if NT4.x compatible we would
| > close
| > | > all old resources.
| > | > [2004/06/16 16:28:44, 2] auth/auth.c:check_ntlm_password(305)
| > | > check_ntlm_password: authentication for user [NORBERT] ->
| > | > [NORBERT] -> [norbert] succeeded
| > | > [2004/06/16 16:28:44, 1] smbd/service.c:make_connection_snum(705)
| > | > norbert (192.168.0.4) connect to service windows initially as user
| > | > norbert (uid=1000, gid=1000) (pid 10759)
| > | >
| > | > and top shows:
| > | >
| > | > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
| > | > 10759 norbert 25 0 10856 3652 8924 R 99.2 0.7 0:18.22 smbd
| > | >
| > | >
| > | > any suggestions ?
| > | >
| > | > TIA
| >
| >
--
Matthias Henze matthias at mhcsoftware.de
Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH voice: +49-(0)9533-92006-0
Fichtera 17 fax: +49-(0)9533-92006-6
96274 Itzgrund/Germany e-Mail: info at mhcsoftware.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the samba
mailing list