Kitchen Soap

Thoughts on capacity planning and web operations.

Kitchen Soap header image 4

Entries from December 2006

It’s great when computers can do things for you

December 22nd, 2006 · No Comments

I hate building packages, but it’s a necessary part of the job sometimes. I have loved checkinstall for years, which basically replaces “make install” with something more like “make an rpm package for me”.
But of course, when you have a simple tarball, and there’s no make install step to replace, then what ?
One possibility [...]

[Read more →]

Tags: Uncategorized

watching who’s talking to who, and about what

December 22nd, 2006 · No Comments

1 - I’m glad that tcpdump has been the standard for capturing network traffic, cause I’ve learned a lot over the past 12 years using it.
2 - tcpdump tools suck.
But I’ve been using pktstat recently, and it’s pretty damn good. ‘top’ for network, without all that stuff that ntop comes with.

[Read more →]

Tags: Uncategorized

TCP bug

December 21st, 2006 · No Comments

when you see this:
(loaded box, lots of network, 2.6.9.x kernel, etc.)
Dec 21 04:05:58 hostname kernel: ————[ cut here ]————
Dec 21 04:05:58 hostname kernel: kernel BUG at net/ipv4/tcp_output.c:927!
Dec 21 04:05:58 hostname kernel: invalid operand: 0000 [#1]
Dec 21 04:05:58 hostname kernel: SMP
do this:
Add to sysctl.conf:
net.ipv4.tcp_retrans_collapse = 0

[Read more →]

Tags: Uncategorized

Varnish and the state of web caching

December 16th, 2006 · 2 Comments

So there’s lots of excitement around Varnish, which is a caching proxy that is built to be first and foremost a reverse-proxy, as opposed to squid, which does both forward and reverse. Acceleration (reverse-proxying) is obviously important to us at Flickr, as we use squid extensively.

[Read more →]

Tags: caching · flickr

memory fragmentation in squid and some solutions….

December 12th, 2006 · No Comments

Taking a look here, it seems like linking squid against TCmalloc could be pretty damn beneficial.
UPDATE: done, and tested.  not in production yet, we’ll see if I can get to it soon.

[Read more →]

Tags: caching

the thing for the thing

December 12th, 2006 · No Comments

Technorati Profile

[Read more →]

Tags: Uncategorized

Hats and beards

December 12th, 2006 · No Comments

http://flickr.com/photos/allspaw/311471361/

[Read more →]

Tags: flickr

slides from WebBuilder2.0

December 11th, 2006 · No Comments

I’m not 100% sure where FTPOnline will put my slides…if I don’t find out soon, then I’ll put them here.
This is a description of the talk I gave, and here are the slides.

[Read more →]

Tags: talks

new stuff here

December 11th, 2006 · No Comments

Alright, it’s not the most original or groundbreaking blog theme ever, but here it is, let’s see if I can’t try to post something once a day.

[Read more →]

Tags: Uncategorized