BTMash

Blob of contradictions

shell scripting

loadwatcher: Making your server sane when it thrashes.

Tue, 08/30/2011 - 14:03 -- btmash

A few years ago, Khalid wrote a wonderful script that would help make your apache server sane again after the opcode caching on the server started to throw segmentation faults (he aptly named it logwatcher). It was great because APC would crash for unknown reasons at the time and completely kill a website. It took care of an important issue (the one change I had made was to clear the apc cache instead of restarting the server but all in all, super ^_^).

Backing up your MySQL databases - (yet) another approach

Thu, 06/16/2011 - 00:17 -- btmash

Nearly every place, I work at, a common problem comes up that is not implemented: backing up the database(s). Working with Drupal, I commonly see the usage of Backup and Migrate for backing up databases. Which isn't a bad first approach. But a number of questions come to mind - what if you have a database server that doesn't just serve Drupal websites (I have a db server that hosts sites running wikimedia, wordpress, and in the past Ruby on Rails applications)?

Apache Solr and Ubuntu: Multiple Instances

Wed, 05/11/2011 - 16:37 -- btmash
Drupal and Solr play very well together, be it with apachesolr or search api.

At CalArts, I have wanted to move the search functionality on our Drupal powered websites into something better for a long time. We have been using the Lucene API (which is lucene search ported to PHP) module on most of them since September of last year but (even though I am a big fan of the module) we truly wanted a way to offload the search services onto another vps (or server; basically, something more flexible).

Subscribe to RSS - shell scripting