Talk:Performance

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Performance.

there's still the suggestion of using turck mmcache. the last release is from 11/2003! is that recommendation valid? are there better alternatives? what about eaccelerator?

eAccelerator does seem by consensus to be the way to go, but though there's a working beta there appear to be issues with its stability and performance, especially with PHP5 (e.g. breaks the -GRACEFUL command in apachectl). It's flagged as unstable in most repositories - the message on the forums appears to be wait around a little! Rory Allford

Changes have now been made to update this section. Please check if anything is missing or needs amending. Ken Wilson 10:59, 4 January 2007 (CST)

I have no idea how to interpret the output of this :-( What value:

 #ps -ylC httpd --sort:rss

--Howard Miller 09:31, 14 November 2007 (CST)

For me "#ps -ylC httpd --sort:rss" returned no results, however "#ps -ylC apache2 --sort:rss" does return results.

So for my box running the above command gives me:

root@intranet:~# ps -ylC apache2 --sort:rss
S   UID   PID  PPID  C PRI  NI   RSS    SZ WCHAN  TTY          TIME CMD
S     0  5213     1  0  80   0 105796 74284 d_look ?       00:00:05 apache2
S    33 10198  5213  3  80   0 122864 78776 -     ?        00:00:03 apache2
S    33 10197  5213  3  80   0 124800 79236 -     ?        00:00:05 apache2
S    33  9777  5213  0  80   0 127864 80282 -     ?        00:00:12 apache2
S    33 10136  5213  1  80   0 128344 80424 -     ?        00:00:10 apache2
S    33 10188  5213  2  80   0 133792 81770 429493 ?       00:00:07 apache2
S    33  9816  5213  0  80   0 135156 82093 -     ?        00:00:17 apache2
S    33  9863  5213  0  80   0 135484 82462 -     ?        00:00:09 apache2
S    33 10028  5213  1  80   0 135944 82585 -     ?        00:00:14 apache2
S    33  9790  5213  0  80   0 143628 84786 -     ?        00:00:17 apache2
S    33  9779  5213  0  80   0 144772 84571 -     ?        00:00:15 apache2

However I am struggling to work out which value I need to be looking at and how it relates to the expected 10 mb per process! My sums are giving me an average of between 127 and 80 mb depending on if I use rss or sz to take my average. This is well over the suggested 10 mb!

Jon Witts 03:11, 3 February 2009 (CST)

For reference I am having more luck with this now thanks to Martin! :-) link In this forum

Jon Witts 09:13, 9 February 2009 (CST)

This page has links to mymoodle.com that don't lead anywhere.-- Unsigned Tim Ganly

The is because they are example URLs. You are meant to copy and paste them then edit them to point to your own Moodle site.--Tim Hunt 08:50, 18 March 2010 (UTC)

Linux Performance Team? Outdated

The Linux Performance Team website was last updated in 2004. Is this still even relevant at this point? (6 years later represents MASSIVE jumps in computing spaces)

Apache performace

Hi,

on https://docs.moodle.org/en/Performance#Apache_performance someone wrote: > So, if your site is SSL-enabled, and you use Apache, you should set the KeepAliveTimeout to at least 60 seconds.

I guess it is fixed in new Apache-Versions by adding an IE-Hack on mod_ssl: http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#msie

dm

Apache Lounge

Under https://docs.moodle.org/en/Performance#Apache_performance there is, "* If you are using Apache on a Windows server, use the build from Apache Lounge which is reported to have 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."

I have never used it, but http://www.apachelounge.com/download/ says "Apache 2.2 win32 binary: The windows binary is build with original sources from ASF ( http://httpd.apache.org ) and contains the latest patches." That should be mentioned. -- Visvanath 7. May 2010 18:16 MEST