You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Sandbox

From Wikitech-static
Revision as of 00:10, 5 May 2018 by imported>Zixuan (new Apache2 config)
Jump to navigation Jump to search

Apache2

Before compiling

   
apache: No index.html on /var/www/html.
apache: Reloading web page.
apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
 58                                   19%                                     14                             59497                        16:08:39 + ({   6    })   apache-server
 23                                 14.5%                                     9                              59418                        25:27:54 + ({   8    })   phpmyadmin
 47                                   9%                                       10                             59536                        10:34:26 + ({   4    })       php5          
 94                                   6%                                       15                             59547                          9:15:13 + ({   3    })     apache2
}
apache: Loading stats for Apache2...
   You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                   59418                                              25:27:54 + ({   8    })
}

Compiling results

apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
 23                                   23%                                     20                             59418                        30:19:54 + ({  45   })   phpmyadmin 
 58                                   14%                                     13                             59497                        17:35:46 + ({   6    })   apache-server        
 94                                    9%                                      16                             59547                        10:49:20 + ({   9    })     apache2
}
apache: Compiling Apache2 config file.
apache: Finished removing old Apache2 config file.
apache: Adding new Apache2 config file...
   When it it finished, you may need to restart Apache2.
apache: Removing direct config: ({
    type: direct-config-remove
    function: apache_direct-config-remove()
})
apache: Compiled new Apache2 config file.
apache: Loading stats for Apache2...
   You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                   59497                                              30:19:54 + ({   45    })
                                                                   59617                                              17:14:12 + ({   36    })
}

Direct results

apache: Loading new Apache2 config file.
apache: Config file results: ({
    type: add-apache-config-file
    direct: ({
      <Directory />
        Allow from all
        Options FollowSymLinks
      </Directory>
    })
    function: apache_add-apache-configuration-file()
    mode: apache_direct-configuration-add-mode(apache_add-apache-configuration-file())
    result: apache_get-result(apache_add-apache-configuration-file())
})
apache: Result of new Apache2 config file: ({
   type: result(add-apache-config-file)
   config-result: apache-get-result()
   function: apache_get-result(apache_add-apache-configuration-file())
   result: apache_get-result(apache_add-apache-configuration-file())
})
apache: Removing current Apache2 direct config file at /etc/apache2/sites-default-mode.conf...
   You might need to restart Apache2 once the removing is finished.
apache: Removed current Apache2 direct config file.
apache: Adding new Apache2 direct config file at /etc/apache2/side-default-mode-direct-config.conf...
   You might need to restart Apache2 once the adding is finished.
apache: Added new Apache2 direct config file.

After compiling

apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
 23                                   25%                                     23                             59418                        31:25:19 + ({  47   })   phpmyadmin 
 58                                   15%                                     19                             59497                        19:49:56 + ({   7    })   apache-server        
 94                                   10%                                     17                             59547                        13:33:23 + ({   8    })     apache2
}
apache: Loading stats for Apache2...
   You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                   59497                                              31:25:19 + ({   47    })
                                                                   59617                                              18:25:42 + ({   36    })
}