This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
CIFS stops working after arount 40min after boot
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
CIFS stops working after arount 40min after boot
Hi.
Hopefully I haven't missearched the forum, and my problem isn't quite known or depending on any misconfiguration of the server by me.
I have a strange problem. My NAS4Free-Server (SMB2) is regularly stopping work after around +-40min after reboot of the server.
After booting, I can log in to the server and access any file via CIFS and rsync normaly.
But it doesn't make any diffenerence if I am tranfering files or just let my server idle for >40min. After that time CIFS and rsync stop working.
But even then, I can normally access all files via the ftp-server.
I have no idea and would be pleased for any help.
Regards
Jan
Hopefully I haven't missearched the forum, and my problem isn't quite known or depending on any misconfiguration of the server by me.
I have a strange problem. My NAS4Free-Server (SMB2) is regularly stopping work after around +-40min after reboot of the server.
After booting, I can log in to the server and access any file via CIFS and rsync normaly.
But it doesn't make any diffenerence if I am tranfering files or just let my server idle for >40min. After that time CIFS and rsync stop working.
But even then, I can normally access all files via the ftp-server.
I have no idea and would be pleased for any help.
Regards
Jan
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: CIFS stops working after arount 40min after boot
anything in the logs?
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Tonight, i look at my watch. I war openening directories via SMB on the server.
The error accrued at 44:28 min server-uptime. Maybe a few seconds earlier, but not <44:00 min. The log isn't long enough to show it.
No problems via FileZilla (read/write/list).
I don't know when the log is going to be interessting for you. So I copied the hole bunch in here:
The error accrued at 44:28 min server-uptime. Maybe a few seconds earlier, but not <44:00 min. The log isn't long enough to show it.
It's a music directory, which I could access before and stream without any problems. Now I can't even list.Auf \\####\####\music kann nicht zugegriffen werden. Sie haben eventuell keine Berechtigung, diese Ntzwerkressource zu verwenden. Wenden Sie sich an den Administrator des Servers, um herauszufinden, ob Sie über Berechtigungen verfügen.
Ein an das System angeschlossenes Gerät funktioniert nicht."
No problems via FileZilla (read/write/list).
I don't know when the log is going to be interessting for you. So I copied the hole bunch in here:
Code: Select all
# DELETED #
Last edited by g7i on 18 May 2015 04:06, edited 1 time in total.
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Hi,
What size do you use for /var and /var/tmp ?
Which log level of SMB service?
Please write info of "Diagnostics|Information|Space Used" both before/after reboot.
Thanks,
Your log shows /var is full. Do you have something on it ?g7i wrote:Code: Select all
May 16 03:45:32 ui-ge-server kernel: pid 15956 (smbd), uid 1001 inumber 8502 on /var: filesystem full
What size do you use for /var and /var/tmp ?
Which log level of SMB service?
Please write info of "Diagnostics|Information|Space Used" both before/after reboot.
Thanks,
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
Re: CIFS stops working after arount 40min after boot
@ daoyama :
The SMB-loglevel was untouched at "minimum". I have now chanced it to debug.
I have no data on /var, nor does I have changed any file size of /var.
I found out, that the factor time doesn't really matter. The problem occures at 19min, 44min, 72min ...
The SMB-loglevel was untouched at "minimum". I have now chanced it to debug.
Code: Select all
# DELETED #I found out, that the factor time doesn't really matter. The problem occures at 19min, 44min, 72min ...
Last edited by g7i on 18 May 2015 04:08, edited 4 times in total.
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Thanks,
It shows /var is -9.8M (used reserved 8%).
next time when stopped, please run "du /var" from Advanced|Execute command.
It shows /var is -9.8M (used reserved 8%).
next time when stopped, please run "du /var" from Advanced|Execute command.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
Re: CIFS stops working after arount 40min after boot
clean one after reboot
After the CIFS-freeze, i get a massive file list via "du /var". In parts single files of a hole directory incl. subdirectory, then just a list a directories ... crazy. The numbers are bytes? One subdirectory alone gets 221864 bytes, the subdirectory of this another 218448 bytes and the file in this subsubdirectory another 204976. Some other maindirectories just get 8 bytes.
Does that makes sense?
Code: Select all
# DELETED # Does that makes sense?
Last edited by g7i on 18 May 2015 04:09, edited 1 time in total.
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Where is increased?g7i wrote: After the CIFS-freeze, i get a massive file list via "vu /var". In parts single files of a hole directory incl. subdirectory, then just a list a directories ... crazy. The numbers are bytes? One subdirectory alone gets 221864 bytes, the subdirectory of this another 218448 bytes and the file in this subsubdirectory another 204976. Some other maindirectories just get 8 bytes.
Does that makes sense?
Please write the result if possible.
It shows number of 1KiB. If you can see 8, it means 8KiB.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
Re: CIFS stops working after arount 40min after boot
# DELETED #
Last edited by g7i on 18 May 2015 04:10, edited 2 times in total.
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Thank you.
What file exist in /var/log/192.168.2.5/video????
Which service enable?
Did you install extension? if so, what extension?
What file exist in /var/log/192.168.2.5/video????
Which service enable?
Did you install extension? if so, what extension?
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Extensions: none; just blanc nas4free 9.3.0.2 (revision 1480)
Services activated: CIFS + FTP (rsync disabled)
But I have to correct myself: these are all directuries and subdirecturies, and no files.
Services activated: CIFS + FTP (rsync disabled)
But I have to correct myself: these are all directuries and subdirecturies, and no files.
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Ok, do you know what process create /var/log/192.168.2.5?g7i wrote:Extensions: none; just blanc nas4free 9.3.0.2 (revision 1480)
Services activated: CIFS + FTP (rsync disabled)
But I have to correct myself: these are all directuries and subdirecturies, and no files.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
Re: CIFS stops working after arount 40min after boot
Under local, the destination is linked to A, and it is (surprisingly) enabled.
That is the only thing I can see, that might try to reach A.
I'll disable it.
That is the only thing I can see, that might try to reach A.
I'll disable it.
Last edited by g7i on 18 May 2015 04:12, edited 1 time in total.
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: CIFS stops working after arount 40min after boot
I think this is root cause. I don't know a reason but it creates under /var/log.g7i wrote:Under local, the destination is linked to A, and it is (surprisingly) enabled. That is the only thing I can see, that might try to reach A.
Local rsync means from local path to local path. (no transfer to other server)
If you omit the dest directory, it create under /var/log/XXXX by some reason.
As a result, you get /var full.
Ok, I understand.
HOME=/var/log
is written in /var/etc/crontab.
You do not have the required permissions to view the files attached to this post.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
g7i
- NewUser

- Posts: 9
- Joined: 02 May 2014 04:41
- Status: Offline
Re: CIFS stops working after arount 40min after boot
@ daoyama :
You're right. After more than 24h of server-uptime, I can say that it now works well.
Funnily the rsync-server & -client configuration was right and worked. I never realized, that the "local"-configuration was totally wrong.
So I shot me in my own foot.
Thank you for your help.
Jan
You're right. After more than 24h of server-uptime, I can say that it now works well.
Funnily the rsync-server & -client configuration was right and worked. I never realized, that the "local"-configuration was totally wrong.
So I shot me in my own foot.
Thank you for your help.
Jan