Bartels
(usa Ubuntu)
Enviado em 30/01/2018 - 15:25h
Boa tarde, o cliente acabou de me ligar e informou que a lentidão está absurda.....para tirar todas as duvidas se é alguma coisa no prg que eles usam...instalei uma VM com w7, nele instalei tudo novamente e compartilhei o maximo de 20 maquinas....e a nhaca foi muito rápida.
Abaixo a configuração de como está o samba agora
[global]
workgroup = PHOENIX
server string = %h server (Samba, Ubuntu)
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
socket options = IPTOS_LOWDELAY TCP_NODELAY
wins support = yes
keep alive = 300
# syslog = 0
logging = syslog
log level = 3
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\
n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = no
[ph]
path = /media/ph/
comment = phoenix
available = yes
write cache size = 1048576
writeable = yes
browseable = no
force create mode = 0777
force directory mode = 0777
guest ok = yes
[ph1$]
path = /media/ph1/
comment = fani
available = yes
writeable = yes
browseable = no
force create mode = 0777
force directory mode = 0777
guest ok = yes
[ph2$]
path = /media/ph2/
comment = fani_pf
available = yes
writeable = yes
browseable = no
force create mode = 0777
force directory mode = 0777
guest ok = yes
-- > O status do samba
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
Active: active (running) since Ter 2018-01-30 15:05:26 -02; 6min ago
Docs: man:systemd-sysv-generator(8)
Process: 2599 ExecStop=/etc/init.d/smbd stop (code=exited, status=0/SUCCESS)
Process: 2612 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)
Tasks: 7
Memory: 220.7M
CPU: 1min 14.139s
CGroup: /system.slice/smbd.service
├─2630 /usr/sbin/smbd -D
├─2631 /usr/sbin/smbd -D
├─2633 /usr/sbin/smbd -D
├─2638 /usr/sbin/smbd -D
├─2715 /usr/sbin/smbd -D
├─2716 /usr/sbin/smbd -D
└─2717 /usr/sbin/smbd -D
Jan 30 15:11:28 srv02 smbd[2638]: smbd_dirptr_get_entry mask=[*] found empresas/594/0/HISTSAL.BTR fname=HISTSAL.BTR (HISTSAL.BTR)
Jan 30 15:11:28 srv02 smbd[2638]: [2018/01/30 15:11:28.070829, 3] ../source3/smbd/dir.c:1187(smbd_dirptr_get_entry)
Jan 30 15:11:28 srv02 smbd[2638]: smbd_dirptr_get_entry mask=[*] found empresas/594/0/HISTSIND.BTR fname=HISTSIND.BTR (HISTSIND.BTR)
Jan 30 15:11:28 srv02 smbd[2638]: [2018/01/30 15:11:28.070914, 3] ../source3/smbd/dir.c:1187(smbd_dirptr_get_entry)
Jan 30 15:11:28 srv02 smbd[2638]: smbd_dirptr_get_entry mask=[*] found empresas/594/0/ICONTREF.btr fname=ICONTREF.btr (ICONTREF.btr)
Jan 30 15:11:28 srv02 smbd[2638]: [2018/01/30 15:11:28.070999, 3] ../source3/smbd/dir.c:1187(smbd_dirptr_get_entry)
Jan 30 15:11:28 srv02 smbd[2638]: smbd_dirptr_get_entry mask=[*] found empresas/594/0/LCFOLCC.BTR fname=LCFOLCC.BTR (LCFOLCC.BTR)
Jan 30 15:11:28 srv02 smbd[2638]: [2018/01/30 15:11:28.071082, 3] ../source3/smbd/dir.c:1187(smbd_dirptr_get_entry)
Jan 30 15:11:28 srv02 smbd[2638]: smbd_dirptr_get_entry mask=[*] found empresas/594/0/LCRECCAL.BTR fname=LCRECCAL.BTR (LCRECCAL.BTR)
Jan 30 15:11:28 srv02 smbd[2638]: [2018/01/30 15:11:28.071165, 3] ../source3/smbd/dir.c:1187(smbd_dirptr_get_entry)
--> o status do winbind
● winbind.service - LSB: start Winbind daemon
Loaded: loaded (/etc/init.d/winbind; bad; vendor preset: enabled)
Active: active (running) since Ter 2018-01-30 15:05:17 -02; 7min ago
Docs: man:systemd-sysv-generator(8)
Process: 2551 ExecStop=/etc/init.d/winbind stop (code=exited, status=0/SUCCESS)
Process: 2567 ExecStart=/etc/init.d/winbind start (code=exited, status=0/SUCCESS)
Tasks: 2
Memory: 12.2M
CPU: 304ms
CGroup: /system.slice/winbind.service
├─2589 /usr/sbin/winbindd
└─2590 /usr/sbin/winbindd
Jan 30 15:05:17 srv02 winbindd[2589]: [2018/01/30 15:05:17.266750, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Jan 30 15:05:17 srv02 winbindd[2589]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
Jan 30 15:05:17 srv02 winbindd[2590]: [2018/01/30 15:05:17.270974, 3] ../source3/winbindd/winbindd_misc.c:161(winbindd_dual_list_trusted_domains)
Jan 30 15:05:17 srv02 winbindd[2590]: [ 2589]: list trusted domains
Jan 30 15:05:17 srv02 winbindd[2590]: [2018/01/30 15:05:17.271042, 3] ../source3/winbindd/winbindd_samr.c:293(sam_trusted_domains)
Jan 30 15:05:17 srv02 winbindd[2590]: samr: trusted domains
Jan 30 15:10:17 srv02 winbindd[2590]: [2018/01/30 15:10:17.269030, 3] ../source3/winbindd/winbindd_misc.c:161(winbindd_dual_list_trusted_domains)
Jan 30 15:10:17 srv02 winbindd[2590]: [ 2589]: list trusted domains
Jan 30 15:10:17 srv02 winbindd[2590]: [2018/01/30 15:10:17.269087, 3] ../source3/winbindd/winbindd_samr.c:293(sam_trusted_domains)
Jan 30 15:10:17 srv02 winbindd[2590]: samr: trusted domains
Realmente nunca me deparei com um problema desse, por favor me dem mais algumas opções.
grato a todos