RESOURCE_SEMAPHORE

Last post 08-28-2008 9:56 PM by Unsure. 4 replies.
Page 1 of 1 (5 items)
Active Topics My Discussions Unanswered Sort Posts: Previous Next
  • 08-25-2008 9:14 PM

    RESOURCE_SEMAPHORE

    Hello,

    Total Physical Memory on the server is 25GB. SQL Server 'MAX MEMORY' is set to 20GB.

    The SQL Server has been hanging. When this happens quite a large number of processes have lastwaittype displayed as 'RESOURCE_SEMAPHORE'. 'User Connections' is much, much higher than normal at the time the server hangs.

    Does this mean that the processes are waiting for memory, and since there isn't sufficient memory and also since a large number of processes are waiting on memory, the server then just hangs?


    Thank you.
  • 08-27-2008 11:42 AM In reply to

    Re: RESOURCE_SEMAPHORE

    Which version and edition of SQL server are you using ?

    Are you using windows 2000 32 or 64 bit ?

    How many CPU ?

    What kind of disk system do you have ?

    -Sat 

    Success depends on options you explored !!!
  • 08-27-2008 2:54 PM In reply to

    Re: RESOURCE_SEMAPHORE

    SQL Server 2000 - Enterprise Edition -  SP4

    Windows 2003 - SP2

    8 CPUs

    RAID5

  • 08-28-2008 2:40 AM In reply to

    Re: RESOURCE_SEMAPHORE

    If you are running on windows 2003 32 bit are you running with PAE  on windows and AWE on  SQL SERVER settings ?

    This helps utilize more RAM but if you are on 64 bit , you may have to dig dipper like check perfmon counters for any abnormal figures on memory , disk subsystem and SQL batches\Sec.

    Also if this issue is happening only after more users are logged on and the users are hitting IIS first which in turn talks to SQL server probably you need to check APP server as well for any pool memory issues.

    -Sat 

     

     

     

    Success depends on options you explored !!!
  • 08-28-2008 9:56 PM In reply to

    Re: RESOURCE_SEMAPHORE

    Yes, have the /PAE switch on both nodes. AWE enabled is enabled too.

    I have set a whole lot of performance counters, don't see anything abnormal there.

    "User Connections" are extremely high, more than 300 at the time the server hangs.

    Yes, users first hit IIS which talks to SQL Server. When you say check the app server for "pool memory issues" are you saying use the 'Memory' performance counters on those servers to monitor? 

    Here is part output of dbcc memorystatus (Converted to MB/GB):

    Stolen                   20MB
    Free                     173MB
    Procedures            663MB
    Inram                    0
    Dirty                     789 MB
    Kept                      0
    I/O                        0
    Latched               138
    Other                  18.17GB

    Commited                     19.78GB
    Target                           19.78GB
    Hashed                         18.94GB 

     

    Thanks.

Page 1 of 1 (5 items)
Active Topics   My Discussions    Unanswered Posts


© 2000 - 2007 vDerivatives Limited All Rights Reserved.