On Tue, 2005-08-23 at 15:52 +1000, Badai Aqrandista wrote: > RAM = 700 Mb > Per process total size = 40 Mb > Shared memory = 7 Mb > > So, the number of processes = (700 - 7) / 33 = 21 processes > > So, does that mean it can only accept up to 21 connections?
Yes. If you are running a reverse proxy in front of it, that should be enough to handle a lot of traffic. However, you should be aware that a few months back we discovered that our methods for measuring shared memory didn't work very well on Linux 2.4 kernels and don't really work at all on 2.6 kernels, so there may be more sharing (via copy-on-write) going on than you can see here. Looking at the total free memory on your machine when 21 processes are running may be more useful than just doing the calculation. - Perrin