Solved Log Filled with No Space Left on Device

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

lorkadiscovery

Occasional Visitor
Hello all

Does anyone have any idea why my log is filled with errors like this

Code:
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/clientlist.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/clientlist.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:33 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:33 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:34 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:34 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/wiredclientlist.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/allwevent.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/clientlist.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/clientlist.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:36 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:36 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:37 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:37 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:39 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:39 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:44 RT-AC86U httpd: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:44 RT-AC86U httpd: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:44 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:44 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:47 RT-AC86U cfg_server: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 21:12:47 RT-AC86U cfg_server: Error locking /var/lock/wiredclientlist.lock: 28 No space left on device
Sep 29 21:12:47 RT-AC86U cfg_server: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:47 RT-AC86U cfg_server: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:47 RT-AC86U cfg_server: Error locking /var/lock/clientlist.lock: 28 No space left on device
Sep 29 21:12:47 RT-AC86U cfg_server: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:48 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:48 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:49 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:49 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:49 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:49 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:53 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:53 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 21:12:53 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 21:12:53 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
When there is space left on the device?

Thanks in advance.
 

ColinTaylor

Part of the Furniture
You've run out of memory. See what processes are running (ps w).
 

lorkadiscovery

Occasional Visitor
You've run out of memory. See what processes are running (ps w).
Thanks for the reply.

The output is

Code:
  PID USER       VSZ STAT COMMAND
    1 username  9732 S    /sbin/init
    2 username     0 SW   [kthreadd]
    3 username     0 SW   [ksoftirqd/0]
    5 username     0 SW<  [kworker/0:0H]
    6 username     0 SW   [kworker/u4:0]
    7 username     0 SW   [rcu_preempt]
    8 username     0 SW   [rcu_sched]
    9 username     0 SW   [rcu_bh]
   10 username     0 SW   [migration/0]
   11 username     0 SW   [watchdog/0]
   12 username     0 SW   [watchdog/1]
   13 username     0 SW   [migration/1]
   14 username     0 SW   [ksoftirqd/1]
   16 username     0 SW<  [kworker/1:0H]
   17 username     0 SW<  [khelper]
   18 username     0 SW   [kdevtmpfs]
   19 username     0 SW<  [writeback]
   20 username     0 SW   [kworker/0:1]
   21 username     0 SWN  [ksmd]
   22 username     0 SW<  [crypto]
   23 username     0 SW<  [bioset]
   24 username     0 SW<  [kblockd]
   25 username     0 DW   [skbFreeTask]
   26 username     0 SW   [bcmFapDrv]
   27 username     0 SWN  [kswapd0]
   28 username     0 SW   [fsnotify_mark]
   53 username     0 SW   [btnhandler0]
   54 username     0 SW   [btnhandler1]
   55 username     0 SW   [btnhandler2]
   56 username     0 SW   [kworker/1:1]
   57 username     0 SW<  [linkwatch]
   58 username     0 SW<  [ipv6_addrconf]
   59 username     0 SW<  [deferwq]
   60 username     0 SW   [ubi_bgt0d]
  170 username     0 SWN  [jffs2_gcd_mtd2]
  204 username     0 SW   [bcmFlwStatsTask]
  208 username     0 SW   [bcmsw_rx]
  209 username     0 SW   [bcmsw]
  217 username     0 SW   [pdc_rx]
  285 username 18504 S    /bin/swmdk
  298 username  1568 S    {wdtctl} wdtd
  302 username  1712 S    hotplug2 --persistent --no-coldplug
  424 username     0 SWN  [jffs2_gcd_mtd9]
  594 username     0 SW   [dhd_watchdog_th]
  595 username     0 SW   [wfd0-thrd]
  608 username     0 SW   [dhd_watchdog_th]
  609 username     0 SW   [wfd1-thrd]
 1101 username  8748 S    console
 1164 username     0 SW   [kworker/1:2]
 1179 username     0 SW   [kworker/0:2]
 1211 username  8748 S    /sbin/wanduck
 1220 username 11040 S    nt_monitor
 1221 username  6352 S    protect_srv
 1222 username 10796 S    /sbin/netool
 1236 username  8956 S    nt_center
 1237 username  2348 S    dropbear -p 10.8.1.1:22 -j -k
 1242 username  2828 S    /bin/eapd
 1244 username  4236 S    /bin/wps_monitor
 1245 username  8748 S    wpsaide
 1246 username  3652 S    nas
 1248 username  4180 S    /usr/sbin/wlc_nt
 1254 username  2960 S    /usr/sbin/bsd
 1259 username  2764 S    /usr/sbin/dhd_monitor
 1262 username  4548 S    /usr/sbin/wlceventd
 1280 username  3368 S    crond -l 9
 1281 username  9232 S    httpds -s -i br0 -p 8443
 1282 username 10440 S    httpd -i br0
 1286 username  5320 S    vis-dcon
 1290 username  4712 S    vis-datacollector
 1291 username  2780 S    /usr/sbin/infosvr br0
 1293 username  2600 S    sysstate
 1294 username  8752 S    watchdog
 1295 username  8748 S    check_watchdog
 1300 username  4176 S    rstats
 1313 username  3116 S    lld2d br0
 1316 username 11464 S    vis-dcon
 1320 username  8380 S    networkmap --bootwait
 1323 username  9464 S    mastiff
 1324 username  8748 S    bwdpi_check
 1325 username  8748 S    hour_monitor
 1326 username  8752 S    pctime
 1339 username  4636 S    nt_actMail
 1346 username 13752 S    roamast
 1359 username  3316 S    lldpd -L /usr/sbin/lldpcli -I eth1,eth2,eth3,eth4,eth5,eth6,wds0.*.*,wds1.*.*,wds2.*.* -s RT-AC86U
 1363 nobody    3316 S    lldpd -L /usr/sbin/lldpcli -I eth1,eth2,eth3,eth4,eth5,eth6,wds0.*.*,wds1.*.*,wds2.*.* -s RT-AC86U
 1366 username 10832 S    cfg_server
 1404 username 52788 S    amas_lib
 1915 username     0 SW   [kworker/u4:2]
 2129 username     0 SW   [scsi_eh_0]
 2130 username     0 SW<  [scsi_tmf_0]
 2131 username     0 SW   [usb-storage]
 2151 username  8748 S    usbled
 2152 username  7548 S    u2ec
 2153 username  2840 S    lpd br0
 2245 username  3724 S    /usr/sbin/ntp -t -S /sbin/ntpd_synced -p 0.europe.pool.ntp.org -p 1.europe.pool.ntp.org
 2301 username     0 SW<  [kworker/1:1H]
 2326 username  1916 S    /bin/mcpd
 2354 username     0 SW<  [ext4-rsv-conver]
 2433 username     0 SW<  [kworker/0:1H]
 2503 username 10800 S    {syslog-ng} supervising syslog-ng
 2504 username  155m S    syslog-ng
 2523 nobody   23420 S    pixelserv-tls 10.8.1.2
 3239 username  9536 S    wred -B
 3243 username  6080 S    /usr/sbin/stubby -g -C /etc/stubby/stubby.yml
 3256 nobody    9660 S    dnsmasq --log-async
 3258 username  4908 S    dnsmasq --log-async
 3324 username  8748 S    disk_monitor
 3632 username  8748 S    bwdpi_wred_alive
 3847 username  3368 S    /sbin/udhcpc -i eth0 -p /var/run/udhcpc0.pid -s /tmp/udhcpc -O33 -O249
 3859 nobody    3092 S    avahi-daemon: running [RT-AC86U.local]
 3897 username  1856 S    /usr/sbin/wsdd2 -d -w -i br0 -b sku:RT-AC86U,serial:244bfe5efae0
 3898 username  2076 S    miniupnpd -f /etc/upnp/config
 3899 username 11392 S    /usr/sbin/nmbd -D -s /etc/smb.conf
 3900 username 11560 S    /usr/sbin/smbd -D -s /etc/smb.conf
 4070 username  3368 S    {taildns} /bin/sh /opt/bin/taildns
 4078 username  3368 S    {taildnstotal-ca} /bin/sh /jffs/addons/uiDivStats.d/taildns.d/taildnstotal-cache
 4088 username  3368 S    tail -F /opt/var/log/dnsmasq.log /opt/var/log/dnsmasq.log3
 4089 username  3372 S    {dnsmasqtotal.aw} /usr/bin/awk -f /jffs/addons/uiDivStats.d/taildns.d/dnsmasqtotal.awk
 4090 username  3368 S    {taildnstotal-ca} /bin/sh /jffs/addons/uiDivStats.d/taildns.d/taildnstotal-cache
11215 username 14580 S <  dcd -i 3600 -p 43200 -b -d /tmp/bwdpi/
14650 username  2476 S    dropbear -p 10.8.1.1:22 -j -k
14748 username  3372 S    -sh
22865 username  3236 S    sleep 5
22867 username  3372 R    ps -w
 

ColinTaylor

Part of the Furniture
I would start by disabling uiDivStats and/or AiProtection and seeing if that makes a difference.
 

lorkadiscovery

Occasional Visitor
if anything syslog-ng is swallowing ram.

@lorkadiscovery do you have a swap file? what do you see for
Code:
free -m
yes I have a 2GB swap file created and enabled with amtm.

Ive rebooted now so all is ok at the moment. Currently at 94% RAM usage in the WebUI but if the log starts being hit with that again ill post the result of that command here. Thanks

@Jack Yaz

Currenlty the ouput is

Code:
             total       used       free     shared    buffers     cached
Mem:        440368     408232      32136      14176      16068      62972
-/+ buffers/cache:     329192     111176
Swap:      2097148       4728    2092420
This is after a reboot tho so those errors are not in the log, they will return tho haha
 
Last edited:

lorkadiscovery

Occasional Visitor
if anything syslog-ng is swallowing ram.

@lorkadiscovery do you have a swap file? what do you see for
Code:
free -m
Ok we have the errors again

Code:
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:55 RT-AC86U networkmap: Error locking /var/lock/networkmap.lock: 28 No space left on device
Sep 29 22:39:55 RT-AC86U networkmap: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:56 RT-AC86U cfg_server: Error locking /var/lock/cfg_mnt.lock: 28 No space left on device
Sep 29 22:39:56 RT-AC86U cfg_server: Error locking /var/lock/wiredclientlist.lock: 28 No space left on device
Sep 29 22:39:56 RT-AC86U cfg_server: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:56 RT-AC86U cfg_server: Error unlocking -1: 9 Bad file descriptor
Sep 29 22:39:56 RT-AC86U cfg_server: Error locking /var/lock/clientlist.lock: 28 No space left on device
Sep 29 22:39:56 RT-AC86U cfg_server: Error unlocking -1: 9 Bad file descriptor
Output of free -m is

Code:
             total       used       free     shared    buffers     cached
Mem:        440368     410028      30340      69928       7668      93512
-/+ buffers/cache:     308848     131520
Swap:      2097148     172304    1924844
and here is ps w

Code:
  PID USER       VSZ STAT COMMAND
    1 username  9736 S    /sbin/init
    2 username     0 SW   [kthreadd]
    3 username     0 SW   [ksoftirqd/0]
    5 username     0 SW<  [kworker/0:0H]
    7 username     0 SW   [rcu_preempt]
    8 username     0 SW   [rcu_sched]
    9 username     0 SW   [rcu_bh]
   10 username     0 SW   [migration/0]
   11 username     0 SW   [watchdog/0]
   12 username     0 SW   [watchdog/1]
   13 username     0 SW   [migration/1]
   14 username     0 SW   [ksoftirqd/1]
   16 username     0 SW<  [kworker/1:0H]
   17 username     0 SW<  [khelper]
   18 username     0 SW   [kdevtmpfs]
   19 username     0 SW<  [writeback]
   20 username     0 SW   [kworker/0:1]
   21 username     0 SWN  [ksmd]
   22 username     0 SW<  [crypto]
   23 username     0 SW<  [bioset]
   24 username     0 SW<  [kblockd]
   25 username     0 DW   [skbFreeTask]
   26 username     0 SW   [bcmFapDrv]
   27 username     0 SWN  [kswapd0]
   28 username     0 SW   [fsnotify_mark]
   50 username     0 SW   [kworker/u4:1]
   53 username     0 SW   [btnhandler0]
   54 username     0 SW   [btnhandler1]
   55 username     0 SW   [btnhandler2]
   56 username     0 SW   [kworker/1:1]
   57 username     0 SW<  [linkwatch]
   58 username     0 SW<  [ipv6_addrconf]
   59 username     0 SW<  [deferwq]
   60 username     0 SW   [ubi_bgt0d]
  170 username     0 SWN  [jffs2_gcd_mtd2]
  204 username     0 SW   [bcmFlwStatsTask]
  208 username     0 RW   [bcmsw_rx]
  209 username     0 SW   [bcmsw]
  217 username     0 SW   [pdc_rx]
  285 username 18504 S    /bin/swmdk
  298 username  1568 S    {wdtctl} wdtd
  302 username  1712 S    hotplug2 --persistent --no-coldplug
  424 username     0 SWN  [jffs2_gcd_mtd9]
  594 username     0 SW   [dhd_watchdog_th]
  597 username     0 SW   [wfd0-thrd]
  608 username     0 SW   [dhd_watchdog_th]
  609 username     0 SW   [wfd1-thrd]
 1101 username  8748 S    console
 1153 username     0 SW   [kworker/1:2]
 1198 username  8748 S    /sbin/wanduck
 1207 username 11040 S    nt_monitor
 1208 username  6352 S    protect_srv
 1209 username 10796 S    /sbin/netool
 1223 username  8956 S    nt_center
 1227 username  2348 S    dropbear -p 10.8.1.1:22 -j -k
 1229 username  2828 S    /bin/eapd
 1231 username  4236 S    /bin/wps_monitor
 1232 username  8748 S    wpsaide
 1233 username  3652 S    nas
 1234 username  4180 S    /usr/sbin/wlc_nt
 1237 username  2960 S    /usr/sbin/bsd
 1246 username  2764 S    /usr/sbin/dhd_monitor
 1250 username  4548 S    /usr/sbin/wlceventd
 1266 username  3368 S    crond -l 9
 1267 username  9232 S    httpds -s -i br0 -p 8443
 1268 username 10196 S    httpd -i br0
 1272 username  5320 S    vis-dcon
 1275 username  4712 S    vis-datacollector
 1276 username  2780 S    /usr/sbin/infosvr br0
 1279 username  2600 S    sysstate
 1280 username  8752 S    watchdog
 1281 username  8748 S    check_watchdog
 1286 username  4176 S    rstats
 1305 username  3116 S    lld2d br0
 1309 username 11464 S    vis-dcon
 1333 username  8368 S    networkmap --bootwait
 1339 username  9464 S    mastiff
 1340 username  8748 S    bwdpi_check
 1341 username  8748 S    hour_monitor
 1342 username  8752 S    pctime
 1354 username 13876 S    roamast
 1356 username  4636 S    nt_actMail
 1372 username  3316 S    lldpd -L /usr/sbin/lldpcli -I eth1,eth2,eth3,eth4,eth5                                                                                                             ,eth6,wds0.*.*,wds1.*.*,wds2.*.* -s RT-AC86U
 1376 nobody    3316 S    lldpd -L /usr/sbin/lldpcli -I eth1,eth2,eth3,eth4,eth5                                                                                                             ,eth6,wds0.*.*,wds1.*.*,wds2.*.* -s RT-AC86U
 1377 username     0 SW   [kworker/0:2]
 1383 username 11088 S    cfg_server
 2184 username     0 SW   [scsi_eh_0]
 2185 username     0 SW<  [scsi_tmf_0]
 2186 username     0 SW   [usb-storage]
 2205 username  8748 S    usbled
 2206 username  7548 S    u2ec
 2207 username  2840 S    lpd br0
 2297 username     0 SW<  [kworker/0:1H]
 2322 username  1916 S    /bin/mcpd
 2407 username     0 SW   [jbd2/sda1-8]
 2408 username     0 SW<  [ext4-rsv-conver]
 2429 username     0 SW<  [kworker/1:1H]
 2634 username 10800 S    {syslog-ng} supervising syslog-ng
 2636 username  155m S    syslog-ng
 2682 nobody   22960 S    pixelserv-tls 10.8.1.2
 2693 username  8748 S    disk_monitor
 3136 username  9532 S    wred -B
 3536 nobody    3092 S    avahi-daemon: running [RT-AC86U.local]
 3554 username  8748 S    bwdpi_wred_alive
 3571 username  1856 S    /usr/sbin/wsdd2 -d -w -i br0 -b sku:RT-AC86U,serial:24                                                                                                             4bfe5efae0
 3572 username  2076 S    miniupnpd -f /etc/upnp/config
 3573 username 11392 S    /usr/sbin/nmbd -D -s /etc/smb.conf
 3574 username 11560 S    /usr/sbin/smbd -D -s /etc/smb.conf
 3622 username  3368 S    /sbin/udhcpc -i eth0 -p /var/run/udhcpc0.pid -s /tmp/u                                                                                                             dhcpc -O33 -O249
15859 username 50740 S    amas_lib
16077 username     0 SW   [kworker/u4:0]
20943 username 73312 S    ntpd -c /jffs/addons/ntpmerlin.d/ntp.conf -g
21678 username 14580 S <  dcd -i 3600 -p 43200 -b -d /tmp/bwdpi/
26889 username  6120 S    /usr/sbin/stubby -g -C /etc/stubby/stubby.yml
26892 nobody    9528 S    dnsmasq --log-async
26893 username  4908 S    dnsmasq --log-async
27211 username  3368 S    {taildns} /bin/sh /opt/bin/taildns
27219 username  3368 S    {taildnstotal} /bin/sh /jffs/addons/uiDivStats.d/taild                                                                                                             ns.d/taildnstotal
27227 username  3368 S    tail -F /opt/var/log/dnsmasq.log /opt/var/log/dnsmasq.                                                                                                             log3
27228 username  3372 S    {dnsmasqtotal.aw} /usr/bin/awk -f /jffs/addons/uiDivSt                                                                                                             ats.d/taildns.d/dnsmasqtotal.awk
27229 username  3368 S    {taildnstotal} /bin/sh /jffs/addons/uiDivStats.d/taild                                                                                                             ns.d/taildnstotal
27940 username  2476 R    dropbear -p 10.8.1.1:22 -j -k
28343 username  3372 S    -sh
30247 username  3236 S    sleep 5
30514 username  3372 R    ps w
Anything else you need @Jack Yaz
 
Last edited:

ColinTaylor

Part of the Furniture
I forgot that the filesystem usage is a bit different on the RT-AC86U compared to the older models. Look at the output of this command and see if anything look particularly large:

ls -lhR /var/
 

lorkadiscovery

Occasional Visitor
Code:
-rw-r--r--    1 username root           4 Jan  1  1970 bdmf_sh_id
drwxr-xr-x    3 username root          60 Jan  1  1970 cache
srwxrwxrwx    1 username root           0 Sep 29 22:55 conf_serv_sock
crw-rw-rw-    1 username root       10, 229 Jan  1  1970 fuse
drwxr-xr-x    3 username root          60 Jan  1  1970 lib
drwxrwxrwx    2 username root         860 Sep 29 22:55 lock
drwxr-xr-x    3 username root         160 Sep 29 22:09 log
-rw-rw-rw-    1 username root        1.0K Sep 29 22:09 mcpd.conf
srwxr-xr-x    1 username root           0 Jan  1  1970 mdkshell_sock
drwxr-xr-x    2 username root          60 Sep 29 22:09 nmbd
drwxr-xr-x    2 username root          60 Jan  1  1970 notice
drwxr-xr-x    2 username root          40 Jan  1  1970 ppp
drwxr-xr-x    5 username root         940 Sep 29 22:19 run
drwxr-xr-x    6 username root         120 Jan  1  1970 samba
drwxr-xr-x    2 username root          40 Jan  1  1970 siproxd
drwxr-xr-x    3 username root          60 Jan  1  1970 spool
drwxr-xr-x    4 username root          80 Jan  1  1970 state
drwxr-xr-x    3 username root         100 May  5  2018 tmp
prw-rw-rw-    1 username root           0 May  5  2018 u2ec_fifo
drwxr-xr-x    2 username root          60 Jan  1  1970 udhcpd
drwxr-xr-x    2 username root          40 Jan  1  1970 webmon
drwxr-xr-x    2 username root          40 Jan  1  1970 zebra

/var/cache:
drwx------    2 username root          60 Jan  1  1970 ldconfig

/var/cache/ldconfig:
-rw-------    1 username root        7.2K Jan  1  1970 aux-cache

/var/lib:
drwxr-xr-x    2 username root          60 May  5  2018 misc

/var/lib/misc:
-rw-r--r--    1 username root        1.2K Sep 29 22:59 dnsmasq.leases

/var/lock:
-rw-rw-rw-    1 username root           0 May  5  2018 2-2.lock
-rw-rw-rw-    1 username root           0 May  5  2018 2-2:1.0.lock
-rw-------    1 username root       16.0K Sep 29 22:09 account_policy.tdb
-rw-------    1 username root          28 Jan  1  1970 action
-rw-rw-rw-    1 username root           0 Sep 29 22:59 allwevent.lock
-rw-rw-rw-    1 username root           0 Sep 29 23:00 amas_entry_list.lock
-rw-rw-rw-    1 username root           0 Sep 29 23:00 amas_node_list.lock
-rw-r--r--    1 username root       39.3K Sep 29 22:09 brlock.tdb
-rw-r--r--    1 username root           0 Sep 29 22:55 browse.dat
-rw-rw-rw-    1 username root           0 Sep 29 23:01 bwdpi_sqlite.lock
-rw-rw-rw-    1 username root           0 Sep 29 22:09 cfez_buf.lock
-rw-rw-rw-    1 username root           0 Sep 29 23:01 cfg_mnt.lock
-rw-rw-rw-    1 username root           0 Sep 29 23:01 clientlist.lock
-rw-r--r--    1 username root         696 Sep 29 22:09 connections.tdb
-rw-rw-rw-    1 username root           1 Sep 29 22:21 cron.lock
-rw-rw-rw-    1 username root           0 Sep 29 22:16 firewall.lock
-rw-r--r--    1 username root         696 Sep 29 22:09 gencache.tdb
-rw-r--r--    1 username root         696 Sep 29 22:09 gencache_notrans.tdb
-rw-------    1 username root         696 Sep 29 22:09 group_mapping.tdb
-rw-rw-rw-    1 username root           0 May  5  2018 httpd.lock
-rw-r--r--    1 username root       39.3K Sep 29 22:09 locking.tdb
-rw-rw-rw-    1 username root           0 Sep 29 22:09 mcpd.lock
-rw-------    1 username root         696 Sep 29 22:09 messages.tdb
-rw-rw-rw-    1 username root           0 May  5  2018 mt_routes.lock
-rw-rw-rw-    1 username root           0 Sep 29 23:01 networkmap.lock
-rw-r--r--    1 username root         696 Sep 29 22:09 notify.tdb
-rw-r--r--    1 username root         696 Sep 29 22:09 notify_onelevel.tdb
-rw-rw-rw-    1 username root           0 Sep 29 22:59 nt_db.lock
-rw-rw-rw-    1 username root           0 Sep 29 22:39 onboarding.lock
-rw-rw-rw-    1 username root           0 May  5  2018 printer.lock
-rw-r--r--    1 username root         696 Sep 29 22:09 printer_list.tdb
-rw-rw-rw-    1 username root           0 May  5  2018 resolv.lock
-rw-rw-rw-    1 username root           0 Sep 29 22:09 sda.lock
-rw-rw-rw-    1 username root           0 Sep 29 22:09 sda1.lock
-rw-r--r--    1 username root        8.0K Sep 29 22:09 serverid.tdb
-rw-r--r--    1 username root         696 Sep 29 22:09 sessionid.tdb
-rw-rw-rw-    1 username root           0 Sep 29 22:09 sg0.lock
-rw-------    1 username root       16.0K Sep 29 22:09 share_info.tdb
-rw-rw-rw-    1 username root           0 Sep 29 22:09 usb.lock
-rw-rw-rw-    1 username root           0 Sep 29 22:09 usbnas.lock
-rw-rw-rw-    1 username root           0 Sep 29 23:01 wiredclientlist.lock
 

lorkadiscovery

Occasional Visitor
Code:
/var/log:
-rw-rw-rw-    1 username root          11 Sep 29 22:15 commit_ret
drwx------    4 username root          80 Sep 29 22:09 cores
srw-rw-rw-    1 username root           0 May  5  2018 log
-rw-r--r--    1 username root      214.7M Sep 29 23:01 log.nmbd
-rw-r--r--    1 username root         144 Sep 29 22:09 log.smbd
-rw-r--r--    1 username root           0 Sep 29 22:09 samba.log

/var/log/cores:
drwx------    2 username root          40 Sep 29 22:09 nmbd
drwx------    2 username root          40 Sep 29 22:09 smbd

/var/log/cores/nmbd:

/var/log/cores/smbd:

/var/nmbd:
srwxrwxrwx    1 username root           0 Sep 29 22:09 unexpected

/var/notice:
-rw-rw-rw-    1 username root           6 Jan  1  1970 jffs

/var/ppp:

/var/run:
-rw-rw-rw-    1 username root           5 Sep 29 22:16 amas_lib.pid
srwxrwxrwx    1 username root           0 Sep 29 22:16 amas_lib_socket
drwxr-xr-x    2 nobody   nobody        80 Sep 29 22:09 avahi-daemon
-rw-rw-rw-    1 username root           4 May  5  2018 bsd.pid
-rw-rw-rw-    1 username root           4 May  5  2018 bwdpi_check.pid
-rw-rw-rw-    1 username root           4 Sep 29 22:09 bwdpi_wred_alive.pid
-rw-rw-rw-    1 username root           4 May  5  2018 cfg_server.pid
srwxrwxrwx    1 username root           0 May  5  2018 cfgmnt_ipc_socket
-rw-rw-rw-    1 username root           5 May  5  2018 crond.pid
-rw-rw-rw-    1 username root           4 Sep 29 22:09 disk_monitor.pid
-rw-r--r--    1 nobody   nobody         6 Sep 29 22:19 dnsmasq.pid
-rw-rw-rw-    1 username root           5 May  5  2018 dropbear.pid
-rw-rw-rw-    1 username root           4 May  5  2018 hour_monitor.pid
-rw-rw-rw-    1 username root           4 May  5  2018 httpd-8443.pid
-rw-rw-rw-    1 username root           4 May  5  2018 httpd.pid
-rw-rw-rw-    1 username root           4 May  5  2018 infosvr.pid
-rw-r--r--    1 username root           5 May  5  2018 lld2c-br0.pid
-rw-r--r--    1 username root           5 May  5  2018 lld2d-br0.pid
drwxr-xr-x    3 username root          60 May  5  2018 lldpd
-rw-rw-rw-    1 username root           5 May  5  2018 lldpd.pid
srwxrwx---    1 nobody   root           0 May  5  2018 lldpd.socket
-rw-rw-rw-    1 username root           4 May  5  2018 lpdparent.pid
-rw-r--r--    1 username root           5 Sep 29 22:09 miniupnpd.pid
-rw-rw-rw-    1 username root           4 May  5  2018 netool.pid
srwxrwxrwx    1 username root           0 May  5  2018 netool_socket
-rw-rw-rw-    1 username root           4 May  5  2018 networkmap.pid
-rw-rw-rw-    1 username root           4 May  5  2018 nt_actMail.pid
srwxrwxrwx    1 username root           0 May  5  2018 nt_actMail_socket
-rw-rw-rw-    1 username root           4 May  5  2018 nt_center.pid
srwxrwxrwx    1 username root           0 May  5  2018 nt_center_socket
-rw-rw-rw-    1 username root           4 May  5  2018 nt_monitor.pid
-rw-rw-rw-    1 username root           5 May  5  2018 protect_srv.pid
srwxrwxrwx    1 username root           0 May  5  2018 protect_srv_socket
srwxrwxrwx    1 username root           0 May  5  2018 rast_ipc_socket
-rw-rw-rw-    1 username root           4 May  5  2018 roamast.pid
drwxrwxrwx    2 username root          80 Sep 29 22:09 samba
-rw-rw-rw-    1 username root           5 Sep 29 22:19 stubby.pid
-rw-rw-rw-    1 username root           4 May  5  2018 u2ec.pid
-rw-rw-rw-    1 username root           5 Sep 29 22:09 udhcpc0.pid
-rw-rw-rw-    1 username root           4 May  5  2018 usbled.pid
-rw-rw-rw-    1 username root           4 May  5  2018 wanduck.pid
-rw-rw-rw-    1 username root           4 May  5  2018 watchdog.pid
-rw-rw-rw-    1 username root           5 May  5  2018 wlcnt.pid
srwxrwxrwx    1 username root           0 May  5  2018 wlcnt_socket
-rw-rw-rw-    1 username root           4 May  5  2018 wpsaide.pid

/var/run/avahi-daemon:
-rw-r--r--    1 nobody   nobody         5 Sep 29 22:09 pid
srwxrwxrwx    1 nobody   nobody         0 Sep 29 22:09 socket

/var/run/lldpd:
drwxr-xr-x    2 username root          60 May  5  2018 etc

/var/run/lldpd/etc:
-rw-r--r--    1 username root        3.5K May  5  2018 localtime

/var/run/samba:
-rw-r--r--    1 username root           5 Sep 29 22:09 nmbd.pid
-rw-r--r--    1 username root           5 Sep 29 22:09 smbd.pid

/var/samba:
drwxr-xr-x    2 username root          40 Jan  1  1970 homes
drwxr-xr-x    2 username root          40 Jan  1  1970 locks
drwxr-xr-x    2 username root          40 Jan  1  1970 private
drwxr-xr-x    2 username root          40 Jan  1  1970 share

/var/samba/homes:

/var/samba/locks:

/var/samba/private:

/var/samba/share:

/var/siproxd:

/var/spool:
drwxr-xr-x    3 username root          60 Jan  1  1970 cron

/var/spool/cron:
drwxr-xr-x    2 username root          60 Sep 29 22:22 crontabs

/var/spool/cron/crontabs:
-rw-rw-rw-    1 username root        1.2K Sep 29 22:21 username28

/var/state:
drwxr-xr-x    2 username root          40 Jan  1  1970 dhcp
drwxrwxrwx    3 username root          60 Jan  1  1970 parport

/var/state/dhcp:

/var/state/parport:
drwxrwxrwx    2 username root          40 Jan  1  1970 svr_statue

/var/state/parport/svr_statue:

/var/tmp:
drwxrwxrwx    2 username root          40 Jan  1  1970 dhcp
-rw-r--r--    1 username root        1.7K Jan  1  1970 newkey
-rw-r--r--    1 username root        1.2K Jan  1  1970 newkey.cert

/var/tmp/dhcp:

/var/udhcpd:
-rw-r--r--    1 username root           1 Jan  1  1970 udhcpd.leases

/var/webmon:

/var/zebra:
 

lorkadiscovery

Occasional Visitor
@ColinTaylor

Above is the output in 2 parts (due to size)

The only thing that jumps out at me is

-rw-r--r-- 1 username root 214.7M Sep 29 23:01 log.nmbd

and

crw-rw-rw- 1 username root 10, 229 Jan 1 1970 fuse
 

ColinTaylor

Part of the Furniture
The only thing that jumps out at me is

-rw-r--r-- 1 username root 214.7M Sep 29 23:01 log.nmbd
That would appear to be your problem. Try deleting it seeing how quickly it fills up again.
Code:
rm /var/log/log.nmbd

ls -l /var/log/log.nmbd

<wait a bit>

ls -l /var/log/log.nmbd
There's probably something spamming your Samba name server. Look at the log file to see if it's obvious what it is:
Code:
tail -99 /var/log/log.nmbd
 

lorkadiscovery

Occasional Visitor
That would appear to be your problem. Try deleting it seeing how quickly it fills up again.
Code:
rm /var/log/log.nmbd

ls -l /var/log/log.nmbd

<wait a bit>

ls -l /var/log/log.nmbd
There's probably something spamming your Samba name server. Look at the log file to see if it's obvious what it is:
Code:
tail -99 /var/log/log.nmbd
Thank you.

I deleted the file as per the command.

On the second command it said the file did not exist so I rebooted the router.

On reboot I get this at 23:17
Code:
 root        5.7M Sep 29 23:17 log.nmbd
3 mins later

Code:
root       23.2M Sep 29 23:20 log.nmbd
All of the errors seem to be about my printer

Code:
[2020/09/29 23:17:04,  0] nmbd/nmbd_incomingrequests.c:213(process_name_registration_request)
  process_name_registration_request: unicast name registration request received for name SEC001599AC137D<20> from IP 10.8.1.254 on subnet UNICAST_SUBNET. Error - should be sent to WINS ser>
[2020/09/29 23:17:04,  0] nmbd/nmbd_incomingrequests.c:213(process_name_registration_request)
 

ColinTaylor

Part of the Furniture
All of the errors seem to be about my printer

Code:
[2020/09/29 23:17:04,  0] nmbd/nmbd_incomingrequests.c:213(process_name_registration_request)
  process_name_registration_request: unicast name registration request received for name SEC001599AC137D<20> from IP 10.8.1.254 on subnet UNICAST_SUBNET. Error - should be sent to WINS ser>
[2020/09/29 23:17:04,  0] nmbd/nmbd_incomingrequests.c:213(process_name_registration_request)
If you have the WINS server enabled on the router under the Samba settings disable it. Reboot the printer and see if the messages stop.

Otherwise see if you can turn off any WINS settings in the printer's settings.

EDIT: By way of comparison here are my HP printer settings:

Untitled.png
 
Last edited:

lorkadiscovery

Occasional Visitor
If you have the WINS server enabled on the router under the Samba settings disable it. Reboot the printer and see if the messages stop.

Otherwise see if you can turn off any WINS settings in the printer's settings.

EDIT: By way of comparison here are my HP printer settings:

View attachment 26558
Thank you so much for all the help.

After a bit of googling i was able to get into the printers settings and disable WINS. Thank you so much again!
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top