{"action":"created","issue":{"url":"https://api.github.com/repos/richardforth/apache2buddy/issues/11","repository_url":"https://api.github.com/repos/richardforth/apache2buddy","labels_url":"https://api.github.com/repos/richardforth/apache2buddy/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/richardforth/apache2buddy/issues/11/comments","events_url":"https://api.github.com/repos/richardforth/apache2buddy/issues/11/events","html_url":"https://github.com/richardforth/apache2buddy/issues/11","id":167549532,"number":11,"title":"doesnt detect apache installed from source / via cpanel installation","user":{"login":"junglon","id":4371461,"avatar_url":"https://avatars.githubusercontent.com/u/4371461?v=3","gravatar_id":"","url":"https://api.github.com/users/junglon","html_url":"https://github.com/junglon","followers_url":"https://api.github.com/users/junglon/followers","following_url":"https://api.github.com/users/junglon/following{/other_user}","gists_url":"https://api.github.com/users/junglon/gists{/gist_id}","starred_url":"https://api.github.com/users/junglon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junglon/subscriptions","organizations_url":"https://api.github.com/users/junglon/orgs","repos_url":"https://api.github.com/users/junglon/repos","events_url":"https://api.github.com/users/junglon/events{/privacy}","received_events_url":"https://api.github.com/users/junglon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/richardforth/apache2buddy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"richardforth","id":5919831,"avatar_url":"https://avatars.githubusercontent.com/u/5919831?v=3","gravatar_id":"","url":"https://api.github.com/users/richardforth","html_url":"https://github.com/richardforth","followers_url":"https://api.github.com/users/richardforth/followers","following_url":"https://api.github.com/users/richardforth/following{/other_user}","gists_url":"https://api.github.com/users/richardforth/gists{/gist_id}","starred_url":"https://api.github.com/users/richardforth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardforth/subscriptions","organizations_url":"https://api.github.com/users/richardforth/orgs","repos_url":"https://api.github.com/users/richardforth/repos","events_url":"https://api.github.com/users/richardforth/events{/privacy}","received_events_url":"https://api.github.com/users/richardforth/received_events","type":"User","site_admin":false},"assignees":[{"login":"richardforth","id":5919831,"avatar_url":"https://avatars.githubusercontent.com/u/5919831?v=3","gravatar_id":"","url":"https://api.github.com/users/richardforth","html_url":"https://github.com/richardforth","followers_url":"https://api.github.com/users/richardforth/followers","following_url":"https://api.github.com/users/richardforth/following{/other_user}","gists_url":"https://api.github.com/users/richardforth/gists{/gist_id}","starred_url":"https://api.github.com/users/richardforth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardforth/subscriptions","organizations_url":"https://api.github.com/users/richardforth/orgs","repos_url":"https://api.github.com/users/richardforth/repos","events_url":"https://api.github.com/users/richardforth/events{/privacy}","received_events_url":"https://api.github.com/users/richardforth/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/richardforth/apache2buddy/milestones/4","html_url":"https://github.com/richardforth/apache2buddy/milestones/test%20code%20uploaded%20to%20staging","labels_url":"https://api.github.com/repos/richardforth/apache2buddy/milestones/4/labels","id":1905577,"number":4,"title":"test code uploaded to staging","description":null,"creator":{"login":"richardforth","id":5919831,"avatar_url":"https://avatars.githubusercontent.com/u/5919831?v=3","gravatar_id":"","url":"https://api.github.com/users/richardforth","html_url":"https://github.com/richardforth","followers_url":"https://api.github.com/users/richardforth/followers","following_url":"https://api.github.com/users/richardforth/following{/other_user}","gists_url":"https://api.github.com/users/richardforth/gists{/gist_id}","starred_url":"https://api.github.com/users/richardforth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardforth/subscriptions","organizations_url":"https://api.github.com/users/richardforth/orgs","repos_url":"https://api.github.com/users/richardforth/repos","events_url":"https://api.github.com/users/richardforth/events{/privacy}","received_events_url":"https://api.github.com/users/richardforth/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-07-26T18:22:18Z","updated_at":"2016-07-26T18:22:18Z","due_on":null,"closed_at":null},"comments":25,"created_at":"2016-07-26T08:32:13Z","updated_at":"2016-07-26T19:26:44Z","closed_at":null,"body":"Apache 2.4 MaxClients has been renamed to MaxRequestWorkers, this script is still using MaxClients\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/richardforth/apache2buddy/issues/comments/235377598","html_url":"https://github.com/richardforth/apache2buddy/issues/11#issuecomment-235377598","issue_url":"https://api.github.com/repos/richardforth/apache2buddy/issues/11","id":235377598,"user":{"login":"junglon","id":4371461,"avatar_url":"https://avatars.githubusercontent.com/u/4371461?v=3","gravatar_id":"","url":"https://api.github.com/users/junglon","html_url":"https://github.com/junglon","followers_url":"https://api.github.com/users/junglon/followers","following_url":"https://api.github.com/users/junglon/following{/other_user}","gists_url":"https://api.github.com/users/junglon/gists{/gist_id}","starred_url":"https://api.github.com/users/junglon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/junglon/subscriptions","organizations_url":"https://api.github.com/users/junglon/orgs","repos_url":"https://api.github.com/users/junglon/repos","events_url":"https://api.github.com/users/junglon/events{/privacy}","received_events_url":"https://api.github.com/users/junglon/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T19:26:44Z","updated_at":"2016-07-26T19:26:44Z","body":"working good...\r\n\r\n```\r\n[root@host ~]# ./apache2buddy.pl.2 --no-check-pid\r\n########################################################################################\r\n##       ___                     __        ___      ____            __    __          ##\r\n##      /   |  ____  ____ ______/ /_  ___ |__ \\    / __ )__  ______/ /___/ /_  __     ##\r\n##     / /| | / __ \\/ __ `/ ___/ __ \\/ _ \\__/ /   / __  / / / / __  / __  / / / /     ##\r\n##    / ___ |/ /_/ / /_/ / /__/ / / /  __/ __/   / /_/ / /_/ / /_/ / /_/ / /_/ /      ##\r\n##   /_/  |_/ .___/\\__,_/\\___/_/ /_/\\___/____/  /_____/\\__,_/\\__,_/\\__,_/\\__, /       ##\r\n##         /_/ apache2buddy.pl                                          /____/        ##\r\n##                                                                                    ##\r\n########################################################################################\r\n\r\nAbout...\r\n[ INFO     ] apache2buddy.pl is a fork of apachebuddy.pl.\r\n[ INFO     ] MD5SUMs now availiable at https://raw.githubusercontent.com/richardforth/apache2buddy/master/md5sums.txt\r\n[ INFO     ] SHA256SUMs now availiable at https://raw.githubusercontent.com/richardforth/apache2buddy/master/sha256sums.txt\r\n[ INFO     ] apache2buddy.pl is now released under the Apache 2.0 License. See https://raw.githubusercontent.com/richardforth/apache2buddy/master/LICENSE\r\n[ INFO     ] apache2buddy.pl is now hosted from github. See https://github.com/richardforth/apache2buddy\r\n[ INFO     ] Changelogs and updates in github. See https://raw.githubusercontent.com/richardforth/apache2buddy/master/changelog\r\n\r\nPerforming Auto-Discovery, and Pre-Flight Checks...\r\n[ OK       ] This script is being run as root.\r\n[ OK       ] The utility 'pmap' exists and is available for use: /usr/bin/pmap\r\n[ OK       ] 'php' exists and is available for use: /usr/local/bin/php\r\n\r\n[ OK       ] The port (port 80) is a valid port.\r\n[ INFO     ] We are attempting to discover the operating system type and version number ...\r\n[ INFO     ] OS Name: CentOS\r\n[ INFO     ] OS Release: 7.2\r\n[ OK       ] Apache2buddy supports this OS Release/Version.\r\n[ INFO     ] Hostname: host.temanhost.com\r\n[ INFO     ] Primary IP: 103.43.45.108\r\n[ INFO     ] We are checking the service running on port 80...\r\n[ INFO     ] The process listening on port 80 is /usr/local/apache/bin/httpd\r\n[ WARNING  ] Apache seems to have been installed from source, its technically unsupported, we may get errors\r\n[ INFO     ] The process running on port 80 is Apache/2.4.23 (Unix).\r\n[ INFO     ] Apache has been running 0d 0h 01m 08s.\r\n[ INFO     ] The full path to the Apache config file is: /usr/local/apache/conf/httpd.conf\r\n[ INFO     ] Apache is using prefork model.\r\n[ WARNING  ] Non-standard apache set-up, apache is running as UID: 99 (nobody). Expecting UID 48 ('apache' or 'www-data').\r\n[ INFO     ] Apache runs as nobody.\r\n[ INFO     ] Your server has 8192 MB of PHYSICAL memory.\r\n[ INFO     ] Your MaxRequestWorkers setting is 500.\r\n[ INFO     ] Your ServerLimit setting is 500.\r\n[ WARNING  ] MaxRequestsPerChild directive not found.\r\n\r\nDetecting PHP Memory Limits...\r\n[ INFO     ] Your PHP Memory Limit (Per-Process) is 128 MB.\r\n\r\nDetecting additional services for consideration...\r\n[ INFO     ] MySQL Detected => Using 1059.31 MB of memory.\r\n\r\nDetecting If Maxclients or MaxRequestWorkers has been hit recently....\r\n\r\nPRO TIP: If this process appears to hang, press CTRL + c to exit the program, and then\r\ngo check for a large error log file in /var/log/httpd or /var/log/apache2.\r\n\r\ngrep: /var/log/apache2/error.log: No such file or directory\r\n[ OK       ] MaxClients has not been hit recently.\r\n\r\nAnalyzing apache memory use...\r\n[ INFO     ] httpd is currently using 101.05 MB of memory.\r\n[ INFO     ] The smallest apache process is using 4.93 MB of memory\r\n[ INFO     ] The average apache process is using 5.12 MB of memory\r\n[ INFO     ] The largest apache process is using 5.24 MB of memory\r\n\r\nResults...\r\n[ OK       ] Going by the average Apache process, Apache can potentially use 2560.01 MB RAM:\r\n                Without considering services: 31.26 % of total installed RAM\r\n                Considering extra services: 35.90 % of remaining RAM\r\n[ OK       ] Going by the largest Apache process, Apache can potentially use 2620.01 MB RAM:\r\n                Without considering services: 31.99 % of total installed RAM\r\n                Considering extra services: 36.74 % of remaining RAM\r\n\r\nGenerating reports...\r\n### GENERAL FINDINGS & RECOMMENDATIONS ###\r\n--------------------------------------------------------------------------------\r\nApache2buddy.pl report for server: host.temanhost.com (103.43.45.108):\r\n\r\nSettings considered for this report:\r\n\r\n        Your server's physical RAM:                                   8192 MB\r\n        Remaining Memory after other services considered:             7132 MB\r\n        Apache's MaxRequestWorkers directive:                         500       <--------- Current Setting\r\n        Apache MPM Model:                                             prefork\r\n        Largest Apache process (by memory):                           5 MB\r\n[ !! ]  Your MaxRequestWorkers setting is too low.\r\n        Your recommended MaxRequestWorkers setting is between 1224 and 1361.            <------- Acceptable Range (10% of MAX)\r\n        Max potential memory usage:                                   2620 MB\r\n        Percentage of TOTAL RAM allocated to Apache:                  31.99  %\r\n        Percentage of REMAINING RAM allocated to Apache:              36.74  %\r\n--------------------------------------------------------------------------------\r\nA log file entry has been made in: /var/log/apache2buddy.log for future reference.\r\n\r\nLast 5 entries:\r\n\r\n2016/07/27 01:33:56 Model: \"Prefork\" Memory: \"8192 MB\" MaxRequestWorkers: \"500\" Recommended: \"1305\" Smallest: \"4.96 MB\" Avg: \"5.13 MB\" Largest: \"5.51 MB\" Highest Pct Remaining RAM: \"38.29%\" (33.64% TOTAL RAM)\r\n2016/07/27 01:53:20 Model: \"Prefork\" Memory: \"8192 MB\" MaxRequestWorkers: \"500\" Recommended: \"1382\" Smallest: \"4.67 MB\" Avg: \"5.06 MB\" Largest: \"5.20 MB\" Highest Pct Remaining RAM: \"36.16%\" (31.74% TOTAL RAM)\r\n2016/07/27 01:53:47 Model: \"Prefork\" Memory: \"8192 MB\" MaxRequestWorkers: \"500\" Recommended: \"1382\" Smallest: \"4.93 MB\" Avg: \"5.09 MB\" Largest: \"5.20 MB\" Highest Pct Remaining RAM: \"36.16%\" (31.74% TOTAL RAM)\r\n2016/07/27 02:22:23 Model: \"Prefork\" Memory: \"8192 MB\" MaxRequestWorkers: \"500\" Recommended: \"1244\" Smallest: \"5.06 MB\" Avg: \"5.18 MB\" Largest: \"5.73 MB\" Highest Pct Remaining RAM: \"40.19%\" (34.98% TOTAL RAM)\r\n2016/07/27 02:24:38 Model: \"Prefork\" Memory: \"8192 MB\" MaxRequestWorkers: \"500\" Recommended: \"1361\" Smallest: \"4.93 MB\" Avg: \"5.12 MB\" Largest: \"5.24 MB\" Highest Pct Remaining RAM: \"36.74%\" (31.99% TOTAL RAM)\r\n```\r\n\r\nApache log stored at /usr/local/apache/logs/error_log"}}
{"actor":{"display_login":"junglon"}}