Re: Kill process
From: Justin Drennan (justin_at_nospam.com)
Date: 10/14/04
- Next message: Justin Drennan: "BCP"
- Previous message: Bill Borg: "Performance of adding column w/ vs. w/out default value"
- In reply to: Jacco Schalkwijk: "Re: Kill process"
- Next in thread: Mingqing Cheng [MSFT]: "Re: Kill process"
- Reply: Mingqing Cheng [MSFT]: "Re: Kill process"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 14 Oct 2004 20:57:40 +0200
Thanks for the help guys,
The Sp was callign xp_cmdshell, which in turn was executing a BCP. I will
use task manager and let you guys know!
Thanks for the help!!
:)
"Jacco Schalkwijk" <jacco.please.reply@to.newsgroups.mvps.org.invalid> wrote
in message news:uSSHNSgsEHA.3508@TK2MSFTNGP14.phx.gbl...
> That won't time out.
>
> Is there any external process created by the stored procedure (via
> xp_cmdshell or sp_OACreate)? You can then kill that process in Windows
Task
> Manager, which might solve your problem.
>
> --
> Jacco Schalkwijk
> SQL Server MVP
>
>
> "Justin Drennan" <justin@nospam.com> wrote in message
> news:5pmdnZvX3ZssBfPcRVn-pA@is.co.za...
> > Hi Jacco,
> >
> > The stored proc was executed by a user, and the user has rebooted the
> > machine. The process shows: KILLED/ROLLBACK and is 0% complete in the
last
> > 3
> > hours....
> >
> > Will this eventually time out?
> >
> > The problem is, that this is causing locks on my server, which I am
unable
> > to resolve. I am also not able to restart the SQL server as there are
> > hundreds of users which would be impacted....
> >
> > thanks
> >
> > "Jacco Schalkwijk" <jacco.please.reply@to.newsgroups.mvps.org.invalid>
> > wrote
> > in message news:%23o05WAgsEHA.2072@tk2msftngp13.phx.gbl...
> >> You can kill the client process that created the SQL Server connection.
> > For
> >> example, if the stored procedure was started by a job, you can stop and
> >> restart SQL Server Agent to clear the process and release the locks.
> >>
> >> --
> >> Jacco Schalkwijk
> >> SQL Server MVP
> >>
> >>
> >> "Justin Drennan" <justin@nospam.com> wrote in message
> >> news:nKWdncdZZ6y9F_PcRVn-og@is.co.za...
> >> >I have a stored proc which outputs data to a .csv.
> >> >
> >> >
> >> >
> >> > The process had a problem and had to be killed. Once killed, the
> >> > process
> >> > begins rolling back. However the rollback is 0% and unknown amount of
> > time
> >> > until successful. When I delete .csv files, they are re-created,
within
> >> > seconds by the SQL server, which i find strange.
> >> >
> >> >
> >> >
> >> > The problem is, these processes, which are being killed now have
locks
> > on
> >> > the Master DB, and I dont know how to kill them!
> >> >
> >> >
> >> >
> >> > Help!
> >> >
> >> >
> >> >
> >> > thanks,
> >> >
> >> > Justin
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
>
- Next message: Justin Drennan: "BCP"
- Previous message: Bill Borg: "Performance of adding column w/ vs. w/out default value"
- In reply to: Jacco Schalkwijk: "Re: Kill process"
- Next in thread: Mingqing Cheng [MSFT]: "Re: Kill process"
- Reply: Mingqing Cheng [MSFT]: "Re: Kill process"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|