sqlservr using lots of memory
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
sqlservr using lots of memory

 
Post new topic   Reply to topic    Windows Server Forum Index -> Small Business Server 2003
Author Message
Adam Butler
Guest





Posted: Tue Feb 01, 2005 6:46 am    Post subject: sqlservr using lots of memory Reply with quote

Hi,

Been running SBS 2003 for a year and a half now.
All of a sudden my memory usage by sqlservr.exe has shot from 70 to over 500
Mb.

I have always had three instances of sqlservr running and at most I'd see
maybe 70 Mb on the highest one. Now, I see over 500 Mb for the high one and
the other two are still normal at 38 and 19 Mb or so each.

I read some old posts and they had a command to limit the memory usage but I
get an error and I assume it is from the fact that I'm running Standard
edition.

Can I do anything to reduce the memory usage?
I did reboot the server and it has helped but the usage is slowly creeping
back up over 100 Mb after only 24 hours.
Back to top
David Copeland [MSFT]
Guest





Posted: Tue Feb 01, 2005 6:46 am    Post subject: Re: sqlservr using lots of memory Reply with quote

Adam,

Can you run the following command from a command prompt to find out the
process id's to the different instances..

tasklist /svc

Then open up Task Manager, click on the Processes tab (note that you may
need to click on the View/Select Columns option to make sure that the PID
(process identifier) option is selected), the look for the different process
id's to see which process id is using the memory.


--

Hope that helps,
David Copeland
Microsoft Small Business Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Newsgroups:
SBS v4.x : microsoft.public.backoffice.smallbiz
SBS 2000: microsoft.public.backoffice.smallbiz2000
SBS 2003: microsoft.public.windows.server.sbs
Back to top
Adam Butler
Guest





Posted: Tue Feb 01, 2005 6:46 am    Post subject: Re: sqlservr using lots of memory Reply with quote

Yep,
Did your commands and:
MSSQL$SBSMONITORING

This seems to be the one eating memory.
Back to top
David Copeland [MSFT]
Guest





Posted: Thu Feb 03, 2005 6:46 am    Post subject: Re: sqlservr using lots of memory Reply with quote

Adam,

Are you using the following? If so, what error do you get?

osql -E -S servername\sbsmonitoring
Quote:
sp_configure 'show advanced options',1
reconfigure with override
go
sp_configure 'max server memory', nnnn
reconfigure with override
go

where nnnn is the maximum amount of ram in mb's you want it to use..

--

Hope that helps,
David Copeland
Microsoft Small Business Server Support

This posting is provided "AS IS" with no warranties, and confers no rights.

Newsgroups:
SBS v4.x : microsoft.public.backoffice.smallbiz
SBS 2000: microsoft.public.backoffice.smallbiz2000
SBS 2003: microsoft.public.windows.server.sbs
Back to top
Adam Butler
Guest





Posted: Sat Feb 05, 2005 6:08 am    Post subject: Re: sqlservr using lots of memory Reply with quote

Hi David,
The commands seemed to work.

Thanks Much for the help!

Adam
Back to top
MarkJ



Joined: 18 Oct 2007
Posts: 1

Posted: Thu Oct 18, 2007 7:43 am    Post subject: Reply with quote

Heey,

I know this is an old thread but i have the same problem. My sqlsrv eats up a total of 1.2GB! mem..

I followed david steps but when i looked at the task list matching my PID in command prompt my PID is NOT MSSQL$SBSMONITORING but it is MSSQL$MSFW.

The sqlsrv MSSQL$SBSMONITORING is fine running at a mem usage of 77mb..

My question is can i go on with david's following steps or do i need to take other actions... if so which?

Thanks

MarkJ
Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    Windows Server Forum Index -> Small Business Server 2003 All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB