Wednesday, October 15, 2008

[THIN] Re: Insufficient system resources

Hi Thomas,

 

Yep, it applies to all server roles, Terminal Servers included. Microsoft will tell you that setting these values should be considered as a best practice, especially for busy servers. The optimum percentage for trimming will vary, but the default recommended setting (60%) is a good place to start. High CPU utilization could be a roll on effect from a number of different things, such as Disk I/O, etc, not just memory inefficiencies. But check out a couple of my articles for starters…

http://www.jhouseconsulting.com/index.php/blog/2008/05/13/processor-scheduling/

http://www.jhouseconsulting.com/index.php/blog/2008/05/15/microsoft-windows-2003-post-sp2-hotfixes/

 

If CPU usage continues to be an issue, use a 3rd Party product like AppSense to control the “issue”. Or even try out the FREE ThreadMaster.

 

Cheers,

Jeremy.

 

From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Thomas Mackey
Sent: Wednesday, 15 October 2008 7:59 AM
To: thin@freelists.org
Subject: [THIN] Re: Insufficient system resources

 

Hi Jeremy

                I was watching this thread and I am wondering whether this will apply to terminal service as well. I checked my terminal server (Windows 2003 standard edition sp2), “PagePoolSize”=dword:0 and do not have “PoolUageMaximum”.

 

                The server is performing not very well (high CPU utilization)

 

Thomas

 

From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Jeremy Saunders
Sent: Friday, 10 October 2008 5:33 AM
To: thin@freelists.org
Subject: [THIN] Re: Insufficient system resources

 

Nah….run up  perfmon and have a look at pagefile usage. On a heavily utilized server I have only ever seen 30 – 40% max. To me it sounds like the paged pool memory is not coping.

 

As per Microsoft TechNet article KB312362. By default, the Memory Manager tries to trim allocated paged pool memory when the system reaches 80 percent of the total paged pool. Depending on the system configuration, a possible maximum paged pool memory on a computer can be 343MB (Windows 2003 Standard) and 80 percent of this number is 274MB. If the Memory Manager is unable to trim fast enough to keep up with the demand, then you may receive event ID 2020 (The server was unable to allocate from the system paged pool because the pool was empty). But that is just one symptom.

 

By tuning the Memory Manager to start the trimming process earlier (for example, when it reaches 60 percent), it would be possible to keep up with the paged pool demand during sudden peak usage, and avoid running out of paged pool memory.

 

60% is the recommended baseline to start at.

 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

"PagedPoolSize"=dword:ffffffff

"PoolUsageMaximum"=dword:0000003c

 

Cheers.

 

  Kind regards,
  Jeremy Saunders

 

  Senior Solution Architect - Virtualisation Specialist
  Datacom Systems (WA) Pty Ltd

  29 Oxford Close, West Leederville, Western Australia, 6007
  P +61 8 9210 0806 | F +61 8 9380 4226 | M +61 413 441 846

  Web     http://www.datacom.com.au/
  Email     jeremy.saunders@datacom.com.au

image001.jpg

  Personal Blog     http://www.jhouseconsulting.com/index.php

 

From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Minero, Hector B CIV NSWCDD, K55
Sent: Thursday, 9 October 2008 9:44 PM
To: thin@freelists.org
Subject: [THIN] Re: Insufficient system resources

 

The profile permissions seem fine and everything works fine once the user load goes down.

I think the problem may be that the page file is only 4GB and the servers has 4GB of RAM.

a 4GB page file is the limit on regular Windows 2003 SP2.

I know that R2 does not have this limit.  So my question is:

 

Is there a way to go above a 4GB page file on Windows 2003?

Is there an upgrade path from Windows 2003 to Windows 2003 R2?  or is this a free upgrade?  Technically it is the same OS with some improvements.

 

Thanks,

 

 

_______________________________
Hector Minero
NSWCDD K55

-----Original Message-----
From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Landin, Mark
Sent: Wednesday, October 08, 2008 3:45 PM
To: thin@freelists.org
Subject: [THIN] Re: Insufficient system resources

Check this:

 

http://forums.citrix.com/thread.jspa?forumID=75&threadID=85213&messageID=559690&

 


From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On Behalf Of Minero, Hector B CIV NSWCDD, K55
Sent: Wednesday, October 08, 2008 2:16 PM
To: thin@freelists.org
Subject: [THIN] Insufficient system resources

Hi all,

 

Lately users have been getting this error when they attempt to log on to our PS 4.0 Citris servers.

 

Description:
Windows cannot load the user's profile but has logged you on with the default profile for the system.

 DETAIL - Insufficient system resources exist to complete the requested service.

 

And since I don't allow local profiles, they can't log in.


I look in task manager and the system resources do not seem to be overutilized.  CPU is around 40 to 60%.

Memory usage seems normal.

I have Hotfix rollup 4 on the servers, no other patches.

Logging off a few users seems to correct the problem.

 

Any idea what else I should look for?

 

Currently, I have an idle timeout period of 3 hours, am I being too good?

 

Thanks,

 

________________________________________

Hector Minero

NSWCDD Code K55

Ph: (540)653-8859


  This message and any attachments may be a confidential attorney-client communication or otherwise be privileged and confidential.  If you are not the intended recipient, any review, distribution or copying of this transmittal is prohibited.  If you have received this transmittal in error, please reply by e-mail and delete this message and all attachments


Confidentiality and Privilege Notice
This document is intended solely for the named addressee.  The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you.



Confidentiality and Privilege Notice
This document is intended solely for the named addressee.  The information contained in the pages is confidential and contains legally privileged information. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone, and you should destroy this message and kindly notify the sender by reply email. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you.

No comments: