Re:Yes, You Can Run 18 Static Sites on a 64MB VPS
by duskwuff on Saturday June 11, 2011 @02:29PM
(#2644480)
> If you have 1024 static sites the only thing taking up ram is the configuration of the sites sitting in Apache's memory. As long as there isn't a lot of traffic on the site, it doesn't really matter how many there are.
And if you're smart about the setup, you don't even necessarily have to have a separate configuration for each site. See mod_vhost_alias for Apache, for instance. With that in place, memory is no longer an issue at all.
Re:Yes, You Can Run 18 Static Sites on a 64MB VPS
by duskwuff on Saturday June 11, 2011 @06:23PM
(#2645045)
By way of example. I'm sure there's equivalent incantations for lighttpd/nginx/flavor-of-the-week, the parent comment just happened to mention Apache. :)
Re:Yes, You Can Run 18 Static Sites on a 64MB VPS
by cdx on Saturday June 11, 2011 @03:32PM
(#2644640)
Agreed. Using apache on a lowendbox is not a smart idea. Lighttpd serving static sites takes ~5MB in practise. That's also including a SSHd and other services.
And if you're smart about the setup, you don't even necessarily have to have a separate configuration for each site. See mod_vhost_alias for Apache, for instance. With that in place, memory is no longer an issue at all.