Re: Slow performance after restarting

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Eric Hirst (s.p.a.r.k.y.d.o.o.d.l.e.d.o.o_at_y.a.h.o.o)
Date: 02/18/04


Date: Wed, 18 Feb 2004 11:32:18 -0800

I don't think it's a network issue, this happens all on a single box.
(Although I think I get the same effect when the QA client is on a different
box.)

Shutting off Norton AV doesn't affect it.

Changing connection pooling settings (60 seconds, 10 seconds, no pooling)
has no effect (Thanks Tom, we had not thought about pooling.)

Not machine dependent, can repro on XP & Win2K, latest SR's, single proc,
dual proc, and dual + hyperthreading.

Next step: look at the log files. They are very large for the db in
question, on the order of .5 to 1.5 GB. But
DBCC SHRINKDATABASE and DBCC SHRINKFILE don't seem to affect the behavior
either.

-Eric

"Tim" <Tim@NoSpam> wrote in message
news:%23J6u4Re9DHA.2368@TK2MSFTNGP11.phx.gbl...
> Eric,
>
> If the problem was the other way around, I would be thinking DNS or
perhaps
> WINS issues (NT / etc).
> May be that'll kick brain cells in the right direction....
>
> Is the ODBC connection right for the network? What does server network
> config and client network config say?
> Any firewall software in sight? IE Nortons...
>
> - Tim
>
> "Eric Hirst" <s.p.a.r.k.y.d.o.o.d.l.e.d.o.o@y.a.h.o.o> wrote in message
> news:#y0cpAb9DHA.1636@TK2MSFTNGP12.phx.gbl...
> > We have a service application which typically starts up in 1-3 seconds.
> Most
> > of this time is spent running SQL and DML against SQL Server 2000, SP3,
> via
> > ODBC. The service is registered to depend on SQL Server.
> >
> > When I restart SQL Server, our app sometimes takes 1-3 seconds, but
> > occasionally takes several minutes. The difference? It's only slow when
> > there is a secondary client, such as Query Analyzer, running during this
> > process. That is, I can:
> >
> > (1) Start SQL Server
> > (2) Start Query Analyzer and connect to SQL Server
> > (3) Stop SQL Server
> > (4) Start our service, which runs DML and SQL against SQL Server.
> > (4.1) YAAAAWN Wait several minutes, with the CPU almost idle, while our
> > service runs its initial DDL and SQL.
> >
> > I can then stop and restart our service several times. In each case,
it's
> > very slow. But then I can:
> >
> > (5a) Close Query Analyzer
> > -or-
> > (5b) Execute some SQL in Query Analyzer
> >
> > and suddenly our service jumps back to life, stopping and starting
> snappily
> > in response to the SCM, pushing the CPU hard for a second or two each
> time.
> >
> > Any idea what's going on here? Ideally, we'd like to find a programatic
> way
> > to make SQL Server "forget" about Query Analyzer and any other client
> > connections whenever it is cycled. Note that this is a test environment
> and
> > we don't actually care if these clients crash or otherwise misbehave.
> >
> > Thanks, Eric
> >
> > --
> > Eric Hirst, SSE
> >
> > Sorry, I don't want to test my company's spam filters.
> > Please follow up to newsgroup, or send mail to the
> > following address, which I check occasionally:
> >
> > s-p-a-r-k-y-d-o-o-d-l-e-d-o-o
> > y-a-h-o-o
> > c-o-m
> >
> >
>
>



Relevant Pages

  • Re: server disconnection - very often
    ... Often get the redirected folders working offline prompt on some client ... VMware virtual network interface cause network issue. ... On the Connection Type page, click Broadband, and then click Next. ... |> re-initialize the offline files cache and database on client computers: ...
    (microsoft.public.windows.server.sbs)
  • Re: server disconnection - very often
    ... Reason of permanent popups is VMware server aplication on clients. ... Run CEICW to configure the network of SBS: ... Two network adapters - manual router connection to broadband ... Uninstall VMware on client. ...
    (microsoft.public.windows.server.sbs)
  • Re: Lan Wifi Network
    ... >knowledge of computer network... ... a wireless user has gone away. ... client software to do the job. ... connection which can be timed. ...
    (alt.internet.wireless)
  • Re: Remote Client Configuration
    ... the client computer to the SBS domain via connect computer wizard remotely. ... local network or via dial up VPN connection, you will use an local copy on ... connection is established, Group Policy is not applied during logon. ...
    (microsoft.public.windows.server.sbs)
  • RE: RWW not accessible over web
    ... You can install the ISA firewall client on the laptop. ... |> option will configure ISA to provide network security and packet ... Before you run the Configure E-mail and Internet Connection Wizard, ...
    (microsoft.public.windows.server.sbs)