Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Each of my servers has 8Gb RAM and the memory usage hovers around 7Gb. I have a load balancer available to me but at the moment I'm worried that putting my sites through it will cause the platform to fall over. The load balancer would be configured with a sticky round-robin where a new connection is round robin but subsequent connections for the same source ip will remain on the same server (until a limit is reached). Thats all standard stuff.

How do I know what memory usage my sites will need across the platform when I put them through the load balancer? Rather than knowing that a site is using 150mb on a particular server I could face a situation where the 150mb is taken up on each of the servers. I know that with only 1 gb free I could have a serious problem on my hands. If I free up some memory then how can I work out what I need to have free to prevent this from happening?

Thanks Matt

share|improve this question

migrated from stackoverflow.com May 15 '11 at 7:12

This question came from our site for professional and enthusiast programmers.

1 Answer 1

If your using round Robin with a session database then yes each server will occupy residual memory on both machines that the site/application is loaded, until at least the worker process times out..

Look at using Windows Load balancer in windows 2008, it has processes that monitors where a session is running and orphaned memory is garbage collected.

Also note, memory from the sites app pool in iis will obviously continue to be allocated even while using windows load balancer, it's just the memory used by the worker processed that's better managed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.