Slow Docker


Recommended Posts

My view is already on Basic view.   Also, my docker image seems to be in the wrong place 

 

 

Docker version: 18.06.3-ce

 

Docker vDisk location: /mnt/disk12/system/docker/docker.img

 

Default appdata storage location: /mnt/user/appdata/

Docker LOG rotation: Disabled

Preserve user defined networks: Yes

 

I'm not sure how it got there, or how to move it to my usb ?

Link to comment
2 hours ago, mixingbuddha said:

I'm not sure how it got there, or how to move it to my usb ?

It doesn't belong on flash, it belongs on cache. And it is twice as large as should be necessary, but it is also using more space than should be necessary if you have your applications setup correctly.

 

Go to Settings - Docker and disable docker service. Then delete and recreate your docker image as 20GB. Also take a look there where you are telling it to put the docker image. It actually says to put it on disk12, and you must have set it that way yourself since that isn't the default. Instead of /mnt/disk12/system, make it /mnt/user/system. Then when it is recreated it will be on cache where it belongs.

 

Then you can reinstall your dockers exactly as they were using the Previous Apps feature on the Apps page. But you need to figure out why your docker image usage had grown to nearly 20GB. There is a whole section in the Docker FAQ about "Docker Image Filling Up". We may have to help you work through that problem. Making it larger will only make it take longer to break. If you are doing it right you shouldn't ever get close to 20G used.

Link to comment

Also, you have somehow created a user share that is spamming your syslog. It seems to have a single special character for its name, and it is on disk12. You need figure out what is in it, figure out how you are creating it, and get rid of it. This is probably related to your misconfigured dockers in some way.

Link to comment
3 hours ago, mixingbuddha said:

There is a user share called "?".  I'm not sure what it is.  Should i just remove it ?

Yes you should remove it, but if you don't also

On 3/2/2019 at 10:56 PM, trurl said:

figure out how you are creating it

then it is likely to come back.

 

The user shares ARE the top level folders on cache and array.

 

Anything that writes a top level folder on cache (/mnt/cache), array (/mnt/disk1, /mnt/disk2, ...), or to the top level of the user shares (/mnt/user, /mnt/user0) will create a user share with the same name as the folder, if that folder name isn't already a user share.

 

Link to comment

And its possible that that share name (?) isn't actually a folder named (?) since special characters like that sometimes have substitutions that are made at some point.

 

Go to Shares - User Shares and click the Compute... link beside that share, wait for the results, and see what disk(s) it is on.

Link to comment

Name        Comment   SMB       NFS    AFP    Size   Free           View

?                                Public     -                  -0 B    756 GB

Disk 12:                                                         0 B    78.7 GB

Screenshot (95).png

Link to comment

Well, it is empty, so you should be able to delete it from the webUI simply by clicking on it to get to its page. Assuming the webUI doesn't choke on the special character. That still doesn't explain how it got created in the first place of course.

 

Just to make sure that ? is really what is showing up under the hood. From the terminal, what do you get with this?

ls -lah /mnt/user

 

Link to comment

root@Tartaros:~# ls -lah /mnt/user
total 13K
drwxrwxrwx   1 nobody users   96 Mar  1 01:04 ./
drwxr-xr-x  20 root   root   400 Mar  7 00:41 ../
-rw-rw-rw-   1 nobody users    0 May  8  2016 .DS_Store
-rw-rw-rw-   1 nobody users 4.0K May  8  2016 ._.DS_Store
-rw-rw-rw-   1 root   root     4 Oct 22 13:30 353432458.tmp
drwxrwxrwx   1 nobody users   48 Aug 24  2018 ?/
drwxrwxrwx   1 nobody users  152 Aug 25  2018 Backups/
drwxrwxrwx   1 nobody users   26 Mar  1 19:41 Business/
drwxr-xr-x   1 nobody users   77 Jan 17 06:00 Downloads/
drwxrwxrwx   1 nobody users   72 Dec  7 23:36 Exercise/
drwxrwx---   1 nobody users  232 Jan 20  2014 FTP/
drwxrwxrwx   1 nobody users   55 Sep 28 02:57 Logs/
drwxrwxrwx   1 nobody users   22 Jan 10 03:07 Media/
drwxrwx---   1 nobody users  272 Sep  1  2018 Nextcloud/
drwxrwxrwx   1 nobody users   62 Sep 20 12:32 Nextcloud2/
drwxrwxrwx   1 nobody users    6 Sep 26 03:08 Trash/
drwxrwxrwx+  1 nobody users  416 Mar  4 16:31 Video/
drwxrwxrwx   1 nobody users 4.0K Mar  3 07:03 appdata/
drwxrwxrwx   1 nobody users  152 Dec  5 16:01 completed/
drwxrwxrwx   1 nobody users    6 Aug 27  2018 domains/
drwxrwxrwx   1 nobody users  712 Dec  5 16:04 incomplete/
drwxrwxrwx   1 nobody users   48 Aug 23  2018 isos/
drwxrwxrwx   1 nobody users   53 Mar  3 03:09 system/
drwxrwxrwx   1 nobody users  221 Sep 24 00:32 test/
drwxrwxrwx   1 nobody users   48 Dec  5 15:59 torrents/
root@Tartaros:~#

Link to comment

I have deleted yesterday. 

 

root@Tartaros:~# ls -lah /mnt/user
total 13K
drwxrwxrwx   1 nobody users   96 Mar  7 05:43 ./
drwxr-xr-x  20 root   root   400 Mar  7 07:13 ../
-rw-rw-rw-   1 nobody users    0 May  8  2016 .DS_Store
-rw-rw-rw-   1 nobody users 4.0K May  8  2016 ._.DS_Store
-rw-rw-rw-   1 root   root     4 Oct 22 13:30 353432458.tmp
drwxrwxrwx   1 nobody users  152 Aug 25  2018 Backups/
drwxrwxrwx   1 nobody users    6 Mar  8 10:01 Business/
drwxr-xr-x   1 nobody users   41 Jan 17 06:00 Downloads/
drwxrwxrwx   1 nobody users   72 Dec  7 23:36 Exercise/
drwxrwx---   1 nobody users  232 Jan 20  2014 FTP/
drwxrwxrwx   1 nobody users   55 Sep 28 02:57 Logs/
drwxrwxrwx   1 nobody users   22 Mar  8 02:58 Media/
drwxrwx---   1 nobody users  272 Sep  1  2018 Nextcloud/
drwxrwxrwx   1 nobody users   62 Sep 20 12:32 Nextcloud2/
drwxrwxrwx   1 nobody users    6 Sep 26 03:08 Trash/
drwxrwxrwx+  1 nobody users  416 Mar  4 16:31 Video/
drwxrwxrwx   1 nobody users 4.0K Mar  3 07:03 appdata/
drwxrwxrwx   1 nobody users  152 Dec  5 16:01 completed/
drwxrwxrwx   1 nobody users    6 Aug 27  2018 domains/
drwxrwxrwx   1 nobody users  712 Dec  5 16:04 incomplete/
drwxrwxrwx   1 nobody users   48 Aug 23  2018 isos/
drwxrwxrwx   1 nobody users   53 Mar  3 03:09 system/
drwxrwxrwx   1 nobody users  221 Sep 24 00:32 test/
drwxrwxrwx   1 nobody users   48 Dec  5 15:59 torrents/

Link to comment

Looks like your configuration is OK now.

 

You can actually see in the syslog where you deleted the ? share, and those error messages it was causing stopped immediately.

 

There are some things at the end of that syslog I'm not sure about. Out-of-memory killed mono, which is probably from one of your dockers. Also some SAS problems at the very end.

 

Post a screenshot of your Docker page.

Link to comment

You have misconfigured one of your docker applications, causing it to write into the docker image instead of to mapped storage. This would be something within the particular application settings, not in the docker settings for the application.

 

Every path the application uses must be a path in a mapped container volume. Common mistakes are not using the same upper/lower case as you used in the volume mappings, or using a relative instead of an absolute path (must begin with /).

 

There is a section in the Docker FAQ about "Docker Image Filling Up":

 

https://forums.unraid.net/topic/57181-real-docker-faq/

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.