Occasional delay in processing incoming packets
From: James (needadohelp_at_hotmail.com)
Date: 08/18/04
- Next message: Erik Grob: "Re: why default index for primary key is clustered?"
- Previous message: Zeng: "why default index for primary key is clustered?"
- Next in thread: David G.: "Re: Occasional delay in processing incoming packets"
- Reply: David G.: "Re: Occasional delay in processing incoming packets"
- Messages sorted by: [ date ] [ thread ]
Date: 17 Aug 2004 18:38:33 -0700
I have a problem where occasionally (less that 1%) a packet is not
processed for as long as 25 seconds.
1) I get the exact same behavior with ADO 2.8 and ADO.NET.
2) A detailed view of the chain of events looks like this:
• T+0 seconds – connection from the pool is allocated
• T+0 seconds – vb call to Command.Execute (or c# call to
DataAdapter.Fill)
• T+0 seconds – single packet (118 bytes) is sent to database machine
(from a web server)
• T+0.1 seconds – ack received from database machine indicating packet
was successfully received in full
• T+25 seconds – SQL Profiler trace "Start Time" for database call
• T+25 seconds – SQL Profiler trace "End Time" for database call
• T+25 seconds – data returns to application
• T+25 seconds – connection is returned to the pool
So the "lost time" occurs on the database machine between the time the
packet is received, and the time Profiler claims SQL Server started
working on the query.
I've tried to run perfmon on the obvious counters on the database but
I've failed to find anything out of the ordinary. There are so many
counters! Any ideas on what specifically I should be looking at now?
~ James
Occasional delay in processing incoming packets
- Next message: Erik Grob: "Re: why default index for primary key is clustered?"
- Previous message: Zeng: "why default index for primary key is clustered?"
- Next in thread: David G.: "Re: Occasional delay in processing incoming packets"
- Reply: David G.: "Re: Occasional delay in processing incoming packets"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|