On 4/15/19 8:38 AM, Hrvoje Popovski wrote:
On 14.4.2019. 20:10, Tuyosi T wrote:
hi all .
the samba of snapshots does not start .
dell# /etc/rc.d/samba start
smbd(timeout)
I have similar problem with samba after upgrade to 4.8.11, smbd timeouts
but it starts.
# rcctl stop samba
nmbd(ok)
smbd(ok)
# rcctl start samba
smbd(timeout)
# ps auxw | grep mbd
root 88754 0.0 0.1 1740 6040 ?? Ss 3:33PM0:00.02
/usr/local/sbin/smbd -D
root 48917 0.0 0.0 1616 2260 ?? S 3:33PM0:00.01
/usr/local/sbin/smbd -D
root 47827 0.0 0.0 1616 1832 ?? S 3:33PM0:00.00
/usr/local/sbin/smbd -D
and if i execute rcctl start samba once again nmbd start normally
# rcctl start samba
nmbd(ok)
# ps auxw | grep mbd
root 88754 0.0 0.1 1740 6040 ?? Ss 3:33PM0:00.02
/usr/local/sbin/smbd -D
root 47827 0.0 0.0 1616 1832 ?? S 3:33PM0:00.00
/usr/local/sbin/smbd -D
root 48917 0.0 0.0 1616 2260 ?? S 3:33PM0:00.01
/usr/local/sbin/smbd -D
root 79668 0.0 0.0 1464 2580 ?? Ss 3:34PM0:00.04
/usr/local/sbin/nmbd -D
I have not had this problem with Samba (running samba-4.8.11p0 as a
standalone file server). Starts and Restarts are visibly slower than the
corresponding 6.4 installation running samba-4.8.5p1. Probably not a
proper comparison since the 6.4 stats are from my laptop and 6.5 stats
are from a SuperMicro server. dmesg for both systems are below in case
it is of any relevance. If there are any config changes etc., that I can
test please let me know.
current# time /etc/rc.d/samba start
smbd(ok)
nmbd(ok)
0m30.59s real 0m30.36s user 0m00.07s system
current# time /etc/rc.d/samba restart
nmbd(ok)
smbd(ok)
smbd(ok)
nmbd(ok)
0m31.54s real 0m31.19s user 0m00.15s system
current# time /etc/rc.d/samba stop
nmbd(ok)
smbd(ok)
0m00.68s real 0m00.60s user 0m00.05s system
Here are the stats from 6.4 running stock Samba.
fla1# time /etc/rc.d/samba start
smbd(ok)
nmbd(ok)
0m00.92s real 0m00.66s user 0m00.17s system
fla1# time /etc/rc.d/samba restart
nmbd(ok)
smbd(ok)
smbd(ok)
nmbd(ok)
0m01.43s real 0m01.08s user 0m00.35s system
fla1# time /etc/rc.d/samba stop
nmbd(ok)
smbd(ok)
0m00.58s real 0m00.39s user 0m00.13s system
dmesg from 6.5 snapshot
current# dmesg
OpenBSD 6.5 (GENERIC.MP) #3: Sat Apr 13 14:48:43 MDT 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16976637952 (16190MB)
avail mem = 16452501504 (15690MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0x7fb77000 (61 entries)
bios0: vendor American Megatrends Inc. version "2.0a" date 03/09/2017
bios0: Supermicro Super Server
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SPMI MCFG HPET LPIT SSDT SSDT
SSDT DBGP DBG2 SSDT UEFI SSDT DMAR EINJ ERST BERT HEST
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4)
PEG2(S4) PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4)
RP12(S4) PXSX(S4) RP13(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E3-1240 v5 @ 3.50GHz, 3501.44 MHz, 06-5e-03
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 23MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3-1240 v5 @ 3.50GHz, 3499.98 MHz, 06-5e-03
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E3-1240 v5 @ 3.50GHz, 3499.98 MHz, 06-5e-03
cpu2: