Fix process nasmand

Got a feature request? Great! Post your ideas here!
PaullShull
Posts: 9
youtube meble na wymiar Warszawa
Joined: Sun Apr 15, 2018 5:17 pm

Fix process nasmand

Post by PaullShull »

Can someone advise me how to change the process nasmand ?
I don't want it to do "house keeping" and wake my disks from hibernation at midnight.
thx








Old post viewtopic.php?t=6529
wolvverine wrote: Fri Dec 22, 2017 5:44 pm Yes , it is problem with nasmand process.
Look on:

killall nasmand && strace -f nasmand

showed many operation:
stat, fstat, lstat, fstatat, newfstatat,getdents
on every file/directory on RAID.
And depending on the amount of GB on the disk it can take several hours (1GB = 1h)
Asustor team did not explain why this indexation of all files serves.
And why they do not want to allow configuration at which point this indexation will be performed, it is hard coded at 24:00.

The read operartion is in peek to 6-8 MB/s. Average 1,2 MB/s


"According to our software team, yes, the nasmand daemon will do the housekeeping works of NAS during the midnight. When it finishes the job, I will enter the sleep mode automatically"
"house keeping , like check account expiration , and check log file usage...etc
the app is a daemon without any user interface, the check start time & frequency are hard coded in app itself"
"After checking with the software team, the process will be respawn automatically"
Asustor AS3102T - 2x3TB
User avatar
Nazar78
Posts: 2235
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Re: Fix process nasmand

Post by Nazar78 »

It's not only the nasmand that's waking your disks. There's also several others like the apps you installed, backups, share drive requests, accessing the ADM web portal etc². Check your "Settings>Scheduling" for thumbnails and automatic drive info updates turn them off if you don't need it. The NTP and ADM update will also wake your NAS so don't schedule them on a daily basis.

I don't have this issue, my ADM OS (volume0) has been modded to run on the RAM but I'll try to debug the so called "nasmand" later see what it's doing at midnight. As for now it's doing nothing that would wake my disks (volume0/volume1/volume2). Those /etc and /var you see below is mounted on the ramfs (rootfs) so it's not accessing the physical disks at all:

Code: Select all

inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
inotify_add_watch(3, "/lib/ld-linux.so.2", IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_ONESHOT) = -1 ENOENT (No such file or directory)
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=128, ...}) = 0
stat("/var/log/bootup.log", {st_mode=S_IFREG|0644, st_size=186, ...}) = 0
openat(AT_FDCWD, "/var/log/bootup.log", O_RDONLY) = 0
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
PaullShull
Posts: 9
Joined: Sun Apr 15, 2018 5:17 pm

Re: Fix process nasmand

Post by PaullShull »

I have all app disable and cron is clean .
Clean install ADM . No backups and etc .
Scheduling for thumbnails and automatic drive info updates and NTP is off.
Accessing the ADM web portal -- nobody .
Thx
Asustor AS3102T - 2x3TB
User avatar
Nazar78
Posts: 2235
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Re: Fix process nasmand

Post by Nazar78 »

I did the debug, it started at 2359hrs to catch anything going on the NAS with the nasmand process at midnight. I've filtered out some paths belonging to the rootfs which doesn't affect any disks waking up so the log will be cleaner to look at. The nasmand is not doing anything except reading one of my custom script I have scheduled at midnight.

Code: Select all

59 23 * * * ionice -c3 -n7 nice -n19 sh -c "killall strace 2>/dev/null;/root/.scripts/strace -p `pidof nasmand` 2>&1|grep '/'|grep -Ev '/(etc|var|lib)/'">>~/nasmand-`date +%Y%m%d-%H%M%S`.log &

Code: Select all

/root/.scripts/strace: Process 1538 attached
read(1, "@reboot /home/nazar/Scripts/asus"..., 2628) = 2628
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
recvfrom(4, {{len=1851877475, type=0x6567 /* NLMSG_??? */, flags=0x2f40 /* NLM_F_??? */, seq=1769366884, pid=796091747}, "\x70\x63\x69\x30\x30\x30\x30\x3a\x30\x30\x2f\x30\x30\x30\x30\x3a\x30\x30\x3a\x30\x32\x2e\x30\x2f\x64\x72\x6d\x2f\x63\x61\x72\x64"...}, 1023, 0, NULL, NULL) = 205
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
recvfrom(4, {{len=1851877475, type=0x6567 /* NLMSG_??? */, flags=0x2f40 /* NLM_F_??? */, seq=1769366884, pid=796091747}, "\x70\x63\x69\x30\x30\x30\x30\x3a\x30\x30\x2f\x30\x30\x30\x30\x3a\x30\x30\x3a\x30\x32\x2e\x30\x2f\x64\x72\x6d\x2f\x63\x61\x72\x64"...}, 1023, 0, NULL, NULL) = 205
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
openat(AT_FDCWD, "/dev/null", O_RDWR|O_CREAT|O_TRUNC, 0666) = 0
select(5, [3 4], NULL, NULL, {tv_sec=3, tv_usec=0}/root/.scripts/strace: Process 1538 detached
So probably yours is an isolated issue, you can troubleshoot yourself or contact Asustor Support with your findings.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
PaullShull
Posts: 9
Joined: Sun Apr 15, 2018 5:17 pm

Re: Fix process nasmand

Post by PaullShull »

What command should I use to find out what is being written to the disk at midnight?
Asustor AS3102T - 2x3TB
User avatar
Nazar78
Posts: 2235
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Re: Fix process nasmand

Post by Nazar78 »

As for a start, you can install entware package from the App Central, then using the package manager install some tools like htop and iostat. For more advanced, install fatrace. Refer to existing posts: viewtopic.php?t=13690 and viewtopic.php?t=14006.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
PaullShull
Posts: 9
Joined: Sun Apr 15, 2018 5:17 pm

Re: Fix process nasmand

Post by PaullShull »

Thx :)
Asustor AS3102T - 2x3TB