Archive for May, 2008

MySQL tuning

Thursday, May 29th, 2008

hmm, ulimit -n gives max # of file descriptors corresponding with the max_open_files limit in my.cnf. You can increase the file descriptors in sysctl.conf: kern.maxfiles=655360 kern.maxfilesperproc=32768

Apache tuning

Thursday, May 29th, 2008

finally read something about Apache server tuning. Apache is default installed with the prefork mpm, which is not necessarily the optimum for servers. Especially when you have multiple servers you might be better of with the worker mpm.

Group / Role Synch

Thursday, May 29th, 2008

Based on work for another client I wrote a local cron script to synchronise groups and roles over different courses based on a template course. What the script does is load all users from each group in the template course and compare that array with the users in the synonymous group ...

PHP Security

Thursday, May 29th, 2008

PHP security patches and hardening features: Suhosin

Moodle Debugging

Thursday, May 29th, 2008

Hmm, don't know why but never actually looked into the debugging option in the Server menu. Some quite useful features can be enabled there: Display debug messages : to get PHP debug messages on screen, in the drop down box above you can set the debugging level Debug email sending: if there ...

Global Search Moodle

Monday, May 26th, 2008

Global search in Moodle caveats: install xpdf library isntall antiword libary enable global search in Misc -> Experimental Index documents

Moodle Audit template

Wednesday, May 21st, 2008

I can see a small trend of schools who experience problems with their Moodle installation in regards of performance / functional design. Hereby a setup for a kind of Auditing template to do a quick scan of a Moodle installation: Hardware: CPU MEM Disk Software: OS + distribution Webserver DBMS PHP PHP cacheing Moodle: version instances: test / production url / account info paths cacheing # courses # ...

Suse command line update

Tuesday, May 20th, 2008

Have to upgrade php from 4.3.4 to 5.x to enable some Moodle functions like global search. I once had a Suse installation on my desktop but there I used the yast gui which is quite intuitive. Now I only have ssh connection so I have to use the command line. After ...

Upgrade client to 1.9

Tuesday, May 20th, 2008

Probem when backing up database: error while backing up database:broken/missing MYI file which is indicating a problem with the index. Repaired index with: repair table table_name >> recreated index and everything was fine.

Moodle and SCORM 1.2

Wednesday, May 7th, 2008

Moodle and SCORM is not a happy marriage. We are having problems with SCORM scores and passing them to the gradebook. Some Moodle forum entries: http://moodle.org/mod/forum/discuss.php?d=83846 http://moodle.org/mod/forum/discuss.php?d=89479 http://tracker.moodle.org/browse/MDL-13683 It's always problems with SCORM and Moodle.