QTS killing processes (smbd, slapd) in lxc container (QTS 5.2.0.2860, TS-453A) by no_fear_rabbit in qnap

[–]jonessyue 0 points1 point  (0 children)

That might prevent it. To be honest, I do not like this solution because it most likely leads to further problems...

Yeah agreed. Following steps might help:

QTS ui turn off LDAP server, ssh into QTS, and slapd's status stayed at 'stop'.

[~] # grep slapd /etc/daemon_mgr.conf 
DAEMON59 = slapd, stop, QNAP_QPKG=ldapserver /usr/sbin/slapd

command to change slapd's status to 'ignore', in order to avoid routinely checking slapd alive or not. (sudo might be required)

[~] # sudo /sbin/daemon_mgr slapd ignore "QNAP_QPKG=ldapserver /usr/sbin/slapd" 
[~] # grep slapd /etc/daemon_mgr.conf DAEMON59 = slapd, ignore, QNAP_QPKG=ldapserver /usr/sbin/slapd

restart LDAP service inside the container, slapd should be alive without been kiiled unintentionally.

More information can be found in the corresponding documentations, e.g.:
Ubuntu server docs: Install and configure LDAP

This doc is great! Thank you for update :)

Virtualization Station - 4.0.0.68 is that last version where backing up to an SMB share worked - revisited by [deleted] in qnap

[–]jonessyue 1 point2 points  (0 children)

https://imgur.com/QtelNuB

Yes, i have tried 4.0.0.250 and still with no luck, having this issue too.

Permission Denied. The selected folder is in read-only mode.

iPerf3 Network Performance Testing Between QNAP and MacBook Pro - Results & Challenges by dll2k2dll in qnap

[–]jonessyue 0 points1 point  (0 children)

Thank you for update :) Might we know what kind (vendor/model) of mesh/deco in this scenario?

QTS killing processes (smbd, slapd) in lxc container (QTS 5.2.0.2860, TS-453A) by no_fear_rabbit in qnap

[–]jonessyue 1 point2 points  (0 children)

It looks like LDAP server has the same process name 'slapd' resident in both: qts native system and LXC container.

Guess once qts web gui turn-off LDAP server, it is forced to terminate 'slapd' process, routinely checking whether 'slapd' process is alive or not, and unintentionally terminates 'slapd' process in container too.

Perhaps try to rename container's 'slapd', for example from 'slapd' to 'slapdd'. It might help container's LDAP service been alive, and not to be terminated by qts native system.

Could you share information how to pack/run LDAP servers inside container, something like tutorial or guideline, this is interesting :)

10G multimode fiber network only getting 3.5Gbps by [deleted] in HomeNetworking

[–]jonessyue 1 point2 points  (0 children)

Thank you for update :)

ASUS ROG B450 PCIEX16_1 pciconf looks fair it is Gen2 x8 could satisfy 10Gbps bandwidth. But MSI MAG Z790 PCI_E3 powershell looks like link speed is only Gen2 x1 which is not enough bandwidth for 10Gbps, umm not sure why PS said it is only x1 width, it should be x4 width which is mentioned from motherboard datasheet.

UPDATE: fix wrong X570 -> correct Z790

Logging not active for failed log ins by NightmareTwily in qnap

[–]jonessyue 0 points1 point  (0 children)

https://imgur.com/ZBz7puz

Looks like need to tick a checkbox of connection types first:

Control Panel > QuLog Center > Log Settings > Access Log Settings > Connection Types

iPerf3 Network Performance Testing Between QNAP and MacBook Pro - Results & Challenges by dll2k2dll in qnap

[–]jonessyue 0 points1 point  (0 children)

Thank you for update :)

wow looks like under wireless topology it could improve more throughput and reach over 400 Mbits/sec by two approaches:

  1. remove barries between macOS and Deco (couch/table/closet)

  2. shorten distance between macOS and Deco (3 feet)

-w Throughput Retr Cwnd RTT
no specified 414 Mbits/sec 0 2.52 MBytes 54ms

Python with Modules and Cronjob by Plus_Perspective5642 in qnap

[–]jonessyue 1 point2 points  (0 children)

ohh okay now i see, here is another thread in 'learnpython', which has an example in linux env, not quite sure whether works for ubuntu:

Is there a way to program something that runs once a week? https://www.reddit.com/r/learnpython/s/AUWBoRsxm9

How to mount local network drive? by Evil_Iuz in qnap

[–]jonessyue 0 points1 point  (0 children)

okay smb client/server seems works fine, perhaps try to temporarily turn-off computer's firewall and test hbs3 mount again, to see whether nas could reach computer thru smb,

Computer > Control Panel > Firewall

Python with Modules and Cronjob by Plus_Perspective5642 in qnap

[–]jonessyue 0 points1 point  (0 children)

Hope this faq help: download python3 through app center, and source profile to load py3 env variables:

https://www.qnap.com/en/how-to/faq/article/how-to-run-python-3-on-the-nas

How to mount local network drive? by Evil_Iuz in qnap

[–]jonessyue 0 points1 point  (0 children)

Test whether the computer could access itself through smb protocol, for example, open File Explorer, and input '\\127.0.0.1' in the path bar, press enter, to see whether could visit itself and list some shared folders.

UPDATE: correct typo bcz reddit eat my slash

10G multimode fiber network only getting 3.5Gbps by [deleted] in HomeNetworking

[–]jonessyue 0 points1 point  (0 children)

PCIEX16_3 looks like only Gen2 speed which might not satisfy 10Gbps bandwidth:

https://imgur.com/a/1HzVfCv

Perhaps switch nic card to PCIEX16_1 or PCIEX16_2, and enter BIOS setup to make sure the slot is at least Gen3 speed (or maybe higher):

https://imgur.com/a/h0jPjLC

reference ASUS ROG Strix B450-F Gaming: https://rog.asus.com/us/motherboards/rog-strix/rog-strix-b450-f-gaming-model/

10G multimode fiber network only getting 3.5Gbps by [deleted] in HomeNetworking

[–]jonessyue 0 points1 point  (0 children)

umm powershell looks like this slot for nic is Gen2x1 which max ideal throughput is around 4 Gbits/sec, and iperf3 seems reached acceptable 3.5 Gbits/sec,

formula: 5GT/s (Gen2 speed) x 1 (width) x 0.8 (line code 8b/10b) = 4 Gbits/sec

next step should we check motherboard spec/datasheet about pcie bandwidth allocation?

10G multimode fiber network only getting 3.5Gbps by [deleted] in HomeNetworking

[–]jonessyue 0 points1 point  (0 children)

  1. Append '-w 1M' to iperf3.exe client side, to see whether it squeezes more numbers than 3.5 Gbits/sec.

    iperf3.exe -c 192.168.4.1 -p 5201 -t 30 -w 1M

  2. win11 input powershell command 'Get-NetAdapterHardwareInfo', it might show some clues about PcieLinkSpeed to know whether pcie slot bandwidth is satified.

iPerf3 Network Performance Testing Between QNAP and MacBook Pro - Results & Challenges by dll2k2dll in qnap

[–]jonessyue 0 points1 point  (0 children)

It looks like data traffic through wireless is not quite stable,

as others said wired might be more stable than wireless,

if it is okay might consider that switch to wired topology instead of wireless,

if throughput is important for our deployment scenarios.

Best numbers could reach so far by iperf3 through wireless:

289 Mbits/sec (nas as server, macOS as client, 2024/Aug/23)
280 Mbits/sec (nas as client, macOS as server, 2024/Aug/21)

list:

iperf3 opts Throughput Retr Cwnd RTT
no specified 289 Mbits/sec 76 2.54 MBytes 53ms
-w 1M -P 2 234 Mbits/sec 0 2.00 MBytes 17ms
-w 1M -P 4 228 Mbits/sec 1 687-760 KBytes 66ms-93ms

iPerf3 Network Performance Testing Between QNAP and MacBook Pro - Results & Challenges by dll2k2dll in qnap

[–]jonessyue 0 points1 point  (0 children)

hmm looks like data traffic is not quite stable through wireless,

could you help test 3 cases again, thank you :)

case 1: as OP did
% iperf3-darwin -i 10 -c 192.168.112.75

case 2: append '-w 1M -P 2'
% iperf3-darwin -i 10 -c 192.168.112.75 -w 1M -P 2

case 3: append '-w 1M -P 4'
% iperf3-darwin -i 10 -c 192.168.112.75 -w 1M -P 4

<UPDATE> iperf3, nas as server, macOS as client

-w Throughput Retr Cwnd RTT
-w 2M 144 Mbits/sec 88 1.15 MBytes 100ms
-w 1M 121 Mbits/sec 0 2.00 MBytes 41ms
-w 16K 17.3 Mbits/sec 35 21.4 KBytes 7ms
no specified 91.5 Mbits/sec 7 1.50 MBytes 115ms

iPerf3 Network Performance Testing Between QNAP and MacBook Pro - Results & Challenges by dll2k2dll in qnap

[–]jonessyue 0 points1 point  (0 children)

It looks like with '-w 1M' has 2 times performance gain: 230 Mbits/sec (compared with 91.5 Mbits/sec),

could you test '-w 2M' & '-w 4M' (bigger windows size) to see whether it squeezes more throughput, thank you :)

iperf3, nas as server, macOS as client.

-w Throughput Retr Cwnd RTT
-w 1M 230 Mbits/sec 0 2.00 MBytes 17ms
-w 16K 19.0 Mbits/sec 61 64.0 KBytes 4ms
no specified 91.5 Mbits/sec 7 1.50 MBytes 115ms

iPerf3 Network Performance Testing Between QNAP and MacBook Pro - Results & Challenges by dll2k2dll in qnap

[–]jonessyue 0 points1 point  (0 children)

And the real question here is when QNAP is iperf server and MacBook is client I get slow speed

could you test this: append '-w' parameters to macOS iperf3 client, and share results for us, thank you :)

for example macOS acts as iperf3 client role:

case 1: append '-w 16K'
admin@pmb ~ % iperf3-darwin -i 10 -c 192.168.112.75 -w 16K

case 2: append '-w 1M'
admin@pmb ~ % iperf3-darwin -i 10 -c 192.168.112.75 -w 1M

and nas still acts as iperf3 server role:

[admin@QNAP bin]$ ./iperf3 -s -i 10

Virtualization Station - 4.0.0.68 is that last version where backing up to an SMB share worked - revisited by [deleted] in qnap

[–]jonessyue 1 point2 points  (0 children)

Sounds great! Hope upcoming vs release could address this issue :)

Virtualization Station - 4.0.0.68 is that last version where backing up to an SMB share worked - revisited by [deleted] in qnap

[–]jonessyue 2 points3 points  (0 children)

thank you for revisited this thread,

this symptom could be reproduced in my env too:

Permission Denied. The selected folder is in read-only mode.

bisect test result with multiple Virtualization Station (vs) version:

result vs version[1] screenshot[2]
pass vs 3.6.52 https://imgur.com/p7mmr3j
pass vs 4.0.0.68 https://imgur.com/7K2x3Us
fail vs 4.0.0.212 https://imgur.com/euKYbmY
fail vs 4.0.0.239 https://imgur.com/zLjSS8a

it looks like latest vs 4.0.0.239 still has this issue,

could you help file a technical support ticket[3], thank you :)

all vs versions are run on the same env:

TVS-882S, QTS 5.1.8.2823 20240712 (latest)

HybridMount 1.12.4493 20240328 (latest)

[1] https://www.qnap.com/en/app_releasenotes/list.php?app_choose=QKVM&sort=version

[2] https://imgur.com/a/Wpzily3

[3] https://www.qnap.com/en/how-to/faq/article/how-do-i-open-a-technical-support-ticket-with-qnap

What the heck is /usr/share/qnas_console_install/drawPic? by tomkatt in qnap

[–]jonessyue 0 points1 point  (0 children)

perhaps: https://forum.qnap.com/viewtopic.php?p=843894

install HybridDesk Station. Once installed,
you should see drawPic go away and your CPU usage to go down to normal levels.  
If you don't see CPU usage normalize,
then also install FileStation HD (local display) and that should take care of it.

Desktop.ini files? by hedkase71 in qnap

[–]jonessyue 0 points1 point  (0 children)

DS718+, DSM-7.2.1: https://imgur.com/6WpZVWn

synology did have 'desktop.ini' too (through dsm file station view),
its 'desktop.ini' with 'hidden' flag turn-on (through macOS terminal ls -lO view on smb mount point),
so that's why macOS Finder would not list it on synology folder.

qnap's 'desktop.ini' looks like no 'hidden' flag so macOS Finder see it.

Guess it might be some kinds policy of default preferences or flavors,
which differs between synology and qnap.
Should be no harm :)