The server was running on port 80 and serving a single domain on the VPS. I `a2ensite`-ed 2 domains running on different ports. Mind you, the server was rendering nothing beyond static html files containing `hello world` messages.
You can see the server running calmly at 2.5MBs and after creating those domains, the memory rises beyond 12.5MBs.
That’s nearly 6 times.
In the coming weeks I’ll hunt for some data around this to present the full case: memory usage with virtual hosts.
- Setting Up virtual hosts in Ubuntu
- Setting up LAMP (Linux Apache MySQL PHP) Stack on Ubuntu
- Apache Wiki Default location for Apache conf / httpd.conf/apache2.conf / default conf
- Stack overflow: default httpd.conf location