Advertisement
guigours

Apache2Buddy output

Oct 4th, 2019
601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.48 KB | None | 0 0
  1. ###################################################################
  2. apache2buddy.pl report for --- ()
  3. ###################################################################
  4. [ OK ] This script is being run as root.
  5. [ OK ] The utility 'pmap' exists and is available for use: /usr/bin/pmap
  6. [ OK ] The utility 'netstat' exists and is available for use: /bin/netstat
  7. [ OK ] 'php' exists and is available for use: /usr/bin/php
  8. [ OK ] The utility 'apachectl' exists and is available for use: /usr/sbin/apachectl
  9. [ !! ] Unable to locate the python binary.
  10. Trying for python3...
  11. [ OK ] The 'python' binary exists and is available for use: /usr/bin/python3
  12. [ OK ] The port (port 80) is a valid port.
  13. [ -- ] We are attempting to discover the operating system type and version number ...
  14. [ -- ] Distro: debian
  15. [ -- ] Version: 9.4
  16. [ -- ] Codename:
  17. [ OK ] This distro is supported by apache2buddy.pl.
  18. [ OK ] This distro version is supported by apache2buddy.pl.
  19. [ -- ] Hostname: HIDDEN
  20. [ -- ] Primary IP:
  21. [ -- ] We are checking the service running on port 80...
  22. [ -- ] The process listening on port 80 is /usr/sbin/apache2
  23. [ -- ] The process running on port 80 is Apache/2.4.25 (Debian).
  24. [ -- ] The full path to the Apache config file is: /etc/apache2/apache2.conf
  25. [ -- ] Apache is using prefork model.
  26. [ -- ] pidfile setting is /var/run/apache2$SUFFIX/apache2.pid.
  27. [ -- ] Actual pidfile is /var/run/apache2/apache2.pid.
  28. [ -- ] Parent PID: 23493.
  29. [ OK ] Memory usage of parent PID is less than 50MB: 7604 Kilobytes.
  30. [ -- ] Apache has been running 111d 23h 07m 05s.
  31. [ -- ] Your server has 32075 MB of PHYSICAL memory.
  32. [ -- ] Your ServerLimit setting is 1290.
  33. [ -- ] Your MaxRequestWorkers setting is 1290.
  34. [ OK ] Current Apache Process Count is 257, including the parent PID.
  35. [ -- ] Number of vhosts detected: 1.
  36. [ -- ] |________ of which 1 are HTTP (specifically, port 80).
  37. [ OK ] Current Apache vHost Count is less than maxrequestworkers.
  38. [ >> ] MaxRequestsPerChild directive not found.
  39. [ -- ] This server is NOT running Plesk.
  40. [ -- ] This server is NOT running cPanel.
  41. [ -- ] This server is NOT running Virtualmin.
  42. [ -- ] Your PHP Memory Limit (Per-Process) is 128M.
  43. [ -- ] MySQL Detected => Using 344.95 MB of memory.
  44.  
  45. [ OK ] No large log files were found in /var/log/apache2.
  46. [ OK ] MaxClients has not been hit recently.
  47. [ >> ] Apache only logs maxclients/maxrequestworkers hits once in a lifetime, if no restart has happened this event may have been rotated away.
  48. [ >> ] As a backup check, please compare number of running apache processes (minus 1 for parent) against maxclients/maxrequestworkers.
  49. [ >> ] For more information see https://github.com/apache/httpd/blob/0b61edca6cdda2737aa1d84a4526c5f9d2e23a8c/server/mpm/prefork/prefork.c#L809
  50. [ OK ] No PHP Fatal Errors were found.
  51. Use of uninitialized value $_ in pattern match (m//) at - line 2172 (#1)
  52. (W uninitialized) An undefined value was used as if it were already
  53. defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
  54. To suppress this warning assign a defined value to your variables.
  55.  
  56. To help you figure out what was undefined, perl will try to tell you
  57. the name of the variable (if any) that was undefined. In some cases
  58. it cannot do this, so it also tells you what operation you used the
  59. undefined value in. Note, however, that perl optimizes your program
  60. and the operation displayed in the warning may not necessarily appear
  61. literally in your program. For example, "that $foo" is usually
  62. optimized into "that " . $foo, and the warning will refer to the
  63. concatenation (.) operator, even though there is no . in
  64. your program.
  65.  
  66. [ -- ] apache2 is currently using 9137.81 MB of memory.
  67. [ -- ] The smallest apache process is using 18.15 MB of memory
  68. [ -- ] The average apache process is using 18.96 MB of memory
  69. [ -- ] The largest apache process is using 24.49 MB of memory
  70. [ OK ] Going by the average Apache process, Apache can potentially use 24458.41 MB RAM:
  71. Without considering services: 76.26 % of total installed RAM
  72. Considering extra services: 77.09 % of remaining RAM
  73. [ OK ] Going by the largest Apache process, Apache can potentially use 31592.10 MB RAM:
  74. Without considering services: 98.50 % of total installed RAM
  75. Considering extra services: 99.57 % of remaining RAM
  76.  
  77.  
  78. --------------------------------------------------------------------------------
  79. ### GENERAL FINDINGS & RECOMMENDATIONS ###
  80. --------------------------------------------------------------------------------
  81. Apache2buddy.pl report for server: HIDDEN ():
  82.  
  83. Settings considered for this report:
  84. Your server's physical RAM: 32075 MB
  85. Remaining Memory after other services considered: 31730 MB
  86. Apache's MaxRequestWorkers directive: 1290 <--------- Current Setting
  87. Apache MPM Model: prefork
  88. Largest Apache process (by memory): 24 MB
  89. [ OK ] Your MaxRequestWorkers setting is within an acceptable range.
  90. Your recommended MaxRequestWorkers setting (based on available memory) is between 1165 and 1295. <------- Acceptable Range (10% of MAX)
  91. Max potential memory usage: 31592 MB
  92. Percentage of TOTAL RAM allocated to Apache: 98.50 %
  93. Percentage of REMAINING RAM allocated to Apache: 99.57 %
  94. --------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement