The thing you need to be carefull about gentoo is some of the "recomended optimizations" that make things faster, also eat memory.. things like unroll loops.

I would say start with a debian/sarge or ubuntu base install (server mode?) and hand-add only the things you need.
_________________________
80gig red mk2 -- 080000125
(No, I don't actually hate Alan Cox)