IIS Settings Worker Process - Large Amount of Virtual Bytes

Todd Wolfe asked on October 14, 2015 21:53

Has anyone encountered the Kentico system using a large amount of Virtual bytes when looking at the Application Pool worker process? In my case I see it start around 11GB and then increase quickly under load and thus rendering the server useless around 150 users. We have increased processors to 5 cpu's and this still occurs.

Recent Answers


Brenden Kehren answered on October 14, 2015 23:10

You might want to check out your site to ensure you're using best practices/recommendations for use of webparts, templates, widgets and API (etc). What I've seen in the past has been:

  • custom code causing problems
  • improper setup of webparts
  • recursive functions or loops in transformations
  • nested repeaters or other unnecessary nesting of controls
  • improper cache settings

I believe the minimum requirements for a v8 website to run is something like 500 or 800MB of RAM so you shouldn't need 11+ GB of memory at all.

0 votesVote for this answer Mark as a Correct answer

Todd Wolfe answered on October 15, 2015 01:16

Thanks for the tip. I suspect rogue code as well overwhelming the garbage collector. Hopefully it is something the development company can troubleshoot and find. I dont know if there is any easy things to spot but this is the url to the site.

https://146.88.97.59/

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on October 15, 2015 04:49

I work with CU's and come across different things I've found they include in on their sites which cause delayed loading times and issues with memory. Some of which are easy fixes some which aren't. Some are coding some are not. I'd question the development company and ask them about which development mode they are using. There are a few:

  • Portal Engine
  • ASPX
  • Portal + ASPX
  • MVC

If they are using straight ASPX or MVC, there is a huge opportunity for errors and issues because they are essentially recreating the wheel and writing all custom code for things which Kentico has already created in Portal mode.

Feel free to reach out to me directly if you need further assistance.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.