If you’re running low of memory on a server, there may be scope to free up memory through use of ‘ksm‘. (Note, that the kernel will start looking for memory to de-duplicate if KSM is turned on AND there are some processes running which have notified the kernel that they’re candidates; ‘kvm’ does the latter.) […]
We have a set of PHPUnit tests running against a Propel/PDO application. Recently, with a recent increase in the number of tests, we’ve found that we’ve been hitting MySQL’s max_connections or max_user_connections limit (see /etc/mysql/my.cnf on the MySQL server).
Historically we had a ‘normal’ pxe boot server in the office (DHCP server points to a TFTP server and specified a pxelinux file to load) from which we could choose to install various distributions. The only problem with this is that it was initially limited to the a specific release/version of Debian/Ubuntu (as we’d just […]
Today we received an email along the lines of : “Help! A customer’s website is slow and they’re complaining it’s taking over 2 seconds to load!”
Using something like munin it’s trivial to create a graph plotting trends – and assists in answering questions like : Why is the website on server X feeling slow today? Are we receiving significantly more hits/email/whatever than normal? How effective is the new mail server? When are we likely to run out of disk space? […]
The PHPNE 2014 conference is almost upon us (March 18th). See their website for more details. The schedule looks awesome – I wish I could make it. As mentioned before, Pale Purple has helped by sponsoring the event – and we’re listed on http://conference.phpne.org.uk/sponsors.html (Perhaps we should add a listing of conferences we’ve sponsored […]
To help aid security for SSH connections, you can publish ‘SSHFP’ records in DNS which contain a fingerprint of a server’s ssh host key. If DNSSEC is in use throughout the DNS hierarchy then it ought to provide a trusted way of verifying remote hosts when no record already exists in your ~/.ssh/known_hosts file. To […]
Interestingly, we seem to be the fish swimming against the current – and today ported a ‘watch’ sized mobile app to work on on a phone sized (Android) device. The original app was designed for Android 1.6 (ImWatch) – and after about 5 minutes tinkering we were left wondering what to do with the extra […]
PHP 5.6 is almost here (we hope) – so we’ve had a look at some of the upcoming changes, and here are the ones of most interest to us. In a nutshell – variadics & splat, constant scalar expressions and ArrayOf type hinting ….