Are you hitting MaxClients without even knowing it?
Unless you run a busy website, Apache‘s MaxClients setting probably isn’t something you think about very often. If not, then look in your Apache 2.2 config and you’ll find a block like this1—
StartServers 5 MinSpareServers 10 MaxSpareServers 30 MaxClients 150 MaxRequestsPerChild 10000
This setting, along with ServerLimit, controls the number of simultaneous connections that Apache can handle. Above this limit, connections are queued until slots become free. Apache will tell you about this with a message in its error log that looks like—
[Sun Dec 21 01:35:59 2014] [error] server reached MaxClients setting, consider raising the MaxClients setting
Continue reading →
1 Comment
Filed under apache
Upgrading to SHA-256? Some XP users will think your site is down
It’s several weeks now since Google announced that they are phasing out support for certificates signed with the SHA-1 algorithm. The end result will be that, starting in Q1 2015, SHA-1 certificates with long expiry times will be treated as completely invalid by Chrome.
Unfortunately, upgrading to SHA-256 certificates will break Internet Explorer on pre-SP3 versions of XP in a horrible way. Users will get the IE Generic Page of Awfulness, making it look like your site is down.
Continue reading →
Leave a Comment
Filed under security
The draft Scottish constitution: an amateur law nerd’s analysis
Scottish Parliament debating chamber
For the impatient, here’s what I found most interesting:
- ‘The people are sovereign’—sounds great, but doesn’t mean much
- Parliament’s power to legislate is ‘subject to the constitution’—but it’s not clear what happens when it does something unconstitutional
- Parliament is required to try and get nuclear weapons out of Scotland
- In a fight between domestic and EU law, the EU always wins
- Scots law which isn’t compatible with the ECHR is automatically ineffective
- Most notably: there’s no indication as to how the constitution can be changed (other than by the people that are writing the permanent one)
Of course, fundamentally this document is all about votes: the referendum isn’t far away, and there are clearly clauses here that are designed to secure votes from particular people. I’ve tried to stay away from the politics as much as possible to concentrate on the law.
Continue reading →
Leave a Comment
Filed under law
This is why I love teaching piano
A couple of years ago I started teaching piano to an eight-year-old girl who could barely play a note.
Yesterday her mother posted this video of her playing and singing ‘Someone like you’ by Adele, which I transcribed for her a couple of weeks ago.
Watch and enjoy. This is why I love teaching piano.
2 Comments
Filed under music
App Store randomly opening? An advertising network is doing it
How DARE you interrupt my kitten viewing!
Continue reading →
10 Comments
Filed under ios, iphone
Is it possible to do a law degree in your spare time?
This year’s coursebooks
I’ve always had a latent interest in the law. Ever since my political awakening I’ve been fascinated by the invisible tendrils of a strange and powerful system that reaches into every aspect of life. It seems bizarre that only in recent years have its layers of rules, procedures and decisions been open to easy inspection. As a layperson I was attracted by the apparent cold logic of it all: every situation gets reduced to a result that is absolutely and provably correct and consistent (of course this is wrong, but more of that later).
Continue reading →
6 Comments
Filed under law
Sovereigns and freemen do their worst
It’s been almost two years since I wrote my ranty debunk of the British ‘sovereign citizen’ / ‘freeman-on-the-land’ movement. I’m relieved to say that, in that time, the craziness has subsided a little: no more videos of ordinary citizens making twats of themselves in court; nothing in particular from ‘commonly known as Dom’ and his ilk; no exponential rise in peddlers of half-baked ‘legal’ advice; zero UK media coverage. The post itself now sees 5-10 visitors per day.
For your amusement and, well, further amusement, I present a selection of feedback I’ve received on my little diatribe. Some are extracts from published comments, while others are drawn from those that fell below my very low standards for approval (mainly where a fake or invalid email address was given). Although I can’t claim to receive hate mail that ranks high on the Dawkins scale of fuckwittery, I hope this little selection makes for a smile or two.
Please feel free to imply [sic] wherever needed.
Continue reading →
13 Comments
Filed under law, rants