Drupal profiling

Posted in: Howtos- Feb 28, 2017 No Comments

Drupal profiling Useful link RE profiling with xdebug and PHP Storm. http://www.phase2technology.com/blog/profiling-drupal-performance-with-phpstorm-and-xdebug/ There are a couple of modules which may be useful: https://www.drupal.org/project/xhprof https://www.drupal.org/project/profiling

Chromebook setup

Posted in: Howtos- Feb 28, 2017 No Comments

Overview   Installation Crouton project page is at https://github.com/dnschneid/crouton Download from https://goo.gl/fd3zc   Then set up a chroot by opening a terminal, typing shell and then running: $ sudo sh ~/Downloads/crouton -t unity-desktop -r trusty -n trusty-unity-desktop   Then the environment can be logged into by running: $ sudo startunity Set up steps Install extra [...]

Calculate Apache settings

Posted in: Howtos- Feb 28, 2017 No Comments

Calculate Apache settings To work out a good setting for MaxClients, first find out the average apache process memory use in megabytes. You’ll want to run the following snippet a number of times, and average the results: ps -ef | grep apache2 | grep -v ^$USER | awk ‘{ print $2 ‘} | xargs pmap [...]

Apache ITK tuning

Posted in: Howtos- Feb 28, 2017 No Comments

Advice RE Apache ITK Initial checking shows that ITK (non-threaded) can be as efficient as a threaded Apache provided there is enough RAM.   Looking at: http://www.zarafa.com/wiki/index.php/Apache_tuning we see:   ‘If you have the RAM available and start enough spare workers processes then the advantages of mpm_worker are limited’   Initial points:   With enough [...]