On Thu, Mar 07, 2013 at 09:48:19AM -0500, David F. Skoll wrote:
>
> I think if you measure what happens to Perl processes that fork a number
> of children to handle requests, you'll see that there's very little memory
> sharing after a short while.

Please let's stop the techno-theorizing and provide actual results.
We already had this exact same discussion atleast once *sigh*.

Start something like:

spamd -4 -p 1234 --min-children=50 --min-spare=50 --max-conn-per-child=1000 
--round-robin -L

50 non-recycled childs, fed 1000 requests (~20 each).

Memory measured with "free" (without buffers/cache etc):

begin 2588084
end 1296756

About 25MB non-shared memory used per child, which is pretty normal
since SA uses lots of internal per-message data.  On 32-bit systems the
usage could be half of that.

So in the case of SA, it's not anywhere near "very little memory shared
after a short while".

Reply via email to