[Samba] plenty of vacuuuming processes

Benedikt Kaleß benedikt.kaless at forumZFD.de
Fri Aug 23 09:32:34 UTC 2019


Hi,

Oh sorry, of course:

The running os is debian 9.9 and I'm running the sernet-samba-ctdb in
version 4.9.11-15

This is my configuration:

[global]
    winbind refresh tickets = Yes
    winbind use default domain = yes
    template shell = /bin/bash
    idmap config * : range = 1000000 - 1999999
    idmap config ZFD : backend = rid
    idmap config ZFD : range = 0 - 200000
    hide dot files = yes
    server string = data server %h (Samba %v)
    vfs objects = acl_xattr
    map acl inherit = yes
    store dos attributes = yes
    inherit permissions = Yes
    workgroup = ZFD
    netbios name = cluster
    clustering = yes
    security = ads
    realm = <domain>.de
    smbd:search ask sharemode = no

[home]
    path = /data/ho/
    comment = Home Directories
    read only = no
    browseable = yes

And this is the systemd script for mounting the gluster volume:


[Unit]
Description = Data dir
After=network.target glusterfs-server.service
Required=network-online.target

[Mount]
RemainAfterExit=true
ExecStartPre=/usr/sbin/gluster volume list
ExecStart=/bin/mount -a -t glusterfs
Restart=on-failure
RestartSec=3
What=gluster:/gv-ho
Where=/data/ho/
Type=glusterfs
Options=defaults,acl,_netdev,negative-timeout=10,attribute-timeout=30,fopen-keep-cache,direct-io-mode=disable,fetch-attempts=5


[Install]
WantedBy=multi-user.target

This is in the log : /var/log/glusterfs/<gluster-volume>.log

[2019-08-23 09:23:39.537151] W [fuse-bridge.c:939:fuse_entry_cbk]
0-glusterfs-fuse: 755327: LOOKUP() /path/desktop.ini => -1 (Keine
Berechtigung)
[2019-08-23 09:23:39.537803] W [fuse-bridge.c:939:fuse_entry_cbk]
0-glusterfs-fuse: 755330: LOOKUP() /path/desktop.ini => -1 (Keine
Berechtigung)
[2019-08-23 09:23:39.538232] W [fuse-bridge.c:1823:fuse_err_cbk]
0-glusterfs-fuse: 755331: ACCESS() /path => -1 (Keine Berechtigung)


This is /var/log/samba/log.smbd:

[2019/08/23 11:29:56.943764, 10, pid=1246, effective(101776, 513),
real(101776, 0)] ../lib/util/util.c:514(dump_data)
  [0000] 00 00 02 00 00 00 00 2F   00 68 00 69 00 6C 00 64   ......./
.h.i.l.d
  [0010] 00 6E 00 65 00 72 00 2F   00 2E 00 63 00 6F 00 6E   .n.e.r./
...c.o.n
  [0020] 00 66 00 69 00 67 00 2F   00 6D 00 65 00 6E 00 75   .f.i.g./
.m.e.n.u
  [0030] 00 73 00 00 00                                     .s...
[2019/08/23 11:29:56.943873,  3, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/process.c:1543(switch_message)
  switch message SMBtrans2 (pid 1246) conn 0x55abe47eb5e0
[2019/08/23 11:29:56.943898,  5, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/uid.c:311(change_to_user_internal)
  change_to_user_internal: Skipping user change - already user
[2019/08/23 11:29:56.943922,  3, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/trans2.c:5871(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2019/08/23 11:29:56.943947,  5, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/filename.c:461(unix_convert)
  unix_convert called on file "<user>/.config/menus"
[2019/08/23 11:29:56.943969,  5, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/filename.c:662(unix_convert)
  unix_convert begin: name = <user>/.config/menus, dirpath = , start =
hildner/.config/menus
[2019/08/23 11:29:56.944002,  5, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/filename.c:235(check_parent_exists)
  check_parent_exists: name = <user>/.config/menus, dirpath =
hildner/.config, start = menus
[2019/08/23 11:29:56.944028, 10, pid=1246, effective(101776, 513),
real(101776, 0), class=vfs] ../source3/smbd/vfs.c:1196(check_reduced_name)
  check_reduced_name: check_reduced_name [hildner/.config/menus] [/data/ho]
[2019/08/23 11:29:56.944070, 10, pid=1246, effective(101776, 513),
real(101776, 0), class=vfs] ../source3/smbd/vfs.c:1260(check_reduced_name)
  check_reduced_name realpath [<user>/.config/menus] ->
[/glustervolume/<user>/.config/menus]
[2019/08/23 11:29:56.944092,  5, pid=1246, effective(101776, 513),
real(101776, 0), class=vfs] ../source3/smbd/vfs.c:1371(check_reduced_name)
  check_reduced_name: <user>/.config/menus reduced to
/glustervolume/<user>/.config/menus
[2019/08/23 11:29:56.944116,  3, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/trans2.c:5997(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_LSTAT of <user>/.config/menus failed
(Datei oder Verzeichnis nicht gefunden)
[2019/08/23 11:29:56.944143,  3, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/smbd/error.c:82(error_packet_set)
  NT error packet at ../source3/smbd/trans2.c(5999) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2019/08/23 11:29:56.944170,  5, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/lib/util.c:184(show_msg)
[2019/08/23 11:29:56.944184,  5, pid=1246, effective(101776, 513),
real(101776, 0)] ../source3/lib/util.c:194(show_msg)
  size=35
  smb_com=0x32
  smb_rcls=52
  smb_reh=0
  smb_err=49152
  smb_flg=128
  smb_flg2=51203
  smb_tid=54375
  smb_pid=2290
  smb_uid=45927
  smb_mid=1393
  smt_wct=0
  smb_bcc=0
[2019/08/23 11:29:56.944264, 10, pid=1246, effective(101776, 513),
real(101776, 0)] ../lib/util/util.c:514(dump_data)

Thanks,

Bene




Am 23.08.19 um 10:57 schrieb L.P.H. van Belle via samba:
> Yes, 
>
> Please start with telling the running OS and samba version and an output of smb.conf
>
> And it looks like :
> https://bugzilla.samba.org/show_bug.cgi?id=13168 
> Increase the loglevels and post these also when you answer above. 
>
>
> Greetz, 
>
> Louis 
>
> > -----Oorspronkelijk bericht-----
> > Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> > Benedikt Kaleß via samba
> > Verzonden: vrijdag 23 augustus 2019 10:28
> > Aan: samba at lists.samba.org >> samba
> > Onderwerp: [Samba] plenty of vacuuuming processes
> > 
> > Hi,
> > 
> > I have a ctdb cluster with 3 nodes and 3 glusterfs (version 
> > 6) nodes up
> > and running.
> > I observe plenty of these situations:
> > 
> > A connected Windows-10 client doesn't react anymore. I use forder
> > redirections. 
> > 
> > - Smbstatus shows up some (auth in progress) processes.
> > 
> > - In the logs of a ctdb node I get:
> > 
> > Aug 23 10:12:29 ctdb-1 ctdbd[2167]: Ending traverse on DB locking.tdb
> > (id 568831), records 388
> > Aug 23 10:12:29 ctdb-1 ctdbd[2167]: ../ctdb/server/ctdb_traverse.c:641
> > Traverse cancelled by client disconnect for database:0x7a19d84d
> > Aug 23 10:12:38 ctdb-1 ctdbd[2167]: Vacuuming child process timed out
> > for db locking.tdb
> > Aug 23 10:14:48 ctdb-1 ctdbd[2167]: Vacuuming child process timed out
> > for db locking.tdb
> > 
> > - ctdb status is okay:
> > 
> > Number of nodes:3
> > pnn:0 10.0.99.11       OK (THIS NODE)
> > pnn:1 10.0.99.21       OK
> > pnn:2 10.0.99.31       OK
> > 
> > Do you have any tips where I should begin to search?
> > 
> > Best regards
> > Bene
> > 
> > 
> > -- 
> > ???forumZFD
> > Entschieden für Frieden|Committed to Peace
> > 
> > Benedikt Kaleß
> > Leiter Team IT|Head team IT
> > 
> > Forum Ziviler Friedensdienst e.V.|Forum Civil Peace Service
> > Am Kölner Brett 8 | 50825 Köln | Germany  
> > 
> > Tel 0221 91273233 | Fax 0221 91273299 | 
> > http://www.forumZFD.de 
> > 
> > Vorstand nach § 26 BGB, einzelvertretungsberechtigt|Executive Board:
> > Oliver Knabe (Vorsitz|Chair), Sonja Wiekenberg-Mlalandle, 
> > Alexander Mauz  
> > VR 17651 Amtsgericht Köln
> > 
> > Spenden|Donations: IBAN DE37 3702 0500 0008 2401 01 BIC BFSWDE33XXX 
> > 
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> > 
> > 
>
>
-- 
forumZFD
Entschieden für Frieden|Committed to Peace

Benedikt Kaleß
Leiter Team IT|Head team IT

Forum Ziviler Friedensdienst e.V.|Forum Civil Peace Service
Am Kölner Brett 8 | 50825 Köln | Germany  

Tel 0221 91273233 | Fax 0221 91273299 | 
http://www.forumZFD.de 

Vorstand nach § 26 BGB, einzelvertretungsberechtigt|Executive Board:
Oliver Knabe (Vorsitz|Chair), Sonja Wiekenberg-Mlalandle, Alexander Mauz  
VR 17651 Amtsgericht Köln

Spenden|Donations: IBAN DE37 3702 0500 0008 2401 01 BIC BFSWDE33XXX 




More information about the samba mailing list