<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ratna</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/39/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ratna"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/Special:Contributions/Ratna"/>
	<updated>2026-04-09T13:02:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Talk:Test_course_generator&amp;diff=138957</id>
		<title>Talk:Test course generator</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Talk:Test_course_generator&amp;diff=138957"/>
		<updated>2021-08-23T05:55:59Z</updated>

		<summary type="html">&lt;p&gt;Ratna: Created page with &amp;quot;I have stopped updating this page. My last state is documented in https://moodle.org/mod/forum/discuss.php?d=424763.  Please free to edit/correct them.  Also note that the maj...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have stopped updating this page. My last state is documented in https://moodle.org/mod/forum/discuss.php?d=424763.&lt;br /&gt;
&lt;br /&gt;
Please free to edit/correct them.&lt;br /&gt;
&lt;br /&gt;
Also note that the major changes I made on 27 July 2021 https://docs.moodle.org/39/en/index.php?title=Test_course_generator&amp;amp;type=revision&amp;amp;diff=138909&amp;amp;oldid=133519 were done after the /39/ wiki was duplicated as /310/ (and further). So those changes do not reflect in /310/ wiki and following wikis.&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Talk:JMeter_test_plan_generator&amp;diff=138956</id>
		<title>Talk:JMeter test plan generator</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Talk:JMeter_test_plan_generator&amp;diff=138956"/>
		<updated>2021-08-23T05:50:59Z</updated>

		<summary type="html">&lt;p&gt;Ratna: Created page with &amp;quot;I have stopped updating this page. My last state is documented in https://moodle.org/mod/forum/discuss.php?d=424763.  Please free to edit/correct them.  Also note that the maj...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I have stopped updating this page. My last state is documented in https://moodle.org/mod/forum/discuss.php?d=424763.&lt;br /&gt;
&lt;br /&gt;
Please free to edit/correct them.&lt;br /&gt;
&lt;br /&gt;
Also note that the major changes I made on 27 July 2021 https://docs.moodle.org/39/en/index.php?title=JMeter_test_plan_generator&amp;amp;type=revision&amp;amp;diff=138907&amp;amp;oldid=118517 were done after the /39/ wiki was duplicated as /310/ (and further). So those changes do not reflect in /310/ wiki and following wikis.&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Test_course_generator&amp;diff=138909</id>
		<title>Test course generator</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Test_course_generator&amp;diff=138909"/>
		<updated>2021-07-27T20:01:49Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
If you want a sample course for load testing or reliability of a feature (where its behaviour might depend on the size of a course), you can generate standardized test courses using the generator tool at &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Development &amp;gt; Make a test course&#039;&#039;.,&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Warning: This tool is for developer use only! Courses created using this feature can occupy a large amount of database and consume disk space (tens of gigabytes). Although you can delete those courses (and wait for various cleanup runs) to release the space they consumed, this tool should not be used on a live site. For safety it is disabled unless you set Site administration &amp;gt; Development &amp;gt; Debugging: Debug messages to DEVELOPER. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Using the tool ==&lt;br /&gt;
&lt;br /&gt;
# First set the debugging level to DEVELOPER as mentioned in the warning above.&lt;br /&gt;
# If you want to set a password for all the generated users, add the line &amp;quot;$CFG-&amp;gt;tool_generator_users_password = &#039;YOURSECRET&#039;;&amp;quot; to config.php of Moodle. If the password does not comply with the site security policy to set &amp;quot;$CFG-&amp;gt;passwordpolicy = 0;&amp;quot; too.&lt;br /&gt;
&lt;br /&gt;
=== GUI version ===&lt;br /&gt;
# Visit Administration &amp;gt; Site administration &amp;gt; Development &amp;gt; Make a test course. [[File:make-test-course.png]]&lt;br /&gt;
&lt;br /&gt;
==== Options ====&lt;br /&gt;
* Size of course: You can choose amoung XS, S, M, L, XL, or XXL (required). The table below shows their difference.&lt;br /&gt;
&lt;br /&gt;
Please note that bigger courses take longer to be created - the biggest up to 4 hours on a decent server. Your server may run out of space or time out if it can&#039;t handle the size you selected.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Size of course&lt;br /&gt;
! Approx. size &lt;br /&gt;
! No. of assignments&lt;br /&gt;
! No. of pages&lt;br /&gt;
! No. of small files&lt;br /&gt;
! No. of big files&lt;br /&gt;
! No. of sections&lt;br /&gt;
! No. of users&lt;br /&gt;
! No. of forum posts&lt;br /&gt;
! Approx. time to create&lt;br /&gt;
|-&lt;br /&gt;
! XS&lt;br /&gt;
| 10 kB&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 2&lt;br /&gt;
| 1 sec&lt;br /&gt;
|-&lt;br /&gt;
! S&lt;br /&gt;
| 10 MB&lt;br /&gt;
| 10&lt;br /&gt;
| 50&lt;br /&gt;
| 64&lt;br /&gt;
| 2&lt;br /&gt;
| 10&lt;br /&gt;
| 100&lt;br /&gt;
| 20&lt;br /&gt;
| 30 sec&lt;br /&gt;
|-&lt;br /&gt;
! M&lt;br /&gt;
| 100 MB&lt;br /&gt;
| 100&lt;br /&gt;
| 200&lt;br /&gt;
| 128&lt;br /&gt;
| 5&lt;br /&gt;
| 100&lt;br /&gt;
| 1,000&lt;br /&gt;
| 500&lt;br /&gt;
| 2 min&lt;br /&gt;
|-&lt;br /&gt;
! L&lt;br /&gt;
| 1 GB&lt;br /&gt;
| 500&lt;br /&gt;
| 1,000&lt;br /&gt;
| 1,024&lt;br /&gt;
| 10&lt;br /&gt;
| 500&lt;br /&gt;
| 10,000&lt;br /&gt;
| 5,000&lt;br /&gt;
| 30 min&lt;br /&gt;
|-&lt;br /&gt;
! XL&lt;br /&gt;
| 10 GB&lt;br /&gt;
| 1,000&lt;br /&gt;
| 5,000&lt;br /&gt;
| 16,384&lt;br /&gt;
| 10&lt;br /&gt;
| 1,000&lt;br /&gt;
| 50,000&lt;br /&gt;
| 10,000&lt;br /&gt;
| 2 hours&lt;br /&gt;
|-&lt;br /&gt;
! XXL&lt;br /&gt;
| 20 GB&lt;br /&gt;
| 2,000&lt;br /&gt;
| 10,000&lt;br /&gt;
| 32,768&lt;br /&gt;
| 10&lt;br /&gt;
| 2,000&lt;br /&gt;
| 100,000&lt;br /&gt;
| 20,000&lt;br /&gt;
| 4 hours&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Course short name: The course short name (required)&lt;br /&gt;
* Course full name and Course summary: (optional)&lt;br /&gt;
&lt;br /&gt;
==== Sample output ====&lt;br /&gt;
  Creating course&lt;br /&gt;
  Creating [Course name]&lt;br /&gt;
  Creating assignments (100): . . . . . . . . . . . . done (12.7s)&lt;br /&gt;
  Creating pages (200): . . done (1.5s)&lt;br /&gt;
  Creating small files (128): done (0.4s)&lt;br /&gt;
  Creating big files (5): . done (1.3s)&lt;br /&gt;
  Checking user accounts (1000)&lt;br /&gt;
  Creating user accounts (1 - 1000): . . . . . . . . done (8.7s)&lt;br /&gt;
  Enrolling users into course (1000): . . . . . . done (5.7s)&lt;br /&gt;
  Creating forum (500 posts): . . done (1.7s)&lt;br /&gt;
  Course completed (32.2s)&lt;br /&gt;
&lt;br /&gt;
== CLI version ==&lt;br /&gt;
&lt;br /&gt;
You can run the tool from the command-line using:&lt;br /&gt;
&lt;br /&gt;
 php admin/tool/generator/cli/maketestcourse.php&lt;br /&gt;
&lt;br /&gt;
This will show command-line options.&lt;br /&gt;
&lt;br /&gt;
=== Options ===&lt;br /&gt;
In addition to the options in the GUI version the CLI command has the following options:&lt;br /&gt;
&lt;br /&gt;
* Use a fixed dataset: Use a fixed data set instead of randomly generated data, useful for generating a standard data set&lt;br /&gt;
* Specify a file size limit: Limits the size of the generated files to the specified number of bytes, you may find this setting useful because depending on the size you select the courses can use too much disk space&lt;br /&gt;
* By pass check: Bypasses the developer-mode check&lt;br /&gt;
* Quiet: Do not show any output&lt;br /&gt;
&lt;br /&gt;
[[es:Generador de curso de prueba]]&lt;br /&gt;
[[de:Testkurs-Generator]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=File:make-test-course.png&amp;diff=138908</id>
		<title>File:make-test-course.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=File:make-test-course.png&amp;diff=138908"/>
		<updated>2021-07-27T19:52:21Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=JMeter_test_plan_generator&amp;diff=138907</id>
		<title>JMeter test plan generator</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=JMeter_test_plan_generator&amp;diff=138907"/>
		<updated>2021-07-27T15:04:56Z</updated>

		<summary type="html">&lt;p&gt;Ratna: Imported the content of https://docs.moodle.org/dev/JMeter#Make_JMeter_test_plan and merged.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
This script creates a test plan file (*.jmx) along with the user credentials file (.csv) which you can either feed to JMeter to run a load test. This test plan is also  to work along with Moodle performance comparison [https://github.com/moodlehq/moodle-performance-comparison], which makes it easier to run the test plan in a specific Moodle environment, to gather information about the runs and to compare the results. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Warning: This tool is for developer use only! Courses created using this feature can occupy a large amount of database and consume disk space (tens of gigabytes). Although you can delete those courses (and wait for various cleanup runs) to release the space they consumed, this tool should not be used on a live site. For safety it is disabled unless you set Site administration &amp;gt; Development &amp;gt; Debugging: Debug messages to DEVELOPER. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Also note that, unlike making the [[Test course generator]], this is a single script. Therefore the PHP max_execution_time needs to be greater that the time for the whole script, which could be anything from a minute to hours depending on the size of the course you select.&lt;br /&gt;
&lt;br /&gt;
== Using the tool ==&lt;br /&gt;
&lt;br /&gt;
# First set the debugging level to DEVELOPER as mentioned in the warning above.&lt;br /&gt;
# If you want to set a password for all the generated users, add the line &amp;quot;$CFG-&amp;gt;tool_generator_users_password = &#039;YOURSECRET&#039;;&amp;quot; to config.php of Moodle. If the password does not comply with the site security policy to set &amp;quot;$CFG-&amp;gt;passwordpolicy = 0;&amp;quot; too.&lt;br /&gt;
&lt;br /&gt;
There is no default value for this password to prevent unintended usages of the tool. You need to use the update passwords option in case your course users have other passwords or they were generated by tool_generator but without setting a $CFG-&amp;gt;tool_generator_users_password value.&lt;br /&gt;
&lt;br /&gt;
This script is a part of tool_generator so it works well with the courses generated by the [[Test course generator]] and the site generator. It can also be used with any course that contains, at least:&lt;br /&gt;
- Enough enrolled users (depends on the test plan size you select)&lt;br /&gt;
- A page module instance&lt;br /&gt;
- A forum module instance with at least one discussion and one reply&lt;br /&gt;
&lt;br /&gt;
You have to consider your server&#039;s capacity when running large test plans as the load generated by JMeter can be specially big. The ramp-up period has been adjusted according to the number of threads (users) to reduce this kind of issues but the load is still huge.&lt;br /&gt;
&lt;br /&gt;
=== GUI version ===&lt;br /&gt;
Visit  &#039;&#039;Site administration &amp;gt; Development &amp;gt; Make JMeter test plan&#039;&#039;. Under Size of course your have six possibilities: XS (1 user, 5 loops and 1 ramp-up period), S (30 users, 5 loops and 6 ramp-up period), M (100 users, 5 loops and 40 ramp-up period), L (1000 users, 6 loops and 100 ramp-up period), XL (5000 users, 6 loops and 500 ramp-up period) and XXL (1000 users, 7 loops and 800 ramp-up period). As target course select one of the courses created above. Also &#039;&#039;Update course users password&#039;&#039; should be ticked. &lt;br /&gt;
&lt;br /&gt;
Consider that the server resources you will need to make bigger test plans will be accordingly higher.&lt;br /&gt;
&lt;br /&gt;
Once successful you can download a test plan [[File:testplan_timestamp.jmx|testplan_timestamp.jmx]] and a users file [[File:users_timestamp.csv|users_timestamp.csv]] &lt;br /&gt;
&lt;br /&gt;
=== CLI version ===&lt;br /&gt;
There is also a PHP CLI version of the script. Run it with --help to see its options:&lt;br /&gt;
&lt;br /&gt;
  $ php admin/tool/generator/cli/maketestplan.php --help&lt;br /&gt;
  Options:&lt;br /&gt;
  -h, --help              Print out this help&lt;br /&gt;
  --shortname             Short name of the test plan&#039;s target course (required)&lt;br /&gt;
  --size                  Size of the test plan to create XS, S, M, L, XL, or XXL (required)&lt;br /&gt;
  --bypasscheck           Bypasses the developer-mode check (be careful!)&lt;br /&gt;
  --updateuserspassword   Updates the target course users password according to $CFG-&amp;gt;tool_generator_users_password&lt;br /&gt;
  &lt;br /&gt;
  * XS (1 Nutzter, 5 Schleifen und 1 Steigerungsrate)&lt;br /&gt;
  * S (30 Nutzter, 5 Schleifen und 6 Steigerungsrate)&lt;br /&gt;
  * M (100 Nutzter, 5 Schleifen und 40 Steigerungsrate)&lt;br /&gt;
  * L (1000 Nutzter, 6 Schleifen und 100 Steigerungsrate)&lt;br /&gt;
  * XL (5000 Nutzter, 6 Schleifen und 500 Steigerungsrate)&lt;br /&gt;
  * XXL (10000 Nutzter, 7 Schleifen und 800 Steigerungsrate)&lt;br /&gt;
   &lt;br /&gt;
Example: &lt;br /&gt;
  $ sudo -u www-data /usr/bin/php admin/tool/generator/cli/maketestplan.php --shortname=&amp;quot;testcourse_12&amp;quot; --size=S&lt;br /&gt;
  cd /moodle/dirroot&lt;br /&gt;
  php admin/tool/generator/cli/maketestplan.php --size=S --shortname=&amp;quot;course_short_name&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== Options ===&lt;br /&gt;
* Course shortname: Shortname of the test plan&#039;s target course (required)&lt;br /&gt;
* Size: Size of the test plan to create XS, S, M, L, XL, or XXL options (required)&lt;br /&gt;
* By pass check: Bypasses the developer-mode check (be careful!)&lt;br /&gt;
* Update users password: Updates the target course users password&lt;br /&gt;
&lt;br /&gt;
For more help:&lt;br /&gt;
 php admin/tool/generator/cli/maketestplan.php --help&lt;br /&gt;
&lt;br /&gt;
[[es:Generador de plan de prueba JMeter]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Test_course_generator&amp;diff=138906</id>
		<title>Test course generator</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Test_course_generator&amp;diff=138906"/>
		<updated>2021-07-27T09:57:10Z</updated>

		<summary type="html">&lt;p&gt;Ratna: Transferred the content of https://docs.moodle.org/dev/Load_testing_Moodle_with_JMeter#Make_test_course to this page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Developer tools}}&lt;br /&gt;
If you want a sample course for load testing or reliability of a feature (where its behaviour might depend on the size of a course), you can generate standardized test courses using the generator tool at &#039;&#039;Administration &amp;gt; Site administration &amp;gt; Development &amp;gt; Make a test course&#039;&#039;.,&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Warning: This tool is for developer use only! Courses created using this feature can occupy a large amount of database and consume disk space (tens of gigabytes). Although you can delete those courses (and wait for various cleanup runs) to release the space they consumed, this tool should not be used on a live site. For safety it is disabled unless you set Site administration &amp;gt; Development &amp;gt; Debugging: Debug messages to DEVELOPER. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Using the tool ==&lt;br /&gt;
&lt;br /&gt;
# First set the debugging level to DEVELOPER as mentioned in the warning above.&lt;br /&gt;
# If you want to set a password for all the generated users, add the line &amp;quot;$CFG-&amp;gt;tool_generator_users_password = &#039;YOURSECRET&#039;;&amp;quot; to config.php of Moodle. If the password does not comply with the site security policy to set &amp;quot;$CFG-&amp;gt;passwordpolicy = 0;&amp;quot; too.&lt;br /&gt;
&lt;br /&gt;
=== GUI version ===&lt;br /&gt;
# Visit Administration &amp;gt; Site administration &amp;gt; Development &amp;gt; Make a test course.&lt;br /&gt;
&lt;br /&gt;
==== Options ====&lt;br /&gt;
* Size of course: You can choose amoung XS, S, M, L, XL, or XXL (required). The table below shows their difference.&lt;br /&gt;
&lt;br /&gt;
Please note that bigger courses take longer to be created - the biggest up to 4 hours on a decent server. Your server may run out of space or time out if it can&#039;t handle the size you selected.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Size of course&lt;br /&gt;
! Approx. size &lt;br /&gt;
! No. of assignments&lt;br /&gt;
! No. of pages&lt;br /&gt;
! No. of small files&lt;br /&gt;
! No. of big files&lt;br /&gt;
! No. of sections&lt;br /&gt;
! No. of users&lt;br /&gt;
! No. of forum posts&lt;br /&gt;
! Approx. time to create&lt;br /&gt;
|-&lt;br /&gt;
! XS&lt;br /&gt;
| 10 kB&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 1&lt;br /&gt;
| 2&lt;br /&gt;
| 1 sec&lt;br /&gt;
|-&lt;br /&gt;
! S&lt;br /&gt;
| 10 MB&lt;br /&gt;
| 10&lt;br /&gt;
| 50&lt;br /&gt;
| 64&lt;br /&gt;
| 2&lt;br /&gt;
| 10&lt;br /&gt;
| 100&lt;br /&gt;
| 20&lt;br /&gt;
| 30 sec&lt;br /&gt;
|-&lt;br /&gt;
! M&lt;br /&gt;
| 100 MB&lt;br /&gt;
| 100&lt;br /&gt;
| 200&lt;br /&gt;
| 128&lt;br /&gt;
| 5&lt;br /&gt;
| 100&lt;br /&gt;
| 1,000&lt;br /&gt;
| 500&lt;br /&gt;
| 2 min&lt;br /&gt;
|-&lt;br /&gt;
! L&lt;br /&gt;
| 1 GB&lt;br /&gt;
| 500&lt;br /&gt;
| 1,000&lt;br /&gt;
| 1,024&lt;br /&gt;
| 10&lt;br /&gt;
| 500&lt;br /&gt;
| 10,000&lt;br /&gt;
| 5,000&lt;br /&gt;
| 30 min&lt;br /&gt;
|-&lt;br /&gt;
! XL&lt;br /&gt;
| 10 GB&lt;br /&gt;
| 1,000&lt;br /&gt;
| 5,000&lt;br /&gt;
| 16,384&lt;br /&gt;
| 10&lt;br /&gt;
| 1,000&lt;br /&gt;
| 50,000&lt;br /&gt;
| 10,000&lt;br /&gt;
| 2 hours&lt;br /&gt;
|-&lt;br /&gt;
! XXL&lt;br /&gt;
| 20 GB&lt;br /&gt;
| 2,000&lt;br /&gt;
| 10,000&lt;br /&gt;
| 32,768&lt;br /&gt;
| 10&lt;br /&gt;
| 2,000&lt;br /&gt;
| 100,000&lt;br /&gt;
| 20,000&lt;br /&gt;
| 4 hours&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Short name: The course short name (required)&lt;br /&gt;
* Course full name and description (optional)&lt;br /&gt;
&lt;br /&gt;
==== Sample output ====&lt;br /&gt;
  Creating course&lt;br /&gt;
  Creating [Course name]&lt;br /&gt;
  Creating assignments (100): . . . . . . . . . . . . done (12.7s)&lt;br /&gt;
  Creating pages (200): . . done (1.5s)&lt;br /&gt;
  Creating small files (128): done (0.4s)&lt;br /&gt;
  Creating big files (5): . done (1.3s)&lt;br /&gt;
  Checking user accounts (1000)&lt;br /&gt;
  Creating user accounts (1 - 1000): . . . . . . . . done (8.7s)&lt;br /&gt;
  Enrolling users into course (1000): . . . . . . done (5.7s)&lt;br /&gt;
  Creating forum (500 posts): . . done (1.7s)&lt;br /&gt;
  Course completed (32.2s)&lt;br /&gt;
&lt;br /&gt;
== CLI version ==&lt;br /&gt;
&lt;br /&gt;
You can run the tool from the command-line using:&lt;br /&gt;
&lt;br /&gt;
 php admin/tool/generator/cli/maketestcourse.php&lt;br /&gt;
&lt;br /&gt;
This will show command-line options.&lt;br /&gt;
&lt;br /&gt;
=== Options ===&lt;br /&gt;
In addition to the options in the GUI version the CLI command has the following options:&lt;br /&gt;
&lt;br /&gt;
* Use a fixed dataset: Use a fixed data set instead of randomly generated data, useful for generating a standard data set&lt;br /&gt;
* Specify a file size limit: Limits the size of the generated files to the specified number of bytes, you may find this setting useful because depending on the size you select the courses can use too much disk space&lt;br /&gt;
* By pass check: Bypasses the developer-mode check&lt;br /&gt;
* Quiet: Do not show any output&lt;br /&gt;
&lt;br /&gt;
[[File:make-a-test-course.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
[[es:Generador de curso de prueba]]&lt;br /&gt;
[[de:Testkurs-Generator]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=103796</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=103796"/>
		<updated>2013-03-31T20:53:06Z</updated>

		<summary type="html">&lt;p&gt;Ratna: Deleted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Deleted [[User:Visvanath Ratnaweera|Visvanath Ratnaweera]] 04:53, 1 April 2013 (WST)&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Talk:Step-by-step_Installation_Guide_for_Ubuntu&amp;diff=103795</id>
		<title>Talk:Step-by-step Installation Guide for Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Talk:Step-by-step_Installation_Guide_for_Ubuntu&amp;diff=103795"/>
		<updated>2013-03-31T20:44:13Z</updated>

		<summary type="html">&lt;p&gt;Ratna: chmod 777 ???&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Are you sure you going to leave the permissions at these:&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo chmod 777 /var/moodledata&lt;br /&gt;
sudo chmod 777 /var/www/moodle&amp;lt;/pre&amp;gt;&lt;br /&gt;
???&lt;br /&gt;
[[User:Visvanath Ratnaweera|Visvanath Ratnaweera]] 04:44, 1 April 2013 (WST)&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Installing_Moodle_on_Debian_based_distributions&amp;diff=103737</id>
		<title>Installing Moodle on Debian based distributions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Installing_Moodle_on_Debian_based_distributions&amp;diff=103737"/>
		<updated>2013-03-24T19:46:45Z</updated>

		<summary type="html">&lt;p&gt;Ratna: Moved to my blog at www.syndrega.ch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Moved to http://www.syndrega.ch/?p=38.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--- Categories --&amp;gt;&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=File:webbench-in-vb.png&amp;diff=97014</id>
		<title>File:webbench-in-vb.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=File:webbench-in-vb.png&amp;diff=97014"/>
		<updated>2012-04-17T14:12:22Z</updated>

		<summary type="html">&lt;p&gt;Ratna: uploaded a new version of &amp;amp;quot;File:webbench-in-vb.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=File:webbench-in-vb.png&amp;diff=97013</id>
		<title>File:webbench-in-vb.png</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=File:webbench-in-vb.png&amp;diff=97013"/>
		<updated>2012-04-17T14:10:49Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Talk:Cron_with_Unix_or_Linux&amp;diff=96748</id>
		<title>Talk:Cron with Unix or Linux</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Talk:Cron_with_Unix_or_Linux&amp;diff=96748"/>
		<updated>2012-03-31T22:00:55Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* Linux _is_ Unix, Mac OS too */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Since wget is being used to run the cron.php script anyway, you can really run this ANYWHERE ==&lt;br /&gt;
:Brought this comment from 2.0 Cron comment page.  It was unsigned/undated --[[User:chris collman|chris collman]] 20:09, 22 November 2011 (WST)&lt;br /&gt;
It is important to note that since the cron.php script is not run internally by Moodle, but by an outside interaction, you can really run a cron job on ANY server that runs the cron.php on your Moodle installation.&lt;br /&gt;
&lt;br /&gt;
So, for example, if you have a Moodle install at an ISP that does not let you run cron jobs, but you have, say, a DSLline at home, you can use any of your Linux computers at home to run cron.  (you do use Linux at home, right? :)&lt;br /&gt;
&lt;br /&gt;
And the beauty of it is, the crontab line is *exactly* the same as listed in the main article. It just points to an outside URL.&lt;br /&gt;
&lt;br /&gt;
Now, I mention this because at one point I had configured a server to run Moodle but, in the interest of security, I did not have wget available on the server.  (cron was available, but not wget).&lt;br /&gt;
&lt;br /&gt;
Well, the easiest thing to do was to just run a cron job somewhere else.&lt;br /&gt;
&lt;br /&gt;
Alrighty, seeyalater!&lt;br /&gt;
&lt;br /&gt;
== Update and clarify ==&lt;br /&gt;
:Brought this comment from 2.0 Cron comment page.  It was unsigned/undated --[[User:chris collman|chris collman]] 20:09, 22 November 2011 (WST)&lt;br /&gt;
&lt;br /&gt;
* The whole cronclionly vs. shell invocation vs. &amp;quot;using wget&amp;quot; is completely misleading.&lt;br /&gt;
** while you can call cron.php using a web browser or a command line web &amp;quot;browser&amp;quot; like wget, curl, lynx from outside or inside the server. The latter commands can be scripted, e.g. to be called by cron.&lt;br /&gt;
** the &amp;quot;cronclionly&amp;quot; checkbox restricts the call to cron.php to calling it from inside the server and only using &amp;quot;bin/php&amp;quot;. This can be scripted to be called by cron, as well.&lt;br /&gt;
* It should be said somewhere that using e.g. the &amp;quot;www-data&amp;quot; user in e.g. /etc/cron.d/moodle is far better than using /etc/crontab which is executed by root. AFAICS this is nowhere mentioned.&lt;br /&gt;
&lt;br /&gt;
== Linux _is_ Unix, Mac OS too ==&lt;br /&gt;
&lt;br /&gt;
Why does it say &amp;quot;Unix or Linux&amp;quot;? Linux _is_ Unix!&lt;br /&gt;
&lt;br /&gt;
One could say &amp;quot;Unix (and Linux)&amp;quot;. But then Mac OS X is Unix too.&lt;br /&gt;
&lt;br /&gt;
The best is to continue with the original article [Cron] and maintain the section &amp;quot;Unix&amp;quot; (it will be valid for Linux and Mac OS X).&lt;br /&gt;
[[User:Visvanath Ratnaweera|Visvanath Ratnaweera]] 06:00, 1 April 2012 (WST)&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96120</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96120"/>
		<updated>2012-02-27T19:55:40Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|&lt;br /&gt;
&amp;lt;em&amp;gt;note a priori:&amp;lt;/em&amp;gt; Morbi ac quam risus, ultricies faucibus odio. Fusce eu ultricies velit. Cras lobortis dolor ut leo rhoncus vulputate. Donec eget felis tellus. Duis ac odio vitae eros egestas ornare vel ut leo. Curabitur bibendum, purus sit amet ultrices tincidunt, risus sapien dignissim libero, ac semper erat nunc et nisl. Quisque aliquam ornare blandit.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section One&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Qua soi &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; Aliquam leo augue, posuere eget facilisis eu, euismod sit amet quam. Sed ultrices est vitae arcu tristique malesuada mattis nibh feugiat. Aliquam libero justo, condimentum ut consectetur facilisis, imperdiet tempus velit. Sed consequat lacinia lacus a eleifend. Cras sed magna sem&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection One.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection One.one.one&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section Two&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Morbi gravida nisi ac metus pulvinar varius. Curabitur cursus libero metus, eu tempus lorem. Ut dictum scelerisque nisl, sit amet adipiscing velit commodo vitae. Donec a turpis enim, quis adipiscing elit. Mauris consequat euismod ligula eu eleifend. Integer nec elit risus. Donec eros nisi, laoreet eget interdum ultricies, elementum at tellus.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection Two.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsection Two.two&amp;lt;/h4&amp;gt; &lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem&amp;lt;ref&amp;gt;Asd adf ilkaa la asdf adf adfa aaa.&amp;lt;/ref&amp;gt; sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 $ &amp;lt;b&amp;gt;quo &amp;lt;var&amp;gt;vadis&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 &amp;lt;var&amp;gt;apoko&amp;lt;/var&amp;gt;      pts/4        A.D. 2012-02-11 13:14 (:0.0)&lt;br /&gt;
 ; son qommone de mal&lt;br /&gt;
 ghande&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Curabitur mattis nisi eu nunc porttitor mattis. Praesent condimentum purus non libero blandit et viverra purus malesuada. Aliquam eget nulla vitae nunc tincidunt faucibus. Vestibulum tempus dui id quam elementum lobortis. Aliquam erat volutpat. Quisque sollicitudin lacinia orci et fringilla. Curabitur risus sem, volutpat non lobortis quis, suscipit a erat. In ac magna leo.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Reference list&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;External links&amp;lt;/h2&amp;gt;&lt;br /&gt;
[http://www.example.com/ http://www.example.com/] - lot of goodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--- Categories ---&amp;gt;&lt;br /&gt;
[[:Category:Nonsense:]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96095</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96095"/>
		<updated>2012-02-25T14:40:44Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|&lt;br /&gt;
&amp;lt;em&amp;gt;note a priori:&amp;lt;/em&amp;gt; Morbi ac quam risus, ultricies faucibus odio. Fusce eu ultricies velit. Cras lobortis dolor ut leo rhoncus vulputate. Donec eget felis tellus. Duis ac odio vitae eros egestas ornare vel ut leo. Curabitur bibendum, purus sit amet ultrices tincidunt, risus sapien dignissim libero, ac semper erat nunc et nisl. Quisque aliquam ornare blandit.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section One&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Qua soi &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; Aliquam leo augue, posuere eget facilisis eu, euismod sit amet quam. Sed ultrices est vitae arcu tristique malesuada mattis nibh feugiat. Aliquam libero justo, condimentum ut consectetur facilisis, imperdiet tempus velit. Sed consequat lacinia lacus a eleifend. Cras sed magna sem&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection One.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection One.one.one&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section Two&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Morbi gravida nisi ac metus pulvinar varius. Curabitur cursus libero metus, eu tempus lorem. Ut dictum scelerisque nisl, sit amet adipiscing velit commodo vitae. Donec a turpis enim, quis adipiscing elit. Mauris consequat euismod ligula eu eleifend. Integer nec elit risus. Donec eros nisi, laoreet eget interdum ultricies, elementum at tellus.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection Two.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsection Two.two&amp;lt;/h4&amp;gt; &lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem&amp;lt;ref&amp;gt;Asd adf ilkaa la asdf adf adfa aaa.&amp;lt;/ref&amp;gt; sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 $ &amp;lt;b&amp;gt;quo &amp;lt;var&amp;gt;vadis&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 &amp;lt;var&amp;gt;apoko&amp;lt;/var&amp;gt;      pts/4        A.D. 2012-02-11 13:14 (:0.0)&lt;br /&gt;
 ; son qommone de mal&lt;br /&gt;
 ghande&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Curabitur mattis nisi eu nunc porttitor mattis. Praesent condimentum purus non libero blandit et viverra purus malesuada. Aliquam eget nulla vitae nunc tincidunt faucibus. Vestibulum tempus dui id quam elementum lobortis. Aliquam erat volutpat. Quisque sollicitudin lacinia orci et fringilla. Curabitur risus sem, volutpat non lobortis quis, suscipit a erat. In ac magna leo.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Reference list&amp;lt;/h2&amp;gt;&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;External links&amp;lt;/h2&amp;gt;&lt;br /&gt;
[http://www.example.com/ http://www.example.com/] - lot of goodies&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--- Categories ---&amp;gt;&lt;br /&gt;
[[:Category:Nonsense:]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96033</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96033"/>
		<updated>2012-02-21T15:20:31Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|&lt;br /&gt;
&amp;lt;em&amp;gt;note a priori:&amp;lt;/em&amp;gt; Morbi ac quam risus, ultricies faucibus odio. Fusce eu ultricies velit. Cras lobortis dolor ut leo rhoncus vulputate. Donec eget felis tellus. Duis ac odio vitae eros egestas ornare vel ut leo. Curabitur bibendum, purus sit amet ultrices tincidunt, risus sapien dignissim libero, ac semper erat nunc et nisl. Quisque aliquam ornare blandit.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section One&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Qua soi &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; Aliquam leo augue, posuere eget facilisis eu, euismod sit amet quam. Sed ultrices est vitae arcu tristique malesuada mattis nibh feugiat. Aliquam libero justo, condimentum ut consectetur facilisis, imperdiet tempus velit. Sed consequat lacinia lacus a eleifend. Cras sed magna sem&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection One.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection One.one.one&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section Two&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Morbi gravida nisi ac metus pulvinar varius. Curabitur cursus libero metus, eu tempus lorem. Ut dictum scelerisque nisl, sit amet adipiscing velit commodo vitae. Donec a turpis enim, quis adipiscing elit. Mauris consequat euismod ligula eu eleifend. Integer nec elit risus. Donec eros nisi, laoreet eget interdum ultricies, elementum at tellus.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection Two.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsection Two.two&amp;lt;/h4&amp;gt; &lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 $ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 dodo      pts/4        2012-02-11 13:14 (:0.0)&lt;br /&gt;
 # comment or super user&lt;br /&gt;
 mysql&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Curabitur mattis nisi eu nunc porttitor mattis. Praesent condimentum purus non libero blandit et viverra purus malesuada. Aliquam eget nulla vitae nunc tincidunt faucibus. Vestibulum tempus dui id quam elementum lobortis. Aliquam erat volutpat. Quisque sollicitudin lacinia orci et fringilla. Curabitur risus sem, volutpat non lobortis quis, suscipit a erat. In ac magna leo. &amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96032</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=96032"/>
		<updated>2012-02-21T15:17:15Z</updated>

		<summary type="html">&lt;p&gt;Ratna: V1 for doc forum&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|&lt;br /&gt;
&amp;lt;em&amp;gt;note a priori:&amp;lt;/em&amp;gt; Morbi ac quam risus, ultricies faucibus odio. Fusce eu ultricies velit. Cras lobortis dolor ut leo rhoncus vulputate. Donec eget felis tellus. Duis ac odio vitae eros egestas ornare vel ut leo. Curabitur bibendum, purus sit amet ultrices tincidunt, risus sapien dignissim libero, ac semper erat nunc et nisl. Quisque aliquam ornare blandit.ppear on a yellow background.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section One&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Qua soi &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; Aliquam leo augue, posuere eget facilisis eu, euismod sit amet quam. Sed ultrices est vitae arcu tristique malesuada mattis nibh feugiat. Aliquam libero justo, condimentum ut consectetur facilisis, imperdiet tempus velit. Sed consequat lacinia lacus a eleifend. Cras sed magna sem&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection One.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection One.one.one&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Section Two&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Morbi gravida nisi ac metus pulvinar varius. Curabitur cursus libero metus, eu tempus lorem. Ut dictum scelerisque nisl, sit amet adipiscing velit commodo vitae. Donec a turpis enim, quis adipiscing elit. Mauris consequat euismod ligula eu eleifend. Integer nec elit risus. Donec eros nisi, laoreet eget interdum ultricies, elementum at tellus.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection Two.one&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsection Two.two&amp;lt;/h4&amp;gt; &lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 $ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 dodo      pts/4        2012-02-11 13:14 (:0.0)&lt;br /&gt;
 # comment or super user&lt;br /&gt;
 mysql&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Curabitur mattis nisi eu nunc porttitor mattis. Praesent condimentum purus non libero blandit et viverra purus malesuada. Aliquam eget nulla vitae nunc tincidunt faucibus. Vestibulum tempus dui id quam elementum lobortis. Aliquam erat volutpat. Quisque sollicitudin lacinia orci et fringilla. Curabitur risus sem, volutpat non lobortis quis, suscipit a erat. In ac magna leo. &amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Talk:Installing_Moodle_on_Debian_based_distributions&amp;diff=95914</id>
		<title>Talk:Installing Moodle on Debian based distributions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Talk:Installing_Moodle_on_Debian_based_distributions&amp;diff=95914"/>
		<updated>2012-02-16T17:46:25Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* PHP modules and phpinfo() */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TODO &lt;br /&gt;
Suggest that the mysql secure utility is used. I refer to it in my Amazon EC2 install page. Copy &amp;amp; paste from there.&lt;br /&gt;
Mention the various extra that need to be installed php-pear etc.&lt;br /&gt;
Test php by using a phpinfo page&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Secure MySQL server&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian (and Ubuntu) MySQL server installation prompts the user to set a password for MySQL root. You can see the corr. dialog in the section MySQL, commented as (set the mysql-root password). So &amp;quot;mysqladmin -u root password &#039;new-password&#039;&amp;quot; thing is obsolete.&lt;br /&gt;
[[User:Visvanath Ratnaweera|Visvanath Ratnaweera]] 01:40, 17 February 2012 (WST)&lt;br /&gt;
&lt;br /&gt;
== PHP modules and phpinfo() ==&lt;br /&gt;
&lt;br /&gt;
Yes, the list of the necessary PHP modules is incomplete.&lt;br /&gt;
&lt;br /&gt;
I want to count them seperately for each Moodle version. The list for 1.9 is there, the others will come as I do a test installation for each version.&lt;br /&gt;
&lt;br /&gt;
Yes, I should add the story of &amp;quot;phpinfo();&amp;quot; single liner. Will do.&lt;br /&gt;
&lt;br /&gt;
Thanks for the feedback.&lt;br /&gt;
[[User:Visvanath Ratnaweera|Visvanath Ratnaweera]] 01:46, 17 February 2012 (WST)&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Talk:Installing_Moodle_on_Debian_based_distributions&amp;diff=95913</id>
		<title>Talk:Installing Moodle on Debian based distributions</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Talk:Installing_Moodle_on_Debian_based_distributions&amp;diff=95913"/>
		<updated>2012-02-16T17:40:02Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* &amp;quot;Secure MySQL server&amp;quot; */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;TODO &lt;br /&gt;
Suggest that the mysql secure utility is used. I refer to it in my Amazon EC2 install page. Copy &amp;amp; paste from there.&lt;br /&gt;
Mention the various extra that need to be installed php-pear etc.&lt;br /&gt;
Test php by using a phpinfo page&lt;br /&gt;
&lt;br /&gt;
== &amp;quot;Secure MySQL server&amp;quot; ==&lt;br /&gt;
&lt;br /&gt;
Debian (and Ubuntu) MySQL server installation prompts the user to set a password for MySQL root. You can see the corr. dialog in the section MySQL, commented as (set the mysql-root password). So &amp;quot;mysqladmin -u root password &#039;new-password&#039;&amp;quot; thing is obsolete.&lt;br /&gt;
[[User:Visvanath Ratnaweera|Visvanath Ratnaweera]] 01:40, 17 February 2012 (WST)&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95745</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95745"/>
		<updated>2012-02-11T12:21:41Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;cite&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,&amp;lt;/cite&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;dfn&amp;gt;dsdf&amp;lt;/dfn&amp;gt;dsdfsd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dsdf&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;First Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Ha ha &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; for a &amp;lt;big&amp;gt;biiig&amp;lt;/big&amp;gt; hug.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Second Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sdfds sdfsd sdfsd fdsf sdf&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;code&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
rtn      pts/4        2012-02-11 13:14 (:0.0)&amp;lt;br /&amp;gt;&lt;br /&gt;
# comment or super user&amp;lt;br /&amp;gt;&lt;br /&gt;
mysql&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
rtn      pts/4        2012-02-11 13:14 (:0.0)&lt;br /&gt;
# comment or super user&lt;br /&gt;
mysql&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95744</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95744"/>
		<updated>2012-02-11T12:17:18Z</updated>

		<summary type="html">&lt;p&gt;Ratna: code or pre?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;cite&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,&amp;lt;/cite&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;dfn&amp;gt;dsdf&amp;lt;/dfn&amp;gt;dsdfsd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dsdf&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;First Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Ha ha &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; for a &amp;lt;big&amp;gt;biiig&amp;lt;/big&amp;gt; hug.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Second Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sdfds sdfsd sdfsd fdsf sdf&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;code&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
rtn      pts/4        2012-02-11 13:14 (:0.0)&amp;lt;br /&amp;gt;&lt;br /&gt;
mysql&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;pre&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
rtn      pts/4        2012-02-11 13:14 (:0.0)&amp;lt;br /&amp;gt;&lt;br /&gt;
mysql&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95700</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95700"/>
		<updated>2012-02-07T16:47:23Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;cite&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,&amp;lt;/cite&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;dfn&amp;gt;dsdf&amp;lt;/dfn&amp;gt;dsdfsd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dsdf&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;First Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Ha ha &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; for a &amp;lt;big&amp;gt;biiig&amp;lt;/big&amp;gt; hug.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Second Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sdfds sdfsd sdfsd fdsf sdf&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&amp;lt;code&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
mysql&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95699</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95699"/>
		<updated>2012-02-07T16:37:24Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;cite&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,&amp;lt;/cite&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;dfn&amp;gt;dsdf&amp;lt;/dfn&amp;gt;dsdfsd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dsdf&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;First Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Ha ha &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; for a &amp;lt;big&amp;gt;biiig&amp;lt;/big&amp;gt; hug.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Second Section&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sdfds sdfsd sdfsd fdsf sdf&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Subsubsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
 &amp;lt;code&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 mysql&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95686</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95686"/>
		<updated>2012-02-05T15:16:57Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;cite&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,&amp;lt;/cite&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;dfn&amp;gt;dsdf&amp;lt;/dfn&amp;gt;dsdfsd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dsdf&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Operating System&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Ha ha &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; for a &amp;lt;big&amp;gt;biiig&amp;lt;/big&amp;gt; hug.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Small subsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Web server&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Subsection&amp;lt;/h3&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;sdfds sdfsd sdfsd fdsf sdf&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Small subsection&amp;lt;/h4&amp;gt; &lt;br /&gt;
 &amp;lt;code&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
 mysql&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95685</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95685"/>
		<updated>2012-02-05T15:13:17Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h1&amp;gt;Top Header&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;cite&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,&amp;lt;/cite&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;dfn&amp;gt;dsdf&amp;lt;/dfn&amp;gt;dsdfsd&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dsdf&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;dl&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;dt&amp;gt;dsdf&amp;lt;/dt&amp;gt;&lt;br /&gt;
&amp;lt;dd&amp;gt;sdfsdfsdfsd&amp;lt;/dd&amp;gt;&lt;br /&gt;
&amp;lt;/dl&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Operating System&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Ha ha &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; for a &amp;lt;big&amp;gt;biiig&amp;lt;/big&amp;gt; hug.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Subsection&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Small subsection&amp;lt;/h3&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Smaller subsection&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Web server&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Subsection&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Small subsection&amp;lt;/h3&amp;gt; &lt;br /&gt;
  &amp;lt;code&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
  mysql&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Smaller subsection&amp;lt;/h4&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95684</id>
		<title>User:Visvanath Ratnaweera</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=User:Visvanath_Ratnaweera&amp;diff=95684"/>
		<updated>2012-02-05T11:22:28Z</updated>

		<summary type="html">&lt;p&gt;Ratna: Starting to test MediaWiki HTML compatibility&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;blockquote&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit,&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&amp;lt;blockquote&amp;gt;sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;dsdf&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;cite&amp;gt;Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam,&amp;lt;/cite&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h1&amp;gt;Operating System&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Ha ha &amp;lt;abbr&amp;gt;abbr&amp;lt;/abbr&amp;gt; for a &amp;lt;big&amp;gt;biiig&amp;lt;/big&amp;gt; hug.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Subsection&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Small subsection&amp;lt;/h3&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Smaller subsection&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h1&amp;gt;Web server&amp;lt;/h1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Subsection&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Small subsection&amp;lt;/h3&amp;gt; &lt;br /&gt;
  &amp;lt;code&amp;gt;$ &amp;lt;b&amp;gt;who &amp;lt;var&amp;gt;is there&amp;lt;/var&amp;gt;&amp;lt;/b&amp;gt;&lt;br /&gt;
  mysql&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Smaller subsection&amp;lt;/h4&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=84722</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=84722"/>
		<updated>2011-06-09T11:59:22Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How do I benchmark a Moodle-site? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] forum, the load on the server at a particular time depends on the number of concurrent users, not on the total number of users neither on the number of users logged-in. The term &amp;quot;concurrent users&amp;quot; is used to mean those users for whom the server is actively doing something . It may by processing a webpage written in PHP, querying the database or simply transferring a file. (see also Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency])&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark parts of the system separately: the hardware as seen by the operating system (eg. CPU, disk access), web server performance, database server performance, execution on PHP operations, etc. For further details see [[Performance#Obtain_a_baseline_benchmark]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But there is no easy formula to deduce the maximum number of concurrent users from those results. There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to [http://moodle.org/mod/forum/discuss.php?d=57028&amp;amp;parent=772267|the posting on 25. March 2011].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented under [[Performance#PHP_performance]]. &lt;br /&gt;
&lt;br /&gt;
You find some user suggestions here [http://moodle.org/mod/forum/discuss.php?d=168965 Update on PHP-accelerators].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
[[Moodle_Clusters]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
[[Mirroring_Moodle]]&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=173408&amp;amp;parent=760514  How to Replicate MOODLE ??!!]&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
* networking issues (DNS, firewalls, ...)&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Are you on a dedicated server or a shared (virtual) server?&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users can you support&lt;br /&gt;
* what modules/activities you use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
[[Beginning_Administration_1_FAQ#Installation_on_a_Windows_or_a_Linux_server]]&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
Moodle Docs&lt;br /&gt;
* [[Performance]]&lt;br /&gt;
* [[:Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
Forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;subject=performance All performance related discussions]&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;forumid=33&amp;amp;&amp;amp;subject=performance Performance related discussions in the General Developer forum]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=144718 Handling Moodle database load - a solution!]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_recommendations&amp;diff=82966</id>
		<title>Performance recommendations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_recommendations&amp;diff=82966"/>
		<updated>2011-04-25T10:04:13Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* Web server performance */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Server &amp;gt; Performance&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Moodle can be made to perform very well, at small usage levels or scaling up to many thousands of users. The factors involved in performance are basically the same as for any PHP-based database-driven system. When trying to optimize your server, try to focus on the factor which will make the most difference to the user. For example, if you have relatively more users browsing than accessing the database, look to improve the webserver performance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Obtain a baseline benchmark==&lt;br /&gt;
&lt;br /&gt;
Before attempting any optimization, you should obtain a baseline benchmark of the component of the system you are trying to improve. For Linux try [http://lbs.sourceforge.net/ LBS] and for Windows use the Performance Monitor. Once you have quantitative data about how your system is performing currently, you&#039;ll be able to determine if the change you have made has had any real impact.&lt;br /&gt;
&lt;br /&gt;
The overall aim of adjustments to improve performance is to use RAM (cacheing) and to reduce disk-based activity. It is especially important to try to eliminate swap file usage as much as you can. If your system starts swapping, this is a sign that you need more RAM. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;optimization order preference&#039;&#039;&#039; is usually: primary storage (more RAM), secondary storage (faster hard disks/improved hard disk configuration), processor (more and faster).&lt;br /&gt;
&lt;br /&gt;
==Scalability==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s design (with clear separation of application layers) allows for strongly scalable setups. (Please check the list of [[Large installations|large Moodle installations]].)&lt;br /&gt;
&lt;br /&gt;
Large sites usually separate the web server and database onto separate servers, although for smaller installations this is typically not necessary.&lt;br /&gt;
&lt;br /&gt;
It is possible to load-balance a Moodle installation, for example by using more than one webserver. The separate webservers should query the same database and refer to the same filestore area, but otherwise the separation of the application layers is complete enough to make this kind of clustering feasible. Similarly, the database could be a cluster of servers (e.g. a MySQL cluster), but this is not an easy task and you should seek expert support, e.g. from a Moodle Partner.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also&#039;&#039;&#039;: &lt;br /&gt;
*[[Server cluster]]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=4801 Scalability] forum discussion.&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=57202 Moodle clustering] forum discussion.&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=44470 Software load balancing] forum discussion.&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=49986 TCP load balancing] forum dicsussion.&lt;br /&gt;
&lt;br /&gt;
==Hardware configuration==&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: The fastest and most effective change that you can make to improve performance is to &#039;&#039;&#039;increase the amount of RAM on your web server&#039;&#039;&#039; - get as much as possible (eg 4GB). Increasing primary memory will reduce the need for processes to swap to disk and will enable your server to handle more users.&lt;br /&gt;
* Better performance is gained by obtaining the best &#039;&#039;&#039;processor capability&#039;&#039;&#039; you can, i.e. dual or dual core processors. A modern BIOS should allow you to enable hyperthreading, but check if this makes a difference to the overall performance of the processors by using a [http://en.wikipedia.org/wiki/Super_PI CPU benchmarking tool].&lt;br /&gt;
* If you can afford them, use &#039;&#039;&#039;SCSI hard disks&#039;&#039;&#039; instead of SATA drives. SATA drives will increase your system&#039;s CPU utilization, whereas SCSI drives have their own integrated processors and come into their own when you have multiple drives. If you must have SATA drives, check that your motherboard and the drives themselves support NCQ (Native Command Queuing).&lt;br /&gt;
* Purchase hard disks with a &#039;&#039;&#039;low seek time&#039;&#039;&#039;. This will improve the overall speed of your system, especially when accessing Moodle&#039;s reports.&lt;br /&gt;
* Size your &#039;&#039;&#039;swap file&#039;&#039;&#039; correctly. The general advice is to set it to 4 x physical RAM.&lt;br /&gt;
* Use a &#039;&#039;&#039;RAID disk system&#039;&#039;&#039;. Although there are many different RAID configurations you can create, the following generally works best:&lt;br /&gt;
** install a hardware RAID controller (if you can)&lt;br /&gt;
** the operating system and swap drive on one set of disks configured as RAID-1.&lt;br /&gt;
** Moodle, Web server and Database server on another set of disks configured as RAID-5.&lt;br /&gt;
* Use &#039;&#039;&#039;gigabit ethernet&#039;&#039;&#039; for improved latency and throughput. This is especially important when you have your webserver and database server separated out on different hosts.&lt;br /&gt;
* Check the settings on your &#039;&#039;&#039;network card&#039;&#039;&#039;. You may get an improvement in performance by increasing the use of buffers and transmit/receive descriptors (balance this with processor and memory overheads) and off-loading TCP checksum calculation onto the card instead of the OS.&lt;br /&gt;
*  Read this [http://moodle.org/mod/forum/discuss.php?d=68579 Case Study] on a server stress test with 300 users.  &lt;br /&gt;
* See this [http://elearning.sgu.ac.jp/doc/PT/ accompanying report] on network traffic and server loads.&lt;br /&gt;
* See the [[Moodle.org configuration]]&lt;br /&gt;
* Also see this SFSU presentation at Educause (using VMWare): [http://www.educause.edu/Resources/AnOpenSourceLMSforaMissionCrit/162843]&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
* You can use [http://en.wikipedia.org/wiki/Linux Linux](recommended), Unix-based, Windows or Mac OS X for the server &#039;&#039;&#039;operating system&#039;&#039;&#039;. *nix operating systems generally require less memory than Mac OS X or Windows servers for doing the same task as the server is configured with just a shell interface. Additionally Linux does not have licensing fees attached, but can have a big learning curve if you&#039;re used to another operating system. If you have a large number of processors running SMP, you may also want to consider using a highly tuned OS such as [http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris].&lt;br /&gt;
* Check your own OS and &#039;&#039;&#039;vendor specific instructions&#039;&#039;&#039; for optimization steps.&lt;br /&gt;
** For Linux look at the [http://linuxperf.sourceforge.net/ Linux Performance Team] site. &lt;br /&gt;
** For Linux investigate the hdparm command, e.g. hdparm -m16 -d1 can be used to enable read/write on multiple sectors and DMA. Mount disks with the async and noatime options.&lt;br /&gt;
** For Windows set the sever to be optimized for network applications (Control Panel, Network Connections, LAN connection, Properties, File &amp;amp; Printer Sharing for Microsoft Networks, Properties, Optimization). You can also search the [http://technet.microsoft.com/ Microsoft TechNet site] for optimization documents.&lt;br /&gt;
&lt;br /&gt;
==Web server performance==&lt;br /&gt;
&lt;br /&gt;
Installing [http://www.mozilla.com/en-US/ Firefox] and the [https://addons.mozilla.org/en-US/firefox/addon/1843 firebug] extension will allow you to watch the time it takes for each page component to load. Also, the [https://addons.mozilla.org/en-US/firefox/addon/5369 Yslow] extension will evaluate your page against Yahoo&#039;s [http://www.skrenta.com/2007/05/14_rules_for_fast_web_pages_by_1.html 14 rules], full text [http://developer.yahoo.com/performance/rules.html Best Practices for Speeding Up Your Web Site], &amp;lt;strike&amp;gt;([http://video.yahoo.com/video/play?vid=1040890 video])&amp;lt;/strike&amp;gt; for fast loading websites.&lt;br /&gt;
&lt;br /&gt;
===PHP performance===&lt;br /&gt;
* You are strongly recommended to use a &#039;&#039;&#039;PHP accelerator&#039;&#039;&#039; to ease CPU load, such as [http://pecl.php.net/apc APC], [http://www.php-accelerator.co.uk/ PHPA], [http://trac.lighttpd.net/xcache/ Xcache] or [http://eaccelerator.net/ eAccelerator]. (Take care to choose a PHP accelerator that is known to work well with your version of PHP and note that Turck MMCache is [http://turckmmcache.exeprod.com/TheManifestoEnglish no longer maintained] and can cause failures with PHP 5). &lt;br /&gt;
* Improvements in read/write performance can be improved by putting the cached PHP pages on a [[TMPFS]] filesystem - but remember that you&#039;ll lose the cache contents when there is a power failure or the server is rebooted.&lt;br /&gt;
* Performance of PHP is better when installed as an &#039;&#039;&#039;Apache/IIS ISAPI module&#039;&#039;&#039; (rather than a CGI).&lt;br /&gt;
* Also check the &#039;&#039;&#039;memory_limit&#039;&#039;&#039; in php.ini, reduce it to 16M for Moodle version earlier than 1.7 ([http://moodle.org/mod/forum/discuss.php?d=39656 See this forum discussion]). For Moodle 1.7 or later, it is recommended that the value of memory_limit should be 40M. As of [http://www.php.net/ChangeLog-5.php PHP 5.2.1] the default value for the memory_limit directive is 128M.&lt;br /&gt;
* Also see [[PHP_settings_by_Moodle_version]]&lt;br /&gt;
&lt;br /&gt;
===Install HowTo===&lt;br /&gt;
* [http://2bits.com/articles/installing-php-apc-gnulinux-centos-5.html APC on CentOS 5.x (linux)]&lt;br /&gt;
* [http://fplanque.com/dev/linux/install-apc-php-cache-debian-lenny APC on Debian (linux)]&lt;br /&gt;
* [http://www.linuxtuts.net/211-installing-memcached-php5-memcache-module-debian-apache2.html MemCache module on Debian (Apache2 and PHP5) ]&lt;br /&gt;
* [http://noveckg.blogspot.com/2010/03/installing-memcached-on-centos-5x.html Installing Memcache on CentOS 5.x (linux)]&lt;br /&gt;
* [http://noveckg.blogspot.com/2010/02/installing-eaccelerator-cache-for-php.html Installing eAccelerator on CentOS 5.x (linux)]&lt;br /&gt;
* [https://docs.moodle.org/en/Installing_eAccelerator_In_Ubuntu_Server/ Installing eAccelerator on Ubuntu Server (linux)]&lt;br /&gt;
&lt;br /&gt;
===Apache performance===&lt;br /&gt;
* If you are using Apache on a Windows server, use the build from [http://www.apachelounge.com Apache Lounge] which is reported to have [http://moodle.org/mod/forum/discuss.php?d=93358 performance and stability improvements] compared to the official Apache download. Note that this is an unofficial build, so may not keep up with official releases.&lt;br /&gt;
* Set the &#039;&#039;&#039;MaxClients&#039;&#039;&#039; directive correctly. Use this formula to help (which uses 80% of available memory to leave room for spare):&lt;br /&gt;
 MaxClients = Total available memory * 80% / Max memory usage of apache process&lt;br /&gt;
:Memory usage of apache process is usually 10MB, so a general rule of thumb is to divide your available memory in megabytes by 10 to get the value of MaxClients. To find the max memory usage of apache processes read the value from the shell command:&lt;br /&gt;
 #ps -ylC httpd --sort:rss&lt;br /&gt;
&lt;br /&gt;
:If you need to increase the value of &#039;&#039;&#039;MaxClients&#039;&#039;&#039; beyond 256, you will also need to set the &#039;&#039;&#039;ServerLimit&#039;&#039;&#039; directive. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: Do not be tempted to set the value of MaxClients higher than your available memory as your server will consume more RAM than available and start to swap to disk. &lt;br /&gt;
* Consider reducing the &#039;&#039;&#039;number of modules&#039;&#039;&#039; that Apache loads in the httpd.conf file to the minumum necessary to reduce the memory needed. &lt;br /&gt;
* Use the &#039;&#039;&#039;latest version of Apache&#039;&#039;&#039; - Apache 2 has an improved memory model which reduces memory usage further.&lt;br /&gt;
* For Unix/Linux systems, consider lowering &#039;&#039;&#039;MaxRequestsPerChild&#039;&#039;&#039; in httpd.conf to as low as 20-30 (if you set it any lower the overhead of forking begins to outweigh the benefits). &lt;br /&gt;
* For a heavily loaded server, consider setting &#039;&#039;&#039;KeepAlive Off&#039;&#039;&#039; (do this only if your Moodle pages do not contain links to resources or uploaded images) or lowering the &#039;&#039;&#039;KeepAliveTimeout&#039;&#039;&#039; to between 2 and 5. The default is 15 (seconds) - the higher the value the more server processes will be kept waiting for possibly idle connections. A more accurate value for KeepAliveTimeout is obtained by observing how long it takes your users to download a page. After altering any of the KeepAlive variables, monitor your CPU utilization as there may be an additional overhead in initiating more worker processes/threads.&lt;br /&gt;
* A warning about the previous performance tip.  Microsoft Internet Explorer has a (little) known bug that causes seriously problems with SSL-enabled Apache websites.   The issue is that if a web server&#039;s KeepAlive timeout is set to less than 60 seconds (say to the default of 15 seconds), MSIE can get confused about whether a keep-alive connection is available or not.  As a result, any browser POST requests (which always use a keep-alive if available) will fail to reach the server.  This is easily reproduced with postings to the Moodle forums.   Using MSIE, connect to an ssl-enabled Moodle site.  Write a quick forum post, and submit it when the form has been displayed for between 15 seconds and 60 seconds.   You will see a browser error message, and your post content will be lost.  In some cases, doing this will even crash the Windows TCP stack on the client machine. &#039;&#039;&#039; So, if your site is SSL-enabled, and you use Apache, you should set the KeepAliveTimeout to at least 60 seconds&#039;&#039;&#039;.&lt;br /&gt;
* As an alternative to using KeepAlive Off, consider setting-up a &#039;&#039;&#039;Reverse Proxy server&#039;&#039;&#039; infront of the Moodle server to cache HTML files with images. You can then return Apache to using keep-alives on the Moodle server.&lt;br /&gt;
* If you do not use a .htaccess file, set the &#039;&#039;&#039;AllowOverride&#039;&#039;&#039; variable to AllowOverride None to prevent .htaccess lookups.&lt;br /&gt;
* Set &#039;&#039;&#039;DirectoryIndex&#039;&#039;&#039; correctly so as to avoid content-negotiation. Here&#039;s an example from a production server:&lt;br /&gt;
 DirectoryIndex index.php index.html index.htm&lt;br /&gt;
* Unless you are doing development work on the server, set &#039;&#039;&#039;ExtendedStatus Off&#039;&#039;&#039; and disable mod_info as well as mod_status.&lt;br /&gt;
* Leave &#039;&#039;&#039;HostnameLookups Off&#039;&#039;&#039; (as default) to reduce DNS latency.&lt;br /&gt;
* Consider reducing the value of &#039;&#039;&#039;TimeOut&#039;&#039;&#039; to between 30 to 60 (seconds). &lt;br /&gt;
* For the &#039;&#039;&#039;Options directive&#039;&#039;&#039;, avoid Options Multiviews as this performs a directory scan. To reduce disk I/O further use&lt;br /&gt;
 Options -Indexes FollowSymLinks&lt;br /&gt;
*&#039;&#039;&#039;Caching (unsupported)&#039;&#039;&#039; - &#039;&#039;Please note that this kind of caching may create major problems during upgrades.&#039;&#039; Apache can be told to make pages load a lot faster by specifying that the browser should cache some various page elements such as images and reuse them from local memory rather than ask for them again every time a page is requested. How to do this varies slightly between OSes but there are two basic steps:&lt;br /&gt;
&lt;br /&gt;
# Install and enable mod_expires - refer to documentation or man pages&lt;br /&gt;
# Add this code to the virtual server config file within the &amp;lt;directory&amp;gt; section for the root directory (or within the .htaccess file if AllowOverrides is On):&lt;br /&gt;
 &amp;lt;IfModule mod_expires.c&amp;gt;&lt;br /&gt;
  ExpiresActive On&lt;br /&gt;
  ExpiresDefault &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType text/html &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType image/gif &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/jpeg &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/png &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/css &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType application/x-javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/xml &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The effect is to make everything stay in the cache except HTML and XML, which change dynamically. It&#039;s possible to gain a several hundred percent decrease in load times this way. Adjust the cache times according to how often your images etc change.&lt;br /&gt;
&lt;br /&gt;
* Compression reduces response times by reducing the size of the HTTP response&lt;br /&gt;
# Install and enable mod_deflate - refer to documentation or man pages&lt;br /&gt;
# Add this code to the virtual server config file within the &amp;lt;directory&amp;gt; section for the root directory (or within the .htaccess file if AllowOverrides is On):&lt;br /&gt;
 &amp;lt;ifModule mod_deflate.c&amp;gt;&lt;br /&gt;
   AddOutputFilterByType DEFLATE text/html text/plain text/xml&lt;br /&gt;
 &amp;lt;/ifmodule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
More info: [http://www.metaskills.net/blog/heuristics/sysadmin/how-to-control-browser-caching-with-apache-2 www.metaskills.net]&lt;br /&gt;
&lt;br /&gt;
===IIS performance===&lt;br /&gt;
All alter this location in the registry:&lt;br /&gt;
 HKLM\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters\&lt;br /&gt;
* The equivalent to KeepAliveTimeout is &#039;&#039;&#039;ListenBackLog&#039;&#039;&#039; (IIS - registry location is HKLM\ SYSTEM\ CurrentControlSet\ Services\ Inetinfo\ Parameters). Set this to between 2 to 5.&lt;br /&gt;
*Change the &#039;&#039;&#039;MemCacheSize&#039;&#039;&#039; value to adjust the amount of memory (Mb) that IIS will use for its file cache (50% of available memory by default).&lt;br /&gt;
*Change the &#039;&#039;&#039;MaxCachedFileSize&#039;&#039;&#039; to adjust the maximum size of a file cached in the file cache in bytes. Default is 262,144 (256K).&lt;br /&gt;
*Create a new DWORD called &#039;&#039;&#039;ObjectCacheTTL&#039;&#039;&#039; to change the length of time (in milliseconds) that objects in the cache are held in memory. Default is 30,000 milliseconds (30 seconds).&lt;br /&gt;
&lt;br /&gt;
===Lighttpd, NginX and Cherokee performance===&lt;br /&gt;
You can increase server performance by using a &#039;&#039;&#039;light-weight&#039;&#039;&#039; webserver like [http://www.lighttpd.net/ lighttpd],  [http://nginx.net/ nginx] or [http://www.cherokee-project.com/ cherokee] in combination with PHP in FastCGI-mode. Lighttpd was originally created as a proof-of-concept[http://www.lighttpd.net/story] to address the [http://www.kegel.com/c10k.html C10k problem] and while primarily recommended for memory-limited servers, its design origins and asynchronous-IO model make it a suitable and proven[http://blog.lighttpd.net/articles/2006/12/28/lighttpd-powers-5-alexa-top-250-sites] alternative HTTP server for high-load websites and web apps, including Moodle. See the [[lighttpd | MoodleDocs Lighttpd page]] for additional information, configuration example and links.&lt;br /&gt;
&lt;br /&gt;
Alternatively, both [http://www.lighttpd.net/ lighttpd] and [http://nginx.net/ nginx] are capable of performing as a load-balancer and/or reverse-proxy to alleviate load on back-end servers[http://www.linuxjournal.com/article/10108], providing benefit without requiring an actual software change on existing servers.&lt;br /&gt;
&lt;br /&gt;
Do note that these are likely to be the least tested server environments of all particularly if you are using advanced features such as web services and/or Moodle Networking. They are probably best considered for heavily used Moodle sites with relatively simple configurations.&lt;br /&gt;
&lt;br /&gt;
==Database performance==&lt;br /&gt;
&lt;br /&gt;
Moodle contains a script which will display some key database performance statistics from the [http://phplens.com/lens/adodb/docs-perf.htm ADOdb performance monitor]. Run the script in your browser as in the following example:&lt;br /&gt;
&lt;br /&gt;
 http://www.mymoodle.com/admin/dbperformance.php&lt;br /&gt;
&lt;br /&gt;
Use the data displayed as a guide to tune and improve the performance of your database server.&lt;br /&gt;
&lt;br /&gt;
===MySQL performance===&lt;br /&gt;
&lt;br /&gt;
The following are MySQL specific settings which can be adjusted for better performance in your my.cnf (my.ini in Windows). The file contains a list of settings and their values. To see the current values use these commands&lt;br /&gt;
 SHOW STATUS;&lt;br /&gt;
 SHOW VARIABLES; &lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: You must make backups of your database before attempting to change any MySQL server configuration. After any change to the my.cnf, restart mysqld.&lt;br /&gt;
&lt;br /&gt;
If you are able, the [http://mysqltuner.com/ MySQLTuner] tool can be run against your MySQL server and will calculate appropriate configuration values for most of the following settings based on your current load, status and variables automatically.&lt;br /&gt;
&lt;br /&gt;
* Enable the &#039;&#039;&#039;query cache&#039;&#039;&#039; with &lt;br /&gt;
 query_cache_type = 1. &lt;br /&gt;
For most Moodle installs, set the following:&lt;br /&gt;
 query_cache_size = 36M &lt;br /&gt;
 query_cache_min_res_unit = 2K. &lt;br /&gt;
The query cache will improve performance if you are doing few updates on the database. &lt;br /&gt;
* Set the &#039;&#039;&#039;table cache&#039;&#039;&#039; correctly. For Moodle 1.6 set &lt;br /&gt;
 table_cache = 256 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min), and for Moodle 1.7 set &lt;br /&gt;
 table_cache = 512 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min). The table cache is used by all threads (connections), so monitor the value of opened_tables to further adjust - if opened_tables &amp;gt; 3 * table_cache(table_open_cache in MySQL &amp;gt; 5.1.2) then increase table_cache upto your OS limit. Note also that the figure for table_cache will also change depending on the number of modules and plugins you have installed. Find the number for your server by executing the mysql statement below. Look at the number returned and set table_cache to this value.&lt;br /&gt;
 mysql&amp;gt;SELECT COUNT(table_name) FROM information_schema.tables WHERE table_schema=&#039;yourmoodledbname&#039;;&lt;br /&gt;
* Set the &#039;&#039;&#039;thread cache&#039;&#039;&#039; correctly. Adjust the value so that your thread cache utilization is as close to 100% as possible by this formula:&lt;br /&gt;
 thread cache utilization (%) = (threads_created / connections) * 100&lt;br /&gt;
* The &#039;&#039;&#039;key buffer&#039;&#039;&#039; can improve the access speed to Moodle&#039;s SELECT queries. The correct size depends on the size of the index files (.myi) and in Moodle 1.6 or later (without any additional modules and plugins), the recommendation for this value is key_buffer_size = 32M. Ideally you want the database to be reading once from the disk for every 100 requests so monitor that the value is suitable for your install by adjusting the value of key_buffer_size so that the following formulas are true:&lt;br /&gt;
 key_read / key_read_requests &amp;lt; 0.01&lt;br /&gt;
 key_write / key_write_requests &amp;lt;= 1.0&lt;br /&gt;
* Set the &#039;&#039;&#039;maximum number of connections&#039;&#039;&#039; so that your users will not see a &amp;quot;Too many connections&amp;quot; message. Be careful that this may have an impact on the total memory used. MySQL connections usually last for milliseconds, so it is unusual even for a heavily loaded server for this value to be over 200.&lt;br /&gt;
* Manage &#039;&#039;&#039;high burst activity&#039;&#039;&#039;. If your Moodle install uses a lot of quizzes and you are experiencing performance problems (check by monitoring the value of threads_connected - it should not be rising) consider increasing the value of back_log.&lt;br /&gt;
* &#039;&#039;&#039;Optimize your tables weekly and after upgrading Moodle&#039;&#039;&#039;. It is good practice to also optimize your tables after performing a large data deletion exercise, e.g. at the end of your semester or academic year. This will ensure that index files are up to date. Backup your database first and then use:&lt;br /&gt;
 mysql&amp;gt;CHECK TABLE mdl_tablename;&lt;br /&gt;
 mysql&amp;gt;OPTIMIZE TABLE mdl_tablename;&lt;br /&gt;
:The common tables in Moodle to check are mdl_course_sections, mdl_forum_posts, mdl_log and mdl_sessions (if using dbsessions). Any errors need to be corrected using REPAIR TABLE (see the [http://dev.mysql.com/doc/refman/5.0/en/repair-table.html MySQL manual] and this [http://moodle.org/mod/forum/discuss.php?d=58208#p279638 forum script]).&lt;br /&gt;
* &#039;&#039;&#039;Maintain the key distribution&#039;&#039;&#039;. Every month or so it is a good idea to stop the mysql server and run these myisamchk commands.&lt;br /&gt;
 #myisamchk -a -S /pathtomysql/data/moodledir/*.MYI&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: You must stop the mysql database process (mysqld) before running any myisamchk command. If you do not, you risk data loss.&lt;br /&gt;
* Reduce the number of &#039;&#039;&#039;temporary tables saved to disk&#039;&#039;&#039;. Check this with the created_tmp_disk_tables value. If this is relatively large (&amp;gt;5%) increase tmp_table_size until you see a reduction. Note that this will have an impact on RAM usage.&lt;br /&gt;
&lt;br /&gt;
===PostgreSQL performance===&lt;br /&gt;
&lt;br /&gt;
There are some good papers around on tuning PostgreSQL, and Moodle&#039;s case does not seem to be different to the general case.&lt;br /&gt;
&lt;br /&gt;
The first thing to recognise is that if you really need to worry about tuning you should be using a separate machine for the database server. If you are not using a separate machine then the answers to many performance questions are substantially muddied by the memory requirements of the rest of the application.&lt;br /&gt;
&lt;br /&gt;
You should probably &#039;&#039;&#039;enable autovacuum&#039;&#039;&#039;, unless you know what you are doing. Many e-learning sites have predictable periods of low use, so disabling autovacuum and running a specific vacuum at those times can be a good option. Or perhaps leave autovacuum running but do a full vacuum weekly in a quiet period.&lt;br /&gt;
&lt;br /&gt;
Set &#039;&#039;&#039;shared_buffers&#039;&#039;&#039; to something reasonable. For versions up to 8.1 my testing has shown that peak performance is almost always obtained with buffers &amp;lt; 10000, so if you are using such a version, and have more than 512M of RAM just set shared_buffers to 10,000 (8MB).&lt;br /&gt;
&lt;br /&gt;
The buffer management had a big overhaul in 8.2 and &amp;quot;reasonable&amp;quot; is now a much larger number. I have not conducted performance tests with 8.2, but the recommendations from others are generally that you should now scale shared_buffers much more with memory and may continue to reap benefits even up to values like 100,000 (80MB). Consider using 1-2% of system RAM.&lt;br /&gt;
&lt;br /&gt;
PostgreSQL will also assume that the operating system is caching its files, so setting &#039;&#039;&#039;effective_cache_size&#039;&#039;&#039; to a reasonable value is also a good idea. A reasonable value will usually be (total RAM - RAM in use by programs). If you are running Linux and leave the system running for a day or two you can look at &#039;free&#039; and under the &#039;cached&#039; column you will see what it currently is. Consider taking that number (which is kB) and dividing it by 10 (i.e. allow 20% for other programs cache needs and then divide by 8 to get pages). If you are not using a dedicated database server you will need to decrease that value to account for usage by other programs.&lt;br /&gt;
&lt;br /&gt;
Some other useful parameters that can have positive effects, and the values I would typically set them to on a machine with 4G RAM, are:&lt;br /&gt;
&lt;br /&gt;
 work_mem = 10240&lt;br /&gt;
&lt;br /&gt;
That&#039;s 10M of RAM to use instead of on-disk sorting and so forth. That can give a big speed increase, but it is per connection and 200 connections * 10M is 2G, so it can theoretically chew up a lot of RAM.&lt;br /&gt;
&lt;br /&gt;
 maintenance_work_mem = 163840&lt;br /&gt;
&lt;br /&gt;
That&#039;s 160M of RAM which will be used by (e.g.) VACUUM, index rebuild, cluster and so forth. This should only be used periodically and should be freed when those processes exit, so I believe it is well worth while.&lt;br /&gt;
&lt;br /&gt;
 max_fsm_pages = 100000&lt;br /&gt;
 max_fsm_relations = 5000&lt;br /&gt;
&lt;br /&gt;
These are used to hold the free-space map, and if they are too small you will see performance degradation after the database has been operating for some time. The exact numbers to set can be gleaned from the output of VACUUM VERBOSE, which prints the required FSM pages at the end of it&#039;s run. The 5x increase seems to be useful for a Moodle installation, from experience.&lt;br /&gt;
&lt;br /&gt;
 wal_buffers = 64&lt;br /&gt;
&lt;br /&gt;
These buffers are used for the write-ahead log, and there have been a number of reports on the PostgreSQL mailing lists of improvement from this level of increase.&lt;br /&gt;
&lt;br /&gt;
This is a little out of date now (version 8.0) but still worth a read: http://www.powerpostgresql.com/Docs&lt;br /&gt;
&lt;br /&gt;
And there is lots of good stuff here as well: http://www.varlena.com/GeneralBits/Tidbits/index.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Based on Andrew McMillan&#039;s post at [http://moodle.org/mod/forum/discuss.php?d=68558 Tuning PostgreSQL] forum thread.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Other database performance links===&lt;br /&gt;
* Consider using a &#039;&#039;&#039;distributed cacheing system&#039;&#039;&#039; like [http://en.wikipedia.org/wiki/Memcached memcached] but note that memcached does not have any security features so it should be used behind a firewall.&lt;br /&gt;
* Consider using PostgreSQL. See [[Arguments in favour of PostgreSQL]] and [http://moodle.org/mod/forum/discuss.php?d=49195 how to migrate from MySQL to PostgreSQL] (forum discussion).&lt;br /&gt;
* [[Increasing the database connection lifetime | Try increasing the database connection lifetime]]&lt;br /&gt;
* [http://dev.mysql.com/doc/refman/5.0/en/server-parameters.html General advice on tuning MySQL parameters] (advice from the MySQL manual)&lt;br /&gt;
* [http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/ InnoDB performance optimization] taken from the [http://www.mysqlperformanceblog.com/ MySQL performance blog] site.&lt;br /&gt;
&lt;br /&gt;
==Moodle Admin settings==&lt;br /&gt;
* In Moodle 1.7 or later, set the &#039;&#039;&#039;Cache type&#039;&#039;&#039; for your server: Site Admin -&amp;gt; Server -&amp;gt; Performance -&amp;gt; Cache type. There are several options available. &lt;br /&gt;
:*If you do not have eaccelerator or mmemcached installed, choose &amp;quot;internal&amp;quot; (which makes use of the record/internal cache - see the next bullet point). &lt;br /&gt;
:* If you have a single server and have compiled &#039;&#039;&#039;eaccelerator with shared memory support&#039;&#039;&#039;, set the cache type to the eaccelerator option. &lt;br /&gt;
:* If you have a &#039;&#039;&#039;separate memcached server&#039;&#039;&#039;, set the cache type to memcached and enter a csv list of server IP addresses.&lt;br /&gt;
* Enable the &#039;&#039;&#039;record/internal cache&#039;&#039;&#039;: Site Admin -&amp;gt; Server -&amp;gt; Performance -&amp;gt; Record cache = True. Set the maximum amount of memory allocated to the cache in the Int Cache Max box. This will enable a primary cache for database records, without using any database engine cache, e.g. MySQL/PostgreSQL cache. See [http://tracker.moodle.org/browse/MDL-7196 this Tracker entry] for a full discussion.&lt;br /&gt;
* Enable the &#039;&#039;&#039;language cache&#039;&#039;&#039;.&lt;br /&gt;
* Large log files can cause overall performance to degrade over time. If you observe that the site has gradually got slower loading pages in the browser, &#039;&#039;&#039;reduce your Log life time&#039;&#039;&#039; setting (Admin/Server/Cleanup).&lt;br /&gt;
* Performance can be greatly improved by allowing Moodle to use the system &#039;&#039;&#039;zip/unzip&#039;&#039;&#039; commands (rather than PHP-based zip libraries) - visit Admin/Server/System Paths and enter the path to the relevant executables. (Similarly, filling in the path to &#039;&#039;&#039;du&#039;&#039;&#039; will improve Moodle&#039;s speed at listing directory contents.)&lt;br /&gt;
* Note that using &#039;&#039;&#039;secure web connections&#039;&#039;&#039; (&#039;&#039;&#039;https&#039;&#039;&#039; rather than &#039;&#039;&#039;http&#039;&#039;&#039;) carries a higher processing burden, both for the webserver and the client - particularly because cacheing cannot be used as effectively, so the number of file requests is likely to increase dramatically. For this reason using https for all Moodle pages is not recommended. You can enable https just for the login screen, simply from Moodle&#039;s config page.&lt;br /&gt;
* Check your &#039;&#039;&#039;filters&#039;&#039;&#039;. Having too many filters active can have serious effects on server load, especially on lower-end systems. The number of active filters has a direct effect on the perceived latency of your site; that is the time taken for each page impression. &lt;br /&gt;
* Enable the &#039;&#039;&#039;text cache&#039;&#039;&#039; but do not &amp;quot;Filter all strings&amp;quot; unless you have a specific need. If in doubt profile the performance, and see how your changes affect the processing time.&lt;br /&gt;
* Check your &#039;&#039;&#039;anti-virus&#039;&#039;&#039; measures on the server.  Although they are useful for preventing security holes being exploited, some &amp;quot;On-Demand&amp;quot; scanners can affect performance by scanning page content (word, ppt files etc).&lt;br /&gt;
* If there are performance problems loading course pages, check the &#039;&#039;&#039;Resource module settings&#039;&#039;&#039;. The setting resource_filterexternalpages is known to slow-down course pages and should be set to &#039;No&#039; for better performance.&lt;br /&gt;
* Check your &#039;&#039;&#039;forum settings&#039;&#039;&#039;. To improve performance set forum_trackreadposts = No and forum_usermarksread = Yes (this will impact on the convenience of your users&#039; forum experience). Also consider setting the time of the day when old posts are cleared from the read table (forum_cleanreadtime) to when your site is less busy.&lt;br /&gt;
* Don&#039;t use database sessions unless you really need them. On-disc sessions tend to be much faster.&lt;br /&gt;
&lt;br /&gt;
==Performance of different Moodle modules==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s activity modules, filters, and other plugins can be activated/deactivated. If necessary, you may wish to deactivate some features (such as chat) if not required - but this isn&#039;t necessary. Some notes on the performance of certain modules:&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Chat&#039;&#039;&#039; module is [http://moodle.org/mod/forum/discuss.php?d=37979&amp;amp;parent=175079 said] to be a hog in terms of frequent HTTP requests to the main server. This can be reduced by setting the module to use &#039;&#039;Streamed&#039;&#039; updates, or, if you&#039;re using a Unix-based webserver, by running the chat in daemon mode. When using the Chat module use the configuration settings to tune for your expected load. Pay particular attention to the &#039;&#039;chat_old_ping&#039;&#039; and &#039;&#039;chat_refresh&#039;&#039; parameters as these can have greatest impact on server load.&lt;br /&gt;
* The &#039;&#039;&#039;Quiz&#039;&#039;&#039; module is known to stretch database performance. Try to optimise your database server by tuning. See [http://moodle.org/mod/forum/discuss.php?d=25616&amp;amp;parent=120770 for a brief report on performance for 55 students simultaneously using quizzes]&lt;br /&gt;
** See this Case Study for an extensive server stress test with 300 quiz users.[http://moodle.org/mod/forum/discuss.php?d=68579]  And this accompanying report on network traffic and server loads. [http://elearning.sgu.ac.jp/doc/PT/]&lt;br /&gt;
* The Moodle &#039;&#039;&#039;Cron&#039;&#039;&#039; task is triggered by calling the script &#039;&#039;cron.php&#039;&#039;. If this is called over HTTP (e.g. using wget or curl) it can take a large amount of memory on large installations. If it is called by directly invoking the php command (e.g. &#039;&#039;php -f /path/to/moodle/directory/admin/cron.php&#039;&#039;) efficiency can be much improved.&lt;br /&gt;
* The &#039;&#039;&#039;Recent activities&#039;&#039;&#039; block is consuming to much resources if you have huge number of records &amp;lt;code&amp;gt;mdl_log&amp;lt;/code&amp;gt;. this is being tested to optimize the SQL query.&lt;br /&gt;
&lt;br /&gt;
==Moodle Image Optimization==&lt;br /&gt;
&lt;br /&gt;
The base images delivered in the original Moodle distribution package provide unoptimized graphics, most of which can benefit from lossless recompression utilizing [http://optipng.sourceforge.net/ optipng] for PNGs, [http://www.lcdf.org/gifsicle/ gifsicle] for GIFs and [http://www.kokkonen.net/tjko/projects.html jpegoptim] for JPGs.  Optimized graphics transfer faster and provide a faster perceived response for clients[http://www.websiteoptimization.com/speed/12/], especially distance learners.  The following example will recursively optimize (without any loss of quality) all the graphics and image files included in a base Moodle installation directory on a server with the above commands installed and available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.png -exec optipng -o7 {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.gif -exec gifsicle -O2 -b {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.jpg -exec jpegoptim -p {} \;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both [http://optipng.sourceforge.net/ optipng] and [http://www.lcdf.org/gifsicle/ gifsicle] are provided in the base repositories of most newer Linux distributions; [http://www.kokkonen.net/tjko/projects.html jpegoptim] must be downloaded and installed manually.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Performance FAQ]]&lt;br /&gt;
*Using Moodle: [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance] forum&lt;br /&gt;
&lt;br /&gt;
There have been a lot of discussions on moodle.org about performance, here are some of the more interesting and (potentially) useful ones:&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=83057 Performance woes!]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=88927 Comments on planned server hardware]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978#p461624 Moodle performance in a pil by Martin Langhoff]&lt;br /&gt;
[[Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
[[es:Rendimiento]]&lt;br /&gt;
[[fr:Performance]]&lt;br /&gt;
[[ja:パフォーマンス]]&lt;br /&gt;
[[pl:Wydajnosc]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=82965</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=82965"/>
		<updated>2011-04-25T09:55:39Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* Which operating system is the best? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] forum, the load on the server at a particular time depends on the number of concurrent users, not on the total number of users neither on the number of users logged-in. The term &amp;quot;concurrent users&amp;quot; is used to mean those users for whom the server is actively doing something . It may by processing a webpage written in PHP, querying the database or simply transferring a file. (see also Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency])&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark parts of the system separately: hardware as seen by the operating system (eg. disk access speed), web server performance, database server performance, execution of PHP, etc. For further information see [[Performance#Obtain_a_baseline_benchmark]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But there is no easy formula to deduct the maximum number of concurrent users from those results. There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 the posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented under [[Performance#PHP_performance]]. &lt;br /&gt;
&lt;br /&gt;
You find some user suggestions here [http://moodle.org/mod/forum/discuss.php?d=168965 Update on PHP-accelerators].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
[[Moodle_Clusters]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
[[Mirroring_Moodle]]&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=173408&amp;amp;parent=760514  How to Replicate MOODLE ??!!]&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
* networking issues (DNS, firewalls, ...)&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Are you on a dedicated server or a shared (virtual) server?&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users can you support&lt;br /&gt;
* what modules/activities you use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
[[Beginning_Administration_1_FAQ#Installation_on_a_Windows_or_a_Linux_server]]&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
Moodle Docs&lt;br /&gt;
* [[Performance]]&lt;br /&gt;
* [[:Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
Forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;subject=performance All performance related discussions]&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;forumid=33&amp;amp;&amp;amp;subject=performance Performance related discussions in the General Developer forum]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=144718 Handling Moodle database load - a solution!]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=82964</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=82964"/>
		<updated>2011-04-25T09:49:17Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How do I replicate Moodle? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] forum, the load on the server at a particular time depends on the number of concurrent users, not on the total number of users neither on the number of users logged-in. The term &amp;quot;concurrent users&amp;quot; is used to mean those users for whom the server is actively doing something . It may by processing a webpage written in PHP, querying the database or simply transferring a file. (see also Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency])&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark parts of the system separately: hardware as seen by the operating system (eg. disk access speed), web server performance, database server performance, execution of PHP, etc. For further information see [[Performance#Obtain_a_baseline_benchmark]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But there is no easy formula to deduct the maximum number of concurrent users from those results. There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 the posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented under [[Performance#PHP_performance]]. &lt;br /&gt;
&lt;br /&gt;
You find some user suggestions here [http://moodle.org/mod/forum/discuss.php?d=168965 Update on PHP-accelerators].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
[[Moodle_Clusters]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
[[Mirroring_Moodle]]&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=173408&amp;amp;parent=760514  How to Replicate MOODLE ??!!]&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
* networking issues (DNS, firewalls, ...)&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Are you on a dedicated server or a shared (virtual) server?&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users can you support&lt;br /&gt;
* what modules/activities you use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
Moodle Docs&lt;br /&gt;
* [[Performance]]&lt;br /&gt;
* [[:Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
Forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;subject=performance All performance related discussions]&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;forumid=33&amp;amp;&amp;amp;subject=performance Performance related discussions in the General Developer forum]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=144718 Handling Moodle database load - a solution!]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=82963</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=82963"/>
		<updated>2011-04-25T09:42:36Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] forum, the load on the server at a particular time depends on the number of concurrent users, not on the total number of users neither on the number of users logged-in. The term &amp;quot;concurrent users&amp;quot; is used to mean those users for whom the server is actively doing something . It may by processing a webpage written in PHP, querying the database or simply transferring a file. (see also Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency])&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark parts of the system separately: hardware as seen by the operating system (eg. disk access speed), web server performance, database server performance, execution of PHP, etc. For further information see [[Performance#Obtain_a_baseline_benchmark]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But there is no easy formula to deduct the maximum number of concurrent users from those results. There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 the posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented under [[Performance#PHP_performance]]. &lt;br /&gt;
&lt;br /&gt;
You find some user suggestions here [http://moodle.org/mod/forum/discuss.php?d=168965 Update on PHP-accelerators].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
[[Moodle_Clusters]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
[[Mirroring_Moodle]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
* networking issues (DNS, firewalls, ...)&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Are you on a dedicated server or a shared (virtual) server?&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users can you support&lt;br /&gt;
* what modules/activities you use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
Moodle Docs&lt;br /&gt;
* [[Performance]]&lt;br /&gt;
* [[:Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
Forum discussions&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;subject=performance All performance related discussions]&lt;br /&gt;
* [http://moodle.org/mod/forum/search.php?notwords=Re:&amp;amp;id=5&amp;amp;forumid=33&amp;amp;&amp;amp;subject=performance Performance related discussions in the General Developer forum]&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=144718 Handling Moodle database load - a solution!]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64825</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64825"/>
		<updated>2009-10-31T16:25:00Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How many users will my installation support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
See also: &lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64215</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64215"/>
		<updated>2009-10-10T09:08:15Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* My site is very slow, what should I do? consistant links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
See also: &lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirements_for_N_users.3F What are the requirements for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64214</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64214"/>
		<updated>2009-10-10T09:04:04Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* My site is very slow, what should I do? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirements_for_N_users.3F What are the requirements for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64213</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64213"/>
		<updated>2009-10-10T09:01:35Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How do I cluster Moodle? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirements_for_N_users.3F What are the requirements for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Administrator_documentation&amp;diff=64212</id>
		<title>Administrator documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Administrator_documentation&amp;diff=64212"/>
		<updated>2009-10-10T08:56:49Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* FAQs, added Performance FAQ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this page is to list useful links by general topics for administrators of a Moodle site.&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Installation &amp;amp; Upgrading ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation Quickstart]] for an overview of the installation steps&lt;br /&gt;
*[[Installing Moodle]] for detailed installation instructions&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Installing AMP|Options for installing Apache, MySQL and PHP]]&lt;br /&gt;
*[[Upgrading|Upgrading Moodle]]&lt;br /&gt;
*[[Installing contributed modules or plugins]]&lt;br /&gt;
&lt;br /&gt;
== System-specific Instructions &amp;amp; Packages ==&lt;br /&gt;
&lt;br /&gt;
===Unix/Linux-based===&lt;br /&gt;
* [[SUSE Linux Server 10|Automated Installation Guide for SUSE Linux Enterprise Server 10]] operating system&lt;br /&gt;
* [[RedHat Linux installation|Step-by-step Installation Guide for RedHat]] operating system&lt;br /&gt;
* [[Debian GNU/Linux installation|Step-by-step Installation Guide for Debian GNU/Linux]] operating system&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu]]&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu using apt-get]]&lt;br /&gt;
* [[Step-by-step Install Guide for Zenwalk-5.0]]&lt;br /&gt;
* [[OLPC XS installation|Step-by-step Installation Guide for the One Laptop per Child XS Server (Beta)]]&lt;br /&gt;
* [[Step-by-step Install Guide for Solaris 10 with Oracle 10]]&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* [[Windows installation|Windows installations with instructions for Windows NT/2000/2003 servers]]&lt;br /&gt;
* [[Windows installation using XAMPP|Windows installation using XAMPP: Apache, MySQL and PHP]]&lt;br /&gt;
* [[Development:Windows_Installer_anywhere|MoodleAnywhere]] another Windows installation package&lt;br /&gt;
* [[Installing Moodle on Windows Vista]] - how to&lt;br /&gt;
&lt;br /&gt;
===Mac===&lt;br /&gt;
* [[Complete Install Packages for Mac OS X | Complete Install Packages for Mac OS X 10.3/10.4/10.5]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client|Step by Step Installation on a Mac OS X 10.4 Client using the internal web server]]&lt;br /&gt;
* [[Step by Step Installation on a Mac OS X 10.5 Server|Step by step Installation on a Mac OS X 10.5 Server]]&lt;br /&gt;
&lt;br /&gt;
===Web Hosts===&lt;br /&gt;
* [[1and1_MySQL_installation | Installation on &#039;&#039;&#039;1and1&#039;&#039;&#039; web hosting]]&lt;br /&gt;
* [[powweb_MySQL_installation | Step-by-step Installation on &#039;&#039;&#039;Powweb&#039;&#039;&#039; web hosting]]&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
* [[Installing Oracle for PHP]]&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [[Installing Postgres for PHP]]&lt;br /&gt;
&lt;br /&gt;
==Security, Performance and Roles==&lt;br /&gt;
&lt;br /&gt;
*[[Security]] contains important security procedures for a production site&lt;br /&gt;
*[[Performance]] for ideas on improving the speed of your installation&lt;br /&gt;
*[[Manage roles]] For Moodle 1.7 and later.&lt;br /&gt;
*[[Reducing spam in Moodle]]&lt;br /&gt;
*[[suhosin]] is an advanced protection system for PHP installation. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core.&lt;br /&gt;
&lt;br /&gt;
== FAQs ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Beginning Administration FAQ]]&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
*[[Performance FAQ]]&lt;br /&gt;
*[[Backup and restore FAQ]]&lt;br /&gt;
*[[Errors FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Configuration Settings ==&lt;br /&gt;
*[[Site administration block]] contains configuration setting links&lt;br /&gt;
*[[Notification page]] used to update versions&lt;br /&gt;
*[[Variables]]&lt;br /&gt;
*[[Site settings]]&lt;br /&gt;
*[[Themes]]&lt;br /&gt;
*[[Language]]&lt;br /&gt;
*[[Activity modules administration]]&lt;br /&gt;
*[[Blocks administration]]&lt;br /&gt;
*[[Filters]]&lt;br /&gt;
*[[Backup settings]]&lt;br /&gt;
*[[HTML editor settings]]&lt;br /&gt;
*[[Calendar settings]]&lt;br /&gt;
*[[Maintenance mode]]&lt;br /&gt;
&lt;br /&gt;
* See also: &lt;br /&gt;
**[[Location of admin settings in 1.7|Comparison between configuration settings in Moodle 1.6 &amp;amp; 1.7]]&lt;br /&gt;
&lt;br /&gt;
==User Management==&lt;br /&gt;
&lt;br /&gt;
*[[Authentication]]&lt;br /&gt;
*[[Add new user|Add a new user]] - on a site&lt;br /&gt;
*[[Upload users]] - from a file to a site, and into existing course and group, some existing user global updates&lt;br /&gt;
*[[User_profile_fields]]&lt;br /&gt;
*[[Enrolment plugins]]&lt;br /&gt;
**[[Flat file]] - enrol existing users in a course&lt;br /&gt;
*[[Roles and capabilities|Assigning user a role]] - typical assignments include:&lt;br /&gt;
**[[Students|Enrol students in a course]]&lt;br /&gt;
**[[Unenrolment]] Student&lt;br /&gt;
**[[Courses (administrator)|Assign teachers]] - to a course&lt;br /&gt;
**[[Assign creators|Assign course creators]] - in a site&lt;br /&gt;
**[[Assign administrators]] - in a site&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
*[[Courses (administrator)|Courses]] and [[Course formats|course formats]]&lt;br /&gt;
*[[Reports (administrator)]] and [[Logs]]&lt;br /&gt;
*[[Site files]]&lt;br /&gt;
*[[Moodle database|Database]]&lt;br /&gt;
*[[Environment]]&lt;br /&gt;
*[[Moodle Network]] and Moodle [[Community hub]]&lt;br /&gt;
*[[Streaming Media]]&lt;br /&gt;
*[[Case studies (administrator)]]&lt;br /&gt;
*[[Anti-virus]]&lt;br /&gt;
*[[System Monitoring and Server Statistic Software]]&lt;br /&gt;
*[[Integrate Moodle, LDAP and SIMS.net]]&lt;br /&gt;
*[[How to rebuild context paths]]&lt;br /&gt;
*[[Hacking the Moodle 2.0 database transfer script to convert a Moodle 1.9 site]]&lt;br /&gt;
*[[Category:ProxyProblems]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[:Category:Administrator | Index of all Administrator-related pages]]&lt;br /&gt;
*[[Integrations]]&lt;br /&gt;
*[[CVS for Administrators]]&lt;br /&gt;
*[[Email processing]]&lt;br /&gt;
*[[Search engine optimization]]&lt;br /&gt;
*[[Messaging]]&lt;br /&gt;
*[[Migration]]&lt;br /&gt;
*[[Metacourses]]&lt;br /&gt;
*[[Block layout]]&lt;br /&gt;
*[[Customizing Moodle]]&lt;br /&gt;
*[[Administrator do&#039;s and don&#039;ts]]&lt;br /&gt;
*[[Using Moodle book]] Chapter 16: Moodle Administration&lt;br /&gt;
*[[Administration hacks]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[cs:Rukověť správce]]&lt;br /&gt;
[[es:Documentación para Administradores]]&lt;br /&gt;
[[eu:Kudeatzaileentzako dokumentazioa]]&lt;br /&gt;
[[fr:Documentation administrateur]]&lt;br /&gt;
[[ja:管理者ドキュメント]]&lt;br /&gt;
[[ko:관리자 문서]]&lt;br /&gt;
[[nl:Documentatie voor beheerders]]&lt;br /&gt;
[[pt:Documentação para administradores]]&lt;br /&gt;
[[ru:Администраторам]]&lt;br /&gt;
[[sk:Dokumentácia pre správcov]]&lt;br /&gt;
[[zh:管理员文档]]&lt;br /&gt;
[[pl:Administrator documentation]]&lt;br /&gt;
[[fi:Ylläpitäjän opas]]&lt;br /&gt;
[[de:Dokumentation für Administratoren]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_recommendations&amp;diff=64211</id>
		<title>Performance recommendations</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_recommendations&amp;diff=64211"/>
		<updated>2009-10-10T08:56:02Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Location: &#039;&#039;Administration &amp;gt; Server &amp;gt; Performance&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Moodle can be made to perform very well, at small usage levels or scaling up to many thousands of users. The factors involved in performance are basically the same as for any PHP-based database-driven system. When trying to optimize your server, try to focus on the factor which will make the most difference to the user. For example, if you have relatively more users browsing than accessing the database, look to improve the webserver performance.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Obtain a baseline benchmark==&lt;br /&gt;
&lt;br /&gt;
Before attempting any optimization, you should obtain a baseline benchmark of the component of the system you are trying to improve. For Linux try [http://lbs.sourceforge.net/ LBS] and for Windows use the Performance Monitor. Once you have quantitative data about how your system is performing currently, you&#039;ll be able to determine if the change you have made as has any real impact.&lt;br /&gt;
&lt;br /&gt;
The overall aim of adjustments to improve performance is to use RAM (cacheing) and to reduce disk-based activity. It is especially important to try to eliminate swap file usage as much as you can. If your system starts swapping, this is a sign that you need more RAM. &lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;optimization order preference&#039;&#039;&#039; is usually: primary storage (more RAM), secondary storage (faster hard disks/improved hard disk configuration), processor (more and faster).&lt;br /&gt;
&lt;br /&gt;
==Scalability==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s design (with clear separation of application layers) allows for strongly scalable setups. (Please check the list of [[Large installations|large Moodle installations]].)&lt;br /&gt;
&lt;br /&gt;
Large sites usually separate the web server and database onto separate servers, although for smaller installations this is typically not necessary.&lt;br /&gt;
&lt;br /&gt;
It is possible to load-balance a Moodle installation, for example by using more than one webserver. The separate webservers should query the same database and refer to the same filestore area, but otherwise the separation of the application layers is complete enough to make this kind of clustering feasible. Similarly, the database could be a cluster of servers (e.g. a MySQL cluster), but this is not an easy task and you should seek expert support, e.g. from a Moodle Partner.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;See also&#039;&#039;&#039;: &lt;br /&gt;
*[[Server cluster]]&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=4801 Scalability] forum discussion.&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=57202 Moodle clustering] forum discussion.&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=44470 Software load balancing] forum discussion.&lt;br /&gt;
*[http://moodle.org/mod/forum/discuss.php?d=49986 TCP load balancing] forum dicsussion.&lt;br /&gt;
&lt;br /&gt;
==Hardware configuration==&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: The fastest and most effective change that you can make to improve performance is to &#039;&#039;&#039;increase the amount of RAM on your web server&#039;&#039;&#039; - get as much as possible (eg 4GB). Increasing primary memory will reduce the need for processes to swap to disk and will enable your server to handle more users.&lt;br /&gt;
* Better performance is gained by obtaining the best &#039;&#039;&#039;processor capability&#039;&#039;&#039; you can, i.e. dual or dual core processors. A modern BIOS should allow you to enable hyperthreading, but check if this makes a difference to the overall performance of the processors by using a [http://en.wikipedia.org/wiki/Super_PI CPU benchmarking tool].&lt;br /&gt;
* If you can afford them, use &#039;&#039;&#039;SCSI hard disks&#039;&#039;&#039; instead of SATA drives. SATA drives will increase your system&#039;s CPU utilization, whereas SCSI drives have their own integrated processors and come into their own when you have multiple drives. If you must have SATA drives, check that your motherboard and the drives themselves support NCQ (Native Command Queuing).&lt;br /&gt;
* Purchase hard disks with a &#039;&#039;&#039;low seek time&#039;&#039;&#039;. This will improve the overall speed of your system, especially when accessing Moodle&#039;s reports.&lt;br /&gt;
* Size your &#039;&#039;&#039;swap file&#039;&#039;&#039; correctly. The general advice is to set it to 4 x physical RAM.&lt;br /&gt;
* Use a &#039;&#039;&#039;RAID disk system&#039;&#039;&#039;. Although there are many different RAID configurations you can create, the following generally works best:&lt;br /&gt;
** install a hardware RAID controller (if you can)&lt;br /&gt;
** the operating system and swap drive on one set of disks configured as RAID-1.&lt;br /&gt;
** Moodle, Web server and Database server on another set of disks configured as RAID-5.&lt;br /&gt;
* Use &#039;&#039;&#039;gigabit ethernet&#039;&#039;&#039; for improved latency and throughput. This is especially important when you have your webserver and database server separated out on different hosts.&lt;br /&gt;
* Check the settings on your &#039;&#039;&#039;network card&#039;&#039;&#039;. You may get an improvement in performance by increasing the use of buffers and transmit/receive descriptors (balance this with processor and memory overheads) and off-loading TCP checksum calculation onto the card instead of the OS.&lt;br /&gt;
*  Read this [http://moodle.org/mod/forum/discuss.php?d=68579 Case Study] on a server stress test with 300 users.  &lt;br /&gt;
* See this [http://elearning.sgu.ac.jp/doc/PT/ accompanying report] on network traffic and server loads.&lt;br /&gt;
* See the [[Moodle.org configuration]]&lt;br /&gt;
* Also see this SFSU presentation at Educause (using VMWare): [http://www.educause.edu/Resources/AnOpenSourceLMSforaMissionCrit/162843]&lt;br /&gt;
&lt;br /&gt;
==Operating System==&lt;br /&gt;
* You can use [http://en.wikipedia.org/wiki/Linux Linux](recommended), Unix-based, Windows or Mac OS X for the server &#039;&#039;&#039;operating system&#039;&#039;&#039;. *nix operating systems generally require less memory than Mac OS X or Windows servers for doing the same task as the server is configured with just a shell interface. Additionally Linux does not have licensing fees attached, but can have a big learning curve if you&#039;re used to another operating system. If you have a large number of processors running SMP, you may also want to consider using a highly tuned OS such as [http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris].&lt;br /&gt;
* Check your own OS and &#039;&#039;&#039;vendor specific instructions&#039;&#039;&#039; for optimization steps.&lt;br /&gt;
** For Linux look at the [http://linuxperf.sourceforge.net/ Linux Performance Team] site. &lt;br /&gt;
** For Linux investigate the hdparm command, e.g. hdparm -m16 -d1 can be used to enable read/write on multiple sectors and DMA. Mount disks with the async and noatime options.&lt;br /&gt;
** For Windows set the sever to be optimized for network applications (Control Panel, Network Connections, LAN connection, Properties, File &amp;amp; Printer Sharing for Microsoft Networks, Properties, Optimization). You can also search the [http://technet.microsoft.com/ Microsoft TechNet site] for optimization documents.&lt;br /&gt;
&lt;br /&gt;
==Web server performance==&lt;br /&gt;
&lt;br /&gt;
Installing [http://www.mozilla.com/en-US/ Firefox] and the [https://addons.mozilla.org/en-US/firefox/addon/1843 firebug] extension will allow you to watch the time it takes for each page component to load. Also, the [https://addons.mozilla.org/en-US/firefox/addon/5369 Yslow] extension will evaluate your page against Yahoo&#039;s [http://www.skrenta.com/2007/05/14_rules_for_fast_web_pages_by_1.html 14 rules] ([http://video.yahoo.com/video/play?vid=1040890 video]) for fast loading websites.&lt;br /&gt;
&lt;br /&gt;
===PHP performance===&lt;br /&gt;
* You are strongly recommended to use a &#039;&#039;&#039;PHP accelerator&#039;&#039;&#039; to ease CPU load, such as [http://pecl.php.net/apc APC], [http://www.php-accelerator.co.uk/ PHPA], [http://trac.lighttpd.net/xcache/ Xcache] or [http://eaccelerator.net/ eAccelerator]. (Take care to choose a PHP accelerator that is known to work well with your version of PHP and note that Turck MMCache is [http://turckmmcache.exeprod.com/TheManifestoEnglish no longer maintained] and can cause failures with PHP 5). &lt;br /&gt;
* Improvements in read/write performance can be improved by putting the cached PHP pages on a [[TMPFS]] filesystem - but remember that you&#039;ll lose the cache contents when there is a power failure or the server is rebooted.&lt;br /&gt;
* Performance of PHP is better when installed as an &#039;&#039;&#039;Apache/IIS ISAPI module&#039;&#039;&#039; (rather than a CGI).&lt;br /&gt;
* Also check the &#039;&#039;&#039;memory_limit&#039;&#039;&#039; in php.ini, reduce it to 16M for Moodle version earlier than 1.7 ([http://moodle.org/mod/forum/discuss.php?d=39656 See this forum discussion]). For Moodle 1.7 or later, it is recommended that the value of memory_limit should be 40M. As of [http://www.php.net/ChangeLog-5.php PHP 5.2.1] the default value for the memory_limit directive is 128M.&lt;br /&gt;
&lt;br /&gt;
===Apache performance===&lt;br /&gt;
* If you are using Apache on a Windows server, use the build from [http://www.apachelounge.com Apache Lounge] which is reported to have [http://moodle.org/mod/forum/discuss.php?d=93358 performance and stability improvements] compared to the official Apache download. Note that this is an unofficial build, so may not keep up with official releases.&lt;br /&gt;
* Set the &#039;&#039;&#039;MaxClients&#039;&#039;&#039; directive correctly. Use this formula to help (which uses 80% of available memory to leave room for spare):&lt;br /&gt;
 MaxClients = Total available memory * 80% / Max memory usage of apache process&lt;br /&gt;
:Memory usage of apache process is usually 10MB, so a general rule of thumb is to divide your available memory in megabytes by 10 to get the value of MaxClients. To find the max memory usage of apache processes read the value from the shell command:&lt;br /&gt;
 #ps -ylC httpd --sort:rss&lt;br /&gt;
&lt;br /&gt;
:If you need to increase the value of &#039;&#039;&#039;MaxClients&#039;&#039;&#039; beyond 256, you will also need to set the &#039;&#039;&#039;ServerLimit&#039;&#039;&#039; directive. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: Do not be tempted to set the value of MaxClients higher than your available memory as your server will consume more RAM than available and start to swap to disk. &lt;br /&gt;
* Consider reducing the &#039;&#039;&#039;number of modules&#039;&#039;&#039; that Apache loads in the httpd.conf file to the minumum necessary to reduce the memory needed. &lt;br /&gt;
* Use the &#039;&#039;&#039;latest version of Apache&#039;&#039;&#039; - Apache 2 has an improved memory model which reduces memory usage further.&lt;br /&gt;
* For Unix/Linux systems, consider lowering &#039;&#039;&#039;MaxRequestsPerChild&#039;&#039;&#039; in httpd.conf to as low as 20-30 (if you set it any lower the overhead of forking begins to outweigh the benefits). &lt;br /&gt;
* For a heavily loaded server, consider setting &#039;&#039;&#039;KeepAlive Off&#039;&#039;&#039; (do this only if your Moodle pages do not contain links to resources or uploaded images) or lowering the &#039;&#039;&#039;KeepAliveTimeout&#039;&#039;&#039; to between 2 and 5. The default is 15 (seconds) - the higher the value the more server processes will be kept waiting for possibly idle connections. A more accurate value for KeepAliveTimeout is obtained by observing how long it takes your users to download a page. After altering any of the KeepAlive variables, monitor your CPU utilization as there may be an additional overhead in initiating more worker processes/threads.&lt;br /&gt;
* A warning about the previous performance tip.  Microsoft Internet Explorer has a (little) known bug that causes seriously problems with SSL-enabled Apache websites.   The issue is that if a web server&#039;s KeepAlive timeout is set to less than 60 seconds (say to the default of 15 seconds), MSIE can get confused about whether a keep-alive connection is available or not.  As a result, any browser POST requests (which always use a keep-alive if available) will fail to reach the server.  This is easily reproduced with postings to the Moodle forums.   Using MSIE, connect to an ssl-enabled Moodle site.  Write a quick forum post, and submit it when the form has been displayed for between 15 seconds and 60 seconds.   You will see a browser error message, and your post content will be lost.  In some cases, doing this will even crash the Windows TCP stack on the client machine. &#039;&#039;&#039; So, if your site is SSL-enabled, and you use Apache, you should set the KeepAliveTimeout to at least 60 seconds&#039;&#039;&#039;.&lt;br /&gt;
* As an alternative to using KeepAlive Off, consider setting-up a &#039;&#039;&#039;Reverse Proxy server&#039;&#039;&#039; infront of the Moodle server to cache HTML files with images. You can then return Apache to using keep-alives on the Moodle server.&lt;br /&gt;
* If you do not use a .htaccess file, set the &#039;&#039;&#039;AllowOverride&#039;&#039;&#039; variable to AllowOverride None to prevent .htaccess lookups.&lt;br /&gt;
* Set &#039;&#039;&#039;DirectoryIndex&#039;&#039;&#039; correctly so as to avoid content-negotiation. Here&#039;s an example from a production server:&lt;br /&gt;
 DirectoryIndex index.php index.html index.htm&lt;br /&gt;
* Unless you are doing development work on the server, set &#039;&#039;&#039;ExtendedStatus Off&#039;&#039;&#039; and disable mod_info as well as mod_status.&lt;br /&gt;
* Leave &#039;&#039;&#039;HostnameLookups Off&#039;&#039;&#039; (as default) to reduce DNS latency.&lt;br /&gt;
* Consider reducing the value of &#039;&#039;&#039;TimeOut&#039;&#039;&#039; to between 30 to 60 (seconds). &lt;br /&gt;
* For the &#039;&#039;&#039;Options directive&#039;&#039;&#039;, avoid Options Multiviews as this performs a directory scan. To reduce disk I/O further use&lt;br /&gt;
 Options -Indexes FollowSymLinks&lt;br /&gt;
*&#039;&#039;&#039;Caching&#039;&#039;&#039; - Apache can be told to make pages load a lot faster by specifying that the browser should cache some various page elements such as images and reuse them from local memory rather than ask for them again every time a page is requested. How to do this varies slightly between OSes but there are two basic steps:&lt;br /&gt;
&lt;br /&gt;
# Install and enable mod_expires - refer to documentation or man pages&lt;br /&gt;
# Add this code to the virtual server config file within the &amp;lt;directory&amp;gt; section for the root directory (or within the .htaccess file if AllowOverrides is On):&lt;br /&gt;
 &amp;lt;IfModule mod_expires.c&amp;gt;&lt;br /&gt;
  ExpiresActive On&lt;br /&gt;
  ExpiresDefault &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType text/html &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
  ExpiresByType image/gif &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/jpeg &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType image/png &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/css &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType application/x-javascript &amp;quot;access plus 1 week&amp;quot;&lt;br /&gt;
  ExpiresByType text/xml &amp;quot;access plus 1 seconds&amp;quot;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The effect is to make everything stay in the cache except HTML and XML, which change dynamically. It&#039;s possible to gain a several hundred percent decrease in load times this way. Adjust the cache times according to how often your images etc change.&lt;br /&gt;
&lt;br /&gt;
More info: [http://www.metaskills.net/blog/heuristics/sysadmin/how-to-control-browser-caching-with-apache-2 www.metaskills.net]&lt;br /&gt;
&lt;br /&gt;
===IIS performance===&lt;br /&gt;
All alter this location in the registry:&lt;br /&gt;
 HKLM\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters\&lt;br /&gt;
* The equivalent to KeepAliveTimeout is &#039;&#039;&#039;ListenBackLog&#039;&#039;&#039; (IIS - registry location is HKLM\ SYSTEM\ CurrentControlSet\ Services\ Inetinfo\ Parameters). Set this to between 2 to 5.&lt;br /&gt;
*Change the &#039;&#039;&#039;MemCacheSize&#039;&#039;&#039; value to adjust the amount of memory (Mb) that IIS will use for its file cache (50% of available memory by default).&lt;br /&gt;
*Change the &#039;&#039;&#039;MaxCachedFileSize&#039;&#039;&#039; to adjust the maximum size of a file cached in the file cache in bytes. Default is 262,144 (256K).&lt;br /&gt;
*Create a new DWORD called &#039;&#039;&#039;ObjectCacheTTL&#039;&#039;&#039; to change the length of time (in milliseconds) that objects in the cache are held in memory. Default is 30,000 milliseconds (30 seconds).&lt;br /&gt;
&lt;br /&gt;
===Lighttpd performance===&lt;br /&gt;
You can increase server performance by using a &#039;&#039;&#039;light-weight&#039;&#039;&#039; webserver like [http://www.lighttpd.net/ lighttpd] (or [http://nginx.net/ nginx])in combination with PHP in FastCGI-mode. Lighttpd was originally created as a proof-of-concept[http://www.lighttpd.net/story] to address the [http://www.kegel.com/c10k.html C10k problem] and while primarily recommended for memory-limited servers, its design origins and asynchronous-IO model make it a suitable and proven[http://blog.lighttpd.net/articles/2006/12/28/lighttpd-powers-5-alexa-top-250-sites] alternative HTTP server for high-load websites and web apps, including Moodle. See the [[lighttpd | MoodleDocs Lighttpd page]] for additional information, configuration example and links.&lt;br /&gt;
&lt;br /&gt;
Alternatively, both [http://www.lighttpd.net/ lighttpd] and [http://nginx.net/ nginx] are capable of performing as a load-balancer and/or reverse-proxy to alleviate load on back-end servers[http://www.linuxjournal.com/article/10108], providing benefit without requiring an actual software change on existing servers.&lt;br /&gt;
&lt;br /&gt;
==Database performance==&lt;br /&gt;
&lt;br /&gt;
Moodle contains a script which will display some key database performance statistics from the [http://phplens.com/lens/adodb/docs-perf.htm ADOdb performance monitor]. Run the script in your browser as in the following example:&lt;br /&gt;
&lt;br /&gt;
 http://www.mymoodle.com/admin/dbperformance.php&lt;br /&gt;
&lt;br /&gt;
Use the data displayed as a guide to tune and improve the performance of your database server.&lt;br /&gt;
&lt;br /&gt;
===MySQL performance===&lt;br /&gt;
&lt;br /&gt;
The following are MySQL specific settings which can be adjusted for better performance in your my.cnf (my.ini in Windows). The file contains a list of settings and their values. To see the current values use these commands&lt;br /&gt;
 SHOW STATUS;&lt;br /&gt;
 SHOW VARIABLES; &lt;br /&gt;
&#039;&#039;&#039;Important&#039;&#039;&#039;: You must make backups of your database before attempting to change any MySQL server configuration. After any change to the my.cnf, restart mysqld.&lt;br /&gt;
&lt;br /&gt;
If you are able, the [http://wiki.mysqltuner.com/MySQLTuner MySQLTuner] tool can be run against your MySQL server and will calculate appropriate configuration values for most of the following settings based on your current load, status and variables automatically.&lt;br /&gt;
&lt;br /&gt;
* Enable the &#039;&#039;&#039;query cache&#039;&#039;&#039; with &lt;br /&gt;
 query_cache_type = 1. &lt;br /&gt;
For most Moodle installs, set the following:&lt;br /&gt;
 query_cache_size = 36M &lt;br /&gt;
 query_cache_min_res_unit = 2K. &lt;br /&gt;
The query cache will improve performance if you are doing few updates on the database. &lt;br /&gt;
* Set the &#039;&#039;&#039;table cache&#039;&#039;&#039; correctly. For Moodle 1.6 set &lt;br /&gt;
 table_cache = 256 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min), and for Moodle 1.7 set &lt;br /&gt;
 table_cache = 512 #(table_open_cache in MySQL &amp;gt; 5.1.2)&lt;br /&gt;
(min). The table cache is used by all threads (connections), so monitor the value of opened_tables to further adjust - if opened_tables &amp;gt; 3 * table_cache(table_open_cache in MySQL &amp;gt; 5.1.2) then increase table_cache upto your OS limit. Note also that the figure for table_cache will also change depending on the number of modules and plugins you have installed. Find the number for your server by executing the mysql statement below. Look at the number returned and set table_cache to this value.&lt;br /&gt;
 mysql&amp;gt;SELECT COUNT(table_name) FROM information_schema.tables WHERE table_schema=&#039;yourmoodledbname&#039;;&lt;br /&gt;
* Set the &#039;&#039;&#039;thread cache&#039;&#039;&#039; correctly. Adjust the value so that your thread cache utilization is as close to 100% as possible by this formula:&lt;br /&gt;
 thread cache utilization (%) = (threads_created / connections) * 100&lt;br /&gt;
* The &#039;&#039;&#039;key buffer&#039;&#039;&#039; can improve the access speed to Moodle&#039;s SELECT queries. The correct size depends on the size of the index files (.myi) and in Moodle 1.6 or later (without any additional modules and plugins), the recommendation for this value is key_buffer_size = 32M. Ideally you want the database to be reading once from the disk for every 100 requests so monitor that the value is suitable for your install by adjusting the value of key_buffer_size so that the following formulas are true:&lt;br /&gt;
 key_read / key_read_requests &amp;lt; 0.01&lt;br /&gt;
 key_write / key_write_requests &amp;lt;= 1.0&lt;br /&gt;
* Set the &#039;&#039;&#039;maximum number of connections&#039;&#039;&#039; so that your users will not see a &amp;quot;Too many connections&amp;quot; message. Be careful that this may have an impact on the total memory used. MySQL connections usually last for milliseconds, so it is unusual even for a heavily loaded server for this value to be over 200.&lt;br /&gt;
* Manage &#039;&#039;&#039;high burst activity&#039;&#039;&#039;. If your Moodle install uses a lot of quizzes and you are experiencing performance problems (check by monitoring the value of threads_connected - it should not be rising) consider increasing the value of back_log.&lt;br /&gt;
* &#039;&#039;&#039;Optimize your tables weekly and after upgrading Moodle&#039;&#039;&#039;. It is good practice to also optimize your tables after performing a large data deletion exercise, e.g. at the end of your semester or academic year. This will ensure that index files are up to date. Backup your database first and then use:&lt;br /&gt;
 mysql&amp;gt;CHECK TABLE mdl_tablename;&lt;br /&gt;
 mysql&amp;gt;OPTIMIZE TABLE mdl_tablename;&lt;br /&gt;
:The common tables in Moodle to check are mdl_course_sections, mdl_forum_posts, mdl_log and mdl_sessions (if using dbsessions). Any errors need to be corrected using REPAIR TABLE (see the [http://dev.mysql.com/doc/refman/5.0/en/repair-table.html MySQL manual] and this [http://moodle.org/mod/forum/discuss.php?d=58208#p279638 forum script]).&lt;br /&gt;
* &#039;&#039;&#039;Maintain the key distribution&#039;&#039;&#039;. Every month or so it is a good idea to stop the mysql server and run these myisamchk commands.&lt;br /&gt;
 #myisamchk -a -S /pathtomysql/data/moodledir/*.MYI&lt;br /&gt;
:&#039;&#039;&#039;Warning&#039;&#039;&#039;: You must stop the mysql database process (mysqld) before running any myisamchk command. If you do not, you risk data loss.&lt;br /&gt;
* Reduce the number of &#039;&#039;&#039;temporary tables saved to disk&#039;&#039;&#039;. Check this with the created_tmp_disk_tables value. If this is relatively large (&amp;gt;5%) increase tmp_table_size until you see a reduction. Note that this will have an impact on RAM usage.&lt;br /&gt;
* Moodle&#039;s tables are in the MyISAM format, so &#039;&#039;&#039;turn InnoDB off&#039;&#039;&#039; if you feel there is no performance gain. Add &amp;lt;code&amp;gt;skip-innodb&amp;lt;/code&amp;gt; to your &amp;lt;code&amp;gt;my.cnf&amp;lt;/code&amp;gt; file. If you must use InnoDB, you&#039;ll have to convert all of Moodle&#039;s tables. To do this run the innodb script:&lt;br /&gt;
&lt;br /&gt;
 http://www.mymoodle.com/admin/innodb.php&lt;br /&gt;
&lt;br /&gt;
:See also [http://moodle.org/mod/forum/discuss.php?d=12961 this forum discussion] which looks at the MyISAM vs InnoDB options.&lt;br /&gt;
&lt;br /&gt;
===PostgreSQL performance===&lt;br /&gt;
&lt;br /&gt;
There are some good papers around on tuning PostgreSQL, and Moodle&#039;s case does not seem to be different to the general case.&lt;br /&gt;
&lt;br /&gt;
The first thing to recognise is that if you really need to worry about tuning you should be using a separate machine for the database server. If you are not using a separate machine then the answers to many performance questions are substantially muddied by the memory requirements of the rest of the application.&lt;br /&gt;
&lt;br /&gt;
You should probably &#039;&#039;&#039;enable autovacuum&#039;&#039;&#039;, unless you know what you are doing. Many e-learning sites have predictable periods of low use, so disabling autovacuum and running a specific vacuum at those times can be a good option. Or perhaps leave autovacuum running but do a full vacuum weekly in a quiet period.&lt;br /&gt;
&lt;br /&gt;
Set &#039;&#039;&#039;shared_buffers&#039;&#039;&#039; to something reasonable. For versions up to 8.1 my testing has shown that peak performance is almost always obtained with buffers &amp;lt; 10000, so if you are using such a version, and have more than 512M of RAM just set shared_buffers to 10,000 (8MB).&lt;br /&gt;
&lt;br /&gt;
The buffer management had a big overhaul in 8.2 and &amp;quot;reasonable&amp;quot; is now a much larger number. I have not conducted performance tests with 8.2, but the recommendations from others are generally that you should now scale shared_buffers much more with memory and may continue to reap benefits even up to values like 100,000 (80MB). Consider using 1-2% of system RAM.&lt;br /&gt;
&lt;br /&gt;
PostgreSQL will also assume that the operating system is caching its files, so setting &#039;&#039;&#039;effective_cache_size&#039;&#039;&#039; to a reasonable value is also a good idea. A reasonable value will usually be (total RAM - RAM in use by programs). If you are running Linux and leave the system running for a day or two you can look at &#039;free&#039; and under the &#039;cached&#039; column you will see what it currently is. Consider taking that number (which is kB) and dividing it by 10 (i.e. allow 20% for other programs cache needs and then divide by 8 to get pages). If you are not using a dedicated database server you will need to decrease that value to account for usage by other programs.&lt;br /&gt;
&lt;br /&gt;
Some other useful parameters that can have positive effects, and the values I would typically set them to on a machine with 4G RAM, are:&lt;br /&gt;
&lt;br /&gt;
 work_mem = 10240&lt;br /&gt;
&lt;br /&gt;
That&#039;s 10M of RAM to use instead of on-disk sorting and so forth. That can give a big speed increase, but it is per connection and 200 connections * 10M is 2G, so it can theoretically chew up a lot of RAM.&lt;br /&gt;
&lt;br /&gt;
 maintenance_work_mem = 163840&lt;br /&gt;
&lt;br /&gt;
That&#039;s 160M of RAM which will be used by (e.g.) VACUUM, index rebuild, cluster and so forth. This should only be used periodically and should be freed when those processes exit, so I believe it is well worth while.&lt;br /&gt;
&lt;br /&gt;
 max_fsm_pages = 100000&lt;br /&gt;
 max_fsm_relations = 5000&lt;br /&gt;
&lt;br /&gt;
These are used to hold the free-space map, and if they are too small you will see performance degradation after the database has been operating for some time. The exact numbers to set can be gleaned from the output of VACUUM VERBOSE, which prints the required FSM pages at the end of it&#039;s run. The 5x increase seems to be useful for a Moodle installation, from experience.&lt;br /&gt;
&lt;br /&gt;
 wal_buffers = 64&lt;br /&gt;
&lt;br /&gt;
These buffers are used for the write-ahead log, and there have been a number of reports on the PostgreSQL mailing lists of improvement from this level of increase.&lt;br /&gt;
&lt;br /&gt;
This is a little out of date now (version 8.0) but still worth a read: http://www.powerpostgresql.com/Docs&lt;br /&gt;
&lt;br /&gt;
And there is lots of good stuff here as well: http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Based on Andrew McMillan&#039;s post at [http://moodle.org/mod/forum/discuss.php?d=68558 Tuning PostgreSQL] forum thread.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Other database performance links===&lt;br /&gt;
* Consider using a &#039;&#039;&#039;distributed cacheing system&#039;&#039;&#039; like [http://en.wikipedia.org/wiki/Memcached memcached] but note that memcached does not have any security features so it should be used behind a firewall.&lt;br /&gt;
* Consider using PostgreSQL. See [[Arguments in favour of PostgreSQL]] and [http://moodle.org/mod/forum/discuss.php?d=49195 how to migrate from MySQL to PostgreSQL] (forum discussion).&lt;br /&gt;
* [[Increasing the database connection lifetime | Try increasing the database connection lifetime]]&lt;br /&gt;
* [http://dev.mysql.com/doc/refman/5.0/en/server-parameters.html General advice on tuning MySQL parameters] (advice from the MySQL manual)&lt;br /&gt;
* [http://www.mysqlperformanceblog.com/2007/11/01/innodb-performance-optimization-basics/ InnoDB performance optimization] taken from the [http://www.mysqlperformanceblog.com/ MySQL performance blog] site.&lt;br /&gt;
&lt;br /&gt;
==Moodle Admin settings==&lt;br /&gt;
* In Moodle 1.7 or later, set the &#039;&#039;&#039;Cache type&#039;&#039;&#039; for your server: Site Admin -&amp;gt; Server -&amp;gt; Performance -&amp;gt; Cache type. There are several options available. &lt;br /&gt;
:*If you do not have eaccelerator or mmemcached installed, choose &amp;quot;internal&amp;quot; (which makes use of the record/internal cache - see the next bullet point). &lt;br /&gt;
:* If you have a single server and have compiled &#039;&#039;&#039;eaccelerator with shared memory support&#039;&#039;&#039;, set the cache type to the eaccelerator option. &lt;br /&gt;
:* If you have a &#039;&#039;&#039;separate memcached server&#039;&#039;&#039;, set the cache type to memcached and enter a csv list of server IP addresses.&lt;br /&gt;
* Enable the &#039;&#039;&#039;record/internal cache&#039;&#039;&#039;: Site Admin -&amp;gt; Server -&amp;gt; Performance -&amp;gt; Record cache = True. Set the maximum amount of memory allocated to the cache in the Int Cache Max box. This will enable a primary cache for database records, without using any database engine cache, e.g. MySQL/PostgreSQL cache. See [http://tracker.moodle.org/browse/MDL-7196 this Tracker entry] for a full discussion.&lt;br /&gt;
* Enable the &#039;&#039;&#039;language cache&#039;&#039;&#039;.&lt;br /&gt;
* Large log files can cause overall performance to degrade over time. If you observe that the site has gradually got slower loading pages in the browser, &#039;&#039;&#039;reduce your Log life time&#039;&#039;&#039; setting (Admin/Server/Cleanup).&lt;br /&gt;
* Performance can be greatly improved by allowing Moodle to use the system &#039;&#039;&#039;zip/unzip&#039;&#039;&#039; commands (rather than PHP-based zip libraries) - visit Admin/Server/System Paths and enter the path to the relevant executables. (Similarly, filling in the path to &#039;&#039;&#039;du&#039;&#039;&#039; will improve Moodle&#039;s speed at listing directory contents.)&lt;br /&gt;
* Note that using &#039;&#039;&#039;secure web connections&#039;&#039;&#039; (&#039;&#039;&#039;https&#039;&#039;&#039; rather than &#039;&#039;&#039;http&#039;&#039;&#039;) carries a higher processing burden, both for the webserver and the client - particularly because cacheing cannot be used as effectively, so the number of file requests is likely to increase dramatically. For this reason using https for all Moodle pages is not recommended. You can enable https just for the login screen, simply from Moodle&#039;s config page.&lt;br /&gt;
* Check your &#039;&#039;&#039;filters&#039;&#039;&#039;. Having too many filters active can have serious effects on server load, especially on lower-end systems. The number of active filters has a direct effect on the perceived latency of your site; that is the time taken for each page impression. &lt;br /&gt;
* Enable the &#039;&#039;&#039;text cache&#039;&#039;&#039; but do not &amp;quot;Filter all strings&amp;quot; unless you have a specific need. If in doubt profile the performance, and see how your changes affect the processing time.&lt;br /&gt;
* Check your &#039;&#039;&#039;anti-virus&#039;&#039;&#039; measures on the server.  Although they are useful for preventing security holes being exploited, some &amp;quot;On-Demand&amp;quot; scanners can affect performance by scanning page content (word, ppt files etc).&lt;br /&gt;
* If there are performance problems loading course pages, check the &#039;&#039;&#039;Resource module settings&#039;&#039;&#039;. The setting resource_filterexternalpages is known to slow-down course pages and should be set to &#039;No&#039; for better performance.&lt;br /&gt;
* Check your &#039;&#039;&#039;forum settings&#039;&#039;&#039;. To improve performance set forum_trackreadposts = No and forum_usermarksread = Yes (this will impact on the convenience of your users&#039; forum experience). Also consider setting the time of the day when old posts are cleared from the read table (forum_cleanreadtime) to when your site is less busy.&lt;br /&gt;
&lt;br /&gt;
==Performance of different Moodle modules==&lt;br /&gt;
&lt;br /&gt;
Moodle&#039;s activity modules, filters, and other plugins can be activated/deactivated. If necessary, you may wish to deactivate some features (such as chat) if not required - but this isn&#039;t necessary. Some notes on the performance of certain modules:&lt;br /&gt;
&lt;br /&gt;
* The &#039;&#039;&#039;Chat&#039;&#039;&#039; module is [http://moodle.org/mod/forum/discuss.php?d=37979&amp;amp;parent=175079 said] to be a hog in terms of frequent HTTP requests to the main server. This can be reduced by setting the module to use &#039;&#039;Streamed&#039;&#039; updates, or, if you&#039;re using a Unix-based webserver, by running the chat in daemon mode. When using the Chat module use the configuration settings to tune for your expected load. Pay particular attention to the &#039;&#039;chat_old_ping&#039;&#039; and &#039;&#039;chat_refresh&#039;&#039; parameters as these can have greatest impact on server load.&lt;br /&gt;
* The &#039;&#039;&#039;Quiz&#039;&#039;&#039; module is known to stretch database performance. Try to optimise your database server by tuning. See [http://moodle.org/mod/forum/discuss.php?d=25616&amp;amp;parent=120770 for a brief report on performance for 55 students simultaneously using quizzes]&lt;br /&gt;
** See this Case Study for an extensive server stress test with 300 quiz users.[http://moodle.org/mod/forum/discuss.php?d=68579]  And this accompanying report on network traffic and server loads. [http://elearning.sgu.ac.jp/doc/PT/]&lt;br /&gt;
* The Moodle &#039;&#039;&#039;Cron&#039;&#039;&#039; task is triggered by calling the script &#039;&#039;cron.php&#039;&#039;. If this is called over HTTP (e.g. using wget or curl) it can take a large amount of memory on large installations. If it is called by directly invoking the php command (e.g. &#039;&#039;php -f /path/to/moodle/directory/admin/cron.php&#039;&#039;) efficiency can be much improved.&lt;br /&gt;
* The &#039;&#039;&#039;Recent activities&#039;&#039;&#039; block is consuming to much resources if you have huge number of records &amp;lt;code&amp;gt;mdl_log&amp;lt;/code&amp;gt;. this is being tested to optimize the SQL query.&lt;br /&gt;
&lt;br /&gt;
==Moodle Image Optimization==&lt;br /&gt;
&lt;br /&gt;
The base images delivered in the original Moodle distribution package provide unoptimized graphics, most of which can benefit from lossless recompression utilizing [http://optipng.sourceforge.net/ optipng] for PNGs, [http://www.lcdf.org/gifsicle/ gifsicle] for GIFs and [http://www.kokkonen.net/tjko/projects.html jpegoptim] for JPGs.  Optimized graphics transfer faster and provide a faster perceived response for clients[http://www.websiteoptimization.com/speed/12/], especially distance learners.  The following example will recursively optimize (without any loss of quality) all the graphics and image files included in a base Moodle installation directory on a server with the above commands installed and available.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.png -exec optipng -o7 {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.gif -exec gifsicle -O2 -b {} \;&lt;br /&gt;
find /example/directory/moodle-1.9 -iname *.jpg -exec jpegoptim -p {} \;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Both [http://optipng.sourceforge.net/ optipng] and [http://www.lcdf.org/gifsicle/ gifsicle] are provided in the base repositories of most newer Linux distributions; [http://www.kokkonen.net/tjko/projects.html jpegoptim] must be downloaded and installed manually.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[Performance FAQ]]&lt;br /&gt;
*Using Moodle: [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance] forum&lt;br /&gt;
&lt;br /&gt;
There have been a lot of discussions on moodle.org about performance, here are some of the more interesting and (potentially) useful ones:&lt;br /&gt;
&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=83057 Performance woes!]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=88927 Comments on planned server hardware]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978#p461624 Moodle performance in a pil by Martin Langhoff]&lt;br /&gt;
[[Category:Performance]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Performance]]&lt;br /&gt;
[[ja:パフォーマンス]]&lt;br /&gt;
[[pl:Wydajność]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Administrator_documentation&amp;diff=64210</id>
		<title>Administrator documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Administrator_documentation&amp;diff=64210"/>
		<updated>2009-10-10T08:47:05Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* consistant link text in Security, Performance and Roles, no Top */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this page is to list useful links by general topics for administrators of a Moodle site.&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Installation &amp;amp; Upgrading ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation Quickstart]] for an overview of the installation steps&lt;br /&gt;
*[[Installing Moodle]] for detailed installation instructions&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Installing AMP|Options for installing Apache, MySQL and PHP]]&lt;br /&gt;
*[[Upgrading|Upgrading Moodle]]&lt;br /&gt;
*[[Installing contributed modules or plugins]]&lt;br /&gt;
&lt;br /&gt;
== System-specific Instructions &amp;amp; Packages ==&lt;br /&gt;
&lt;br /&gt;
===Unix/Linux-based===&lt;br /&gt;
* [[SUSE Linux Server 10|Automated Installation Guide for SUSE Linux Enterprise Server 10]] operating system&lt;br /&gt;
* [[RedHat Linux installation|Step-by-step Installation Guide for RedHat]] operating system&lt;br /&gt;
* [[Debian GNU/Linux installation|Step-by-step Installation Guide for Debian GNU/Linux]] operating system&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu]]&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu using apt-get]]&lt;br /&gt;
* [[Step-by-step Install Guide for Zenwalk-5.0]]&lt;br /&gt;
* [[OLPC XS installation|Step-by-step Installation Guide for the One Laptop per Child XS Server (Beta)]]&lt;br /&gt;
* [[Step-by-step Install Guide for Solaris 10 with Oracle 10]]&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* [[Windows installation|Windows installations with instructions for Windows NT/2000/2003 servers]]&lt;br /&gt;
* [[Windows installation using XAMPP|Windows installation using XAMPP: Apache, MySQL and PHP]]&lt;br /&gt;
* [[Development:Windows_Installer_anywhere|MoodleAnywhere]] another Windows installation package&lt;br /&gt;
* [[Installing Moodle on Windows Vista]] - how to&lt;br /&gt;
&lt;br /&gt;
===Mac===&lt;br /&gt;
* [[Complete Install Packages for Mac OS X | Complete Install Packages for Mac OS X 10.3/10.4/10.5]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client|Step by Step Installation on a Mac OS X 10.4 Client using the internal web server]]&lt;br /&gt;
* [[Step by Step Installation on a Mac OS X 10.5 Server|Step by step Installation on a Mac OS X 10.5 Server]]&lt;br /&gt;
&lt;br /&gt;
===Web Hosts===&lt;br /&gt;
* [[1and1_MySQL_installation | Installation on &#039;&#039;&#039;1and1&#039;&#039;&#039; web hosting]]&lt;br /&gt;
* [[powweb_MySQL_installation | Step-by-step Installation on &#039;&#039;&#039;Powweb&#039;&#039;&#039; web hosting]]&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
* [[Installing Oracle for PHP]]&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [[Installing Postgres for PHP]]&lt;br /&gt;
&lt;br /&gt;
==Security, Performance and Roles==&lt;br /&gt;
&lt;br /&gt;
*[[Security]] contains important security procedures for a production site&lt;br /&gt;
*[[Performance]] for ideas on improving the speed of your installation&lt;br /&gt;
*[[Manage roles]] For Moodle 1.7 and later.&lt;br /&gt;
*[[Reducing spam in Moodle]]&lt;br /&gt;
*[[suhosin]] is an advanced protection system for PHP installation. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core.&lt;br /&gt;
&lt;br /&gt;
== FAQs ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Beginning Administration FAQ]]&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
*[[Backup and restore FAQ]]&lt;br /&gt;
*[[Errors FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Configuration Settings ==&lt;br /&gt;
*[[Site administration block]] contains configuration setting links&lt;br /&gt;
*[[Notification page]] used to update versions&lt;br /&gt;
*[[Variables]]&lt;br /&gt;
*[[Site settings]]&lt;br /&gt;
*[[Themes]]&lt;br /&gt;
*[[Language]]&lt;br /&gt;
*[[Activity modules administration]]&lt;br /&gt;
*[[Blocks administration]]&lt;br /&gt;
*[[Filters]]&lt;br /&gt;
*[[Backup settings]]&lt;br /&gt;
*[[HTML editor settings]]&lt;br /&gt;
*[[Calendar settings]]&lt;br /&gt;
*[[Maintenance mode]]&lt;br /&gt;
&lt;br /&gt;
* See also: &lt;br /&gt;
**[[Location of admin settings in 1.7|Comparison between configuration settings in Moodle 1.6 &amp;amp; 1.7]]&lt;br /&gt;
&lt;br /&gt;
==User Management==&lt;br /&gt;
&lt;br /&gt;
*[[Authentication]]&lt;br /&gt;
*[[Add new user|Add a new user]] - on a site&lt;br /&gt;
*[[Upload users]] - from a file to a site, and into existing course and group, some existing user global updates&lt;br /&gt;
*[[User_profile_fields]]&lt;br /&gt;
*[[Enrolment plugins]]&lt;br /&gt;
**[[Flat file]] - enrol existing users in a course&lt;br /&gt;
*[[Roles and capabilities|Assigning user a role]] - typical assignments include:&lt;br /&gt;
**[[Students|Enrol students in a course]]&lt;br /&gt;
**[[Unenrolment]] Student&lt;br /&gt;
**[[Courses (administrator)|Assign teachers]] - to a course&lt;br /&gt;
**[[Assign creators|Assign course creators]] - in a site&lt;br /&gt;
**[[Assign administrators]] - in a site&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
*[[Courses (administrator)|Courses]] and [[Course formats|course formats]]&lt;br /&gt;
*[[Reports (administrator)]] and [[Logs]]&lt;br /&gt;
*[[Site files]]&lt;br /&gt;
*[[Moodle database|Database]]&lt;br /&gt;
*[[Environment]]&lt;br /&gt;
*[[Moodle Network]] and Moodle [[Community hub]]&lt;br /&gt;
*[[Streaming Media]]&lt;br /&gt;
*[[Case studies (administrator)]]&lt;br /&gt;
*[[Anti-virus]]&lt;br /&gt;
*[[System Monitoring and Server Statistic Software]]&lt;br /&gt;
*[[Integrate Moodle, LDAP and SIMS.net]]&lt;br /&gt;
*[[How to rebuild context paths]]&lt;br /&gt;
*[[Hacking the Moodle 2.0 database transfer script to convert a Moodle 1.9 site]]&lt;br /&gt;
*[[Category:ProxyProblems]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[:Category:Administrator | Index of all Administrator-related pages]]&lt;br /&gt;
*[[Integrations]]&lt;br /&gt;
*[[CVS for Administrators]]&lt;br /&gt;
*[[Email processing]]&lt;br /&gt;
*[[Search engine optimization]]&lt;br /&gt;
*[[Messaging]]&lt;br /&gt;
*[[Migration]]&lt;br /&gt;
*[[Metacourses]]&lt;br /&gt;
*[[Block layout]]&lt;br /&gt;
*[[Customizing Moodle]]&lt;br /&gt;
*[[Administrator do&#039;s and don&#039;ts]]&lt;br /&gt;
*[[Using Moodle book]] Chapter 16: Moodle Administration&lt;br /&gt;
*[[Administration hacks]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[cs:Rukověť správce]]&lt;br /&gt;
[[es:Documentación para Administradores]]&lt;br /&gt;
[[eu:Kudeatzaileentzako dokumentazioa]]&lt;br /&gt;
[[fr:Documentation administrateur]]&lt;br /&gt;
[[ja:管理者ドキュメント]]&lt;br /&gt;
[[ko:관리자 문서]]&lt;br /&gt;
[[nl:Documentatie voor beheerders]]&lt;br /&gt;
[[pt:Documentação para administradores]]&lt;br /&gt;
[[ru:Администраторам]]&lt;br /&gt;
[[sk:Dokumentácia pre správcov]]&lt;br /&gt;
[[zh:管理员文档]]&lt;br /&gt;
[[pl:Administrator documentation]]&lt;br /&gt;
[[fi:Ylläpitäjän opas]]&lt;br /&gt;
[[de:Dokumentation für Administratoren]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Administrator_documentation&amp;diff=64209</id>
		<title>Administrator documentation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Administrator_documentation&amp;diff=64209"/>
		<updated>2009-10-10T08:34:33Z</updated>

		<summary type="html">&lt;p&gt;Ratna: removed &amp;quot;Table of Contents&amp;quot; as a section in itself&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of this page is to list useful links by general topics for administrators of a Moodle site.&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Installation &amp;amp; Upgrading ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation Quickstart]] for an overview of the installation steps&lt;br /&gt;
*[[Installing Moodle]] for detailed installation instructions&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Installing AMP|Options for installing Apache, MySQL and PHP]]&lt;br /&gt;
*[[Upgrading|Upgrading Moodle]]&lt;br /&gt;
*[[Installing contributed modules or plugins]]&lt;br /&gt;
&lt;br /&gt;
== System-specific Instructions &amp;amp; Packages ==&lt;br /&gt;
&lt;br /&gt;
===Unix/Linux-based===&lt;br /&gt;
* [[SUSE Linux Server 10|Automated Installation Guide for SUSE Linux Enterprise Server 10]] operating system&lt;br /&gt;
* [[RedHat Linux installation|Step-by-step Installation Guide for RedHat]] operating system&lt;br /&gt;
* [[Debian GNU/Linux installation|Step-by-step Installation Guide for Debian GNU/Linux]] operating system&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu]]&lt;br /&gt;
* [[Step-by-step Install Guide for Ubuntu using apt-get]]&lt;br /&gt;
* [[Step-by-step Install Guide for Zenwalk-5.0]]&lt;br /&gt;
* [[OLPC XS installation|Step-by-step Installation Guide for the One Laptop per Child XS Server (Beta)]]&lt;br /&gt;
* [[Step-by-step Install Guide for Solaris 10 with Oracle 10]]&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
* [[Windows installation|Windows installations with instructions for Windows NT/2000/2003 servers]]&lt;br /&gt;
* [[Windows installation using XAMPP|Windows installation using XAMPP: Apache, MySQL and PHP]]&lt;br /&gt;
* [[Development:Windows_Installer_anywhere|MoodleAnywhere]] another Windows installation package&lt;br /&gt;
* [[Installing Moodle on Windows Vista]] - how to&lt;br /&gt;
&lt;br /&gt;
===Mac===&lt;br /&gt;
* [[Complete Install Packages for Mac OS X | Complete Install Packages for Mac OS X 10.3/10.4/10.5]]&lt;br /&gt;
* [[Step-by-step Guide for Installing Moodle on Mac OS X 10.4 Client|Step by Step Installation on a Mac OS X 10.4 Client using the internal web server]]&lt;br /&gt;
* [[Step by Step Installation on a Mac OS X 10.5 Server|Step by step Installation on a Mac OS X 10.5 Server]]&lt;br /&gt;
&lt;br /&gt;
===Web Hosts===&lt;br /&gt;
* [[1and1_MySQL_installation | Installation on &#039;&#039;&#039;1and1&#039;&#039;&#039; web hosting]]&lt;br /&gt;
* [[powweb_MySQL_installation | Step-by-step Installation on &#039;&#039;&#039;Powweb&#039;&#039;&#039; web hosting]]&lt;br /&gt;
&lt;br /&gt;
===Database===&lt;br /&gt;
* [[Installing Oracle for PHP]]&lt;br /&gt;
* [[Installing MSSQL for PHP]]&lt;br /&gt;
* [[Installing Postgres for PHP]]&lt;br /&gt;
&lt;br /&gt;
==Security, Performance and Roles==&lt;br /&gt;
&lt;br /&gt;
*[[Security]] contains important security procedures for a production site&lt;br /&gt;
*[[Performance | Performance and optimization]] for ideas on improving the speed of your installation&lt;br /&gt;
*[[Manage roles | Managing roles]] For Moodle 1.7 and later.&lt;br /&gt;
*[[Reducing spam in Moodle]]&lt;br /&gt;
*[[suhosin]] is an advanced protection system for PHP installation. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core.&lt;br /&gt;
&lt;br /&gt;
[[Administrator documentation#Table of Contents|Top]]&lt;br /&gt;
== FAQs ==&lt;br /&gt;
&lt;br /&gt;
*[[Installation FAQ]]&lt;br /&gt;
*[[Beginning Administration FAQ]]&lt;br /&gt;
*[[Administration FAQ]]&lt;br /&gt;
*[[Backup and restore FAQ]]&lt;br /&gt;
*[[Errors FAQ]]&lt;br /&gt;
&lt;br /&gt;
== Configuration Settings ==&lt;br /&gt;
*[[Site administration block]] contains configuration setting links&lt;br /&gt;
*[[Notification page]] used to update versions&lt;br /&gt;
*[[Variables]]&lt;br /&gt;
*[[Site settings]]&lt;br /&gt;
*[[Themes]]&lt;br /&gt;
*[[Language]]&lt;br /&gt;
*[[Activity modules administration]]&lt;br /&gt;
*[[Blocks administration]]&lt;br /&gt;
*[[Filters]]&lt;br /&gt;
*[[Backup settings]]&lt;br /&gt;
*[[HTML editor settings]]&lt;br /&gt;
*[[Calendar settings]]&lt;br /&gt;
*[[Maintenance mode]]&lt;br /&gt;
&lt;br /&gt;
* See also: &lt;br /&gt;
**[[Location of admin settings in 1.7|Comparison between configuration settings in Moodle 1.6 &amp;amp; 1.7]]&lt;br /&gt;
&lt;br /&gt;
==User Management==&lt;br /&gt;
&lt;br /&gt;
*[[Authentication]]&lt;br /&gt;
*[[Add new user|Add a new user]] - on a site&lt;br /&gt;
*[[Upload users]] - from a file to a site, and into existing course and group, some existing user global updates&lt;br /&gt;
*[[User_profile_fields]]&lt;br /&gt;
*[[Enrolment plugins]]&lt;br /&gt;
**[[Flat file]] - enrol existing users in a course&lt;br /&gt;
*[[Roles and capabilities|Assigning user a role]] - typical assignments include:&lt;br /&gt;
**[[Students|Enrol students in a course]]&lt;br /&gt;
**[[Unenrolment]] Student&lt;br /&gt;
**[[Courses (administrator)|Assign teachers]] - to a course&lt;br /&gt;
**[[Assign creators|Assign course creators]] - in a site&lt;br /&gt;
**[[Assign administrators]] - in a site&lt;br /&gt;
&lt;br /&gt;
==Other==&lt;br /&gt;
&lt;br /&gt;
*[[Courses (administrator)|Courses]] and [[Course formats|course formats]]&lt;br /&gt;
*[[Reports (administrator)]] and [[Logs]]&lt;br /&gt;
*[[Site files]]&lt;br /&gt;
*[[Moodle database|Database]]&lt;br /&gt;
*[[Environment]]&lt;br /&gt;
*[[Moodle Network]] and Moodle [[Community hub]]&lt;br /&gt;
*[[Streaming Media]]&lt;br /&gt;
*[[Case studies (administrator)]]&lt;br /&gt;
*[[Anti-virus]]&lt;br /&gt;
*[[System Monitoring and Server Statistic Software]]&lt;br /&gt;
*[[Integrate Moodle, LDAP and SIMS.net]]&lt;br /&gt;
*[[How to rebuild context paths]]&lt;br /&gt;
*[[Hacking the Moodle 2.0 database transfer script to convert a Moodle 1.9 site]]&lt;br /&gt;
*[[Category:ProxyProblems]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[[:Category:Administrator | Index of all Administrator-related pages]]&lt;br /&gt;
*[[Integrations]]&lt;br /&gt;
*[[CVS for Administrators]]&lt;br /&gt;
*[[Email processing]]&lt;br /&gt;
*[[Search engine optimization]]&lt;br /&gt;
*[[Messaging]]&lt;br /&gt;
*[[Migration]]&lt;br /&gt;
*[[Metacourses]]&lt;br /&gt;
*[[Block layout]]&lt;br /&gt;
*[[Customizing Moodle]]&lt;br /&gt;
*[[Administrator do&#039;s and don&#039;ts]]&lt;br /&gt;
*[[Using Moodle book]] Chapter 16: Moodle Administration&lt;br /&gt;
*[[Administration hacks]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Administrator]]&lt;br /&gt;
[[cs:Rukověť správce]]&lt;br /&gt;
[[es:Documentación para Administradores]]&lt;br /&gt;
[[eu:Kudeatzaileentzako dokumentazioa]]&lt;br /&gt;
[[fr:Documentation administrateur]]&lt;br /&gt;
[[ja:管理者ドキュメント]]&lt;br /&gt;
[[ko:관리자 문서]]&lt;br /&gt;
[[nl:Documentatie voor beheerders]]&lt;br /&gt;
[[pt:Documentação para administradores]]&lt;br /&gt;
[[ru:Администраторам]]&lt;br /&gt;
[[sk:Dokumentácia pre správcov]]&lt;br /&gt;
[[zh:管理员文档]]&lt;br /&gt;
[[pl:Administrator documentation]]&lt;br /&gt;
[[fi:Ylläpitäjän opas]]&lt;br /&gt;
[[de:Dokumentation für Administratoren]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64189</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64189"/>
		<updated>2009-10-09T19:25:19Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* What are PHP-accelerators? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirements_for_N_users.3F What are the requirements for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64188</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64188"/>
		<updated>2009-10-09T19:22:23Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How do I benchmark a Moodle-site? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirements_for_N_users.3F What are the requirements for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64187</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64187"/>
		<updated>2009-10-09T19:14:48Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirements_for_N_users.3F What are the requirements for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64186</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64186"/>
		<updated>2009-10-09T19:12:50Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How do you define &amp;quot;concurrent users&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] fourm, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirments for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirments_for_N_users.3F What are the requirments for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64185</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64185"/>
		<updated>2009-10-09T19:08:03Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How many users will my installation support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirments for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_are_the_requirments_for_N_users.3F What are the requirments for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64184</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64184"/>
		<updated>2009-10-09T19:06:39Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* What hardware is needed for N users? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What are the requirments for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_hardware_is_needed_for_N_users.3F What hardware is needed for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64162</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64162"/>
		<updated>2009-10-09T15:07:28Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* reomoved How do I setup multiple Moodle instances on one server? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What hardware is needed for N users?===&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_hardware_is_needed_for_N_users.3F What hardware is needed for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64161</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64161"/>
		<updated>2009-10-09T14:58:00Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How many users will my installation support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
===How do I setup multiple Moodle instances on one server?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=120757&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What hardware is needed for N users?===&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_hardware_is_needed_for_N_users.3F What hardware is needed for N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64160</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64160"/>
		<updated>2009-10-09T14:57:35Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* How many users will my installation support? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
===How do I setup multiple Moodle instances on one server?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=120757&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What hardware is needed for N users?===&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
See above [https://docs.moodle.org/en/Performance_FAQ#What_hardware_is_needed_for_N_users.3F N users?]&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64156</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64156"/>
		<updated>2009-10-09T13:53:24Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* What hosting provider do you recommend? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
===How do I setup multiple Moodle instances on one server?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=120757&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What hardware is needed for N users?===&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64155</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64155"/>
		<updated>2009-10-09T13:52:10Z</updated>

		<summary type="html">&lt;p&gt;Ratna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=57202&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
===How do I setup multiple Moodle instances on one server?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=120757&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=102978&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=103040&lt;br /&gt;
&lt;br /&gt;
===What hardware is needed for N users?===&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64100</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/39/en/index.php?title=Performance_FAQ&amp;diff=64100"/>
		<updated>2009-10-08T11:43:16Z</updated>

		<summary type="html">&lt;p&gt;Ratna: /* Categories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the forum [0], the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something [1]. It may by processing a webpage written in PHP, processing a database querry or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[0] Using Moodle [http://moodle.org/mod/forum/view.php?f=94 Hardware and Performance forum]&lt;br /&gt;
&lt;br /&gt;
[1] http://en.wikipedia.org/wiki/Concurrency_(computer_science)&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can ofcourse benchmark each component of the software stack, starting from the operating system upto the database https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark . But there is no easy formula to deduct the maximum number of concurrent users from those data.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script [2] circulating amoung the Moodle-community which calculates a ballpark figure. Take the current version from 1. March 2007 posted here [3]. Please note running this script on a production server may have side-effects, you are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
[2] http://moodle.org/mod/forum/discuss.php?d=57028&lt;br /&gt;
&lt;br /&gt;
[3] http://moodle.org/mod/forum/discuss.php?d=57028#p296907&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
For the definition see Wikipedia [4]. Read the Performance documentation [5] for possible software.&lt;br /&gt;
&lt;br /&gt;
[4] http://en.wikipedia.org/wiki/PHP_accelerator&lt;br /&gt;
&lt;br /&gt;
[5] https://docs.moodle.org/en/Performance#PHP_performance&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [https://docs.moodle.org/en/Performance#Performance_of_different_Moodle_modules Performance of different Moodle modules]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[https://docs.moodle.org/en/Performance#Obtain_a_baseline_benchmark Obtain a baseline benchmark] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
===What hardware is needed for N users?===&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Ratna</name></author>
	</entry>
</feed>