Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Process\Private Bytes (sqlserver)

Posted on 2013-05-19
6
Medium Priority
?
399 Views
Last Modified: 2013-05-20
Hi Experts!

I have this application server which is running 24/7 (peak average at 3AM to 12noon). I tried to use performance monitor for three days because I'm wondering why I always need to reboot the server every three days. On the first day, the application is fast, on the second day, it will become gradually slow then on the third day, it is very slow to the point that users get frustrated with the application.

I read the .csv file and noticed these counters:

Memory\Available MBytes

May 17
      Min - 8,194
      Avg - 8,728
      Max - 9,179

May 18
      Min - 7,417
      Avg - 8,033
      Max - 8,668

May 19
      Min - 6,690
      Avg - 7,121
      Max - 7,610


Process\Private Bytes (sqlserver)

May 17 (Friday) - Peak at 3AM to 12noon
      Min - 4,872,523,776
      Avg - 5,065,575,668
      Max - 5,793,427,456

May 18 (Saturday) - Peak at 5AM to 12 noon
      Min - 5,791,735,808
      Avg - 6,041,063,052
      Max - 6,582,472,704

May 19 (Sunday) - Peak at 5AM to 12 noon
      Min - 6,577,823,744
      Avg - 6,581,372,412
      Max - 6,588,833,792

I notice that Available MBytes are getting low, and Private Bytes are getting high overtime.
If you see this kind of scenario, what will be your impression and what other counters I need in relation to these counters?

Thank you.
0
Comment
Question by:MediaBanc
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:David Todd
ID: 39179833
Hi,

Is the application on the same server as the database?

Instead of rebooting the server, does restarting the application have the same effect? Is there a service or two which restarting will have the same effect?

For looking at a SQL Server try these counters:
http://www.brentozar.com/archive/2006/12/dba-101-using-perfmon-for-sql-performance-tuning/

HTH
  David
0
 

Author Comment

by:MediaBanc
ID: 39179841
Hi dtodd,

Is the application on the same server as the database?
Yes.

Instead of rebooting the server, does restarting the application have the same effect?
Yes.

Is there a service or two which restarting will have the same effect?
I tried also restarting their other services, still the same.

Thanks!
0
 
LVL 35

Expert Comment

by:David Todd
ID: 39180105
Hi

Is the application written in house or a third party, shrink wrap or bespoke?

Do you have another server to migrate the app to?

Suggest that you go over app code for memory leaks.

Regards
  David
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 

Author Comment

by:MediaBanc
ID: 39180145
Hi David,

This is a third party / shrink wrap application. Right now I don't have extra server to migrate my app.

How can we say that it might me a memory leak?

Thanks!
0
 
LVL 35

Accepted Solution

by:
David Todd earned 1500 total points
ID: 39180238
Hi

If third-party shrink-wrap, you need to contact the vendor.

Obviously, if restarting the app brings performance back, then it's the app and not the DB.

Regards
  David
0
 

Author Comment

by:MediaBanc
ID: 39180291
Hi David,

Maybe I'll try first experiment restarting one service at a time. Since I have initial findings on this one.

Thank you!
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

916 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