[SOLVED] RAMDisk Full

Introduce yourself to us and other members here, or share your own product reviews, suggestions, and tips and tricks of using QNAP products.
AlastairStevenson
Experience counts
Posts: 2415
Joined: Wed Jan 08, 2014 10:34 pm

Re: [SOLVED] RAMDisk Full

Post by AlastairStevenson »

Log in via SSH and see what files are there, and what sort of pattern there is for consumption of the space.

Code: Select all

login as: admin
admin@192.168.1.201's password:
[~] # df
Filesystem                Size      Used Available Use% Mounted on
none                    200.0M    157.1M     42.9M  79% /
devtmpfs                495.2M      4.0k    495.2M   0% /dev
tmpfs                    64.0M      2.3M     61.7M   4% /tmp
tmpfs                   500.9M     28.0k    500.9M   0% /dev/shm
/dev/md9                515.5M    142.3M    373.3M  28% /mnt/HDA_ROOT
/dev/mapper/cachedev1     2.1T      1.9T    210.3G  90% /share/CACHEDEV1_DATA
/dev/mapper/cachedev2   199.1G    144.1G     54.5G  73% /share/CACHEDEV2_DATA
/dev/md13               371.0M    219.7M    151.3M  59% /mnt/ext
tmpfs                     1.0M         0      1.0M   0% /mnt/rf/nd
[~] # ll /tmp
drwxrwxrwx   14 admin    administ      2.4k Feb 21 22:02 ./
drwxr-xr-x   21 admin    administ       540 Feb 21 07:34 ../
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 .DownloadStation.updated
-rw-rw-rw-    1 admin    administ         1 Feb 21 07:34 .LIONSETRY
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 .MultimediaStation.updated
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 .MusicStation.updated
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 .PhotoStation.updated
srwxr-xr-x    1 admin    administ         0 Feb 21 07:34 .aevtsrpc=
-rw-rw-rw-    1 httpdusr administ         0 Jan 16  2015 .alarm_info.conf
-rw-r--r--    1 admin    administ        40 Feb 21 07:33 .bluetoothd.log
-rw-r--r--    1 admin    administ         7 Feb 21 07:34 .boot_done
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .boot_fin
srwxr-xr-x    1 admin    administ         0 Feb 21 07:35 .cmsvrpc=
-rw-r--r--    1 admin    administ         0 Feb 21 22:02 .daemon_mgr_lock
-rw-r--r--    1 admin    administ      1.7k Feb 21 22:00 .dusg.cache
srwxr-xr-x    1 admin    administ         0 Feb 21 07:34 .evtLog=
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .evtd_debug
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .evtd_start
-rw-r--r--    1 admin    administ         0 Feb 21 07:35 .hdtst_done
srwxr-xr-x    1 admin    administ         0 Feb 21 07:35 .imgsrpc=
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 .media.ready
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .msas_lock
-rw-r--r--    1 admin    administ         0 Feb 21 22:02 .nvrd_alive
-rw-r--r--    1 admin    administ        83 Feb 21 07:34 .nvrd_debug
-rw-r--r--    1 admin    administ         2 Feb 21 07:31 .p1count
-rw-------    1 admin    administ         0 Feb 21 07:33 .player.log
-rw-------    1 admin    administ     16.3k Feb 21 21:48 .porter.log
srwxr-xr-x    1 admin    administ         0 Feb 21 07:34 .ptzsrpc=
-rw-rw-rw-    1 admin    administ        25 Feb 21 07:33 .qcloud-vars-cache
-rw-------    1 admin    administ      2.0k Feb 21 07:33 .qid.log
-rw-r--r--    1 admin    administ         0 Feb 21 22:01 .qlicense_lib_lock
srwxr-xr-x    1 admin    administ         0 Feb 21 07:35 .qplay=
-rw-r--r--    1 admin    administ         0 Feb 21 07:35 .qplayd_debug
-rw-rw-rw-    1 admin    administ         5 Feb 21 07:33 .recycle_bin
srwxr-xr-x    1 admin    administ         0 Feb 21 07:34 .snapshot=
-rw-r--r--    1 admin    administ        30 Feb 21 07:33 .sync_action_log
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .sysf_msas_clear
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .sysf_msas_init
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .sysf_msas_uninit
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .sysf_rm_cache
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .sysf_rm_rec_files
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .sysf_term_msfinder
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 .sysf_xml_reset_time
-rw-r--r--    1 admin    administ     32.0k Feb 21 07:35 .th_log
-rw-r--r--    1 admin    administ         0 Feb 21 22:02 .thttpd_alive
-rwxrwxrwx    1 admin    administ        43 Feb 21 07:32 _MyTranscodeDB.tmp*
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 antivirus.jobs
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 antivirus.lock
lrwxrwxrwx    1 admin    administ        43 Feb 21 07:33 avahi-daemon -> /mnt/ext/opt/avahi0630/var/run/avahi-daemon/
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 avahi0630.lock
-rw-r--r--    1 admin    administ         2 Feb 21 22:02 blk_io_changed
-rw-r--r--    1 admin    administ         0 Feb 21 07:32 check.status
drwxr-xr-x    2 admin    administ        40 Feb 21 07:30 config/
drwxr-xr-x    3 admin    administ        60 Feb 21 07:33 cron/
drwxr-xr-x    3 admin    guest           80 Feb 21 07:33 cups/
-rw-r--r--    1 admin    administ         4 Feb 21 07:32 daemon_mgr.nvr.pid
-rw-r--r--    1 admin    administ         5 Feb 21 07:33 daemon_mgr.pid
lrwxrwxrwx    1 admin    administ        35 Feb 21 07:33 dbus -> /mnt/ext/opt/avahi0630/var/run/dbus/
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 debug
-rw-r--r--    1 admin    administ        43 Feb 21 07:33 default-tz-list.json.cksum
drwx------    2 admin    administ       240 Feb 21 22:02 em/
-rw-r--r--    1 admin    administ      8.7k Feb 21 07:32 error_thttpd.html
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 evtLogd_start_ok
drwxrwxrwx    2 admin    administ        40 Feb 21 07:33 flv_convertd/
-rw-r--r--    1 admin    administ         0 Feb 21 07:32 format.status
-rw-r--r--    1 admin    administ         8 Feb 21 07:33 ftp-bind.txt
-rw-r--r--    1 admin    administ       374 Feb 21 07:33 geoip.json
-rw-r--r--    1 admin    administ       567 Feb 21 07:33 geoip.xml
-rw-r--r--    1 admin    administ         0 Feb 21 07:32 init.1
drwxr-xr-x    2 admin    administ       380 Feb 21 07:32 install/
-rw-------    1 admin    administ         5 Feb 21 07:33 iscsid.pid
-r-sr----T    1 admin    administ         4 Feb 21 07:33 lunporterman.pid*
drwxr-xr-x    2 admin    administ        60 Feb 21 07:31 lvm/
-rw-r--r--    1 admin    administ         5 Feb 21 07:31 lvmetad.pid
-rw-r--r--    1 admin    administ         5 Feb 21 07:31 mcu_version
-rwxrwxrwx    1 admin    administ         0 Feb 21 07:32 medialibrary.running*
-rw-r--r--    1 admin    administ       144 Feb 21 07:35 mem_debug
-rw-r--r--    1 admin    administ         5 Feb 21 07:32 modagent.pid
-rw-r--r--    1 admin    administ         0 Feb 21 21:02 msman_0_is_dead
-rw-r--r--    1 admin    administ         0 Feb 21 21:23 msman_1_is_dead
-rw-r--r--    1 admin    administ         0 Feb 21 21:23 msman_is_dead
-rwxr-xr-x    1 admin    administ         0 Feb 21 07:32 myidbserver.lock*
-rw-r--r--    1 admin    administ         0 Feb 21 07:32 mymediadbserver_ranonce
-rwxr-xr-x    1 admin    administ         4 Feb 21 07:32 mymeidadbserver.lock*
srwxrwxrwx    1 admin    administ         0 Feb 21 07:32 mysql_mediadb.sock=
-rwxr-xr-x    1 admin    administ         0 Feb 21 07:32 mysystemcmdsvr.lock*
-rwxr-xr-x    1 admin    administ         0 Feb 21 07:32 mytranscodesvr.lock*
drwxr-xr-x    2 admin    administ        40 Feb 21 07:32 nasconfig_tmp/
-rw-r--r--    1 admin    administ        25 Feb 21 07:33 nastime
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 nvr_start_ok
-rw-r--r--    1 admin    administ         0 Feb 21 07:35 open_ch_0_stream_1
-rw-r--r--    1 admin    administ         0 Feb 21 07:35 open_ch_1_stream_1
-rw-r--r--    1 admin    administ         0 Feb 21 07:35 open_ch_2_stream_1
srw-rw----    1 admin    administ         0 Feb 21 07:33 php-fpm-sys-proxy.sock=
srw-rw----    1 httpdusr administ         0 Feb 21 07:32 php-fpm.sock=
srwxrwxrwx    1 admin    administ         0 Feb 21 07:33 porter.sock=
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 ptzd_start_ok
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 qBand.pid
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 qLogEngined.pid
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 qNoticeEngined.pid
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 qddns_update.conf
drwxr-xr-x    2 admin    administ        40 Feb 21 07:30 qget/
srw-rw-rw-    1 admin    administ         0 Feb 21 07:32 qpkg_sock=
-rw-r--r--    1 admin    administ         0 Feb 21 07:32 qpkg_status.conf
-rw-r--r--    1 admin    administ         5 Feb 21 07:32 qpkgd.pid
-rw-r--r--    1 admin    administ         0 Feb 21 07:35 qplay_start_ok
-rwsr-sr-t    1 admin    administ         4 Feb 21 07:33 qsyncman.pid*
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 qsyslogd.pid
-rw-r--r--    1 admin    administ         0 Feb 21 07:33 quick_tmp.conf
-rw-r--r--    1 admin    administ         6 Feb 21 07:33 rpc.statd.pid
-r--r--r--    1 admin    administ         0 Feb 21 07:32 rpcbind.lock
srw-rw-rw-    1 admin    administ         0 Feb 21 07:33 rpcbind.sock=
-rw-r--r--    1 admin    administ         5 Feb 21 07:33 rsyncd.pid
drwxr-xr-x    3 admin    administ       440 Feb 21 10:20 samba/
srw-rw-rw-    1 admin    administ         0 Feb 21 07:33 sdp=
-rw-------    1 admin    administ         5 Feb 21 07:32 sm-notify.pid
-rw-r--r--    1 admin    administ         0 Feb 21 07:31 sm_v2_already_check_abnormal_shutdown
drwx------    2 admin    administ        80 Feb 21 07:31 smart/
-rw-r--r--    1 admin    administ         5 Feb 21 07:33 sshd.pid
-rw-r--r--    1 admin    administ       159 Feb 21 07:33 tmp_app_token
-rw-r--r--    1 admin    administ        32 Feb 21 07:33 tmp_suid
-rw-r--r--    1 admin    administ         0 Feb 21 07:34 vcamd_start_ok
-rw-r--r--    1 admin    administ         4 Feb 21 07:33 vdd_control.pid
drwxrwxrwx    2 admin    administ        40 Feb 21 07:33 wfm/
[~] #
TS-431+ for storage and media and a bunch of IP cams under Surveillance Station. TVS-473 as files backup and QVR Pro.
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

Re: [SOLVED] RAMDisk Full

Post by oyvindo »

Thanks! :-)
ImageImageImage
MountainLion
New here
Posts: 6
Joined: Mon Feb 22, 2016 6:14 pm

Re: [SOLVED] RAMDisk Full

Post by MountainLion »

I was getting this issue when I ran the BTSync App, I had BTSync downloading to my NAS\Downloads. I have since disabled the app and set up Btsync under docker on the nas to work around the issue.
Arik.G
New here
Posts: 8
Joined: Mon Jan 11, 2016 2:29 am

Re: [SOLVED] RAMDisk Full

Post by Arik.G »

Have the same issue, struggling with it for the last month.
Opened a ticket @ QNAP, hope that they will find something by remote connection.

Also replied in other thread: http://forum.qnap.com/viewtopic.php?f=5 ... 79#p544979

Can't believe how common this issue is but still present after 3 years. the web is flooded with the "RAMDisk full" complains.
torchredfrc
Starting out
Posts: 27
Joined: Mon May 30, 2016 6:43 am

Re: [SOLVED] RAMDisk Full

Post by torchredfrc »

I'm having ramdisk errors now as well... running Sonarr, PlexPy, Plex, and SABNzb+. Removed all those from qpkgs and running them in QEMU now which I'm hoping will resolve my issues. This seems like a really silly issue to have and limit the ramdisk to such a small % of the usable disk space. At least they could make it user configurable.
jessetn
First post
Posts: 1
Joined: Fri Jul 08, 2016 8:41 am

Re: [SOLVED] RAMDisk Full

Post by jessetn »

I had this issue as well, but only 2 apps installed, Cloud Drive Sync and Network & Virtual Switch. I'm in a production environment, so rebooting is out of the question until Friday after 5, if no one stays late. I found the solution for me here:
http://www.linuxquestions.org/questions ... 175470206/
Edit: You can't empty tmpfs, but you can remove files and folders from /tmp. When you have mounted tmpfs at /tmp, you can treat it as any directory in the filesystem. If you know which files and folders that's not needed anymore, you can just remove them in the same way as you remove other files from the filesystem.
Which is when I had one of those "duh" moments. Just clear the dang tmp folder...just carefully! So I just dug in, using a lot of "df" "du -sh *" and "ls -l" and found a few folders from a previous app that were several megs a piece still hanging around, and just deleted them. tmpfs is now back down to less than 1% and I can update Cloud Drive Sync.

It's a little risky, but worth not having to wait till the weekend for a reboot.
sallysensation
Getting the hang of things
Posts: 87
Joined: Wed Aug 31, 2016 1:19 am

Re: [SOLVED] RAMDisk Full

Post by sallysensation »

I am having this issue after installing the recent firmware updates. It has really messed up my TS-251+. I've had to stop, and even remove, some apps and restart several times now. Each time it tells me that it was not properly shut down.

I think I've found the culprit: transmission. It seems after a torrent had completed downloading, I get there errors...maybe when it's trying to move it from the incomplete to completed directory. When the errors start, I am unable to use file station. I get permission errors. This was never a problem before. I have not changed download directories.

To stop the errors I need to stop or remove transmission, and sometimes qmono as well, which makes me wonder if it has something to do with Qsonarr as well, and how it interacts with transmission. But usually after the errors start appearing I cannot stop or remove an app. Even if It says it was removed, it is not, and I have to restart and remove the app immediately. I'm very frustrated.

My ticket was ignored. Called support, and they were useless as usual. Said he had no idea what was wrong...asked to log in to my PC using team viewer. Let him do it. He remained logged in for over an hour and did nothing. Didn't respond to chat messages. So I disconnected and continued on my own.

I might try a 3 second reset.
Waynebacsi
New here
Posts: 3
Joined: Sun Nov 06, 2016 8:18 am

Re: [SOLVED] RAMDisk Full

Post by Waynebacsi »

sallysensation wrote:I am having this issue after installing the recent firmware updates. It has really messed up my TS-251+. I've had to stop, and even remove, some apps and restart several times now. Each time it tells me that it was not properly shut down.

I think I've found the culprit: transmission. It seems after a torrent had completed downloading, I get there errors...maybe when it's trying to move it from the incomplete to completed directory. When the errors start, I am unable to use file station. I get permission errors. This was never a problem before. I have not changed download directories.

To stop the errors I need to stop or remove transmission, and sometimes qmono as well, which makes me wonder if it has something to do with Qsonarr as well, and how it interacts with transmission. But usually after the errors start appearing I cannot stop or remove an app. Even if It says it was removed, it is not, and I have to restart and remove the app immediately. I'm very frustrated.

My ticket was ignored. Called support, and they were useless as usual. Said he had no idea what was wrong...asked to log in to my PC using team viewer. Let him do it. He remained logged in for over an hour and did nothing. Didn't respond to chat messages. So I disconnected and continued on my own.

I might try a 3 second reset.
I have just installed transmission. And getting these errors https://picload.org/image/rdiwcdol/naserror.pngAnd updated my nas few days ago...
sallysensation
Getting the hang of things
Posts: 87
Joined: Wed Aug 31, 2016 1:19 am

Re: [SOLVED] RAMDisk Full

Post by sallysensation »

For me it turned out to be a problem with Qsonarr. I originally had the settings so that it would download files to the default transmission directory (i left it blank in Qsonarr). And I had it apply a tag "TV" so that the files would be put in a sub folder. That worked well. Because I was concerned about the default download directory for transmission changing, I changed the settings. Instead of leaving that field blank, I entered the folder manually, like I had done successfully in similar apps. Well, apparently it didn't like that. It was trying to move files to a directory that doesn't exist. Hope that helps.
snowf0x
New here
Posts: 2
Joined: Sun Feb 15, 2015 9:25 am

Re: [SOLVED] RAMDisk Full

Post by snowf0x »

sallysensation wrote:I am having this issue after installing the recent firmware updates. It has really messed up my TS-251+. I've had to stop, and even remove, some apps and restart several times now. Each time it tells me that it was not properly shut down.

I think I've found the culprit: transmission. It seems after a torrent had completed downloading, I get there errors...maybe when it's trying to move it from the incomplete to completed directory. When the errors start, I am unable to use file station. I get permission errors. This was never a problem before. I have not changed download directories.

To stop the errors I need to stop or remove transmission, and sometimes qmono as well, which makes me wonder if it has something to do with Qsonarr as well, and how it interacts with transmission. But usually after the errors start appearing I cannot stop or remove an app. Even if It says it was removed, it is not, and I have to restart and remove the app immediately. I'm very frustrated.

My ticket was ignored. Called support, and they were useless as usual. Said he had no idea what was wrong...asked to log in to my PC using team viewer. Let him do it. He remained logged in for over an hour and did nothing. Didn't respond to chat messages. So I disconnected and continued on my own.

I might try a 3 second reset.
You could check the download path setting in transmission. My was set to path no longer existing, so when transmission try to move the file from incomplete to complete path, it dumping everything into ramdisk, which of course flooded it. So check your path and make sure it exists.
antakar
Know my way around
Posts: 107
Joined: Wed Apr 15, 2015 9:08 pm

Re: [SOLVED] RAMDisk Full

Post by antakar »

Hi, i have same problem after latest update. System also say that my Fan in the box is not working and the temperature is not showing.
I dont have Transmission installed, i also dont use Download Station. Please advise.
User avatar
OneCD
Guru
Posts: 12160
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: [SOLVED] RAMDisk Full

Post by OneCD »

* topic locked to prevent further necroposting *

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Locked

Return to “Users' Corner”