CS 2008 Hosting Problems - Advice?

This post has 14 Replies | 4 Followers

Top 200 Contributor
Posts 127
Points 1,620
Şener KOÇ Posted: Tue, May 20 2008 12:23 PM

Hi,

I'm working with Server Intellect hosting for our cs 2008 site. we was open our web site publicly yesterday. next day our web site down. 5 or 7 time I dont remember... here is the answer of serverintellect;

----
Your site is generating a lot of Memory usage, your application pool is generating the highest Handles and Thread count on the web server. This would indicate this is a coding issue, or simply your site is too powerful for shared hosting servers.

Unfortunately there is nothing more we can do as this is a coding/site usage issue as the site is crashing because it is hitting the memory usage limits.
---

Thats mean you need VPS for CS 2008, also thats mean 1200$ per year.. Only 30-40 user was online same time and bum!

----

Hello,

We do limit the memory to protect the server and our other customers. I’m not sure that this is the issue at this time but the site is at 141MB of ram and climbing. This site is currently using more ram then any site on the server. Please let us know if you see any more issues on the site and we will be monitoring this on our end.

Thanks
----

if 30-40 user coused 141 Mb. of ram I cant Imagine 1000 people online.. What do I need to run CS 2008? 10 Gb ram?

I dont know what is problem. I need advice. what shoud I do?

Thanks

Top 150 Contributor
Posts 166
Points 2,465
CS Developers
dpenton replied on Tue, May 20 2008 11:32 PM

Şener KOÇ,

I would think that less than 150 MB is not really enough to run Community Server in the default configuration.  I would make a change in your communityserver.config file in the /CommunityServer/Core/@cacheFactor attribute from "5" to something like "3" or "2".  What this would do is shorten the amount of time that data is cached for within the site.  If you can get some more ram allocated for your site that would do a good bit towards relieving some memory pressure in the site.

Thanks,
David L. Penton

 

  • | Post Points: 35
Top 10 Contributor
Posts 3,104
Points 46,085
TelligentSupportTeam

I'll go with David on that, I found changing the cache factor significantly reduced memory consumption on my small CS site.

If you do decide to go for that, you can use this communityserver_override.config entry to reduce the cachefactor.

    <Override xpath="/CommunityServer/Core" mode="change" name="cacheFactor"  value="2" />

  • | Post Points: 5
Top 200 Contributor
Posts 127
Points 1,620

Hi,

Thanks for replays, they increase memory limit temporary and problem solved. Normaly if your on-line users count less then 10 or 20, no problem at all. But if your realtime users increase 30-40 memory goes up. I'm also using cutechat and my content management system. I know my system but I'm not sure how much resource need for cutechat.

I'm wondering if cache factor is default 5 why do I need to use 3 or 2? what is advantages or disadvantages?

I decide to buy VPN with 512 Mb. ram. When every problem happened, we are losing prestige. so I dont wanna risk it.

Thanks,

Sener Koç

  • | Post Points: 20
Top 10 Contributor
Posts 3,104
Points 46,085
TelligentSupportTeam

 CS is really built and aimed at high end sites dealing with hundreds - thousands of online users at once.  For situations such as those, high cache times are needed, so a cache factor of 5 is used (N.B. that doesn't mean items are cached for 5 minutes, just factors of 5 i.e. less important items cached for 5 mins, more important for 10 and even more important for 15 or 20 mins.).

For small sites without much traffic, such long caching time is not nessescarry as there will be few hits to the database so extra database calls won't hvae much of a performance impact.  If you're running a major site such as the MySpace forums, then lots of database calls will be being made, so you want to cache a lot more to reduce those extra database calls.

 

Another thing to remember is that memory useage is going to be more to do with how many posts users have viewed than the number of online users.  E.g. if you have 50 users online who all view the same 10 threads, memory useage will be significantly smaller than 10 users all viewing 15 different threads.  This is why search engines can cause memory useage on small CS sites to spike significantly.

  • | Post Points: 20
Top 200 Contributor
Posts 127
Points 1,620

Thanks for the very usefull explanation afscrome.

I guess my online users avarage will be 200-300. I will left cache factor is default for check the memory usage. Then I will change value for the best stability.

bye the way, I will add english languge support for international users. ( Contents will be translate english too ).

Thank you so much.

  • | Post Points: 20
Top 150 Contributor
Posts 166
Points 2,465
CS Developers
dpenton replied on Thu, May 22 2008 9:18 AM

Şener KOÇ,

We are also agressive working on ways that reduce

  • the startup cost of Community Server
  • lifetime of objects in memory (cached or not)
  • types of objects cached
  • reduction of CPU resources

This is not an all incusive list I'd say but are the highlights.

Thanks,
David L. Penton

 

  • | Post Points: 50
Not Ranked
Posts 10
Points 120
JimS replied on Fri, May 23 2008 6:06 AM

Hi David,

dpenton:
but are the highlights
 

... that will already benefit CS2008 SP1?

Thanks,
Jim

 

  • | Post Points: 5
Top 200 Contributor
Posts 127
Points 1,620

Thanks David,

I moved my web site to VPS(512 Mb. memory).

sql server express using 150 Mb.
Web site using 250-260 Mb.

9 member, 4 vizitor online. 

I guess, I will need to change cache factor like you sad.

  • | Post Points: 5
Top 500 Contributor
Posts 98
Points 1,660
Tom Lynch replied on Sat, May 24 2008 11:49 PM

dpenton:

 

We are also agressive working on ways that reduce

  • the startup cost of Community Server

Does this mean new licensing costs?  I don't mean to jack this thread but that was very funny to me coming from a Telligent employee.

Seriously the biggest startup cost is the CS license and Telligent has worked aggressively to raise that out of the reach of a lot of people over the past 2 years. (most people who care about costs anyway)

<!--Insert clever stuff here--> tomlynch.net
  • | Post Points: 35
Top 10 Contributor
Posts 3,104
Points 46,085
TelligentSupportTeam

 I'm assuming he meant reducing the time taken to load CS after the App Pool has been shut down, reducing the loading time of the first request.

  • | Post Points: 5
Top 200 Contributor
Posts 127
Points 1,620

He is talking about Community Server performance and memory usage. Not money.

  • | Post Points: 5
Top 200 Contributor
Posts 127
Points 1,620

Hi, I upgraded my memory 512 to 1 Gig. there is no problem anymore.

512 gig. is not enough for VPS on CS2008. system using 250-300 Mb anyway.

Our community memory usage avarage is 700-800 Mb. There is no performance isssues at the moment. Its working pretty fast.

  • | Post Points: 20
Top 10 Contributor
Posts 3,104
Points 46,085
TelligentSupportTeam

Şener KOÇ:
512 gig. is not enough for VPS on CS2008.

512GB!!  That would be a beast of a server Wink.  I assume you meant 512mb.

  • | Post Points: 20
Top 200 Contributor
Posts 127
Points 1,620

Big Smile funny, lol you right!

  • | Post Points: 5
Page 1 of 1 (15 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com