dbTalk Databases Forums  

Server stops responding

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Server stops responding in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
=?Utf-8?B?QWx0YWYgQWwtQW1pbiBOYWp3YW5p?=
 
Posts: n/a

Default Server stops responding - 09-02-2007 , 05:12 AM






Hi All,

I am running SQL Server 2005 SP2 (Without SP1) on Windows 2003 Machine. I am
facing a very strange problem. Sometimes the database stops responding, In
this situation no user from my web application can connect to database. But
If I go to server and open connection by management studio it works. Secondly
I have also observed that the server becomes responsless for 3 to 4 minutes
and aftet that it again comes on normal behaviour. During all this it never
writes any errors in log entries. Can anyone tell me the reason of it and how
it can be cured !!

Thanks in advance.


Reply With Quote
  #2  
Old   
=?utf-8?Q?Ekrem_=C3=96nsoy?=
 
Posts: n/a

Default Re: Server stops responding - 09-02-2007 , 06:44 AM






Hello,


That's for sure you have problems with some services or something on your
Windows Server System or hardware I think.

Maybe it's the reason why SQL Server doesn't response sometimes?

You said there is nothing in the error logs, what error logs? Ones in Event
Viewer, or in SQL Server? Your should check both of them.

It seems it's nothing to do with SQL Server at first sight.

How about adding some counters to the System Monitor and check to see if
there is a bottleneck with one of your hardware components?


--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote

Quote:
Hi All,

I am running SQL Server 2005 SP2 (Without SP1) on Windows 2003 Machine. I
am
facing a very strange problem. Sometimes the database stops responding, In
this situation no user from my web application can connect to database.
But
If I go to server and open connection by management studio it works.
Secondly
I have also observed that the server becomes responsless for 3 to 4
minutes
and aftet that it again comes on normal behaviour. During all this it
never
writes any errors in log entries. Can anyone tell me the reason of it and
how
it can be cured !!

Thanks in advance.



Reply With Quote
  #3  
Old   
=?Utf-8?B?QWx0YWYgQWwtQW1pbiBOYWp3YW5p?=
 
Posts: n/a

Default Re: Server stops responding - 09-02-2007 , 06:56 AM



Thanks Ekrem!

I am checking event viewer as well as sql server logs, both are silent about
this event. Secondly can you please recommend me any performance counters i
shall look for ? CPU runs at 35% utilization level .

Thanks in advance.

"Ekrem Önsoy" wrote:

Quote:
Hello,


That's for sure you have problems with some services or something on your
Windows Server System or hardware I think.

Maybe it's the reason why SQL Server doesn't response sometimes?

You said there is nothing in the error logs, what error logs? Ones in Event
Viewer, or in SQL Server? Your should check both of them.

It seems it's nothing to do with SQL Server at first sight.

How about adding some counters to the System Monitor and check to see if
there is a bottleneck with one of your hardware components?


--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:097CE843-9724-4F95-9990-CD5AAD53D135 (AT) microsoft (DOT) com...
Hi All,

I am running SQL Server 2005 SP2 (Without SP1) on Windows 2003 Machine. I
am
facing a very strange problem. Sometimes the database stops responding, In
this situation no user from my web application can connect to database.
But
If I go to server and open connection by management studio it works.
Secondly
I have also observed that the server becomes responsless for 3 to 4
minutes
and aftet that it again comes on normal behaviour. During all this it
never
writes any errors in log entries. Can anyone tell me the reason of it and
how
it can be cured !!

Thanks in advance.



Reply With Quote
  #4  
Old   
=?utf-8?Q?Ekrem_=C3=96nsoy?=
 
Posts: n/a

Default Re: Server stops responding - 09-02-2007 , 09:11 AM



Ok, you may want to follow the tracks of the following counters to see the
situation of Memory, Physical Disks, Network Card and CPU generally...

Memory: Available MBytes
Memory: Page Faults\sec
MSSQL$<your_instance_name>: Buffer Manager: Buffer cache hit ratio
MSSQL$<your_instance_name>: Buffer Manager: Page life expectancy
MSSQL$<your_instance_name>: General Statistics: User Connections
Network Interfce: Bytes Received\sec
Network Interfce: Bytes Sent\sec
Network Interfce: Output Queue Length
Physical Disk: % Disk Time (seperately for your OS and database disks, not
total)
Physical Disk: Disk Read Bytes\sec
Physical Disk: Disk Write Bytes\sec
Physical Disk: Avg. Disk Queue Length
Processor: % Processor Time
System: Processor Queue Length

--
Ekrem Önsoy


"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote

Quote:
Thanks Ekrem!

I am checking event viewer as well as sql server logs, both are silent
about
this event. Secondly can you please recommend me any performance counters
i
shall look for ? CPU runs at 35% utilization level .

Thanks in advance.

"Ekrem Önsoy" wrote:

Hello,


That's for sure you have problems with some services or something on your
Windows Server System or hardware I think.

Maybe it's the reason why SQL Server doesn't response sometimes?

You said there is nothing in the error logs, what error logs? Ones in
Event
Viewer, or in SQL Server? Your should check both of them.

It seems it's nothing to do with SQL Server at first sight.

How about adding some counters to the System Monitor and check to see if
there is a bottleneck with one of your hardware components?


--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:097CE843-9724-4F95-9990-CD5AAD53D135 (AT) microsoft (DOT) com...
Hi All,

I am running SQL Server 2005 SP2 (Without SP1) on Windows 2003 Machine.
I
am
facing a very strange problem. Sometimes the database stops responding,
In
this situation no user from my web application can connect to database.
But
If I go to server and open connection by management studio it works.
Secondly
I have also observed that the server becomes responsless for 3 to 4
minutes
and aftet that it again comes on normal behaviour. During all this it
never
writes any errors in log entries. Can anyone tell me the reason of it
and
how
it can be cured !!

Thanks in advance.




Reply With Quote
  #5  
Old   
=?Utf-8?B?QWx0YWYgQWwtQW1pbiBOYWp3YW5p?=
 
Posts: n/a

Default Re: Server stops responding - 09-03-2007 , 12:56 AM



Thanks for your reply. I have added all these performance counters and here
are the readings :

Quote:
Memory: Available MBytes = 1294
Memory: Page Faults\sec > 250 (Sometimes)
MSSQL$<your_instance_name>: Buffer Manager: Buffer cache hit ratio = 99.3
MSSQL$<your_instance_name>: Buffer Manager: Page life expectancy = 3091
MSSQL$<your_instance_name>: General Statistics: User Connections = 55
Network Interfce: Bytes Received\sec = 2000 to 10000
Network Interfce: Bytes Sent\sec = 2000 to 10000
Network Interfce: Output Queue Length = 0
Physical Disk: % Disk Time (seperately for your OS and database disks, not
total) = OS : 5 to 20 | Database : 0 to 1
Physical Disk: Disk Read Bytes\sec , OS: 0 | Database : sometimes greater than 90,000
Physical Disk: Disk Write Bytes\sec, OS: 0 to 5000 (Sometimes 25,000) | Database : 0 to 115000
Physical Disk: Avg. Disk Queue Length = almost 0 and less than 1
Processor: % Processor Time = 0 to 60
System: Processor Queue Length

I would appreciate if you can have a look at the above readings and tell me
where is the problem.

Thanks in advance.


"Ekrem Önsoy" wrote:

Quote:
Ok, you may want to follow the tracks of the following counters to see the
situation of Memory, Physical Disks, Network Card and CPU generally...

Memory: Available MBytes
Memory: Page Faults\sec
MSSQL$<your_instance_name>: Buffer Manager: Buffer cache hit ratio
MSSQL$<your_instance_name>: Buffer Manager: Page life expectancy
MSSQL$<your_instance_name>: General Statistics: User Connections
Network Interfce: Bytes Received\sec
Network Interfce: Bytes Sent\sec
Network Interfce: Output Queue Length
Physical Disk: % Disk Time (seperately for your OS and database disks, not
total)
Physical Disk: Disk Read Bytes\sec
Physical Disk: Disk Write Bytes\sec
Physical Disk: Avg. Disk Queue Length
Processor: % Processor Time
System: Processor Queue Length

--
Ekrem Önsoy


"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:B607126D-F7A9-46E8-9EFF-74247996223D (AT) microsoft (DOT) com...
Thanks Ekrem!

I am checking event viewer as well as sql server logs, both are silent
about
this event. Secondly can you please recommend me any performance counters
i
shall look for ? CPU runs at 35% utilization level .

Thanks in advance.

"Ekrem Önsoy" wrote:

Hello,


That's for sure you have problems with some services or something on your
Windows Server System or hardware I think.

Maybe it's the reason why SQL Server doesn't response sometimes?

You said there is nothing in the error logs, what error logs? Ones in
Event
Viewer, or in SQL Server? Your should check both of them.

It seems it's nothing to do with SQL Server at first sight.

How about adding some counters to the System Monitor and check to see if
there is a bottleneck with one of your hardware components?


--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:097CE843-9724-4F95-9990-CD5AAD53D135 (AT) microsoft (DOT) com...
Hi All,

I am running SQL Server 2005 SP2 (Without SP1) on Windows 2003 Machine.
I
am
facing a very strange problem. Sometimes the database stops responding,
In
this situation no user from my web application can connect to database.
But
If I go to server and open connection by management studio it works.
Secondly
I have also observed that the server becomes responsless for 3 to 4
minutes
and aftet that it again comes on normal behaviour. During all this it
never
writes any errors in log entries. Can anyone tell me the reason of it
and
how
it can be cured !!

Thanks in advance.




Reply With Quote
  #6  
Old   
=?utf-8?Q?Ekrem_=C3=96nsoy?=
 
Posts: n/a

Default Re: Server stops responding - 09-03-2007 , 03:30 AM



Even if it would be good to see "System: Processor Queue Length" too, other
results are quite good. Only "Page Faults" looks a bit high but it must be
something else or you may want to dig it.

Besides, it's very important when did you analyse these hardwares and how
long did it take.

You may be experiencing problems with CPU? because %60 is not a bad resuld
nor very good. Maybe in peak hours this value jumps to much higher? And that
may be resulting with pauses? This is just a guess.

You may want to have a look at the processes that runs from the Task Manager
and see if there is a cpu\ram consuming process running. If so, track it to
see what it is about exactly.

--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote

Quote:
Thanks for your reply. I have added all these performance counters and
here
are the readings :

Memory: Available MBytes = 1294
Memory: Page Faults\sec > 250 (Sometimes)
MSSQL$<your_instance_name>: Buffer Manager: Buffer cache hit ratio = 99.3
MSSQL$<your_instance_name>: Buffer Manager: Page life expectancy = 3091
MSSQL$<your_instance_name>: General Statistics: User Connections = 55
Network Interfce: Bytes Received\sec = 2000 to 10000
Network Interfce: Bytes Sent\sec = 2000 to 10000
Network Interfce: Output Queue Length = 0
Physical Disk: % Disk Time (seperately for your OS and database disks,
not
total) = OS : 5 to 20 | Database : 0 to 1
Physical Disk: Disk Read Bytes\sec , OS: 0 | Database : sometimes greater
than 90,000
Physical Disk: Disk Write Bytes\sec, OS: 0 to 5000 (Sometimes 25,000) |
Database : 0 to 115000
Physical Disk: Avg. Disk Queue Length = almost 0 and less than 1
Processor: % Processor Time = 0 to 60
System: Processor Queue Length


I would appreciate if you can have a look at the above readings and tell
me
where is the problem.

Thanks in advance.


"Ekrem Önsoy" wrote:

Ok, you may want to follow the tracks of the following counters to see
the
situation of Memory, Physical Disks, Network Card and CPU generally...

Memory: Available MBytes
Memory: Page Faults\sec
MSSQL$<your_instance_name>: Buffer Manager: Buffer cache hit ratio
MSSQL$<your_instance_name>: Buffer Manager: Page life expectancy
MSSQL$<your_instance_name>: General Statistics: User Connections
Network Interfce: Bytes Received\sec
Network Interfce: Bytes Sent\sec
Network Interfce: Output Queue Length
Physical Disk: % Disk Time (seperately for your OS and database disks,
not
total)
Physical Disk: Disk Read Bytes\sec
Physical Disk: Disk Write Bytes\sec
Physical Disk: Avg. Disk Queue Length
Processor: % Processor Time
System: Processor Queue Length

--
Ekrem Önsoy


"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:B607126D-F7A9-46E8-9EFF-74247996223D (AT) microsoft (DOT) com...
Thanks Ekrem!

I am checking event viewer as well as sql server logs, both are silent
about
this event. Secondly can you please recommend me any performance
counters
i
shall look for ? CPU runs at 35% utilization level .

Thanks in advance.

"Ekrem Önsoy" wrote:

Hello,


That's for sure you have problems with some services or something on
your
Windows Server System or hardware I think.

Maybe it's the reason why SQL Server doesn't response sometimes?

You said there is nothing in the error logs, what error logs? Ones in
Event
Viewer, or in SQL Server? Your should check both of them.

It seems it's nothing to do with SQL Server at first sight.

How about adding some counters to the System Monitor and check to see
if
there is a bottleneck with one of your hardware components?


--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:097CE843-9724-4F95-9990-CD5AAD53D135 (AT) microsoft (DOT) com...
Hi All,

I am running SQL Server 2005 SP2 (Without SP1) on Windows 2003
Machine.
I
am
facing a very strange problem. Sometimes the database stops
responding,
In
this situation no user from my web application can connect to
database.
But
If I go to server and open connection by management studio it works.
Secondly
I have also observed that the server becomes responsless for 3 to 4
minutes
and aftet that it again comes on normal behaviour. During all this
it
never
writes any errors in log entries. Can anyone tell me the reason of
it
and
how
it can be cured !!

Thanks in advance.





Reply With Quote
  #7  
Old   
=?utf-8?Q?Ekrem_=C3=96nsoy?=
 
Posts: n/a

Default Re: Server stops responding - 09-03-2007 , 04:08 AM



Also, you may want to track your database with SQL Server Profiler to see if
some processes takes longer then they should take.
http://msdn2.microsoft.com/en-us/library/ms187929.aspx

You may also want to check out the Activity Monitor if there are locks or
deadlocks. Reason of the pauses could be locks or deadlocks as well.
http://msdn2.microsoft.com/en-us/library/ms175518.aspx


On the other hand, first, you said that your server experience this pausing
problem too. So, all this pausing\performance problems that you meet in SQL
Server may be result from the server itself. I think you must solve your
server problems first.

--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote

Quote:
Thanks for your reply. I have added all these performance counters and
here
are the readings :

Memory: Available MBytes = 1294
Memory: Page Faults\sec > 250 (Sometimes)
MSSQL$<your_instance_name>: Buffer Manager: Buffer cache hit ratio = 99.3
MSSQL$<your_instance_name>: Buffer Manager: Page life expectancy = 3091
MSSQL$<your_instance_name>: General Statistics: User Connections = 55
Network Interfce: Bytes Received\sec = 2000 to 10000
Network Interfce: Bytes Sent\sec = 2000 to 10000
Network Interfce: Output Queue Length = 0
Physical Disk: % Disk Time (seperately for your OS and database disks,
not
total) = OS : 5 to 20 | Database : 0 to 1
Physical Disk: Disk Read Bytes\sec , OS: 0 | Database : sometimes greater
than 90,000
Physical Disk: Disk Write Bytes\sec, OS: 0 to 5000 (Sometimes 25,000) |
Database : 0 to 115000
Physical Disk: Avg. Disk Queue Length = almost 0 and less than 1
Processor: % Processor Time = 0 to 60
System: Processor Queue Length


I would appreciate if you can have a look at the above readings and tell
me
where is the problem.

Thanks in advance.


"Ekrem Önsoy" wrote:

Ok, you may want to follow the tracks of the following counters to see
the
situation of Memory, Physical Disks, Network Card and CPU generally...

Memory: Available MBytes
Memory: Page Faults\sec
MSSQL$<your_instance_name>: Buffer Manager: Buffer cache hit ratio
MSSQL$<your_instance_name>: Buffer Manager: Page life expectancy
MSSQL$<your_instance_name>: General Statistics: User Connections
Network Interfce: Bytes Received\sec
Network Interfce: Bytes Sent\sec
Network Interfce: Output Queue Length
Physical Disk: % Disk Time (seperately for your OS and database disks,
not
total)
Physical Disk: Disk Read Bytes\sec
Physical Disk: Disk Write Bytes\sec
Physical Disk: Avg. Disk Queue Length
Processor: % Processor Time
System: Processor Queue Length

--
Ekrem Önsoy


"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:B607126D-F7A9-46E8-9EFF-74247996223D (AT) microsoft (DOT) com...
Thanks Ekrem!

I am checking event viewer as well as sql server logs, both are silent
about
this event. Secondly can you please recommend me any performance
counters
i
shall look for ? CPU runs at 35% utilization level .

Thanks in advance.

"Ekrem Önsoy" wrote:

Hello,


That's for sure you have problems with some services or something on
your
Windows Server System or hardware I think.

Maybe it's the reason why SQL Server doesn't response sometimes?

You said there is nothing in the error logs, what error logs? Ones in
Event
Viewer, or in SQL Server? Your should check both of them.

It seems it's nothing to do with SQL Server at first sight.

How about adding some counters to the System Monitor and check to see
if
there is a bottleneck with one of your hardware components?


--
Ekrem Önsoy



"Altaf Al-Amin Najwani" <altaf.alamin (AT) gmail (DOT) com> wrote in message
news:097CE843-9724-4F95-9990-CD5AAD53D135 (AT) microsoft (DOT) com...
Hi All,

I am running SQL Server 2005 SP2 (Without SP1) on Windows 2003
Machine.
I
am
facing a very strange problem. Sometimes the database stops
responding,
In
this situation no user from my web application can connect to
database.
But
If I go to server and open connection by management studio it works.
Secondly
I have also observed that the server becomes responsless for 3 to 4
minutes
and aftet that it again comes on normal behaviour. During all this
it
never
writes any errors in log entries. Can anyone tell me the reason of
it
and
how
it can be cured !!

Thanks in advance.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.