Archive for May 29th, 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 ...