Re: samba : snapshots of 6.5
hi all ! yesterday i newly installed openbsd snapshots , i managed to start samba . hi# date ; /etc/rc.d/samba start ; date Tue May 14 02:36:22 JST 2019 smbd(ok) nmbd(ok) Tue May 14 02:36:48 JST 2019 namely 26 seconds hi# hi# testparm rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[homes]" Processing section "[printers]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] dns proxy = No log file = /var/log/samba/smbd.%m max log size = 50 server role = standalone server server string = Samba Server idmap config * : backend = tdb [homes] browseable = No comment = Home Directories read only = No [printers] browseable = No comment = All Printers path = /var/spool/samba printable = Yes - regards
Re: samba : snapshots of 6.5
I think that the microsoft will continue to change its network system in order not to be invaded by free UNIX . If so, the pursuit of samba will be painful . But it is only a personal imagination
Re: samba : snapshots of 6.5
hi,all i reinstall samba by using ports . dell# ps ax| grep bd 72188 p0 S+p 0:00.00 grep bd dell# /etc/rc.d/samba -f start smbd(timeout) dell# ps ax| grep bd 71545 p0 R/1 0:41.36 /usr/local/sbin/smbd -D -D 52315 p0 S+p 0:00.00 grep bd i think '-D -D' is perhaps bad . by the way dell# testparm rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[Share]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] disable spoolss = Yes dos charset = CP932 load printers = No map to guest = Bad User netbios name = OPENSAMBA security = USER server string = SAMBA SERVER Version %v wins support = Yes idmap config * : backend = tdb [Share] comment = Share Folder for All Users path = /home/share/ read only = No and virsion is # $OpenBSD: Makefile,v 1.271 2019/04/12 18:21:17 jca Exp $ VERSION = 4.8.11 - regards
Re: samba : snapshots of 6.5
It is known/expected that smbd startup is very slow on OpenBSD at present, https://marc.info/?t=15500795593=1=2
Re: samba : snapshots of 6.5
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:
Re: samba : snapshots of 6.5
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
samba : snapshots of 6.5
hi all . the samba of snapshots does not start . dell# /etc/rc.d/samba start smbd(timeout) but dell# nmbd -D dell# smbd -D dell# ps ax | grep mbd 52176 ?? Is 0:00.05 /usr/local/sbin/smbd -D -D 87251 ?? S 0:00.05 /usr/local/sbin/smbd -D -D 64985 ?? S 0:00.00 /usr/local/sbin/smbd -D -D 89762 ?? I 0:00.02 /usr/local/sbin/smbd -D -D 74018 ?? Ss 0:00.03 nmbd -D 19823 p0 S+p 0:00.00 grep mbd by the way /comment-out.bat /etc/samba/smb.conf [global] workgroup = WORKGROUP server string = Samba Server server role = standalone server log file = /var/log/samba/smbd.%m max log size = 50 dns proxy = no [homes] comment = Home Directories browseable = no writable = yes and dell# testparm rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[homes]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] dns proxy = No log file = /var/log/samba/smbd.%m max log size = 50 server role = standalone server server string = Samba Server idmap config * : backend = tdb [homes] browseable = No comment = Home Directories read only = No -- from 竹島強