I own a little (and old) TS-410.
Recently (after last update to latest firmware available) CPU runs always over 90%; I was never used to ear my NAS fan.
'top' command says me that the process which uses a lot of CPU is qsyslogd; that's a system process, so I can't stop it to save CPU.
Any ideas?
Code: Select all
[~] # top -d1
Mem: 234160K used, 21436K free, 31112284K shrd, 2872K buff, 61016K cached
Load average: 1.53, 1.61, 1.70 (State: S=sleeping R=running, W=waiting)
PID USER STATUS RSS PPID %CPU %MEM COMMAND
6951 admin S 456 1 90.1 0.1 qsyslogd
22221 admin S 1916 27625 4.2 0.7 idevsutil_IDriv
12277 admin R 952 11425 4.2 0.3 top
11421 admin S 2904 19691 0.8 1.1 sshd
7256 admin S < 2248 1 0.8 0.8 iscsid
19781 httpdusr S 5556 30658 0.0 2.1 apache
853 httpdusr S 5396 30658 0.0 2.1 apache
19779 httpdusr S 5348 30658 0.0 2.0 apache
27583 httpdusr S 5344 30658 0.0 2.0 apache
529 httpdusr S 5216 30658 0.0 2.0 apache
6053 admin S 4160 1 0.0 1.6 apache_proxys
6961 admin S 2868 1 0.0 1.1 qLogEngined
7905 admin S 2372 1 0.0 0.9 porter
22222 admin S 2096 27625 0.0 0.8 perl
17311 admin S < 1992 4800 0.0 0.7 apache_proxy
13850 admin S < 1940 4800 0.0 0.7 apache_proxy
5286 admin S < 1912 4800 0.0 0.7 apache_proxy
13862 admin S < 1912 4800 0.0 0.7 apache_proxy
19767 admin S < 1900 4800 0.0 0.7 apache_proxy
3560 admin S < 1896 4800 0.0 0.7 apache_proxy
9284 admin S < 1888 4800 0.0 0.7 apache_proxy
4301 admin S < 1884 4800 0.0 0.7 apache_proxy
13849 admin S < 1848 4800 0.0 0.7 apache_proxy
4299 admin S < 1828 4800 0.0 0.7 apache_proxy
Code: Select all
[~] # getcfg system version
4.2.6
Code: Select all
[~] # /sbin/hdparm -i /dev/sd[a-d]
/dev/sda:
Model=WDC WD20EFRX-68EUZN0 , FwRev=80.00A80, SerialNo= WD-WCC4M1255953
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?0?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
/dev/sdb:
Model=WDC WD30EFRX-68EUZN0 , FwRev=82.00A82, SerialNo= WD-WCC4N5UH9982
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?0?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
/dev/sdc:
Model=WDC WD20EFRX-68EUZN0 , FwRev=82.00A82, SerialNo= WD-WCC4M3ZD1UNT
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?0?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
/dev/sdd:
Model=WDC WD30EFRX-68EUZN0 , FwRev=82.00A82, SerialNo= WD-WCC4N4RUA4AA
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?0?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:
* signifies the current active mode
Code: Select all
[~] # df -h
Filesystem Size Used Available Use% Mounted on
/dev/ramdisk 32.9M 17.1M 15.8M 52% /
tmpfs 32.0M 676.0k 31.3M 2% /tmp
/dev/sda4 371.0M 370.8M 240.0k 100% /mnt/ext
/dev/md9 509.5M 135.5M 374.0M 27% /mnt/HDA_ROOT
/dev/md0 3.6T 979.3G 2.6T 27% /share/MD0_DATA
tmpfs 1.0M 0 1.0M 0% /mnt/rf/nd
Code: Select all
[~] # cat /proc/mdstat
Personalities : [raid1] [linear] [raid0] [raid10] [raid6] [raid5] [raid4]
md0 : active raid6 sda3[0] sdb3[3] sdd3[2] sdc3[1]
3903891200 blocks level 6, 64k chunk, algorithm 2 [4/4] [UUUU]
md4 : active raid1 sdc2[3](S) sdd2[4](S) sdb2[2] sda2[0]
530128 blocks super 1.0 [2/2] [UU]
md13 : active raid1 sda4[0] sdd4[3] sdc4[2] sdb4[1]
458880 blocks [4/4] [UUUU]
bitmap: 0/57 pages [0KB], 4KB chunk
md9 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
530048 blocks [4/4] [UUUU]
bitmap: 0/65 pages [0KB], 4KB chunk
unused devices: <none>
Code: Select all
[~] # ps
PID Uid VmSize Stat Command
1 admin 448 S init
2 admin SW [kthreadd]
3 admin SW [ksoftirqd/0]
6 admin SW< [khelper]
138 admin SW [sync_supers]
140 admin SW [bdi-default]
141 admin SW< [kblockd]
147 admin SW< [ata_sff]
157 admin SW [khubd]
159 admin SW [kethubd]
164 admin SW< [md]
257 admin SW [kswapd0]
258 admin SW [fsnotify_mark]
259 admin SW< [crypto]
364 admin SW [scsi_eh_0]
367 admin SW [scsi_eh_1]
370 admin SW [scsi_eh_2]
373 admin SW [scsi_eh_3]
387 admin SW [scsi_eh_4]
390 admin SW [scsi_eh_5]
393 admin SW [kworker/u:6]
401 admin SW< [orion_spi]
409 admin SW [mtdblock0]
413 admin SW [mtdblock1]
417 admin SW [mtdblock2]
421 admin SW [mtdblock3]
425 admin SW [mtdblock4]
429 admin SW [mtdblock5]
456 admin SW< [deferwq]
506 admin SW [flush-1:0]
529 httpdusr 5256 S /usr/local/apache/bin/apache -k start -c PidFile /var/lock/apache.pid
764 admin SW [md9_raid1]
807 admin SW [md13_raid1]
853 httpdusr 5308 S /usr/local/apache/bin/apache -k start -c PidFile /var/lock/apache.pid
895 admin SW [kjournald]
1097 admin 728 S /mnt/ext/opt/apache/bin/php /share/Qweb/IDrive/.config/IDrive_cron.php
1181 admin 464 S N /usr/bin/rsyncd --daemon --sever-mode=1 --qnap-bwlimit
1272 admin 416 S /sbin/daemon_mgr.nvr
1330 admin SW< [dm-block-clone]
1350 admin SW [mv_crypto]
1363 admin SW< [cryptodev_queue]
1395 admin SW< [rpciod]
1402 admin SW< [nfsiod]
1409 admin SW< [cifsiod]
1418 admin SW [fnotify]
1425 admin SW< [cfg80211]
1442 admin 384 S < qWatchdogd: keeping alive every 1 seconds...
1922 admin SW [kjournald]
2066 admin 240 S /sbin/modagent
2097 admin 104 S /sbin/kerrd
2130 admin SW [md4_raid1]
2187 admin SW [md0_raid6]
2250 admin SW [kjournald]
2293 admin 608 S /sbin/hotswap
2297 admin 608 S /sbin/qsmartd -d
2516 admin 428 S /opt/bin/SCREEN
2517 admin 812 S /bin/sh
2973 admin 1200 S /usr/sbin/noip2
3422 admin 1336 S N /usr/local/samba/sbin/nmbd -l /var/log -D -s /etc/config/smb.conf
3475 admin 888 S N /sbin/upnpd eth0 eth0
3560 admin 1920 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
4113 admin 488 S /sbin/qpkgd -d0
4299 admin 1856 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
4301 admin 1896 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
4386 admin 796 S /usr/sbin/cupsd -C /etc/config/cups/cupsd.conf -s /etc/config/cups/cups-files.conf
4708 admin 1372 S /usr/local/sbin/_thttpd_ -p 58080 -nor -nos -u admin -d /home/httpd -c **.* -h 127.0.0.1 -i /var/lock/._thttpd_.pid
4800 admin 952 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
5146 guest 464 S /usr/sbin/dbus-daemon --system
5222 admin 640 S /usr/local/sbin/remote_folder_daemon --reset
5286 admin 1908 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
5336 admin 352 S /usr/sbin/ntpdated
5549 admin 448 S /usr/sbin/upsutil
6053 admin 4152 S /usr/local/apache/bin/apache_proxys -k start -f /etc/apache-sys-proxy-ssl.conf
6437 guest 892 S avahi-daemon: running [[** removed **].local]
6457 admin 872 S /sbin/bcclient
6567 admin 780 S /sbin/picd
6568 admin 520 S /sbin/gpiod
6580 admin 792 S /sbin/hwmond
6694 admin SW [kworker/u:0]
6765 admin 532 S /sbin/gen_bandwidth -r -i 5
6768 admin 772 S /sbin/hd_util
6930 admin 468 S /bin/sh /etc/init.d/klogd.sh start
6951 admin 452 S /sbin/qsyslogd
6957 admin 392 S /sbin/qShield
6961 admin 2812 S qLogEngined: Write log is enabled...
6964 admin 440 S qNoticeEngined: Write notice is enabled...
7043 admin 292 S /bin/dd if=/proc/kmsg of=/mnt/HDA_ROOT/.logs/kmsg bs=1 count=1024000
7163 admin SW< [iscsi_eh]
7191 admin SW [qnap_et]
7254 admin 404 S /sbin/iscsid --config=/etc/config/iscsi/sbin/iscsid.conf --initiatorname=/etc/iscsi/initiatorname.iscsi
7256 admin 2248 S < /sbin/iscsid --config=/etc/config/iscsi/sbin/iscsid.conf --initiatorname=/etc/iscsi/initiatorname.iscsi
7323 admin 436 S /sbin/vdd_control -d
7858 admin 508 S /sbin/daemon_mgr
7904 admin 464 S /usr/local/bin/qb_daemon -d 7
7905 admin 2340 S /usr/local/bin/porter -d 7
8101 admin 436 S /usr/local/bin/pn_daemon -d 7
8959 admin 640 S /sbin/upnpcd -i 300
9000 admin SW [kworker/0:4]
9284 admin 1900 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
9639 admin SW [kworker/0:3]
10739 admin SW [kworker/0:2]
11421 admin 2852 S sshd: admin@pts/1
11425 admin 1572 S -sh
11897 admin SW [kworker/0:0]
12230 admin SW [kworker/0:5]
12773 admin SW [flush-9:13]
12931 admin 784 R ps
13007 admin Z [sh]
13245 admin Z [sh]
13849 admin 1852 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
13850 admin 1932 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
13862 admin 1904 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
17091 admin Z [sh]
17311 admin 1984 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
17319 admin Z [sh]
19497 admin SW [flush-9:0]
19600 admin 512 S /usr/bin/portmap
19606 admin 412 S N /sbin/dhcpcd -h [** removed **] -t 30 eth0
19648 admin 128 S /usr/sbin/rpc.rquotad -p 30002
19656 admin 600 S /usr/sbin/rpc.mountd -p 30000 -F
19659 admin SW [lockd]
19660 admin SW< [nfsd4]
19661 admin SW< [nfsd4_callbacks]
19662 admin SW [nfsd]
19663 admin SW [nfsd]
19664 admin SW [nfsd]
19665 admin SW [nfsd]
19666 admin SW [nfsd]
19667 admin SW [nfsd]
19668 admin SW [nfsd]
19669 admin SW [nfsd]
19673 admin 560 S /usr/sbin/rpc.statd -p 30001
19691 admin 560 S /usr/sbin/sshd -f /etc/config/ssh/sshd_config -p 22
19759 admin 600 S < /usr/local/apache/bin/fcgi-pm -k start -f /etc/apache-sys-proxy.conf
19767 admin 1908 S < /usr/local/apache/bin/apache_proxy -k start -f /etc/apache-sys-proxy.conf
19779 httpdusr 5260 S /usr/local/apache/bin/apache -k start -c PidFile /var/lock/apache.pid
19781 httpdusr 5476 S /usr/local/apache/bin/apache -k start -c PidFile /var/lock/apache.pid
19788 admin 508 S /usr/local/apache/bin/fcgi-pm -k start -f /etc/apache-sys-proxy-ssl.conf
19801 admin 460 S /usr/local/apache/bin/apache_proxys -k start -f /etc/apache-sys-proxy-ssl.conf
19802 admin 460 S /usr/local/apache/bin/apache_proxys -k start -f /etc/apache-sys-proxy-ssl.conf
20562 guest 1804 S proftpd: (accepting connections)
20573 admin 436 S proftpd: (RPC)
20815 admin 164 S /bin/sh /IPSEC/usr/local/lib/ipsec/_plutorun --debug --uniqueids yes --force_busy no --nocrsend no --strictcrlpolicy no --nat_traversal yes --keep_alive 60 --protos
20816 admin 500 S logger -s -p daemon.error -t ipsec__plutorun
20817 admin 232 S /bin/sh /IPSEC/usr/local/lib/ipsec/_plutorun --debug --uniqueids yes --force_busy no --nocrsend no --strictcrlpolicy no --nat_traversal yes --keep_alive 60 --protos
20818 admin 596 S /bin/sh /IPSEC/usr/local/lib/ipsec/_plutoload --wait no --post
20821 admin 840 S /IPSEC/usr/local/libexec/ipsec/pluto --nofork --secretsfile /etc/ipsec.secrets --ipsecdir /etc/ipsec.d --use-netkey --uniqueids --nat_traversal --keep_alive 60 --for
20824 admin 168 S N pluto helper # 0
20838 admin 348 S /IPSEC/usr/local/sbin/xl2tpd
21116 admin 220 S _pluto_adns
22221 admin 1920 S /share/MD0_DATA/Qweb/IDrive/idevsutil_IDrive --utf8-cmd=/share/MD0_DATA/Qweb/idriveIt/user_profile/[** removed **]/Backup/+ManualTask/utf8.txt
22222 admin 2084 S /opt/bin/perl /share/MD0_DATA/Qweb/IDrive/.scripts/Backup_Script_ChildProcess_IDrive.pl /share/MD0_DATA/Qweb/idriveIt/user_profile/[** removed **]/Backup/+
27583 httpdusr 5460 S /usr/local/apache/bin/apache -k start -c PidFile /var/lock/apache.pid
27624 admin 600 S sh -c cd '/share/MD0_DATA/Qweb/idriveIt/user_profile/[** removed **]/Backup/+ManualTask'; /opt/bin/perl /share/MD0_DATA/Qweb/IDrive/.scripts/Backup_Script_
27625 admin 1108 S /opt/bin/perl /share/MD0_DATA/Qweb/IDrive/.scripts/Backup_Script_IDrive.pl
27636 admin Z [perl]
29854 admin 876 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
29868 admin 492 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
30658 admin 1184 S /usr/local/apache/bin/apache -k start -c PidFile /var/lock/apache.pid
30791 admin 572 S /bin/sh /usr/local/mariadb/bin/mysqld_safe --defaults-file=/usr/local/mariadb/my-mariadb.cnf --basedir=/usr/local/mariadb --datadir=/share/MD0_DATA/.system/data --us
31147 admin 1552 S /usr/local/mariadb/bin/mysqld --defaults-file=/usr/local/mariadb/my-mariadb.cnf --basedir=/usr/local/mariadb --datadir=/share/MD0_DATA/.system/data --plugin-dir=/usr
31337 admin 432 S /usr/sbin/SCREEN -dmS MYTRANSCODE /usr/local/medialibrary/bin/mytranscodesvr -s -debug -db /share/MD0_DATA
31342 admin 596 S /usr/local/medialibrary/bin/mytranscodesvr -s -debug -db /share/MD0_DATA
31350 admin 576 S /usr/sbin/crond -l 9 -c /tmp/cron/crontabs
31469 httpdusr 448 S /sbin/lpb_scheduler -d
31525 admin 480 S /sbin/genthd
31676 admin 480 S /usr/sbin/bluetoothd
31685 admin 264 S /usr/sbin/agent --adapter hci0
32566 admin 448 S /usr/bin/lunportman
32593 admin 552 S /usr/bin/qsyncman
Regards.
Danilo