808e4abe1d
IMPROVEMENTS: 1. FIXED: Confusing limiting_factor message in intelligent function - Was: 'Memory (120MB available)' (120 is max_children count, not MB) - Now: 'Memory constraint (120 max_children)' (accurate description) - Also improved traffic and fair share messages for clarity 2. IMPROVED: Multi-domain traffic percentage calculation - Previous: Only compared 2 domain logs (inaccurate for 5+ domain servers) - Now: Sums requests from ALL logs in same directory (much more accurate) - Still falls back to equal distribution if insufficient data (safe) - Supports cPanel, Plesk, InterWorx log locations TESTING COMPLETED: ✅ Server capacity calculation: All RAM sizes (1GB-64GB) verified ✅ Three-constraint MIN logic: All permutations tested ✅ Fair share allocation: Tested with various traffic percentages ✅ Combined safety: 3-domain scenario verified ✅ Edge cases: Min/max bounds, zero values, overflow conditions All validations PASSED. Code is mathematically sound and production-ready.