System Requirements
Minimum Requirements
- CPU: 2+ cores recommended
- RAM: 2GB minimum, 4GB+ recommended
- Disk: SSD strongly recommended for
/var/lib/pterodactyl - Network: 1Gbps for production environments
- Docker: Version 20.10 or newer
Recommended Specifications
For production environments hosting multiple servers:- CPU: 4+ cores with high single-thread performance
- RAM: 8GB+ depending on server count
- Disk: NVMe SSD with 500+ MB/s write speed
- Network: 10Gbps for high-traffic environments
Configuration Optimization
Disk Check Interval
Wings calculates disk usage for each server periodically. This can cause high I/O on systems with many servers. Default setting:-
Increase interval for servers with large file counts:
-
Disable completely (not recommended):
Permission Checks on Boot
Wings can verify file permissions when starting servers, which may slow boot times on servers with many files. Default setting:Disabling permission checks can speed up server boots but may cause permission issues if external processes modify files.
Server Bootstrap Concurrency
Wings uses a worker pool to bootstrap servers on startup with a limit of 4 concurrent servers (configured incmd/root.go:196).
This prevents resource exhaustion when Wings starts with many servers. The limit is currently hardcoded but prevents:
- Memory exhaustion
- Docker API overload
- Network congestion
- Slow boot times
Activity Send Settings
Activity logs are sent to the Panel in batches to reduce API calls. Default settings:Websocket Log Count
Controls how many log lines are sent when a user connects to the console. Default:Docker Configuration
Container PID Limit
Limits processes per container to prevent fork bombs. Default:Tmpfs Size
Controls the size of/tmp mounted in containers. Uses host RAM.
Default:
- Reduce if host RAM is limited
- Increase for servers needing larger temp storage
Memory Overhead
Wings applies a memory overhead multiplier to prevent OOM kills from JVM and similar software. Default behavior (whenoverride: false):
- < 2048 MB: 1.15x (15% overhead)
- < 4096 MB: 1.10x (10% overhead)
- ≥ 4096 MB: 1.05x (5% overhead)
config/config_docker.go:154-185 for implementation details.
Network Configuration
Default network settings:-
Disable ICC if servers don’t need to communicate:
-
Adjust MTU for your network:
-
Use local DNS for faster resolution:
Docker Logging
Configure container log driver for better performance. Default:- Use local driver (faster than json-file)
- Enable compression to save disk:
- Reduce max-size for less disk usage:
Performant Docker Inspect
Wings can use an optimized Docker inspect method. Default:Storage Optimization
Backup Write Limits
Limit disk I/O during backups to prevent performance degradation. Default (unlimited):Backup Compression
Choose compression level based on your priorities. Options:none- No compression (fastest, largest)best_speed- gzip level 1 (default, balanced)best_compression- gzip level 9 (slowest, smallest)
Transfer Download Limits
Limit network I/O when downloading server transfers. Default:Docker Storage Driver
The storage driver significantly impacts performance. Check current driver:- overlay2 - Best for most use cases
- zfs - Good for datasets, snapshots
- btrfs - Good for advanced features
- aufs - Deprecated, slow
- devicemapper - Slow, avoid in production
/etc/docker/daemon.json:
Resource Monitoring
Built-in Stats Collection
Wings continuously monitors resource usage for running servers via Docker stats API (seeenvironment/docker/stats.go:35-96).
What’s monitored:
- Memory usage (calculated to match Panel display)
- CPU usage (absolute percentage)
- Network I/O (RX/TX bytes)
- Uptime (in milliseconds)
Monitoring Resource Usage
Via Docker:Performance Bottlenecks
High CPU Usage
Common causes:-
Too many servers bootstrapping
- Wings limits concurrent bootstrap to 4 servers
- Wait for boot to complete
-
Frequent disk checks
- Increase
disk_check_interval - Use faster storage (SSD/NVMe)
- Increase
-
Many servers with high process counts
- Monitor with
docker stats - Adjust
container_pid_limitif needed
- Monitor with
-
Console spam (throttling)
- Wings has built-in console throttling (2000 lines per 100ms by default)
- Configure in
config.yml:
High Memory Usage
Common causes:-
Many running servers
- Each server container uses RAM
- Monitor with
docker stats - Ensure adequate overhead multipliers
-
Memory leaks in game servers
- Restart servers periodically
- Adjust memory limits
-
Large tmpfs allocations
- Reduce
tmpfs_sizein config
- Reduce
-
Backup/transfer operations
- Apply
write_limitto backups - Schedule during off-peak hours
- Apply
High Disk I/O
Common causes:-
Frequent disk checks
- Increase
disk_check_intervalto 300+ - Use SSD storage
- Increase
-
Permission checks on boot
- Set
check_permissions_on_boot: false
- Set
-
Backup operations
- Apply
write_limit - Use
best_speedcompression - Schedule during off-peak hours
- Apply
-
Slow storage driver
- Use overlay2 instead of aufs/devicemapper
- Enable SSD TRIM:
-
Docker logs filling disk
- Configure log rotation
- Use
locallog driver - Reduce
max-size
High Network Usage
Common causes:-
Server transfers
- Apply
download_limit - Schedule during off-peak hours
- Apply
-
Many concurrent backups
- Stagger backup schedules
- Use local backup storage
-
Panel API calls
- Check
remote_query.timeoutsetting - Ensure Panel is responsive
- Check
Kernel Tuning
Network Performance
Increase network buffers:/etc/sysctl.conf:
File Descriptor Limits
Increase for Docker:/etc/security/limits.conf:
Docker Daemon Tuning
Edit/etc/docker/daemon.json:
Monitoring and Alerting
System Metrics
Monitor key metrics:- CPU usage per core
- Memory usage and swap
- Disk I/O and latency
- Network throughput
- Docker daemon health
- Wings process health
- Prometheus + Grafana - Comprehensive monitoring
- Netdata - Real-time performance monitoring
- cAdvisor - Container metrics
- node_exporter - System metrics
Health Checks
Wings health endpoint:See Also
- Common Issues - Frequently encountered problems
- Debugging Guide - Advanced debugging techniques
- Wings Configuration - Complete configuration reference
