Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] changing kickoff time

 
Goto page 1, 2, 3
   Soft32 Home -> Linux -> Samba RSS
Next:  [RFC]cfq-iosched: improve hw_tag detection  
Author Message
Carsten John

External


Since: Oct 26, 2009
Posts: 1



(Msg. 1) Posted: Mon Oct 26, 2009 5:20 am
Post subject: [Samba] changing kickoff time
Archived from groups: linux>samba (more info?)

Hello everybody,


we moved our samba server to a new machine. This included changing the
samba version from 3.024 to 3.4.2 and changing the OS from Linux to
Opensolaris.

Samba was compiled from scratch. Passdb Backend is tdb.

After the upgrade everything works fine......except:

Some users can not login, due to an expired account.

Further investigation showed that the "Kickoff Time" of the affected
users is set to "Thu, 01 Jan 1970 00:59:59 CET". All unaffected user
show up "never" for the Kickoff Parameter.

Is there a way to control the kickoff time via command line?

A quick grep through the sources showed up the "pdb_set_kickoff_time"
function in passdb.c, but the function seems only to be referenced by
pdb_ldap.c which does not help with our tdb backend.

Deleting und recreating the user would work, but forces us to reset the
passwords....


thx



Carsten

--
Max Planck Institut fuer marine Mikrobiologie
- Network Administration -
Celsiustr. 1
D-28359 Bremen
Tel.: +49 421 2028568
Fax.: +49 421 2028565
PGP public key:http://www.mpi-bremen.de/Carsten_John.html
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 2) Posted: Mon Oct 26, 2009 7:20 pm
Post subject: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Checked up on my new 3.3.8 installation and found this after a vista
workstation was idle all day on the network

I forgot to save the smbstatus output but it was a long list of PIDs linked
to the workstation in question.

Also I restarted then stopped the server and all the processes stayed there.



PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
12484 root 1 117 0 11388K 8080K CPU3 3 6:38 93.65% bzip2
546 root 1 51 0 3184K 988K select 3 70:47 12.60% syslogd
12558 root 1 98 0 14624K 5628K RUN 3 0:06 9.57% smbd
9540 root 1 98 0 14624K 5500K RUN 2 27:59 0.00% smbd
11658 root 1 98 0 14624K 5596K RUN 3 23:29 0.00% smbd
10785 root 1 98 0 14624K 5544K RUN 2 23:04 0.00% smbd
9836 root 1 102 0 14624K 5492K RUN 2 22:56 0.00% smbd
11076 root 1 98 0 14624K 5540K RUN 0 21:43 0.00% smbd
10495 root 1 98 0 14624K 5544K RUN 0 21:28 0.00% smbd
11979 root 1 97 0 14624K 5608K RUN 0 19:53 0.00% smbd
10183 root 1 97 0 14624K 5504K RUN 2 13:26 0.00% smbd
11472 root 1 97 0 14624K 5588K RUN 0 12:21 0.00% smbd
10328 root 1 97 0 14624K 5516K RUN 0 7:45 0.00% smbd
11385 root 1 99 0 14624K 5568K RUN 2 7:27 0.00% smbd
10730 root 1 98 0 14624K 5536K RUN 0 4:06 0.00% smbd
9472 root 1 98 0 14624K 5484K RUN 2 3:36 0.00% smbd
11932 root 1 98 0 14624K 5600K RUN 0 3:17 0.00% smbd
11609 root 1 98 0 14624K 5588K RUN 3 3:05 0.00% smbd
10085 root 1 99 0 14624K 5488K RUN 0 3:04 0.00% smbd
10129 root 1 98 0 14624K 5504K RUN 0 2:52 0.00% smbd
11029 root 1 98 0 14624K 5536K RUN 0 2:16 0.00% smbd
11904 root 1 98 0 14624K 5584K RUN 3 2:04 0.00% smbd
12246 root 1 98 0 14708K 5664K RUN 0 2:03 0.00% smbd
9454 root 1 99 0 14624K 5448K RUN 2 1:54 0.00% smbd
9172 root 1 100 0 14624K 5424K RUN 2 1:52 0.00% smbd
10441 root 1 98 0 14624K 5520K RUN 2 1:48 0.00% smbd
10475 root 1 97 0 14624K 5480K RUN 0 1:30 0.00% smbd
11340 root 1 98 0 14624K 5552K RUN 0 1:28 0.00% smbd
10420 root 1 97 0 14624K 5516K RUN 2 1:21 0.00% smbd
11309 root 1 98 0 14624K 5512K RUN 2 1:14 0.00% smbd
12207 root 1 97 0 14708K 5664K RUN 0 1:05 0.00% smbd
12195 root 1 98 0 14708K 5592K RUN 0 0:41 0.00% smbd
10175 root 1 97 0 14624K 5488K RUN 0 0:34 0.00% smbd
12220 root 1 97 0 14708K 5624K RUN 0 0:29 0.00% smbd
11377 root 1 97 0 14624K 5568K RUN 0 0:24 0.00% smbd
3797 root 1 44 0 8428K 2656K select 3 0:24 0.00% sshd
11326 root 1 97 0 14624K 5528K RUN 0 0:21 0.00% smbd
3867 root 1 44 0 8340K 4364K select 3 0:17 0.00% mc
9533 root 1 97 0 14624K 5448K RUN 0 0:12 0.00% smbd
11067 root 1 98 0 14624K 5496K RUN 0 0:09 0.00% smbd
11371 root 1 97 0 14624K 5528K RUN 2 0:09 0.00% smbd
9448 root 1 98 0 14624K 5448K RUN 2 0:04 0.00% smbd
5945 root 1 44 0 4672K 1624K select 3 0:04 0.00% ntpd
786 root 1 44 0 5876K 2440K select 0 0:02 0.00% sendmail
3742 root 1 44 0 8428K 2656K select 2 0:02 0.00% sshd
5732 bind 7 4 0 28916K 22612K kqread 2 0:01 0.00% named
5886 dhcpd 1 44 0 3128K 1656K select 0 0:01 0.00% dhcpd
3869 root 1 5 0 4396K 1780K ttyin 2 0:01 0.00% bash
796 root 1 8 0 3212K 960K nanslp 2 0:00 0.00% cron
790 smmsp 1 20 0 5876K 2192K pause 3 0:00 0.00% sendmail
3801 root 1 8 0 4396K 1732K wait 3 0:00 0.00% bash
3746 root 1 8 0 4396K 1652K wait 2 0:00 0.00% bash
12555 root 1 96 0 14428K 5428K select 2 0:00 0.00% smbd
12559 root 1 44 0 3496K 1496K CPU0 0 0:00 0.00% top
487 root 1 44 0 1888K 428K select 0 0:00 0.00% devd
780 root 1 44 0 5752K 2292K select 0 0:00 0.00% sshd
12549 root 1 50 0 9516K 3008K select 3 0:00 0.00% nmbd
12471 root 1 8 0 3128K 964K wait 0 0:00 0.00%
newsyslog


Ohh and I started getting this again.....this problem has come and gone
lately...its back now.

Any thoughts would be appreciated.

Thanks
Brian


Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 3) Posted: Mon Oct 26, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Also, here is my config...

[global]
workgroup = XNET2
server string = Samba Server
hosts allow = 10.0.2., 127.
guest account = guest
interfaces = dc0
log level = 2
log file = /var/log/samba/%m-samba.log
max log size = 500
time server = Yes
socket options = SO_RCVBUF=8192 SO_SNDBUF=8192
security = user
passdb backend = tdbsam
dns proxy = no
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
wins support = Yes


# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT
both
; wins server = w.x.y.z

#============================ Share Definitions
==============================
[homes]
comment = Home directory for %u on %h
browseable = no
writable = yes
path = /usr/home/%u/Documents
valid users = %S


[tmp]
comment = Temporary file space
path = /usr/samba-shares/tmp
read only = no
public = yes

[public]
comment = Public Directory, r/w all users, guest owns all files
path = /usr/samba-shares/public
public = yes
only guest = yes
writable = yes
printable = no

[share1]
comment = Share Directory No. 1, Writable only by group wheel members
path = /usr/samba-shares/file-server1
public = yes
writable = yes
printable = no
write list = @wheel

[share2]
comment = Share Directory No. 2, Writable only by group wheel members
path = /usr/samba-shares/file-server2
public = yes
writable = yes
printable = no
write list = @wheel

[share3]
comment = Share Directory No. 3, Writable only by group wheel members
path = /usr/samba-shares/file-server3
public = yes
writable = yes
printable = no
write list = @wheel


-----Original Message-----
From: samba-bounces RemoveThis @lists.samba.org [mailto:samba-bounces@lists.samba.org]
On Behalf Of Brian
Sent: Monday, October 26, 2009 6:34 PM
To: samba RemoveThis @lists.samba.org
Subject: [Samba] Lots of smbd processes and connections?


Checked up on my new 3.3.8 installation and found this after a vista
workstation was idle all day on the network

I forgot to save the smbstatus output but it was a long list of PIDs linked
to the workstation in question.

Also I restarted then stopped the server and all the processes stayed there.



PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
12484 root 1 117 0 11388K 8080K CPU3 3 6:38 93.65% bzip2
546 root 1 51 0 3184K 988K select 3 70:47 12.60% syslogd
12558 root 1 98 0 14624K 5628K RUN 3 0:06 9.57% smbd
9540 root 1 98 0 14624K 5500K RUN 2 27:59 0.00% smbd
11658 root 1 98 0 14624K 5596K RUN 3 23:29 0.00% smbd
10785 root 1 98 0 14624K 5544K RUN 2 23:04 0.00% smbd
9836 root 1 102 0 14624K 5492K RUN 2 22:56 0.00% smbd
11076 root 1 98 0 14624K 5540K RUN 0 21:43 0.00% smbd
10495 root 1 98 0 14624K 5544K RUN 0 21:28 0.00% smbd
11979 root 1 97 0 14624K 5608K RUN 0 19:53 0.00% smbd
10183 root 1 97 0 14624K 5504K RUN 2 13:26 0.00% smbd
11472 root 1 97 0 14624K 5588K RUN 0 12:21 0.00% smbd
10328 root 1 97 0 14624K 5516K RUN 0 7:45 0.00% smbd
11385 root 1 99 0 14624K 5568K RUN 2 7:27 0.00% smbd
10730 root 1 98 0 14624K 5536K RUN 0 4:06 0.00% smbd
9472 root 1 98 0 14624K 5484K RUN 2 3:36 0.00% smbd
11932 root 1 98 0 14624K 5600K RUN 0 3:17 0.00% smbd
11609 root 1 98 0 14624K 5588K RUN 3 3:05 0.00% smbd
10085 root 1 99 0 14624K 5488K RUN 0 3:04 0.00% smbd
10129 root 1 98 0 14624K 5504K RUN 0 2:52 0.00% smbd
11029 root 1 98 0 14624K 5536K RUN 0 2:16 0.00% smbd
11904 root 1 98 0 14624K 5584K RUN 3 2:04 0.00% smbd
12246 root 1 98 0 14708K 5664K RUN 0 2:03 0.00% smbd
9454 root 1 99 0 14624K 5448K RUN 2 1:54 0.00% smbd
9172 root 1 100 0 14624K 5424K RUN 2 1:52 0.00% smbd
10441 root 1 98 0 14624K 5520K RUN 2 1:48 0.00% smbd
10475 root 1 97 0 14624K 5480K RUN 0 1:30 0.00% smbd
11340 root 1 98 0 14624K 5552K RUN 0 1:28 0.00% smbd
10420 root 1 97 0 14624K 5516K RUN 2 1:21 0.00% smbd
11309 root 1 98 0 14624K 5512K RUN 2 1:14 0.00% smbd
12207 root 1 97 0 14708K 5664K RUN 0 1:05 0.00% smbd
12195 root 1 98 0 14708K 5592K RUN 0 0:41 0.00% smbd
10175 root 1 97 0 14624K 5488K RUN 0 0:34 0.00% smbd
12220 root 1 97 0 14708K 5624K RUN 0 0:29 0.00% smbd
11377 root 1 97 0 14624K 5568K RUN 0 0:24 0.00% smbd
3797 root 1 44 0 8428K 2656K select 3 0:24 0.00% sshd
11326 root 1 97 0 14624K 5528K RUN 0 0:21 0.00% smbd
3867 root 1 44 0 8340K 4364K select 3 0:17 0.00% mc
9533 root 1 97 0 14624K 5448K RUN 0 0:12 0.00% smbd
11067 root 1 98 0 14624K 5496K RUN 0 0:09 0.00% smbd
11371 root 1 97 0 14624K 5528K RUN 2 0:09 0.00% smbd
9448 root 1 98 0 14624K 5448K RUN 2 0:04 0.00% smbd
5945 root 1 44 0 4672K 1624K select 3 0:04 0.00% ntpd
786 root 1 44 0 5876K 2440K select 0 0:02 0.00% sendmail
3742 root 1 44 0 8428K 2656K select 2 0:02 0.00% sshd
5732 bind 7 4 0 28916K 22612K kqread 2 0:01 0.00% named
5886 dhcpd 1 44 0 3128K 1656K select 0 0:01 0.00% dhcpd
3869 root 1 5 0 4396K 1780K ttyin 2 0:01 0.00% bash
796 root 1 8 0 3212K 960K nanslp 2 0:00 0.00% cron
790 smmsp 1 20 0 5876K 2192K pause 3 0:00 0.00% sendmail
3801 root 1 8 0 4396K 1732K wait 3 0:00 0.00% bash
3746 root 1 8 0 4396K 1652K wait 2 0:00 0.00% bash
12555 root 1 96 0 14428K 5428K select 2 0:00 0.00% smbd
12559 root 1 44 0 3496K 1496K CPU0 0 0:00 0.00% top
487 root 1 44 0 1888K 428K select 0 0:00 0.00% devd
780 root 1 44 0 5752K 2292K select 0 0:00 0.00% sshd
12549 root 1 50 0 9516K 3008K select 3 0:00 0.00% nmbd
12471 root 1 8 0 3128K 964K wait 0 0:00 0.00%
newsyslog


Ohh and I started getting this again.....this problem has come and gone
lately...its back now.

Any thoughts would be appreciated.

Thanks
Brian


Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Matthew Dickinson

External


Since: Oct 07, 2009
Posts: 9



(Msg. 4) Posted: Mon Oct 26, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10/26/09 6:34 PM, "Brian" <bbayorgeon DeleteThis @charter.net> wrote:

>
> Ohh and I started getting this again.....this problem has come and gone
> lately...its back now.
>
> Any thoughts would be appreciated.

> Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
> smbd/service.c:make_connection(1292)
> Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
> find service roo


Likewise:

Situation:

I'm seeing lots (~500k per day) of log entries like:
smbd[13939]: itlab-pc06 (::ffff:10.51.51.103) couldn't find service it261

In this case, the last character of the request is truncated - it should be
it2610

I'm seeing the same/similar issue to
http://lists.samba.org/archive/samba/2009-March/147277.html
And
http://lists.samba.org/archive/samba/2009-October/150998.html

I've dismissed this over the last few weeks as a minor inconvenience, but
I'm now convinced that it's affecting the performance of the Windows client
machines that are connecting to it - a 30 second operation on local disk,
takes upwards of 5 mins over a network connection, generating thousands of
entries similar to the above.


Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 5) Posted: Mon Oct 26, 2009 9:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Just looked .... I'm getting 500K log every 12 seconds with log level 2. My
"new" server is a box with modern hardware and so forth and its spending 24%
processor time filling out logs.

John suggest 3.3.8 and I realized I was at 3.3.3 so I upgraded samba to
3.3.8 and got the same result!

So I have had samba version 3.0.something (older FBSD implementation, older
166 pentium) through 3.3.8 running (7.2 FBSD implementation with modern
hardware) and all of them are being flooded by vista. Ya ya I know...blame
Gates, but there must be a fix here some place?

The situation with 3.3.8 is the first time I noticed dozens of samba
processes spawned as a result. Earlier versions got spammed, but didn't
branch a bunch of processes.

thanks for your help in advance.

Brian


-----Original Message-----
From: Matthew Dickinson [mailto:matt-samba@alpha345.com]


On 10/26/09 6:34 PM, "Brian" <bbayorgeon.TakeThisOut@charter.net> wrote:

>
> Ohh and I started getting this again.....this problem has come and gone
> lately...its back now.
>
> Any thoughts would be appreciated.

> Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
> smbd/service.c:make_connection(1292)
> Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
> find service roo


Likewise:

Situation:

I'm seeing lots (~500k per day) of log entries like:
smbd[13939]: itlab-pc06 (::ffff:10.51.51.103) couldn't find service it261

In this case, the last character of the request is truncated - it should be
it2610

I'm seeing the same/similar issue to
http://lists.samba.org/archive/samba/2009-March/147277.html
And
http://lists.samba.org/archive/samba/2009-October/150998.html

I've dismissed this over the last few weeks as a minor inconvenience, but
I'm now convinced that it's affecting the performance of the Windows client
machines that are connecting to it - a 30 second operation on local disk,
takes upwards of 5 mins over a network connection, generating thousands of
entries similar to the above.


Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 6) Posted: Mon Oct 26, 2009 11:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? AKA "New issue with a New Vista Client - couldn't find service" [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Did some research, but didn't find a solution. All the following links
discuss a similar issue with not being able to find a service and in most
cases the error reports the service name truncated by one character. One
was reporting the service name with extra characters. These date back to
2003 and maybe earlier.

Some interesting discussions with some indicating a Windoze bug persisting
from Win2k thru WinXP (and now vista)

Others report it is a long standing samba bug since 2.x....who knows.

One common thing near as I can tell is solutions are not identified.

Many seem to ignore it, but the traffic and logs are putting quite a burden
on the system.

Again any thoughts are appreciated

thanks
Brian



http://www.webservertalk.com/message857789.html

http://www.linuxquestions.org/questions/linux-networking-3/logs-filling-up-w
ith-smbdservice.cmakeconnection-couldnt-find-service-397227/

http://beau.org/pipermail/whitebox-users/2005-October/007173.html

http://lists.samba.org/archive/samba/2005-October/112876.html

http://lists.samba.org/archive/samba/2005-October/112878.html

http://lists.freebsd.org/pipermail/freebsd-questions/2003-October/023809.htm
l



-----Original Message-----
From: samba-bounces RemoveThis @lists.samba.org [mailto:samba-bounces@lists.samba.org]
On Behalf Of Brian
Sent: Monday, October 26, 2009 6:50 PM
To: samba RemoveThis @lists.samba.org
Subject: Re: [Samba] Lots of smbd processes and connections?

Also, here is my config...

[global]
workgroup = XNET2
server string = Samba Server
hosts allow = 10.0.2., 127.
guest account = guest
interfaces = dc0
log level = 2
log file = /var/log/samba/%m-samba.log
max log size = 500
time server = Yes
socket options = SO_RCVBUF=8192 SO_SNDBUF=8192
security = user
passdb backend = tdbsam
dns proxy = no
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
wins support = Yes


# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT
both
; wins server = w.x.y.z

#============================ Share Definitions
==============================
[homes]
comment = Home directory for %u on %h
browseable = no
writable = yes
path = /usr/home/%u/Documents
valid users = %S


[tmp]
comment = Temporary file space
path = /usr/samba-shares/tmp
read only = no
public = yes

[public]
comment = Public Directory, r/w all users, guest owns all files
path = /usr/samba-shares/public
public = yes
only guest = yes
writable = yes
printable = no

[share1]
comment = Share Directory No. 1, Writable only by group wheel members
path = /usr/samba-shares/file-server1
public = yes
writable = yes
printable = no
write list = @wheel

[share2]
comment = Share Directory No. 2, Writable only by group wheel members
path = /usr/samba-shares/file-server2
public = yes
writable = yes
printable = no
write list = @wheel

[share3]
comment = Share Directory No. 3, Writable only by group wheel members
path = /usr/samba-shares/file-server3
public = yes
writable = yes
printable = no
write list = @wheel


-----Original Message-----
From: samba-bounces RemoveThis @lists.samba.org [mailto:samba-bounces@lists.samba.org]
On Behalf Of Brian
Sent: Monday, October 26, 2009 6:34 PM
To: samba RemoveThis @lists.samba.org
Subject: [Samba] Lots of smbd processes and connections?


Checked up on my new 3.3.8 installation and found this after a vista
workstation was idle all day on the network

I forgot to save the smbstatus output but it was a long list of PIDs linked
to the workstation in question.

Also I restarted then stopped the server and all the processes stayed there.



PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
12484 root 1 117 0 11388K 8080K CPU3 3 6:38 93.65% bzip2
546 root 1 51 0 3184K 988K select 3 70:47 12.60% syslogd
12558 root 1 98 0 14624K 5628K RUN 3 0:06 9.57% smbd
9540 root 1 98 0 14624K 5500K RUN 2 27:59 0.00% smbd
11658 root 1 98 0 14624K 5596K RUN 3 23:29 0.00% smbd
10785 root 1 98 0 14624K 5544K RUN 2 23:04 0.00% smbd
9836 root 1 102 0 14624K 5492K RUN 2 22:56 0.00% smbd
11076 root 1 98 0 14624K 5540K RUN 0 21:43 0.00% smbd
10495 root 1 98 0 14624K 5544K RUN 0 21:28 0.00% smbd
11979 root 1 97 0 14624K 5608K RUN 0 19:53 0.00% smbd
10183 root 1 97 0 14624K 5504K RUN 2 13:26 0.00% smbd
11472 root 1 97 0 14624K 5588K RUN 0 12:21 0.00% smbd
10328 root 1 97 0 14624K 5516K RUN 0 7:45 0.00% smbd
11385 root 1 99 0 14624K 5568K RUN 2 7:27 0.00% smbd
10730 root 1 98 0 14624K 5536K RUN 0 4:06 0.00% smbd
9472 root 1 98 0 14624K 5484K RUN 2 3:36 0.00% smbd
11932 root 1 98 0 14624K 5600K RUN 0 3:17 0.00% smbd
11609 root 1 98 0 14624K 5588K RUN 3 3:05 0.00% smbd
10085 root 1 99 0 14624K 5488K RUN 0 3:04 0.00% smbd
10129 root 1 98 0 14624K 5504K RUN 0 2:52 0.00% smbd
11029 root 1 98 0 14624K 5536K RUN 0 2:16 0.00% smbd
11904 root 1 98 0 14624K 5584K RUN 3 2:04 0.00% smbd
12246 root 1 98 0 14708K 5664K RUN 0 2:03 0.00% smbd
9454 root 1 99 0 14624K 5448K RUN 2 1:54 0.00% smbd
9172 root 1 100 0 14624K 5424K RUN 2 1:52 0.00% smbd
10441 root 1 98 0 14624K 5520K RUN 2 1:48 0.00% smbd
10475 root 1 97 0 14624K 5480K RUN 0 1:30 0.00% smbd
11340 root 1 98 0 14624K 5552K RUN 0 1:28 0.00% smbd
10420 root 1 97 0 14624K 5516K RUN 2 1:21 0.00% smbd
11309 root 1 98 0 14624K 5512K RUN 2 1:14 0.00% smbd
12207 root 1 97 0 14708K 5664K RUN 0 1:05 0.00% smbd
12195 root 1 98 0 14708K 5592K RUN 0 0:41 0.00% smbd
10175 root 1 97 0 14624K 5488K RUN 0 0:34 0.00% smbd
12220 root 1 97 0 14708K 5624K RUN 0 0:29 0.00% smbd
11377 root 1 97 0 14624K 5568K RUN 0 0:24 0.00% smbd
3797 root 1 44 0 8428K 2656K select 3 0:24 0.00% sshd
11326 root 1 97 0 14624K 5528K RUN 0 0:21 0.00% smbd
3867 root 1 44 0 8340K 4364K select 3 0:17 0.00% mc
9533 root 1 97 0 14624K 5448K RUN 0 0:12 0.00% smbd
11067 root 1 98 0 14624K 5496K RUN 0 0:09 0.00% smbd
11371 root 1 97 0 14624K 5528K RUN 2 0:09 0.00% smbd
9448 root 1 98 0 14624K 5448K RUN 2 0:04 0.00% smbd
5945 root 1 44 0 4672K 1624K select 3 0:04 0.00% ntpd
786 root 1 44 0 5876K 2440K select 0 0:02 0.00% sendmail
3742 root 1 44 0 8428K 2656K select 2 0:02 0.00% sshd
5732 bind 7 4 0 28916K 22612K kqread 2 0:01 0.00% named
5886 dhcpd 1 44 0 3128K 1656K select 0 0:01 0.00% dhcpd
3869 root 1 5 0 4396K 1780K ttyin 2 0:01 0.00% bash
796 root 1 8 0 3212K 960K nanslp 2 0:00 0.00% cron
790 smmsp 1 20 0 5876K 2192K pause 3 0:00 0.00% sendmail
3801 root 1 8 0 4396K 1732K wait 3 0:00 0.00% bash
3746 root 1 8 0 4396K 1652K wait 2 0:00 0.00% bash
12555 root 1 96 0 14428K 5428K select 2 0:00 0.00% smbd
12559 root 1 44 0 3496K 1496K CPU0 0 0:00 0.00% top
487 root 1 44 0 1888K 428K select 0 0:00 0.00% devd
780 root 1 44 0 5752K 2292K select 0 0:00 0.00% sshd
12549 root 1 50 0 9516K 3008K select 3 0:00 0.00% nmbd
12471 root 1 8 0 3128K 964K wait 0 0:00 0.00%
newsyslog


Ohh and I started getting this again.....this problem has come and gone
lately...its back now.

Any thoughts would be appreciated.

Thanks
Brian


Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo
Oct 26 18:00:36 oldjunk smbd[12268]: [2009/10/26 18:00:36, 0]
smbd/service.c:make_connection(1292)
Oct 26 18:00:36 oldjunk smbd[12268]: dadsdesktop (10.0.2.149) couldn't
find service roo

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 7) Posted: Tue Oct 27, 2009 5:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, Oct 26, 2009 at 08:57:20PM -0500, Brian wrote:
>
>
>
> Just looked .... I'm getting 500K log every 12 seconds with log level 2. My
> "new" server is a box with modern hardware and so forth and its spending 24%
> processor time filling out logs.
>
> John suggest 3.3.8 and I realized I was at 3.3.3 so I upgraded samba to
> 3.3.8 and got the same result!
>
> So I have had samba version 3.0.something (older FBSD implementation, older
> 166 pentium) through 3.3.8 running (7.2 FBSD implementation with modern
> hardware) and all of them are being flooded by vista. Ya ya I know...blame
> Gates, but there must be a fix here some place?
>
> The situation with 3.3.8 is the first time I noticed dozens of samba
> processes spawned as a result. Earlier versions got spammed, but didn't
> branch a bunch of processes.

Log a bug at bugzilla.samba.org and attach a debug level 10 log
from one client and also a wireshark trace. The wireshark trace
is very important in order to determine if this is a client or
server bug.

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 8) Posted: Tue Oct 27, 2009 5:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

well, unfortunately no, that didn't fix it. Good eyes though!

-----Original Message-----
From: Volker Lendecke [mailto:Volker.Lendecke@SerNet.DE]
Sent: Tuesday, October 27, 2009 3:04 AM
To: Brian
Cc: samba DeleteThis @lists.samba.org
Subject: Re: [Samba] Lots of smbd processes and connections?

On Mon, Oct 26, 2009 at 06:49:37PM -0500, Brian wrote:
> Also, here is my config...
>
> [global]
> workgroup = XNET2
> server string = Samba Server
> hosts allow = 10.0.2., 127.
> guest account = guest
> interfaces = dc0
> log level = 2
> log file = /var/log/samba/%m-samba.log
> max log size = 500
> time server = Yes
> socket options = SO_RCVBUF=8192 SO_SNDBUF=8192
> security = user
> passdb backend = tdbsam
> dns proxy = no
> load printers = no
> printing = bsd
> printcap name = /dev/null
> disable spoolss = yes

Maybe for some reason your client is unhappy with "disable spoolss = yes"?

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Matthew Dickinson

External


Since: Oct 07, 2009
Posts: 9



(Msg. 9) Posted: Tue Oct 27, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10/27/09 4:31 PM, "Jeremy Allison" <jra.TakeThisOut@samba.org> wrote:

> On Mon, Oct 26, 2009 at 08:57:20PM -0500, Brian wrote:
>>
>>
>>
>> Just looked .... I'm getting 500K log every 12 seconds with log level 2. My
>> "new" server is a box with modern hardware and so forth and its spending 24%
>> processor time filling out logs.
>>
>> John suggest 3.3.8 and I realized I was at 3.3.3 so I upgraded samba to
>> 3.3.8 and got the same result!
>>
>> So I have had samba version 3.0.something (older FBSD implementation, older
>> 166 pentium) through 3.3.8 running (7.2 FBSD implementation with modern
>> hardware) and all of them are being flooded by vista. Ya ya I know...blame
>> Gates, but there must be a fix here some place?
>>
>> The situation with 3.3.8 is the first time I noticed dozens of samba
>> processes spawned as a result. Earlier versions got spammed, but didn't
>> branch a bunch of processes.
>
> Log a bug at bugzilla.samba.org and attach a debug level 10 log
> from one client and also a wireshark trace. The wireshark trace
> is very important in order to determine if this is a client or
> server bug.
>
> Jeremy.

Already done that Smile

https://bugzilla.samba.org/show_bug.cgi?id=6782

Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 10) Posted: Tue Oct 27, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Oct 27, 2009 at 06:28:44PM -0500, Matthew Dickinson wrote:
>
> On 10/27/09 4:31 PM, "Jeremy Allison" <jra DeleteThis @samba.org> wrote:
>
> > On Mon, Oct 26, 2009 at 08:57:20PM -0500, Brian wrote:
> >>
> >>
> >>
> >> Just looked .... I'm getting 500K log every 12 seconds with log level 2. My
> >> "new" server is a box with modern hardware and so forth and its spending 24%
> >> processor time filling out logs.
> >>
> >> John suggest 3.3.8 and I realized I was at 3.3.3 so I upgraded samba to
> >> 3.3.8 and got the same result!
> >>
> >> So I have had samba version 3.0.something (older FBSD implementation, older
> >> 166 pentium) through 3.3.8 running (7.2 FBSD implementation with modern
> >> hardware) and all of them are being flooded by vista. Ya ya I know...blame
> >> Gates, but there must be a fix here some place?
> >>
> >> The situation with 3.3.8 is the first time I noticed dozens of samba
> >> processes spawned as a result. Earlier versions got spammed, but didn't
> >> branch a bunch of processes.
> >
> > Log a bug at bugzilla.samba.org and attach a debug level 10 log
> > from one client and also a wireshark trace. The wireshark trace
> > is very important in order to determine if this is a client or
> > server bug.
> >
> > Jeremy.
>
> Already done that Smile
>
> https://bugzilla.samba.org/show_bug.cgi?id=6782

Ah, ok. I see Valker already took a look at it and it
looks like a client problem. I'll also take a look (time
permitting).

Jeremy.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 11) Posted: Tue Oct 27, 2009 7:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

>On 10/27/09 4:31 PM, "Jeremy Allison" <jra.TakeThisOut@samba.org> wrote:

>> On Mon, Oct 26, 2009 at 08:57:20PM -0500, Brian wrote:
>>> Just looked .... I'm getting 500K log every 12 seconds with log level 2.
My
>>> "new" server is a box with modern hardware and so forth and its spending
24%
>>> processor time filling out logs.
>>>
>>> John suggest 3.3.8 and I realized I was at 3.3.3 so I upgraded samba to
>>> 3.3.8 and got the same result!
>>>
>>> So I have had samba version 3.0.something (older FBSD implementation,
older
>>> 166 pentium) through 3.3.8 running (7.2 FBSD implementation with modern
>>> hardware) and all of them are being flooded by vista. Ya ya I
know...blame
>>> Gates, but there must be a fix here some place?
>>>
>>> The situation with 3.3.8 is the first time I noticed dozens of samba
>>> processes spawned as a result. Earlier versions got spammed, but didn't
>>> branch a bunch of processes.
>>
>> Log a bug at bugzilla.samba.org and attach a debug level 10 log
>> from one client and also a wireshark trace. The wireshark trace
>> is very important in order to determine if this is a client or
>> server bug.
>>
>> Jeremy.
>
>Already done that Smile
>
>https://bugzilla.samba.org/show_bug.cgi?id=6782
>
>Matthew

I will try and do the same at bugzilla

but for now a bit more information after some experimentation.

When homes share definition is removed I get:

[2009/10/27 17:23:33, 0] smbd/service.c:make_connection(1292)
dadsdesktop (10.0.2.149) couldn't find service roo
[2009/10/27 17:23:33, 0] smbd/service.c:make_connection(1292)
dadsdesktop (10.0.2.149) couldn't find service roo
[2009/10/27 17:23:33, 0] smbd/service.c:make_connection(1292)
dadsdesktop (10.0.2.149) couldn't find service root
[2009/10/27 17:23:33, 0] smbd/service.c:make_connection(1292)
dadsdesktop (10.0.2.149) couldn't find service root

This supports comments from other people that the client re-tries with the
correct name and then connects. I do not have issues connecting to my home
share. Maybe some lag sometimes...

When I make a share named "roo", the "can't find service" messages go away
and I get a visible "roo" share.

Also get the following from smbstatus when I have made no attempt to connect
to the "roo" share with explorer or whatever. This tells me the client is
purposely trying to connect to "roo" by itself.

Samba version 3.3.8
PID Username Group Machine
-------------------------------------------------------------------
6848 root wheel dadsdesktop (10.0.2.149)

Service pid machine Connected at
-------------------------------------------------------
roo 6848 dadsdesktop Tue Oct 27 18:55:56 2009
root 6848 dadsdesktop Tue Oct 27 18:55:56 2009

No locked files


Seems to me the client is the issue here...



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Jeremy Allison

External


Since: May 02, 2007
Posts: 523



(Msg. 12) Posted: Tue Oct 27, 2009 9:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, Oct 27, 2009 at 07:52:59PM -0500, Matthew Dickinson wrote:
>
> On 10/27/09 6:32 PM, "Jeremy Allison" <jra.DeleteThis@samba.org> wrote:
> > Ah, ok. I see Valker already took a look at it and it
> > looks like a client problem. I'll also take a look (time
> > permitting).
>
> In that case, I'd really _love_ as much information to "prove" that as
> possible - since we've got support from MS, I plan on raising this as an
> issue with MS support.
>
> If it's hard to "prove" it's a Windows "feature", I can see the conversation
> going:
>
> "it's a Samba bug",
> and you saying "it's an MS bug"
> and them saying "it's a Samba bug"
> and
> and
> and
>
> Smile

No, we're not that bad. After all, if it works to Windows
but not to Samba then by definition it's a Samba bug Smile
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Matthew Dickinson

External


Since: Oct 07, 2009
Posts: 9



(Msg. 13) Posted: Tue Oct 27, 2009 9:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 10/27/09 6:32 PM, "Jeremy Allison" <jra.TakeThisOut@samba.org> wrote:
> Ah, ok. I see Valker already took a look at it and it
> looks like a client problem. I'll also take a look (time
> permitting).

In that case, I'd really _love_ as much information to "prove" that as
possible - since we've got support from MS, I plan on raising this as an
issue with MS support.

If it's hard to "prove" it's a Windows "feature", I can see the conversation
going:

"it's a Samba bug",
and you saying "it's an MS bug"
and them saying "it's a Samba bug"
and
and
and

Smile

Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Matthew Dickinson

External


Since: Oct 07, 2009
Posts: 9



(Msg. 14) Posted: Tue Oct 27, 2009 9:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Which got me to thinking:

The thread http://lists.samba.org/archive/samba/2005-October/112876.html

In particular the last post
http://lists.samba.org/archive/samba/2005-October/112929.html

So... new config item:

w2k client workaround = yes

iff requested share does not exist, but a single share with the
same name plus one character does exist, connect to that instead.



Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Brian

External


Since: Oct 17, 2009
Posts: 17



(Msg. 15) Posted: Tue Oct 27, 2009 9:20 pm
Post subject: Re: [Samba] Lots of smbd processes and connections? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry I don't think so....basically as you can see in my earlier
post I tried a workaround by creating a share with the last character
clipped off (in my case "roo"). Great news, the attempt to connect msgs
are now gone, but my server is still being spammed
I did some stats on my client with a "net statistics workstation"
command and came up with:

Bytes received 137,514 bytes/sec
Server Message Blocks (SMBs) received 1,302 SMB blocks/sec
Bytes transmitted 95,329 bytes/sec
Server Message Blocks (SMBs) transmitted 1,302 SMB blocks/sec

So the error msgs are gone, but the server is getting spammed with
greater than 1000 SMB msg blocks per second while IDLE! I don't
know what is "normal" but 1300 / sec sounds like a LOT!
smbd is being a trooper though as it didn't drop one of them!


Here is what top shows:

last pid: 7417; load averages: 6.22, 6.27, 6.
39 processes: 7 running, 32 sleeping
CPU: 4.0% user, 0.0% nice, 29.5% system, 1.4% interrupt, 65.0% idle
Mem: 36M Active, 606M Inact, 183M Wired, 110M Buf, 162M Free
Swap: 1902M Total, 1902M Free

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
6848 root 1 66 0 14652K 8128K CPU0 2 33:00 30.37% smbd
1497 root 1 104 0 14600K 7224K RUN 1 34:35 0.00% smbd
863 root 1 107 0 14620K 7304K RUN 2 22:08 0.00% smbd
1408 root 1 104 0 14600K 7224K RUN 1 7:51 0.00% smbd
6552 root 1 101 0 14640K 7984K RUN 1 3:00 0.00% smbd
1401 root 1 104 0 14600K 7224K RUN 1 0:25 0.00% smbd
5628 root 1 44 0 8340K 5316K select 1 0:11 0.00% mc
756 root 1 44 0 4672K 2276K select 2 0:04 0.00% ntpd
7126 root 1 44 0 3496K 1748K CPU1 1 0:03 0.00% top
5588 root 1 44 0 8428K 3892K select 1 0:02 0.00% sshd
793 root 1 44 0 5876K 3444K select 0 0:02 0.00% sendmail
620 bind 7 4 0 27892K 22424K kqread 0 0:02 0.00% named
706 dhcpd 1 44 0 3128K 2040K select 1 0:01 0.00% dhcpd
6839 root 1 44 0 9540K 4360K select 0 0:01 0.00% nmbd
5630 root 1 8 0 4396K 2264K wait 1 0:01 0.00% bash
552 root 1 44 0 3184K 1228K select 0 0:00 0.00% syslogd
804 root 1 8 0 3212K 1272K nanslp 2 0:00 0.00% cron
5593 root 1 8 0 4396K 2260K wait 0 0:00 0.00% bash
797 smmsp 1 20 0 5876K 3232K pause 2 0:00 0.00% sendmail
6845 root 1 96 0 14428K 7804K select 1 0:00 0.00% smbd
847 root 1 5 0 3184K 1092K ttyin 2 0:00 0.00% getty
787 root 1 44 0 5752K 3528K select 1 0:00 0.00% sshd
846 root 1 5 0 3184K 1092K ttyin 1 0:00 0.00% getty
852 root 1 5 0 3184K 1092K ttyin 2 0:00 0.00% getty
851 root 1 5 0 3184K 1092K ttyin 2 0:00 0.00% getty
850 root 1 5 0 3184K 1092K ttyin 3 0:00 0.00% getty
849 root 1 5 0 3184K 1092K ttyin 1 0:00 0.00% getty
848 root 1 5 0 3184K 1092K ttyin 0 0:00 0.00% getty
824 root 1 96 0 3240K 1356K select 2 0:00 0.00% inetd
5543 root 1 5 0 3184K 1092K ttyin 1 0:00 0.00% getty
6847 root 1 96 0 14428K 7744K select 2 0:00 0.00% smbd
493 root 1 45 0 1888K 564K select 2 0:00 0.00% devd
147 root 1 20 0 1380K 804K pause 2 0:00 0.00%
adjkerntz




-----Original Message-----
From: samba-bounces.DeleteThis@lists.samba.org [mailto:samba-bounces@lists.samba.org]
On Behalf Of Matthew Dickinson
Sent: Tuesday, October 27, 2009 8:30 PM
To: Jeremy Allison
Cc: samba.DeleteThis@lists.samba.org
Subject: Re: [Samba] Lots of smbd processes and connections?



Which got me to thinking:

The thread http://lists.samba.org/archive/samba/2005-October/112876.html

In particular the last post
http://lists.samba.org/archive/samba/2005-October/112929.html

So... new config item:

w2k client workaround = yes

iff requested share does not exist, but a single share with the
same name plus one character does exist, connect to that instead.



Matthew


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] Questions on LDAP Attibutes "Logon Time" "Logoff T.. - My question is how can I turn on the feature to update the Logon Time, and Logoff time fields in LDAP. They are always...

[Samba] Syncing time for non-Admin logons? - net time \sup.. - I have in my smb.conf file the following entries: time server = yes and logon script = startup.bat Where logon..

[Samba] Bug - The Time stamp in Samba is 11 hours behind t.. - Hi. Please help me how to resolve a Samba bug The Time stamp in Samba is 11 hours behind time stamp in Linux on..

[Samba] Samba 3 PDC with LDAP - Error when changing user p.. - Hi all! I've a Samba 3 PDC with LDAP backend. When I join domain from a WinXP machine, the machine account is added in....

[Samba] big problem changing permissions on samba with win.. - Hi there, I have Redhat 7.1 + samba 2.07 Suse 8.2 + samba 2.28 I am not able to change any permissions on samba....

[Samba] Changing from samba 2-2.8a to 3.1 with ldap? - Hi, I am trying to upgrade from old samba to new one, I replaced the samba.schema for open-ldap, changed the smb.conf....
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Goto page 1, 2, 3
Page 1 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]