Technical information on this site may be out of date : no updates since 2015

RAID ext4 disk problems

September 20, 2011 , posted under linux note to self raid

One of those posts for myself in case I need to come back to this later

I have a new PC which is very fast apart from problems with disc access seeming slow (and the disks being physically noisy)

The following related links led me to try a solution

Read More…

Varnish logs twice

October 5, 2010 , posted under linux varnish

The default configuration of varnish logs every request twice, once for the client and once for the backend communication

edit the line in /etc/init.d/varnishncsa to something like

Read More…

Varnish caching - passing a hostname

May 13, 2010 , posted under linux varnish development

I’m using varnish to cache a REST service that’s slow enough to cause me grief in development.

Out of the box it assumes you are caching your own server and that the client is already using the right host header.

To specify that it should use a host header to match the backend I’m using a config like

Read More…

Resizing an ext3 filesystem on LVM

April 9, 2010 , posted under linux

When I installed my system I wasn’t quite happy with the way the installer divided my hard disk - but at the time I was in a hurry…

I have since found that repeated loading of databases during development used up all available space in /var and debug files were filling /tmp

So I had to figure out how to resize them.

Read More…