Accessing the Process Manager
Interface Features
🔄 Reload
Refreshes the list of running processes
📌 Pin Path
Allows filtering processes by specific path within McDis
Dropdown
Lists all detected processes with details
Terminate
Forcefully kills the selected process
What Processes Are Shown
The Process Manager displays all processes running within your McDis folder, including:- Minecraft Servers: Your configured server processes
- Proxy Servers: Velocity, BungeeCord, Waterfall networks
- Build Tools: BuildTools, Paper compiler processes
- Java Processes: Any Java applications running in McDis
- Background Tasks: Scripts, schedulers, or automation tools
The Process Manager specifically looks for Java processes with working directories inside your McDis folder and memory usage above 50MB.
Process Detection
McDis-RCON identifies processes using multiple criteria:Using the Process Manager
Viewing Running Processes
Review process information
Each entry shows:
- Process name/command
- Working directory
- Memory usage
- Process ID (PID)
Terminating a Process
Use Cases
Finding Orphaned Processes
Sometimes processes continue running after McDis-RCON crashes or restarts:- Open the Process Manager
- Look for Java processes you didn’t intentionally start
- Terminate orphaned processes to free resources
Identifying Resource Hogs
Check which processes are consuming memory:- Identify memory leaks
- Adjust JVM flags
- Determine if servers need more RAM
Troubleshooting Port Conflicts
If a server won’t start due to port conflicts:- Check the Process Manager for unexpected Java processes
- Terminate the conflicting process
- Restart your server
Monitoring Background Tasks
If you run build or backup scripts within McDis:- Monitor their execution in the Process Manager
- Verify they complete successfully
- Terminate if they hang or freeze
Filtering by Path
The Pin Path feature allows focusing on specific directories:Process Manager vs Panel Commands
When to Use Process Manager
- Orphaned processes: Cleanup after crashes
- Unknown processes: Identify what’s running
- Direct control: Force-kill any Java process
- Debugging: Check PIDs and memory usage
When to Use Panel Commands
- Configured servers: Managed stop with cleanup
- Plugin unloading: Proper shutdown sequence
- Graceful stops:
!!stopvs force kill - Logging: Console output and error reports
The Process Manager is a diagnostic and emergency tool. For normal operations, use
!!stop, !!kill, and other panel commands.Understanding Process Memory
Memory usage shown includes:- Heap Memory: JVM heap allocation
- Native Memory: Off-heap memory used by Java
- Mapped Files: World regions loaded in memory
If “Total RAM” shown in the Process Manager exceeds your
-Xmx setting, the difference is native memory usage.Troubleshooting
Process Manager shows no processes
Process Manager shows no processes
Possible causes:
- No servers are currently running
- Servers are running outside McDis folder
- Servers use less than 50MB RAM (unlikely for Minecraft)
- Start a server with
!!start <process> - Verify server paths in
md_config.yml - Check console for startup errors
Cannot terminate a process
Cannot terminate a process
Problem: Process remains after termination attemptSolutions:
- Use the panel
!!killcommand for configured servers - Try terminating from the server console directly
- Manually kill the process from the host system
- Restart McDis-RCON if process table is stale
Process appears twice
Process appears twice
Explanation: Java processes often spawn child processesWhat to do:
- Terminate the parent process (usually higher memory usage)
- Child processes should terminate automatically
- If not, terminate remaining children
Best Practices
Regular Process Audits
Periodically check the Process Manager:After Server Crashes
Always check the Process Manager after crashes:- Look for zombie server processes
- Terminate any orphaned instances
- Clear port locks before restarting
- Review memory usage before crash
Before Shutdowns
Before shutting down McDis-RCON:Integration with Other Tools
The Process Manager works alongside other McDis-RCON features:- Panel Commands: Use
!!killafter identifying PIDs - File Manager: Navigate to process directories
- Flask Server: Check Flask process status
- Error Reports: Cross-reference PIDs in error logs
Advanced Usage
Identifying Real Process IDs
McDis-RCON tracks both wrapper and real process IDs:Memory Monitoring
Track memory usage over time:- Note memory usage at server start
- Check after player activity
- Monitor for memory leaks (continuously growing)
- Use data to tune JVM flags
If memory usage grows unbounded, you likely have a memory leak in a plugin or mod.
