Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sql database server very slow, pages/sec very high

Posted on 2013-05-28
6
Medium Priority
?
368 Views
Last Modified: 2013-06-23
We run 3 virtual servers running windows server 2008 on our hp server that runs xenserver 5.6.   All workstations are actually on a workgroup but we run active directory on same vm as sql.  Application server on 2nd vm. 3rd vm is the terminal server.
We run one application in that rdp session.  We have 2 cisco small business smart switch one 48port and one 50 port with poe.  I have reset both configs.  We have Avg business 2013 installed and have it on every vm, saying up to date and no infections. We are having random freezing or slowness but all rdp sessions stay connected.

 After i have done some performance monitor on our sql server, that seems to be the issue. it has pages/sec as high as 1100.  we have about 50 computers rdp into the ts then they open the application that pulls from the sql server.  
the picture i took was off hours, i will be taking one during hours. the virtual machine has 40gb of memory and 33gb sql keeps taking from the system. the page file is around 35gb and everyone is complaining about slowness.  what can i do to improve this?
counters.gif
0
Comment
Question by:bowlerman25
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 4

Expert Comment

by:rlog
ID: 39203730
You can constrain the amount of memory SQL Server takes. Look in properties on the sql server object and select memory from the left meny. Set Maximum server memory to 16384 mb (16x1024mb) as a start.

In case it's not SQL that grabs the memory you should monitor which process consumes most memory. I have seen sql server doing very little but grabs lots of memory.

SQL Server often grabs as much memory as can and doesn't release it until the server needs it "badly".

All workstations are actually on a workgroup but we run active directory on same vm as sql.
This is NOT recommended.
0
 

Author Comment

by:bowlerman25
ID: 39205489
why is "All workstations are actually on a workgroup but we run active directory on same vm as sql.
This is NOT recommended. "

why is this not recommended? i have this setup at a couple places and it works great.

also with all users on the server up 3000pages/sec for memory, page faults as high at 6000-10000 but mostly around 3000 or less. processor interrupts are as high as 12000. are any of these an issue?  do i need to post different counters so someone can help?
0
 
LVL 4

Expert Comment

by:rlog
ID: 39205937
Read this

SQL has a habit of sucking up lots of memory and when running combined with a dc lots of stuff happends when memory is in shortage. Not sure if you've experience this in terminal servers?

Did you constrain max memory setting btw?
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:bowlerman25
ID: 39209536
can you tell me where exactly it is to limit the memory?

To improve performance i was thinking about doing this. also we are running sql and AD on same vm. I will make the 2nd vm be a dc then i read i have to uninstall sql then demote the original dc then reinstall sql? is that correct?
0
 

Accepted Solution

by:
bowlerman25 earned 0 total points
ID: 39257897
the whole problem is not solved but i think i know what it is. i call citrix and got support, they made me change the management nic to a different nic then the traffic nic, somehow is makes a difference.
0
 

Author Closing Comment

by:bowlerman25
ID: 39269115
both answers are good, we did not solve issue yet
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question