F4-210 php divide by zero, memory allocation error and wants to initialize again
Posted: 17 Jun 2020, 05:32
Fresh F4-210, 2GB memory, 4x4TB HDDs; Plex is the only app installed. I started copying files into it; had TOS window open in another tab; about 2 hours in I noticed the little panel was showing N/A for CPU and Memory and a WARNING somephpfile.php division by zero. Tried to reload the UI, got the initialize screen with the timezone select box empty. Tried to ssh into the box, connection terminates immediately with "unable to allocate memory". All this time my file copy continued at the same speed. I restarted the box and it's ok now; but wondering if you are aware of these problems.
I stopped Plex, installed DLNA media server instead... maybe it's less memory hungry.
Model: F4-210
TOS version: 4.1.24-2005180955
Any ideas? Do you want any logs? Here's the top output while it's running normally
I stopped Plex, installed DLNA media server instead... maybe it's less memory hungry.
Model: F4-210
TOS version: 4.1.24-2005180955
Any ideas? Do you want any logs? Here's the top output while it's running normally
Code: Select all
paul@TNAS-00EC3B:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 512 0 512 0% /dev
/dev/md9 2885520 389604 2329624 14% /
tmpfs 813508 1520 811988 0% /tmp
tmpfs 512 0 512 0% /dev
tmpfs 813508 3000 810508 0% /var
/dev/mapper/vg0-lv0 11612486008 329974572 11223971160 3% /mnt/md0
top:
Mem: 1377680K used, 249336K free, 12596K shrd, 5732K buff, 1149396K cached
CPU: 3% usr 17% sys 0% nic 71% idle 0% io 0% irq 5% sirq
Load average: 0.94 1.43 1.15 2/287 16041
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
26201 26130 paul S 22968 1% 7% /usr/sbin/smbd -D
1831 1 root S 513m 32% 1% syscontrol /tmp/sys_log 0
25760 1 root S 102m 6% 1% /usr/sbin/minimediad -R
5994 2 root SW 0 0% 1% [md0_raid5]
225 2 root SW 0 0% 1% [kworker/u8:7]
201 2 root SW 0 0% 1% [kworker/u8:4]
32000 2 root SW 0 0% 1% [kworker/u8:1]
15119 2 root SW 0 0% 1% [kworker/u8:2]
165 2 root SW 0 0% 1% [kworker/u8:3]
214 2 root SW 0 0% 0% [kworker/u8:5]
65 2 root SW 0 0% 0% [kswapd0]
3202 3200 root S 236m 15% 0% php-fpm: pool www-01
5091 1 root S 220m 14% 0% /usr/bin/rtk-supplicant
32714 1 root S 918m 57% 0% /sbin/nasips
3371 1 root S 674m 42% 0% /usr/sbin/upnpd eth0 eth0
3206 3200 root S 236m 15% 0% php-fpm: pool www-01
31959 1 root S 80040 5% 0% /usr/bin/msgcenter
241 2 root SW< 0 0% 0% [kworker/0:1H]
217 2 root SW< 0 0% 0% [kworker/3:1H]
^C 7 2 root SW 0 0% 0% [rcu_sched]
paul@TNAS-00EC3B:~$
paul@TNAS-00EC3B:~$ cat /proc/meminfo
MemTotal: 1627016 kB
MemFree: 240836 kB
MemAvailable: 1452004 kB
Buffers: 5740 kB
Cached: 1153240 kB
SwapCached: 0 kB
Active: 598724 kB
Inactive: 617288 kB
Active(anon): 25876 kB
Inactive(anon): 44168 kB
Active(file): 572848 kB
Inactive(file): 573120 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 1998780 kB
SwapFree: 1998780 kB
Dirty: 432 kB
Writeback: 11240 kB
AnonPages: 57152 kB
Mapped: 19696 kB
Shmem: 12632 kB
Slab: 106936 kB
SReclaimable: 84196 kB
SUnreclaim: 22740 kB
KernelStack: 4768 kB
PageTables: 2360 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2812288 kB
Committed_AS: 955176 kB
VmallocTotal: 263061440 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
CmaTotal: 16384 kB
CmaFree: 14628 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB