OSX programs crashing, 'Kernel: file: table is full' Over the last few months, I've seen increasingly erratic behaviour on OSX (10.8.5). Chrome won't load elements on a page, my dev tools crash etc. 

Recently I had a look in Console and found that whenever an app crashes, the message that seems to go with it (or before it) is:

'Kernel: file: table is full'

A reset seems to help, but these are getting increasingly often. This is the first time I've been really frustrated owning a Mac, my last one was trouble free for years. This is a MBA purchased about August last year.

Any clues on what this is, how it could be sorted? Google yields very, very few results.
I solved my own problem - but figured I'd answer for anyone else searching for the same thing. 

I run CodeKit to help minimise CSS and JavaScript when building websites. The program works beautifully, but I had it monitoring all the sites (25 or so) I'd built over the past year or so for changes when it was open. I figure this was causing it to open (or at least monitor) thousands of files, resulting in the file table issue.

By only selecting the site I'm working on to monitor, everything is working perfectly (again) and as a plus - the CodeKit CPU usage has dropped dramatically.