Organizing Dockers better for debug?


Recommended Posts

When my server has issues I open a console and look at the processes with top in an attempt to figure out what is going on.

 

However, since every docker runs things as root, I can see many process running, all owned by root.  A common one is find.  Now how do I figure out which docker, or the unRaid OS itself is running find and why?  I do have my mover scheduled to only run at 1AM so I don't think it is unRaid.

 

So how does everyone else deal with this?  Can you setup the dockers to have their own user and create a user for each docker by name? I could then at least see which docker owns which process.

 

Currently I'm trying to debug why my minecraft server is lagging and shutting down.  It has 16GB of memory allocated, but only uses 5GB.  I've pinned it to a specific core.  I do see mysqld and find running constantly and large wa states.  I think this is the cause of the minecraft server shutting down do to "lag".

 

thanks

david

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.