I was wondering what memory usage off an Umbraco 8.16.0 site you would expect.
I know that it can depend on alot of factors, like custom code, visitors and server setup.
But the case is that the server only got 4GB ram allocation and that it hits the max limit and lay the site down. The site got around 2000 nodes and 2000 media items, while 450 of them is files.
So we did a stress test on our own server with 275 fake sessions while we where editing in the backoffice. That causes memory usage of around 3.1 GB to 4.6 GB.
Then I reed that by enabling 32-bit applications on the app pool, it would use less memory, because the garbage collector runs more often.
And when we enabled the 32-bit applications on the app pool. The same load only uses around 0.5 GB to 1.3 GB.
That leaves me alot of questions:
Whats the backfire of enabling 32-bit applications?
Are there anything else we can do to reduce memory usage?
No i havent found any direct answers to it yet. But Huw Reddicks link explains something about why using 32-bit worker processes on on 64-bit Windows is better.
Thanks for the link, unfortunaly we cant set the global mode to 32-bit on the shared webservers.
But i will refer whats in the article in the link.
"One of the performance benefits of the x64 platform is that it increases virtual address space, making more memory available. We recommend that you configure IIS to use a 32-bit worker processes on 64-bit Windows. Not only its compatibility better than the native 64-bit, performance and memory consumption are also better."
Umbraco 8 expected memory usage
Hi all.
I was wondering what memory usage off an Umbraco 8.16.0 site you would expect.
I know that it can depend on alot of factors, like custom code, visitors and server setup.
But the case is that the server only got 4GB ram allocation and that it hits the max limit and lay the site down. The site got around 2000 nodes and 2000 media items, while 450 of them is files.
So we did a stress test on our own server with 275 fake sessions while we where editing in the backoffice. That causes memory usage of around 3.1 GB to 4.6 GB.
Then I reed that by enabling 32-bit applications on the app pool, it would use less memory, because the garbage collector runs more often.
And when we enabled the 32-bit applications on the app pool. The same load only uses around 0.5 GB to 1.3 GB.
That leaves me alot of questions:
Hi Bo,
I was wondering if you had found the answers to your questions as I'm currently looking into memory usage for our umbraco websites as well.
Kind regards,
Dennis
Hi Dennis.
No i havent found any direct answers to it yet. But Huw Reddicks link explains something about why using 32-bit worker processes on on 64-bit Windows is better.
https://docs.microsoft.com/en-us/iis/web-hosting/web-server-for-shared-hosting/32-bit-mode-worker-processes
Hi Huw.
Thanks for the link, unfortunaly we cant set the global mode to 32-bit on the shared webservers.
But i will refer whats in the article in the link.
"One of the performance benefits of the x64 platform is that it increases virtual address space, making more memory available. We recommend that you configure IIS to use a 32-bit worker processes on 64-bit Windows. Not only its compatibility better than the native 64-bit, performance and memory consumption are also better."
Are you able to run classic ASP pages in your webspace (if yes 32 bit already enabled)?
Do you have some sort of hosting panel?
Maybe you have an option in your hosting panel to enable it?
Hi Huw.
We can get our hosting provider to enable 32-bit if needed. So that aint actuelly my issue.
My big wonders is my original 3 questions.
is working on a reply...