Stem my bleeding heart

Screenshot of the Heartbleed web site

If you read tech news on the internet, then you will have almost certainly come across the Heartbleed bug. As well as being probably the first programming bug to have a logo and brand name, it’s also very serious. It affects, or affected, a significant number of web sites and web services – pretty much anything that used SSL or TLS and the OpenSSL library. This will include many sites using the open source Apache and nginx web servers, which between them account for a majority of web sites.

The Heartbleed bug was in the ‘heartbeat’ component of OpenSSL, and first appeared in a code commit made at around 11pm on New Years Eve 2011 – make of that what you will. The first stable release of OpenSSL with the bug came in March 2012, and it was only fixed relatively recently. It’s therefore estimated that 17% of the world’s web sites may be affected.

If you administer a server that uses OpenSSL, then you’ll need to make sure that you update to the latest version which fixes the bug. But you may also need to revoke your SSL certificates and acquire new ones, and, if you suspect any foul play, do a full security audit. You can check your server using this tool – I’ve verified that this site was never affected.

If you’re just a regular user of the internet, then you may notice that some web sites will have forcibly logged you out. Some may also require you to change your password, and possibly re-connect any third party apps linked to your account. IFTTT emailed me to suggest changing my password, and Pocket has advised its users to do the same. Ironically, so has the web site Should I Change My Password which notifies of data breaches. If you are not already, I would suggest using a password manager such as 1Password, RoboForm, Keypass or LastPass. LastPass users can also find out if any sites they use have been affected by Heartbleed.

Some security experts have suggested that users change all of their passwords, although only once the web sites have implemented their fixes. This may not be necessary and PayPal has said they were not affected by Heartbleed. However, if you’re not using strong, unique passwords for every web site then now may be a good time to do so, regardless of whether sites have been affected or not, and the aforementioned password managers will help you in that regard. A lot of sites will now accept passwords that are more than 20 characters long, with special characters, which should be very, very difficult to crack.

Office 365 University

A copy of Microsoft 365 University in my cart on the Microsoft Store

Over the weekend I bought a copy of Microsoft Office for the first time. In the past, I’ve managed with either what’s been pre-loaded on new computers, or, since I got my own computer, OpenOffice or its variants.

But now Microsoft offers Office 365 University. For £60, you get to use Microsoft Office on two computers, and an unlimited number of mobile devices, for four years. The catch being that you need to be a full-time student, or a member of staff at university. Thankfully, the latter is true in my case.

These two computers can either be Windows or Mac machines: Windows users get Office 2013, Mac users get the slightly older Office 2011. They can be in any combination, so one Mac and one PC, two Macs, or two Windows PCs. Although all users of compatible iPhone, Android and Windows Phone handsets can install the free Office Mobile app, Office 365 users can also use the new suite of iPad apps and be able to create and edit documents (non-subscribers can only view documents). Unfortunately, as my old iPad 1 isn’t capable of running iOS 7, this isn’t a feature I can yet take advantage of.

Other benefits of the Office 365 subscription include 60 minutes of free calls to regular phone numbers on Skype each month, valid in around 60 countries, and an additional 20 GB of storage space on Microsoft’s OneDrive cloud storage service. As an early adopter of this service I already had 25 GB, plus a 3 GB bonus gained by enabling photo sync in the iOS app, so I have 48 GB of space now.

I’ve got Office 2011 up and running on my Mac, which in this edition includes Word, PowerPoint, Excel and Outlook, with OneNote as a separate free download (previously reviewed by me here). Although be aware that the first thing you will probably have to do after downloading the almost 1 GB install package, is then download another 100 MB or so of software updates. This is Microsoft software after all!

For the most part, Office 2011 for Mac can do anything that Office 2010 for Windows can do, with a couple of exceptions – no ActiveX controls (so no embeddable YouTube videos in presentations), and no support for the OpenDocument file formats. This means that you’ll probably still want to keep either OpenOffice or LibreOffice around if you have documents in these formats. I was a little surprised at the ugliness and clutteredness of the user interface, when compared with Office 2010 and indeed the new OneNote for Mac. Whilst it uses the new ‘ribbon’ interface introduced with Office 2007, it’s not as well designed as its Windows counterparts. Hopefully this will improve as and when a new version of Office for Mac is released.

As for why I’ve bought Office 365 when I already have LibreOffice installed? The main reasons are speed and file compatibility. LibreOffice is still quite big and slow, when compared with the Word, Excel and PowerPoint apps on my Mac. And file compatibility with Microsoft’s own formats isn’t quite there, even after all of these years. It’s not helped by there being several forks of what was originally OpenOffice.org in parallel development – there’s now Apache OpenOffice, LibreOffice and the Mac-only NeoOffice.

In terms of the additional perks, I don’t think I will get to use the extra Skype minutes, bearing in mind that I never use the inclusive minutes in my mobile contract either. Whilst I wasn’t planning to use the extra OneDrive space, since I’m mostly a Dropbox user, I may need to think this through. Right now I’m paying £60/year for Dropbox Pro, but only using around 15 GB – theoretically I could switch over to OneDrive and still have ample space whilst saving myself some money. I’ll need to ponder this.

If you are a student or a university staff member, I would therefore recommend Office 365 University to you. It’s £60 on the Microsoft store, although Quidco users should be able to claim 15% cashback, making it about £52. On the other hand, it’s £52.56 on Amazon, which is probably a better option.

Upgrading to Windows 8.1

Screenshot of the start screen in Windows 8.1

Yesterday I upgraded to Windows 8.1. I run Windows in a virtual machine on my Mac using VirtualBox, and I upgraded it from Vista almost exactly a year ago. The process was reasonably smooth, in comparison to last year’s debacle, but it wasn’t without some minor incidents.

Getting started

First of all, I wasn’t quite sure how one would go about upgrading. So I opened up Internet Explorer and searched Bing, and it told me to open Windows Store, the app store for Windows 8. So I did, and… nothing. I couldn’t see anything that would suggest what to do next.

Thankfully this page came up with a possible solution. I hadn’t booted Windows 8 in a few months and so I was behind on installing fixes from Windows Update. 35 updates were presented to me; after the first run, all but 1 of these failed, so I rebooted and tried again. This time 4 installed correctly, but again, the others failed. Finally after another reboot I got the rest to install, and so I then rebooted again. This time, upon opening the Windows Store app a full-screen button for installing Windows 8.1 came up.

The first attempt at downloading the update failed, but then it got under way on the second attempt.

Installation

At this point I went to bed and left it to install overnight. I woke up to find the installer asking me to agree to the new license agreement, and to enter my details for my Microsoft Account. Then, it did a little housekeeping, and before long I was back at the Start screen, freshly upgraded. Post-upgrade, there are a couple of contextual tutorials that show you how to do things in the new ‘modern’ interface, which helps.

The verdict on Windows 8.1

I haven’t spent much time with Windows 8.1 post-upgrade but it does seem to be a minor improvement. You can do more things in the modern interface without dropping back to the Desktop – Control Panel, for example, has been largely replicated. However, I still find it harder to navigate than before, with some apps hidden away on the ‘All Apps’ menu, and it’s more difficult to find the ‘Shut Down’ button than on Windows 7. And the new interface is still over-optimised for touchscreen computers – even with an Apple Magic Mouse with sideways scrolling, it still takes longer to do things. Having to hold the mouse pointer in a small corner of the screen to then bring up menus is slow compared to clicking.

Using Windows 8.1 makes you realise why Apple keeps OS X on desktops and iOS and touchscreen devices. Having the old desktop and new modern interface in the same operating system feels like a kludge, especially when you get booted out of one into the other unexpectedly (which happens now and again). And trying to enable it for both touchscreens and mouse-controlled computers results in a compromise that disadvantages the latter, in my opinion.

I don’t think these problems are insurmountable, but let’s just say that I hope there’s a Windows 8.2 that fixes them.

Mavericks – my review

A screenshot of Finder on Mac OS X Mavericks

Following Apple’s keynote presentation on Tuesday, OS X 10.9, aka ‘Mavericks’ was released. Apple broke its long-standing tradition of charging for OS X updates by offering Mavericks for free, and on any machine capable of running Lion. Furthermore, it looks like a direct upgrade from Snow Leopard to Mavericks is possible on those machines not yet updated, which may go some way in explaining why Mavericks is over five gigabytes in size.

By making Mavericks free, Apple can now dodge questions about whether the update is value for money. I know some felt that Mountain Lion wasn’t really worth the cost, even though it was only $20 and was already the cheapest OS X update to date (barring the ancient 10.1 ‘Cheetah’ update from 10.0). That being said, my early plays with it suggest that its value is at least that of Mountain Lion, and therefore a worthwhile update.

Installing Mavericks

Having been up at 5:45am on Tuesday (for work) I decided not to attempt to install Mavericks as soon as it came out, although I did watch most of Apple’s keynote live. Instead I waited until yesterday, and gave myself things to do whilst it installed, which, from beginning the download to completing installation, took around two hours on my early 2010-vintage Mac Mini. Then there were a raft of software updates to install afterwards – iPhoto, iTunes, XCode, a Digital Camera RAW update and improvements to some of the voices for the text-to-speech feature, plus various third-party apps. This took another hour or so but was technically optional.

Up and running

Once I had Mavericks up and running, it seemed to work fine. Well, no different to Mountain Lion, anyway. My Mac still takes quite a while to boot up but that’s probably to do with various apps and utilities that I have running. I did have to fiddle with the screen settings, as for some reason Mavericks decided to set my two screens to be an extended desktop and not mirrored like I prefer – my second screen is actually the living room television. Mavericks also changed some of my Magic Mouse’s settings so that left and right swiped no longer did anything. Frustrating, but easily changed back.

Scrolling seems smoother, which is nice, and Launchpad is now quite a bit faster – especially when opening stacks. This is a relief as it’s the main way I access apps that aren’t in the Dock.

Activity Monitor

The Activity Monitor saw major changes in Mavericks, with a new tabbed interface. I like it, and it feels simpler now, even though it shows more information. A new ‘Energy’ tab shows which apps are putting the most strain on your battery, if your Mac is a laptop – mine isn’t, but it’s still interesting to see which apps are power-hungry. Predictably Firefox was using the most energy whilst I was writing this but some background processes were also quite hungry too, so I may have to re-evaluate which apps run on startup.

It also tells you whether OS X is making use of one of its new features, Compressed Memory. When you start to run out of available RAM, OS X will now compress some of the data in RAM to make more available. This does add a bit of processing overhead, but it’s still faster than using a swap file (virtual memory) on a hard disk or even a solid state drive (SSD). I noticed that since installing Mavericks, OS X attempts to use as much RAM as possible to minimise swap file usage.

Maps

I had a brief play with the new Maps app. It’s basically the same as the iOS app, which sadly means it’s full of the same crappy data. A year on and there are still big problems with missing places (such as Bradford’s Alhambra Theatre), or places that have long-since closed.

I did note that my search history from my iPhone carried over to my Mac, which is interesting. However, I’ll be sticking to Google Maps for now.

Finder

Finder now has tabs in Mavericks; I’m sure some people will be overjoyed at this but I’m not too bothered. You can at least drag documents between tabs so I suppose I may use it from time to time. I don’t think I’ll use tags though, as I never used the labels that came before.

Miscellaneous points

  • The CPU coalescing feature is quite clever, but of limited use to a desktop user like me. I’ve heard that it is effective at extending battery life, which is good – it’s always nice to have a battery that lasts longer after an update than the more usual opposite.
  • The colours seem brighter on my screen, but that may be co-incidental with me changing the screen settings.
  • I like how newly-installed or updated apps sparkle in Launchpad.
  • I’m aware that there are major problems between Mail and Gmail accounts, however, I’ve recently stopped using Mail so thankfully I haven’t experienced this first hand.
  • LinkedIn is now supported alongside Twitter and Facebook. You can post status updates from the Notification Centre, and your connections will appear in Contacts. I wonder if iOS will follow suit in a forthcoming update.
  • I’ve turned on the iCloud Keychain. To enable it you have to also tell OS X to require a password to unlock your Mac if left idle, which isn’t done in a very intuitive way.
  • Users of older versions of Parallels desktop have found out that it doesn’t work on Mavericks. The latest version does but it’s a paid-for update. Consequentially my article about converting Parallels VMs to VirtualBox has been well-visited over the past few hours.

Elsewhere

As usual, John Siracusa has written a very extensive review of Mavericks at Ars Technica, which is well worth reading as it explains how some of the new performance features work. Dave2 is mostly positive about it too, although Lifehacker’s initial review is less so.

For me personally, it seems fine. Those wanting to err on the side of caution may want to wait for the inevitable 10.9.1 update which will follow in a few weeks (especially if you use Gmail in Mail), but I feel it’s good enough to take the plunge now. And you can’t argue with the price.

My Apple predictions – how did I do?

iPhone 4, meet iPhone 5

Following yesterday’s predictions that I made, we now know what Apple will be launching later this month. Were my predictions correct?

New iPhone models

I was pretty-much bang on about the two new iPhones – the cheaper 5C and the premium 5S. There were so many leaks of information that these were expected by many, and so it was a bit of let-down when Apple were unable to surprise us. As predicted there would be a new processor, which was indeed the A7, although the M7 co-processor to manage the motion sensors was a surprise. And as expected the iPhone 5S will ship with a fingerprint scanner on the home button.

The iPhone 5C is, as expected, a cheaper plastic phone, but it’s not significantly cheaper than the iPhone 5 was. Unless Apple will be selling it more cheaply in emerging markets and then pricing it higher in the more lucrative Western markets.

Both handsets will actually come in five versions (so ten in total), with different models for different networks, due to the big variation in frequency bands for 4G LTE. Vodafone is listed in the UK, meaning that the 5S and 5C will work on its 4G network. The iPhone 5 didn’t because Vodafone and O2 will be using the frequency bands that were freed up when analogue terrestrial television broadcasts were turned off last year. Whilst O2 isn’t listed, as the original launch partner for the iPhone in the UK I expect this is an oversight and that they will offer 4G services on the new handsets, and I expect 3 will do as they will offer 4G on the existing iPhone 5 last this year.

Apple have unexpectedly returned to the case market with new cases for both models. There’s also a new docks – one for the 5 and 5S, and one for the 5C.

Retiring of the old models.

Nope. Got this wrong. The iPad 2 and iPhone 4S are still on sale, and even the iPhone 4 will be available in China. Apple did kill off one its phones though, and surprisingly it was the iPhone 5. The 5C and 5S will therefore completely replace it. Normally Apple keep at least the previous two models on sale, although the third-generation iPad with retina display was retired after 8 months so it’s not completely unheard of.

The iPod Classic gets a stay of execution

I fully expected Apple to finally give the iPod Classic the Old Yeller treatment, but it’s still on sale, surprisingly. There were no major changes to the iPod range yesterday (with one exception, see below) and my hope of a 128 GB iPod Touch didn’t become a reality.

No NFC

As expected, Apple have not added support for NFC to their phones. I agree with Apple that Bluetooth SMART has more potential than NFC.

No Apple TV changes

Sadly there are no changes coming to the Apple TV, despite my hopes. Apple needs to offer more services on the platform if it hopes to be competitive against rivals like Roku, particularly outside of the US.

And everything else

We didn’t get to see the much-rumoured smart watch yesterday. I imagine Apple are working on one but are waiting until they can offer something significantly better than the competition. Samsung released its Galaxy Gear smartwatch to very mixed reviews last week and I’ve heard quite a few people have been underwhelmed by the Pebble smartwatch. Maybe next time.

Apple made a very slight change to the iPod range; the ‘space grey’ colour was added to the existing models. Other than that, there were no changes to the iPod line-up.

After two years, the Cards app for iOS, which allowed you turn your pictures into greetings cards, was discontinued. I don’t know anyone who used this so this isn’t surprising. That being said, I don’t know anyone who uses the ‘Stocks’ app that comes with every iPhone and can’t be deleted, yet it’s still there in iOS 7.

My predictions for today’s Apple event

Invite to Apple's 10th September event

Today Apple is announcing something, at around 6pm BST. It’s probably the seventh iteration of the iPhone, and the rumours suggest that this is the case, but until Tim Cook steps up on stage this evening we won’t know for sure.

I’ve got a few predictions, mostly based on the rumours that I’ve been reading over the past few weeks. I don’t actively seek out rumours but they do appear on sites like The Unofficial Apple Weblog and Twitter from time to time. So here’s what I expect:

Two new iPhone models, including a budget model

There are credible rumours that Apple will release two new models of the iPhone today – a new iPhone 5S, and a cheaper iPhone 5C. The 5S will probably have the same form factor as the existing iPhone 5 but have some extra hardware features and a beefed-up processor – possibly the A6X as used in the fourth-generation iPad but maybe a new A7 processor. I also believe the rumours of a fingerprint scanner on the home button.

The iPhone 5C will be a cheaper and more plasticy model that will be particularly aimed at emerging markets like China, but I think it will also do well in western markets. I know there are people out there who want to buy an iPhone but can’t justify the cost, and don’t want an old model.

The iPhone 4, 4S and iPad 2 will be retired

The three year old iPhone 4 is sure to be retired but I expect the 4S to go, and the iPad 2. This will mean that all of Apple’s mobile products will use the Lightning connector, rather than the 30-pin Dock connector, and all of its phones will have the same screen size.

The iPod Classic will be retired

It’s been 4 years since the last update to the iPod Classic, which is the only remaining iPod model to include a hard disk (as opposed to flash memory). Wired thinks it’ll be dropped and I agree. I hope that a new 128 GB iPod Touch will be released, so that Apple can still cater for those who want to be able to play their entire large music collection on the go.

Neither of the new iPhones will have NFC

NFC, or near-field communication, is becoming standard on many Android and Windows phones. But I can’t see Apple adopting it. They’ll go for Bluetooth SMART instead. Because the iPhone already has Bluetooth, this shouldn’t require any new hardware, and should be better for battery life too.

According to this AppleInsider article, this will be branded as iBeacons in iOS 7, and will be available not only in Apple’s new handsets, but the existing iPhone 4S and 5 as well.

Third-party apps for the Apple TV

Okay, this is less a prediction and more of a hope. Apple has been steadily increasing the number of platform partners for the Apple TV but it’s still very US-centric. The only UK channel available at present is Sky News.

I hope that Apple opens an App Store for the Apple TV, opening the door to apps such as BBC iPlayer, 4oD, Demand 5, ITV Player, Now TV and the like. This will make the device significantly more useful.

We will find out in just over eight hours’ time what comes to pass.

What I’ve done with my Raspberry Pi so far

Screenshot of Raspberry Pi running Raspbian through Screen Sharing and VNC

I’ve had my little Raspberry Pi for a couple of months now. To be honest, I haven’t used it for a great many things, other than as a BBC iPlayer client using XBian, but I have been spending a little more time in Raspbian recently to get to grips with it.

Running in headless mode

When I set up the Rasbperry Pi initially, I had it plugged into a computer monitor – my monitor thankfully has an HDMI input, and can switch between HDMI, VGA and DVI sources so I didn’t need to unplug my Mac. I also used a spare mouse, but at present I only own one keyboard which I had to keep unplugging and reconnecting with my Mac as I switched between them, which is hardly ideal.

So one of the first things I did was follow these instructions to enable VNC so that I could work with the Raspberry Pi using the Screen Sharing app on my Mac. I also used these instructions to ensure that my Mac could see it on the network, and share files. That guide also tells you how to set up VNC but I couldn’t get it to run on bootup, hence why I linked the other set of instructions as these worked for me.

Running the BOINC client

Since the Raspberry Pi is very energy efficient, I’ve decided to keep it on all the time and run SETI@Home on it, using BOINC. There are quite a few guides to this and on the whole this is the best one, although you will need to replace the URL in the wget command with the newer one for version 7 of the SETI@Home client. Although you can safely use the BOINC client that installs using Raspbian’s package manager (sudo apt-get install boinc-manager), you’ll need to download the SETI@Home client as instructed. The client that Raspbian offers through apt-get is out of date and so you won’t get any tasks to complete. I found this out the hard way.

If you use other BOINC projects, then you’ll probably find that most won’t work with the Raspberry Pi as they need to be compiled for the ARMv6 processor architecture. Rosetta@Home is one such example that I’m part of. The other big caveat is that tasks will take a very long time to complete. What a modern desktop PC could do in hours, may take up to a week of continuous computation for the Raspberry Pi to complete. But, it’ll do so using less electricity.

Getting used to Unix

This isn’t such a tangible thing, but I’ve been able to learn a lot more about Unix by having a Raspberry Pi to play with – especially when it comes to the command line. This is important as this blog runs on a Debian Linux server, and I do need to log in from time to time to do things. In particular, I’ve learned that nano is the easiest command line text editor to use and, in my opinion, is far superior to vi or vim.

I still have a lot more to learn, as and when I have free time to do so. It’s certainly been interesting, and better than working with a Linux virtual machine in VirtualBox.

I came, I saw, iPad

New old iPad

I have a new toy to play with – an iPad. It’s a hand-me down from my soon to be in-laws which I was only too happy to find a new home for.

It’s the first generation model, and is therefore a bit limited in what it can do. It’s a little slow at times, doesn’t have a camera or a retina display, and it can’t run iOS 6 – iOS 5.1.1 is the most recent release that works on it. This means that some apps, like 1Password, won’t run, but for the most part everything else works okay. But, it’s an iPad, and it didn’t cost me anything.

Since I already own an iPhone many of the apps also worked on the iPad so I was able to get up and running with it quite quickly. So far, the only extra apps I’ve added are Tweetbot, which has a separate iPad edition rather than a universal app, and Reeder, which again has a separate iPad app but is currently free.

The bigger screen is great for apps like Reeder, Feedly and Pocket, where being able to view a whole page makes reading much easier. It would be nicer if it had the retina display though – having owned an iPhone 4 and then iPhone 5 I’ve become accustomed to higher pixel depth.

Although this does mean that I no longer need to save up for an iPad in the short term (and with a wedding, honeymoon and probably a new house to pay for this is welcome), I may still consider buying an iPad Mini in future. I imagine the smaller screen is a bit easier to handle, and a good compromise between the full-size iPad and the iPhone. And if I do decide to upgrade, this iPad is still worth around £90 to recyclers.

My new favourite email client

Screenshot of Apple Mail running on Mac OS X Lion

For many years I was a Mozilla Thunderbird user; I even used the beta builds back in 2003, long before its final 1.0 release. Though I still use it at work, where I deal with large volumes of email, at home it was overkill, and so I bought a copy of Sparrow which was simpler and lighter. Except last summer development of Sparrow basically stopped, thanks to Google taking over the Sparrow team.

Sparrow still works okay but with its future looking similar to that of Twitter’s official app I decided to start looking for alternatives. And I found one in a very unexpected place – already on my Mac.

When I switched to a Mac back in 2005, I carried on using Thunderbird, as back then I was still keen on its extensions and its flexibility, so I never bothered with Mail, which is the native email client available on all Macs. And in the almost 8 years since I’ve never bothered to revisit Mail, bar a couple of times out of curiosity when I’ve found it to be a bit over-complicated.

But then I found this article: Turning Mail.app Into the Best Mac Email App, linked from Lifehacker, which explains how to customise Mail to make it more effective. The article has a number of workflow suggestions which I don’t bother with, but it does also suggest how to simplify the interface to make it look, well, more like Sparrow.

It took some time; I have three personal email accounts (one on this domain, plus Gmail and Outlook.com) and Mail defaults to storing saved messages and drafts on local folders, so I had to teach Mail that I actually wanted to use the relevant IMAP folders for this. This involves opening each folder – which Mail confusingly calls ‘Mailboxes’ – and then marking it by clicking the Mailbox menu and using ‘Use this folder for’. Sparrow and Thunderbird both do this through Account Settings, and they both correctly configure Gmail automatically anyway.

Once done, though, I had a nice, clean and simple setup, with a unified inbox view of all three email accounts. Mail’s actually relatively efficient when it comes to system resources and, broadly speaking, uses about the same amount of RAM as Sparrow did.

Maybe I should have taken a fresh look at Mail sooner. It gets an update in each new version of OS X, and doesn’t cost anything extra.

Fixing high memory usage caused by mds

Screenshot of activity monitor on Mac OS X showing mds with high memory usafe

Recently my Mac Mini has been running very slowly, with some programs freezing for as much as several minutes. I pruned the list of items that were running on startup but this didn’t seem to make much difference.

So I opened Activity Monitor (the OS X equivalent of Task Manager) and found a process called ‘mds’ was consuming huge amounts of RAM and virtual memory. MDS is the process which builds an index of your disks for use by Spotlight, the tool that lets you search your drives, and also by Time Machine for backups. Sometimes MDS requires a fair amount of RAM, but it was using almost 2 gigabytes of virtual memory and almost a gigabyte of RAM in my case. I only have 4 gigabytes of RAM in total, and so this was causing major problems as OS X had to regularly swap data between RAM and the paging file.

I’d tried looking into this before and got nowhere. Most of the results in Google were discussions on Apple’s support forums, which were devoid of any real solutions. But eventually I found this post on iCan’t Internet which actually had a solution.

Firstly you should run Disk Utility. Repair your hard disk, and also repair the disk permissions. This may fix your problem, but it didn’t in my case so I moved on to the next step.

Open up Terminal, and type in the following command: sudo mdutil -avE . This runs a tool called ‘mdutil’, and tells it to completely rebuild Spotlight’s index. It turns out that the index on my hard disk had got corrupted somehow, and this was causing problems with the ‘mds’ process. It took a while for the command to run, but afterwards a huge amount of RAM and virtual memory became free. Unsurprisingly, my Mac ran much more happily after this.

Hopefully if you’ve have the same problem this will help. It has certainly breathed new life into my increasingly sluggish computer.

Creative Commons License
Except where otherwise noted, the content on this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.