SQL Server 2005 Memory Explosions

We have the following configuration:
ESXi 5.1.0 running on three clustered Dell 710 servers
vCenter Server 5.1.0
The clustered servers have a total of 88G of RAM
SQL Server 2005 x86 running on a virtual Server 2008 R2 x64. All databases run fine for several days with memory usage seeming at ~25%. Suddenly, the memory consumption
shoots up to ~98% and we have to reboot the server. This is based on information from the task manager and the measurements in vSphere Client. I understand that the task manager is not an accurate measurement when AWE is active but that’s the best I’ve got
at the moment.
Here's what we've done thus far:
Looked through the logs on the SQL Server and found the following:
In the System log, Resource-Exhaustion-Detected appeared at the same time but the highest memory consumption was services.exe at 125MB. Doesn’t seem to be the culprit.
In the Applications log, started getting MSSQLSERVER errors indicating ‘The Server was unable to load the SSL provider needed to login.’ These errors persisted through the downtime.
In the SQL Server Log File Viewer, we see the following errors, though I’m not sure that they are at all related:
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): 4464, committed (KB)
66976, memory utilization: 6%
(About 4.5 hours later) Warning: the available page file has dropped below 4Mb. It is at this point – seemingly – that the memory usage has jumped up to near 100%.
The virtual server has 8G of RAM allocated. However, within the vSphere Client, the Memory Granted and the Memory Consumed seem to be at the same value…meaning that
the consumed value seems to be at 100% under normal operating conditions. Not sure why that is.
If anyone has any recommendations or areas to look, we would certainly appreciate your assistance! Thanks in advance.
Tony

I thank you guys so much for the rapid response! Please forgive the delayed response. All of this is on a DoD network and I cannot post to blogs on government machines. I have to go to a private
machine. Below is the information you asked for:
The Max Server Memory is 5.0GB and the Min Server Memory is 0.0GB
I have PerfMon currently running to try and capture as much information as possible.
We are getting a few other errors in the SQL Log that has given me some concern:
Failed Virtual Allocation Bytes: FAIL_VIRTUAL_RESERVE 65536
Memory Manager  VM Reserverd = 3673288 KB  VM Committed = 55688 KB AWE Allocated = 0 KB  Reserved Memory = 1024
KB  Reserved Memory In Use = 0 KB
There is also a series of MEMORYCLERK and CACHESTORE errors following
The Server was unable to load the SSL provider needed to login. SSL is used…
o   
I presume that this is due to the lack of memory to process these SSL request.
There are indeed several Error: 701, Severity: 17, State: 123
Below is the system information from SQL Server 2005:
Microsoft SQL Server Management Studio                   9.00.5324.00
Microsoft Analysis Services Client Tools                       2005.090.5324.00
Microsoft Data Access Components (MDAC)                6.1.7601.17514 (win7sp1_rtm.101119-1850)
Microsoft MSXML                                             
            3.0 6.0
Microsoft Internet Explorer                                         
8.0.7601.17514
Microsoft .NET Framework                                          
2.0.50727.5477
Operating System                                           
            6.1.7601
I run a query SELECT SERVERPROPERTY(‘edition’); and it shows ‘Standard Edition’ rather than ‘Standard Edition (64-bit).’
We are using Windows Server 2008 R2. I don’t believe that there was an x86 version released but I could be wrong.
I’ve actually looked at enabling the LPIM but we are on a domain that we have no control over and there are GPOs that make it very difficult if not impossible to gpedit but that is something
we can certainly look into with the domain owners if you think it might help.
I just ran the following script in SQL:
Exec sp_configure ‘AWE’
The response is  name – awe enabled, minimum – 0, maximum – 1, config_value – 0, run_value – 0
There is no third party software on this server.
The Max Server Memory is set to 5GM
Again, I do appreciate all of your help. Please let me know if I can provide anything further.
Tony

Similar Messages

  • How much Memory should be allocated to SQL Server 2005

    Hi,
    I have a SQL Server 2005 installation on a server having 64GBof RAM.
    SQL server is allocated 57GB of the available RAM.
    Could you please tell me what would be the ideal RAM allocation for my scenario. is the one that is set now, fine.
    How much RAM should be left for the OS and other processes to run?
    I have around 8 databases on the server and the cumulative size of all the databases in about 800GB, these are highly used servers, used for a public domain.

    Umesh,
    Saeid and Uri has already given you good articles to refer to please read them. Reg SQL Server utilization I am sure you are referring to task manager which is always not correct place to look for memory utilization. Below link has query which will give
    you SQL Server memory utilization
    http://blogs.msdn.com/b/sqlsakthi/archive/2011/02/28/t-sql-script-to-monitor-memory-usage-by-sql-server-instance.aspx
    Article provided by Uri will give you not absolute value but almost correct value, but since you asked absolute value you need to look at performance counter to reach at correct memory utilization. If you refer to section 'Does my SQL server has low memory'
    in article which Saeid gave you will find list of counters to monitor for memory utilization use the counters to reah absolute value.
    >>OK, Can high RAM utilization by sql server cause the OS to restart by any chance.
    IMO its not possible I have never seen SQL server being cause for OS shutdown. SQL Server works in non preemptive mode and will yield memory to OS when required. One possibility is when SQL server has locked pages in memory(LPIM)  and some rouge process
    or driver starts using memory from OS heavily and since  SQL server memory is locked( due to LPIM privilege)  it cannot trim heavily resulting in OS to terminate but this is not because of SQL server but because of bad drivers and processes leaking
    memory on OS.
    SQL server using memory is normal behavior
    >>This question seems vague, but I had to ask this, because my server restarts abruptly and I don't get valid reasons in the Logs for that matter.
    Does SQL server starts abruptly or windows OS ? Please look at event viewer for more details and SQL server logs. Is your SQL Server 2005 patched to SP4
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Import data from postgreSQL into SQL server 2005

    I am trying to import one table from postgreSQL to SQL Server 2005 using sql server import and export wizard. When i test the connection after providing data source, location, username, password in the Data Link Properties section I get the message "Test Connection Succeeded". As soon as i press next to go onto next step i get the following error.
    TITLE: SQL Server Import and Export Wizard
    Cannot get string literals from the database connection "Provider=PostgreSQL.1;User ID=sa;Data Source=localhost;Location=TestMasterMap;Extended Properties=".
    ADDITIONAL INFORMATION:
    Object reference not set to an instance of an object. (DTSWizard)
    BUTTONS:
    OK
    I have tried all sorts of different combinations for these properties but it always fails on this step. Can anybody help me with this?
     

    The settings above worked for a small table with 3 rows. Now when I try to import the bigger table which I wanted to import in the first instance I get following out of memory error. Anybody knows how to work around this. I have checked my task manager and more than half of my memory was still not used when I get this error.
    TITLE: SQL Server Import and Export Wizard
    Column information for the source and destination data could not be retrieved.
    "Query" -> [temporary].[dbo].[exporttable]:
                      - ERROR [HY000] Out of memory while reading tuples.;
    No query has been executed with that handle
    ADDITIONAL INFORMATION:
    ERROR [HY000] Out of memory while reading tuples.;
    No query has been executed with that handle (PSQLODBC.DLL)
    BUTTONS:
    OK

  • MS SQL Server 2005 Service Pack 1

    Hello,
    Does anyone know if SAP Business One SP1 PL4 is compatible with the newly available SQL Server 2005 SP1?
    thanks,
    Grace

    Hi All,
    I am running SQL 2005 SP1 with SBO without any problems. I am not sure if it is supported. SP1 for SQL solves a major memory problem that they had before SP1.
    Our local SAP guys says that SQL 2005 is only supported on SBO 2005 SP1.
    Hope it helps,
    Adele

  • Restoring a SQL Server 2005 DB to a SQL Server 2014 install, is there any way to prevent it from being upgraded

    Does anyone know if there is a flag I can use to prevent a SQL Server 2005 database from being upgraded to SQL 2014 when it is restored to a 2014 instance?
    Don't ask why, I just need to know if this is possible or if 2005/8 DB's are required to be upgraded if they are going to run on SQL 2012/2014 instances. The documentation seems to say this is so, I just want to verify that.

    First: You cannot directly restore a 2005 database to
    2014. MS supports migration over 3 SQL Server version steps; means you can restore 2005 to 2008/2008R2/2012, but not to 2014. You have to do a migration step between.
    Olaf I was looking for this today, because I'm working with a new customer that have SQL 2005 and I have SQL 2014. And needed to restore a backup form the production server in my test server.
    When I read what you write I think, oh no!! I have to install SQL 2012 in my server. But that it's not an option for me, and I say let me try to restore the DB first in 2014 and if not work install 2012.
    You can restore a 2005 database to 2014 directly, and it works.
    For reference the version number in the servers 2005 (9.0.4035 SP3) and 2014 (12.0.2000 RTM)
    This is not related in any way to the original question that you answered (the file format will be upgraded to the new motor, that is sure).
    I put this lines because in the future there will be some people searching about if possible to restore a 2005 DB to 2014, and like me will read your lines and think it's not possible and that can make a decision to buy 2012 and not 2014 to that new server they
    will migrate.
    Don't forget to mark the best replies as answers!

  • Can't see data in data tab - sql server 2005

    hello,
    i am connected to a sql server 2005 database (with jtds driver), the connection is ok, i see the tables but i can't see data in data tab.
    i have an error : incorrect syntax
    somebody can help me ?
    thank's in advance
    alex

    definitely. I was going to say, make sure you have the privileges to read data.
    From Microsoft SQL Server 2000 on, it is recommended that you are a member of the db_datareader - so that data in the database can be read
    Barry

  • Unable to start SQL Server Browser service in Sql server 2005

    we are unable to start the SQL browser service on one of our machine with below error.
    I believe this to be the reason, why we could not connect to the instance with below error
    I tried troubleshooting as mentioned here, by changing
    value in registry from 1 to 0, but still no luck.
    SQLservices are also running.
    Please help on how to resolve this!

    Hello,
    You say that SQL Server Browser Service belongs to a SQL Server 2005, but based on the name of the instance is a SQL Server
    2012 instance.
    Do you have any issues installing/uninstalling SQL Server 2005 or 2012? One of them 32-bit and the other 64-bit?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Unable to Access SQL Server 2005 Remotedly

    Not sure if this is the right forum to post this...
    After going through lot of old posts in various forums and changing lot of settings, i'm still not able to access my Server remotely.
    This is Windows 2003 Server machine with Sonicwall Firewall, i have allowed Port 1433 in both Firewall and ISA and call is getting through but i'm getting following error msg :-
    {"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"}
    This machine is also having Sql Server 2000, and the SQL Server 2005 is installed with named instance.
    My connection string is :-
    "Data Source=192.168.0.1\MYSERVER;Initial Catalog=MyDatabase;Integrated Security=True"
    In example above, i'm showing dummy values but actual string is having the actual live IP address and correct named instance and database.
    If i use a local address like 192.168.0.1 then i'm able to connect.
    My TCP/IP Address in Sql configuration is having my Live IP Address and the port 1433.
    Any help will be highly appreciable..

    i'm still checking on this. i have changed the port now to 1434 and changed in all places.
    my connection string is also changed now, so now i'm using :- MYIP\MYSERVER,1434
    now i'm getting a different error msg
    {"An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)"}
    this can also be due to firewall or something else is blocking it, i will rechk n post back final answer.

  • Unable to connect SQL server 2005 databse with JSF applications !

    Hello guys!
    Help me out to connect SQL server 2005 Databse with JSF applications using JDBC-ODBC bridge. I'm working with Netbeans 6.1 IDE.
    I tried for the basic applications but instead got this error:
    "unable to deploy jdbc drivers to the <project>domain/lib"
    Please help me out with working sample codes that connects MS SQL server 2005 DB with JSF!!
    Thank you guys!

    1) don't use the bridge driver
    2) don't do database access from JSF
    3) learn how to use your application server
    4) learn how to use your IDE

  • SSO in Microsoft Application, SQL Server 2005 & OBIEE 11g

    Dear Gurus,
    Any experienced how to enable SSO(Single Sign On) in OBIEE 11g, when the application platform is microsoft instead of Oracle EBS and the data source from SQL server 2005?
    I am new on this.
    Any help will be appreciated
    Regards
    JOE

    Hi,
    Try below link
    http://sranka.wordpress.com/2008/06/06/enabling-sso-authentication-for-obiee/
    http://gellio.wordpress.com/2009/10/23/enabling-oracle-single-sign-on-osso-with-obiee/
    OBIEE, OAS, OID, SSO Integration
    http://sranka.wordpress.com/2008/06/06/enabling-sso-authentication-for-obiee/
    http://www.addidici.com/blog/?p=8
    http://download.oracle.com/docs/cd/E12096_01/books/AnyDeploy/AnyDeploySSO3.html
    Check the security guide here,
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10543/sso.htm#CEGJJFED
    Hope thsi help's
    Thanks
    Satya

  • Crystal Reports 9 and SQL Server 2005 default parameter values

    We're using Crystal Reports 9 and upgraded from SQL Server 2000 to SQL Server 2005.
    I'm noticing a very weird problem which I wonder if anyone else has experienced (and hopefully found a resolution for). It appears that in using Crystal with SQL Server 2005 stored procedures, if we have default parameter values in the stored procedures, the default parameter values get completely ignored if you pass in a NULL value from Crystal!
    For example, if you have a stored procedure that begins like this:
    ALTER          Procedure [dbo].[StoredProcedure]
    @Param1 VarChar(200) = '',
    @Param2 VarChar(200) = ''
    AS ...
    both @Param1 and @Param2 have a default value of an empty string, and therefore should become empty strings if nothing (NULL values) gets passed in for them.
    But, like I said, what I'm finding is that with Crystal calling the stored procedure with NULL @Param1 and @Param2 values, they never become empty strings, but rather remain as NULLs.
    This was never a problem with SQL 2000.
    Very perplexing. Anyone else every experience this?
    Thank you.

    Please ignore my earlier post -- answered my own question.
    NULL parameter values do not get replaced by default values in SQL -- that is normal behavior in both SQL 2000 and SQL 2005. Just goes to show, that no many how many years programming experience you have, you can still get tripped up sometimes : (

  • SQL Server 2008 R2 Std with SQL Server 2005 Express Subscriptions

    If we have SQL Server 2005 Express Merge Replication Subscriptions that synch to a SQL Server 2008 R2 Standard Edition. Do
    the Subscriptions still have same file size limitations even though they synch to a Proper Standard Version of SQL Server 2008?
    If so what are these limitations?
    What happens in the instance where by the server file becomes huge then the Subscriptions will not allow the data to replicate
    as the Express Subscription engine has a file size limitation - or does this not matter??

    You will get messages on your SQL Server Express  servers that the merge agent cannot write to the SQL Express database. These messages are difficult to debug as you don't get a warning you have exceeded the size limit on the subscriber.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • SQL Server 2005 replaced with SQL Server 2014 trying to connect front end Access as guest (read only ODBC)

    We have replaced a SQL Server 2005 with a SQL Server 2014 (new physical server.)  Have the new server set up to use SQL Server login OR Windows user login. Had old server connecting (for a particular DB) to front end Access (2010 or 2013) as guest for
    anyone logged into the Windows NT Network with a read only ODBC connection. Have the DB in the new server set to include guest as db_datareader (with only SELECT permission for the securables of each table and view being linked) but when any Windows user not
    specifically listed as a SQL DB user tries to use the front end they get an error of:
    Microsoft SQL Server Login
    Connection failed:
    SQL State: '28000'
    SQL Server Error: 18456
    [Microsoft][OCBC SQL Server Driver][SQL Server] Login failed for user {domain\user}.
    After closing that pop-up window a server login window appears. Of course, since the guest user is not specifically listed as a user in the DB that fails also. It seems like there should be a very simple solution to this, but I can't seem to find it. I want
    to allow anyone logged in on the Windows system (locally) to be able to open the MS Access file (on their work station machine) and run their own (read only; select) queries on the SQL Server database. Any suggestions?
    Thanks a billion in advance ----

    Thanks for the response Olaf. I have now spent weeks researching this. I realize that using the guest account in most situations is not advised. As mentioned, I have restricted the guest account to allow the db_datareader role only, and have explicitly denied
    all other roles, as well as allowing select only, and still have no access for the guest account.
    The suggested fix in the second link you provided, of using Windows groups is not plausible for my situation either. We are a scientific field research institution, with a few long term users and lots of users that may have Windows accounts for a few months,
    and then they are gone. It would be a nightmare for the network tech to try to keep a group account up to date, and we need to give access (read only, of course) to anyone logged into the system. Realize that the ONLY access of any kind to this database is
    thru MS Access ACCDB, using a (by default) read only OCDB connection.
    This type of access is used particularly because researchers need to be able to set up their own queries, and the MS Access query interface is particularly convenient for people who are not themselves SQL experts, yet are trying to get some very advanced
    levels of output. Putting the database online is not practical because then we are back to the need for a comprehensive query interface, and just picking up general subsets of the data online (from a basic web page search feature) would be out of the question,
    since the result set would involve hundreds of thousands if not millions of records.
    So - that said - what exactly would you suggest, assuming we don't have the funds to buy a whole new system, and have spent plenty of money with Microsoft's Enterprise level MS Office so that all work stations have MS Access, and Microsoft's SQL Server,
    as well as running our network on Microsoft's network software.

  • "Unable to load URL" - SQL Server 2005 DB Web Service Connection

    Hi ,
    I am using XCelsius version 5.0.0.99 to create dashboards connecting to SQL Server 2005.
    Find below the details of the steps -
    1. Created a web service within SQL Server 2005 database.
    2. Copied the WSDL URL.
    3. In XCelsius 2008 -> Data Manager -> Web Service Connection, pasted the URL in the WSDL URL input box and clicked "Import" to import the methods. At this point I am getting "Unable to load URL" .
    Am I missing any step ?
    Any suggestion would be highly appreciated.
    Note : I have tested the web service by using it in a ASP.Net project and works fine.
    Thanks
    Chitra

    Hi,
    Error :unable to Load URL occurs" because Crystal xcelsius only support single schema web service created from Query as a web service and Flynet tool available in xcelsius 2008.
    The reason:
    All the web service create from Sql 2005 ,PHP script produced multiple scehma web service and crystal xcelsius only support single schema web service which can be created from Query as a web service or Flynet.
    Please revert in case of any queries.
    Regards
    Kekti Fadnavis

  • Error"Failed to open the connection"  - Named Instance of SQL Server 2005

    "Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
    The report is throwing error, when changing the logon information dynamically through C#.
    Code
         string reportPath = @"D:\NET\TestReport\TestReport.rpt";
         ReportDocument reportDocument = new ReportDocument();
         reportDocument.Load(reportPath);
         foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
              TableLogOnInfo tableLogonInfo = table.LogOnInfo;                         
              tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1";  //Connnecting to Named instance of SQL Server 2005
              tableLogonInfo.ConnectionInfo.UserID = "sa";
              tableLogonInfo.ConnectionInfo.Password = "password";
              tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
              table.ApplyLogOnInfo(tableLogonInfo);     
         crystalReportViewer1.ReportSource = reportDocument;
    Error Message
         Failed to open the connection.
         Failed to open the connection.
         C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
    The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
    Thanks in Advance
    Edited by: pugalendran p on Feb 2, 2009 10:32 AM
    Edited by: pugalendran p on Feb 2, 2009 10:43 AM

    Hi,
    Following solution might help you to resolve the issue.
    Solution1:
    Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
    Resolution
    Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
    Import the universe from the designer.
    Go to File->Parameters.
    Edit Connection.
    On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
    Change the DSN to new DSN connection
    Test the connection.
    Save the Universe and Export it to the repository.
    Solution2:
    I am taking Oracle as an example over here.
    This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
    Resolution
    To resolve,
    check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
    look for any paths that contain a mapped drive partition
    Change the mapped drive letter to a UNC path (
    server\folder)
    Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
    If the path is not updated to the new path
    Reboot the server
    Regards,
    Sarbhjeet Kaur

Maybe you are looking for

  • New HP LaserJet Pro MFP M127fw network connection impacts DNS server of my ISP

    Hi, i am not well with english, so please sorry I have deliverd new HP LaserJet Pro M127fw to my client who have 3 PC-s Win7 64bit, one 4 port switch, and one TP-link ISDN modem-router. I have installed the printer over network and everything is done

  • Using a camera with a Firewire 400 to a new Macbook Pro with a Firewire 800

    Just took delivery on a new 15" Macbook Pro. Installed Final Cut Pro 6 on it but learned my Sony DCR-TRV17 cable is a 4 pin firewire and I need the 800. I contacted Sony to see if they could tell me if I can use a different cable. They call their cab

  • Mailbox Received Date

    I'm an auld curmudgeon. I don't like the way that Mail displays the date when a message was received. I do not like "Tomorrow", "Today", "Yesterday", "Last Week", etc. appearing as the date that the message was received. I don't like seeing the date

  • Responsibility cost centre is probably not supplied or invalid, thru a Z*

    Business Scenario is to reverse the material document, thru a standard SAP tcode (Cancel Material document MBST/ MB31). However system is giving error as listed below u201CResponsibility error Message no ZA031 Diaganosis Responsibility cost centre MM

  • Is P6 R8 Compatible with PPM 8.0 ?

    Hi, I would know if someone tested the compatibility of PPM 8.0 with P6 R8 (by the Bridge ) I will not upgrade to P6 R8, but this info could be useful on some customer site. Thanks Fabio D'Alfonso http://www.fabiodalfonso.com