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

Difference between revisions of "Sandbox"

From Wikitech-static
Jump to navigation Jump to search
imported>Zixuan
(new Apache2 config)
imported>EpicPupper
(welp)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{ombox
{{Please leave this line alone (sandbox heading)}}
|image=[[File:Sandbox.png|75px|alt=|link=]]
|style=margin: auto;
|text={{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|{{Template:Sandbox heading/Talk not}}}}
Welcome to this Sandbox page, which allows you to carry out experiments. To edit, click <span class="plainlinks">'''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} here]'''</span> or the ''Edit'' tab above{{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|, or, to easily create a new discussion topic, click the ''New section'' tab instead}}; make your changes, and click the ''Save page'' button when finished. Content will '''not''' stay permanently; this page is cleaned regularly, and may be overwritten by other testing users.
 
To clear the sandbox, please [https://wikitech.wikimedia.org/w/index.php?title=Sandbox&oldid=1790454&action=edit edit this revision].
 
Please do not place copyrighted, offensive, or libelous content in the sandboxes.
 
You can create '''{{[[Template:Sandbox|your own sandbox]]}}''', if you have already done so, return to '''[[Special:MyPage/Sandbox|your sandbox]]'''.
 
| imageright = {{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|{{Ombox/Shortcut|WT:SAND}} |{{Ombox/Shortcut|WM:SAND}} }}
}}
== Apache2 ==
=== Before compiling ===
<pre> 
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    })
}
</pre>
=== Compiling results===
<pre>
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    })
}
</pre>
==== Direct results ====
<pre>
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.
</pre>
=== After compiling ===
<pre>
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    })
}
</pre>

Latest revision as of 21:06, 31 July 2021