Memory Paged out

  • Hi,

    One of our production server is freaked out......users are unable to perform any thing....i just looked at sql server log.....it is saying following error.....

    A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 0 seconds. Working set (KB): 16872, committed (KB): 7313160, memory utilization: 0%.

    Any quick help??

    its a production server.....so need some quick fixes

    Thanks,

    usman

  • Please mention sql server edition, available memeory and memory assigned to SQL Server, usgae of /3GB switch and PAE, AWE status...

    If possible, please attach screenshot of DBCC MEMORYSTATUS output.

    Manu

  • Microsoft SQL Server 2005 - 9.00.3054.00 (X64) Mar 23 2007 18:41:50 Copyright (c) 1988-2005 Microsoft Corporation Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)

    Please find attached the memorystatus text file.

    Thanks

    Usman

  • Memory Manager KB

    ------------------------------ --------------------

    VM Reserved 8604600

    VM Committed 7655608

    AWE Allocated 0

    Reserved Memory 1024

    Reserved Memory In Use 0

    (5 row(s) affected)

    Memory node Id = 0 KB

    ------------------------------ --------------------

    VM Reserved 8598840

    VM Committed 7649936

    AWE Allocated 0

    MultiPage Allocator 140696

    SinglePage Allocator 2873080

    (5 row(s) affected)

    MEMORYCLERK_SQLGENERAL (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 13360

    MultiPage Allocator 4624

    (7 row(s) affected)

    MEMORYCLERK_SQLBUFFERPOOL (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 8413184

    VM Committed 7464960

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 0

    MultiPage Allocator 8

    (7 row(s) affected)

    MEMORYCLERK_SQLQUERYEXEC (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 11904

    MultiPage Allocator 520

    (7 row(s) affected)

    MEMORYCLERK_SQLOPTIMIZER (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 1232

    MultiPage Allocator 112

    (7 row(s) affected)

    MEMORYCLERK_SQLUTILITIES (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 120

    VM Committed 120

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 69976

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_SQLSTORENG (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 6144

    VM Committed 6144

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 5184

    MultiPage Allocator 536

    (7 row(s) affected)

    MEMORYCLERK_SQLCONNECTIONPOOL (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 552

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_SQLCLR (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_SQLSERVICEBROKER (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 104

    MultiPage Allocator 304

    (7 row(s) affected)

    MEMORYCLERK_SQLHTTP (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_SNI (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 64

    MultiPage Allocator 16

    (7 row(s) affected)

    MEMORYCLERK_FULLTEXT (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 16

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_SQLXP (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 16

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_QSRANGEPREFETCH (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 2128

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_BHF (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 5168

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_SQLQERESERVATIONS (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 51200

    MultiPage Allocator 0

    (7 row(s) affected)

    MEMORYCLERK_HOST (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 280

    MultiPage Allocator 112

    (7 row(s) affected)

    MEMORYCLERK_SOSNODE (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 26872

    MultiPage Allocator 23408

    (7 row(s) affected)

    MEMORYCLERK_SQLSERVICEBROKERTRANSPORT (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 48

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_OBJCP (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 62048

    MultiPage Allocator 464

    (7 row(s) affected)

    CACHESTORE_SQLCP (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 2593536

    MultiPage Allocator 108232

    (7 row(s) affected)

    CACHESTORE_PHDR (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 43136

    MultiPage Allocator 632

    (7 row(s) affected)

    CACHESTORE_XPROC (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 184

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_TEMPTABLES (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 24

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_NOTIF (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 16

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_VIEWDEFINITIONS (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 16

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_XMLDBTYPE (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_XMLDBELEMENT (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_XMLDBATTRIBUTE (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_STACKFRAMES (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 0

    MultiPage Allocator 8

    (7 row(s) affected)

    CACHESTORE_BROKERTBLACS (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 136

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_BROKERKEK (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_BROKERDSH (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_BROKERUSERCERTLOOKUP (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_BROKERRSB (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_BROKERREADONLY (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 32

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_BROKERTO (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 8

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_EVENTS (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 16

    MultiPage Allocator 0

    (7 row(s) affected)

    CACHESTORE_SYSTEMROWSET (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 2056

    MultiPage Allocator 0

    (7 row(s) affected)

    USERSTORE_SCHEMAMGR (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 7432

    MultiPage Allocator 0

    (7 row(s) affected)

    USERSTORE_DBMETADATA (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 9624

    MultiPage Allocator 0

    (7 row(s) affected)

    USERSTORE_TOKENPERM (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 5120

    MultiPage Allocator 0

    (7 row(s) affected)

    USERSTORE_OBJPERM (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 672

    MultiPage Allocator 0

    (7 row(s) affected)

    USERSTORE_SXC (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 144

    MultiPage Allocator 0

    (7 row(s) affected)

    OBJECTSTORE_LBSS (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 128

    MultiPage Allocator 1488

    (7 row(s) affected)

    OBJECTSTORE_SNI_PACKET (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 1400

    MultiPage Allocator 48

    (7 row(s) affected)

    OBJECTSTORE_SERVICE_BROKER (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 0

    VM Committed 0

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 272

    MultiPage Allocator 0

    (7 row(s) affected)

    OBJECTSTORE_LOCK_MANAGER (Total) KB

    ---------------------------------------------------------------- --------------------

    VM Reserved 32768

    VM Committed 32768

    AWE Allocated 0

    SM Reserved 0

    SM Commited 0

    SinglePage Allocator 10064

    MultiPage Allocator 0

    (7 row(s) affected)

    Buffer Distribution Buffers

    ------------------------------ -----------

    Stolen 19856

    Free 428

    Cached 342014

    Database (clean) 500360

    Database (dirty) 54811

    I/O 0

    Latched 35

    (7 row(s) affected)

    Buffer Counts Buffers

    ------------------------------ --------------------

    Committed 917504

    Target 917504

    Hashed 555206

    Stolen Potential 506093

    External Reservation 3665

    Min Free 1016

    Visible 917504

    Available Paging File 426987

    (8 row(s) affected)

    Procedure Cache Value

    ------------------------------ -----------

    TotalProcs 11115

    TotalPages 351029

    InUsePages 2594

    (3 row(s) affected)

    Global Memory Objects Buffers

    ------------------------------ --------------------

    Resource 334

    Locks 1261

    XDES 235

    SETLS 8

    SE Dataset Allocators 16

    SubpDesc Allocators 32

    SE SchemaManager 928

    SQLCache 1491

    Replication 2

    ServerGlobal 52

    XP Global 2

    SortTables 2

    (12 row(s) affected)

    Query Memory Objects Value

    ------------------------------ -----------

    Grants 5

    Waiting 0

    Available (Buffers) 463050

    Maximum (Buffers) 469450

    Limit 466525

    Next Request 0

    Waiting For 0

    Cost 0

    Timeout 0

    Wait Time 0

    Last Target 479325

    (11 row(s) affected)

    Small Query Memory Objects Value

    ------------------------------ -----------

    Grants 0

    Waiting 0

    Available (Buffers) 12800

    Maximum (Buffers) 12800

    Limit 12800

    (5 row(s) affected)

    Optimization Queue Value

    ------------------------------ --------------------

    Overall Memory 6024609792

    Target Memory 2954682368

    Last Notification 1

    Timeout 6

    Early Termination Factor 5

    (5 row(s) affected)

    Small Gateway Value

    ------------------------------ --------------------

    Configured Units 32

    Available Units 32

    Acquires 0

    Waiters 0

    Threshold Factor 380000

    Threshold 380000

    (6 row(s) affected)

    Medium Gateway Value

    ------------------------------ --------------------

    Configured Units 8

    Available Units 8

    Acquires 0

    Waiters 0

    Threshold Factor 12

    (5 row(s) affected)

    Big Gateway Value

    ------------------------------ --------------------

    Configured Units 1

    Available Units 1

    Acquires 0

    Waiters 0

    Threshold Factor 8

    (5 row(s) affected)

    MEMORYBROKER_FOR_CACHE Value

    -------------------------------- --------------------

    Allocations 342016

    Rate -232

    Target Allocations 683905

    Future Allocations 0

    Last Notification 1

    (5 row(s) affected)

    MEMORYBROKER_FOR_STEAL Value

    -------------------------------- --------------------

    Allocations 17115

    Rate 1443

    Target Allocations 360679

    Future Allocations 0

    Last Notification 1

    (5 row(s) affected)

    MEMORYBROKER_FOR_RESERVE Value

    -------------------------------- --------------------

    Allocations 6400

    Rate 911

    Target Allocations 511286

    Future Allocations 169165

    Last Notification 1

    (5 row(s) affected)

    DBCC execution completed. If DBCC printed error messages, contact your system administrator.

  • From DBCC Memorystatus output it looks you are not making use of AWE(thts fine as this is 64-bit..).

    Have you assigned Lock Pages in Memory privilege to sql server service account?

    Please specify available physical memory and memory allocated to sql server.

    Manu

  • The total ram is 8 GB

    sql server can utilize uptp 7GB......minimum is set to default (i.e 0)....should i change this?

    "Have you assigned Lock Pages in Memory privilege to sql server service account?"

    dont know how to do this....what will be the impact keeping in mind that its a production server??....dun wana take any risk to screw things up

    Thanks,

    Usman

  • No need to change anything on memory allocation side.

    Just go thru the below mentioned links to find usefulness of Lock Pages in Memory option:

    http://kbalertz.com/918483/enable-pages-memory-permissions-prevent-Server-buffer-memory-being-paged-physical-memory.aspx

    http://technet.microsoft.com/en-us/library/ms190730.aspx

    Let me know if this helps.

    Manu

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply