Cannot Stop Job

Hi,
I'm running a SQL 2005 SP 2 on Windows 2003 Server R2.
I have a Job that includes a IS Package and then conducts a lot of calculations of which one runs into an infinite loop.
The problem now is, that I can't stop the job. If i try it sp_stop_job procedure returns success, but in the activity monitor the job is still running, and restart the job returns that the job is already running
(SQLServerAgent Error: Request to run job xxx refused because the job is already running... (Microsoft SQL Server, Eror: 22022)
It helped to restart the Server Agent, but this is not a proper solution as other user work on this database as well, so how can i kill the job without restarting the agent?
thanks in advance

Although killing the SPID will solve the "infinite" loop issue for that instance, shouldn't you figure out under what conditions the infinite loop is occurring and try to mitigate the possibility of the infinite loop from occurring?
Do you have an idea of the circumstances that cause the package to go into an infinite loop?

Similar Messages

  • SYS-170111 - Cannot stop memory monitor thread: RWThreadImp::terminate -

    Hi Experts,
                  WE have this warning in pretty much every job in production. But the warnings are not specific to certain jobs they might occur one day and not the other day.
    Cannot stop memory monitor thread: <RWThreadImp::terminate - No thread is active within the runnable>.
    I know looking at the release notes this issue was fixed in 3.0 (12.0.0), we are using 3.2 (12.2.0) and having the same issues. The job server is on a linux 64 bit. I have not seen this issue in any of our windows job server. Is this bug specific to linux or is there a resolution for this.
    Appreciate your help in advance.
    Thanks
    AJ
    Edited by: alangilbi on Sep 28, 2011 5:17 PM

    Hi, AJ.
    As can be seen in the KBA 1455412 this is a known behavior.
    "As a result of fixing the problem identified in ADAPT 00890818 in release 12.0.0.0, this message is displayed by design. If there is really a problem in stopping the memory monitor thread an exception is thrown and an error message is logged.
    Background:
    In the memory monitor's shutdown logic, once it tells the monitor thread to shutdown it waits for the thread to terminate but only for 10 seconds. It could be that at this same time the wait expired when the thread actually terminates. So when this happens in the shutdown logic we force terminate the thread. Since there is no active thread anymore the terminate call throws an exception and then we catch it and then throws the error for the job."
    You can just ignore this warning.
    Leo.

  • Cannot stop Adobe Message coming up

    Hello
    I keep getting a message coming up on my screen from Adobe Flash Player and I cannot stop it !
    The message is as follows:
    A website wants to open web content using this program on your computer.
    This program will open outside of protected mode.  Internet Exporer protected mode helps protect your computer.
    If you do not trust this website, do not open this program
    Adobe Flash Player
    Adobe Systems Incorporated
    It doesn't matter whether I press yes allow or do not allow - it still keeps coming up - I have had this problem for a few weeks now and I have run my Anti Virus software and Malware etc, but to no joy - it still keeps coming up.
    I don't think  that it is coming from yourselves - I think it is a virus?
    My operating system is Windows 7 64 bit
    And I use Internet Explorer
    Can anyone please help me get rid of it?
    I have done a screen print if there is anyway I can send you it?
    Thank you and kind regards

    Hi - thanks for your reply.  I looked at my 'protected mode' to see if it was enabled in IE's Internet Options and it was already 'checked'
    I have been trying to post my screenshot by clicking the camera icon in this toolbar, but when I browse my documents and click on insert image - a message comes up saying 'the content type of this image is not allowed' !
    It is a WordDoc2007 (*docx) or a .wps extension which is a Microsoft Works document and no matter which image I try to 'insert' - the message is still the same.
    I am desperate now because no matter what website I go on - your message comes up - and everytime the website is loading it comes up quite a few times when a page is loading.  Even while I've been doing this reply to you - everytime I click on a link to take me somewhere on the site - it comes up! 
    Perhaps if I can send you the screenshot by email - it may work?  At least then you would be able to see the screenshot?
    I have just thought about sending you the screenshot as a picture, but I don't have 'Paint' - any ideas would be appreciated.
    Thank you and kind regards

  • STOPPED JOBS with expdp and dbms_scheduler

    Hello.
    I am working with the 10g release 2 in a RAC enviroment, and i am trying to put an export job at the scheduler.
    To launch the export i have make a shell script, then first exec the export process and after launch a bzip2 command to compress the resultant dmp file.
    The problem is that the export process finish ok, but it don't compress the file, because the scheduler mark the job as STOPPED.
    The log say:
    REASON="Stop job with force called by user: 'SYS'"
    and the expdp S.O process that launch the extjobo stay runing for ever, like if it was waiting for the expdp to exit and it can`t so the script never arrive to the part that compress the file.
    I put the script that i make to export the schema:
    #!/bin/bash
    export ORACLE_HOME=/opt/oracle/product/10.2.0/db
    export PATH=$PATH:$ORACLE_HOME/bin
    export DIRBACK=/ORACLE/BACKUPS/BMR/Dumps
    export dia=`date +%d_%m_%Y_%H_%M_%S`
    export LOG=dump_backup_bmr_$dia.log
    cd $DIRBACK
    $ORACLE_HOME/bin/expdp userid=oracle_backup/orabck@BMR dumpfile="BMR_BMR_$dia.dmp" schemas=BMR directory=Dumps logfile=$LOG
    cd $DIRBACK
    /usr/bin/bzip2 -f --best ./BMR_BMR_$dia.dmp
    cd $DIRBACK
    /bin/mail -s "DUMP BACKUP BMR DIARIO [$dia]" [email protected] < ./dump_backup_bmr_$dia.log
    I have put several cd $DIRBACK to see if it fail because the script don`t find the dmp file.
    Any idea why it STOP after finish the script ?
    PD: sorry for my poor english.
    Regards

    Hi,
    A stop is only done in two cases - if the user calls dbms_scheduler.stop_job or if the database is shutdown while a job is running. Make sure the database is not being shutdown while the job is running or inside of the job.
    If expdp is still running then this suggests that it is hanging. One possibility for that is that expdp is generating a lot of standard error messages and hanging the job (this is a known issue in 10gR2). You can try redirecting standard output and error to files to see if this helps.
    e.g.
    $ORACLE_HOME/bin/expdp > /tmp/output 2> /tmp/errors
    Hope this helps,
    Ravi.

  • I clicked on iMessage on my Macbook Pro today for the first time, and now NOTES keeps opening up every 5 seconds, with a new note.  I cannot stop it from opening. If I close it or force close, it opens again in 5 seconds.  I can't get rid of it.  I have

    I clicked on iMessage on my Macbook Pro today for the first time, and now NOTES keeps opening up every 5 seconds, with a new note.  I cannot stop it from opening. If I close it or force close, it opens again in 5 seconds.  I can't get rid of it.  I have tried to clear out the iMessage settings I had put in, and I've tried to adjust the Accounts to not include notes to synch.  But, Notes will not stop.  It opens a new note, and even if you ignore it, it assumes preference every 5 seconds, and the Mac is impossible to use.

    Do you have any Boot Camp or other secondary partitions set up on your system? If so then try running a disk verification routine (chkdsk, etc.) in Windows to repair the disk. While I've not heard of it happening recently, in the past errors in these partitions have resulted in stubborn ghost files appearing in OS X.

  • I attempted to download X Yosemite to my Mac Pro. It timed out and would not finish. I cannot stop the website from believing it is still downloading. Help.

    I attempted to download X Yosemite to my Mac Pro.
    It timed out and would not finish.
    I cannot stop the website from believing it is still downloading.
    Help.

    oatgeo wrote:
    I  checked the proxy and it should be OK. That's mean I have to try and try again until I get it from the slow servers.
    Yes.

  • Installation adobe reader XI 11.0.07 in windows 8 is not installed me, gives me a message that says "windows search cannot stop". What can i do?

    Installation adobe reader XI 11.0.07 in windows 8 is not installed me, gives me a message that says "windows search cannot stop" for several times. What can i do?

    I have no idea what this means; maybe you need to stop indexing?  Also try the installer from http://get.adobe.com/reader/enterprise/

  • How to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot controlled with mouse, returns auto to top of scroll slide, never remaining at bottom

    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.

    cjuan1morb4ulv wrote:
    how to remove a black border box that continously tabs to each field automatically till end of web page; restarts to top of page, cannot stop this box. Scroll bar cannot be controlled with mouse, scroll bar returns automatically to the top of scroll slide every time I move the bar to the bottom of the scale.  Also, there's a rectangular text box (with black background and white text) that is always on the desktop that emulates a typed text, HTML, or cmd function.
    The first two problems (box cycling from element to element on page, scroll bar returning to top) can be caused by a stuck (or defective) Tab key on the keyboard. Such damage can be caused by a liquid spill; just one tiny droplet is enough to short a wafer switch under one key.
    The last issue (black box, white text - sounds sorta like a debugger window) I haven't seen, but could be caused by something similar.
    To check for that, try using a different keyboard. If you're using a wireless keyboard, turn it off and see if the oddities stop.

  • Installed "Intrigated gmail" and now i get a siren noise that i cannot stop. uninstalled firefox and reinstalled but cannot stop. unistalled all add ons cannot stop. need help

    Installed Intrigated Gmail and right after that everytime I open firefox I get a siren noise that will not stop. I uninstalled firefox and reinstalled with no add ons they where all uninstalled and I still get the siren. If I cannot stop it i will be forced to use a different browser.
    == This happened ==
    Every time Firefox opened
    == 5/21/10 6pm

    Check the home page setting:
    * https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved
    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js [2] and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js

  • Cannot Kill Job, REP-56098:

    I have tried running a jsp with a customize.xml file to modify my data source using servlet.
    First I got an error saying there was a syntax error in my where clause. I fixed the error in my ml then tried to run the report again. It seems report server is hung.
    I am unsuccessful in killing the job through Enterpise Manager and also using killjobid
    This is the error I am getting:
    Cannot Kill Job with Job ID 181REP-56098: Bad engine name: null
    Is there anyway to kill this job outside of EM?
    Using 9.0.2 9iAS
    Any help is appreciated.
    Cindy

    hello,
    i've seen this issue before and think that it is fixted in either the 9.0.2.1 or the 9.0.2.2 patchset.
    regards,
    philipp

  • SMW2 - Inbound , need to set STOP jobs to automatically delete

    Hi
    We set the system to receive data from ECC 6.0 system to SRM to inbound queue (SMQ2). There was specific data that we needed for processing and the other set to STOP in SMQ2. The ones that are in the QUEUE are holding back the the active one. We have to delete the STOP jobs to for the active one to process. Is there a way of setting a schedule for STOP job to automatically delete
    Regards
    Naziem Mahomed

    usually a queue is stopped , if there is any problem.
    You need to resolve the problem in the queue , and then once that is resolved... ,following queues will go through.
    how ever it is not possible to automatially remove the stop queues , unless you have custom program to remove the stopped entries...

  • Cannot activate job BI_PROCESS_TRIGGER return code 8

    Hi Experts,
                     When i check the cancelled job in (BI) Quality system we got this messages for a Process chain jobs in job log:
    Job log for the PC:
    Job started
    Step 001 started (program RSPROCESS, variant XXXXXXXXXXXX, user ID ALEREMOTE)
    Communication buffer deleted from previous run D7SJFXYB8BZDUE0L9ETKQSIRF
    Chain ZTD_INDEX_REBUILD was removed from scheduling
    Program RSPROCESS successfully scheduled as job BI_PROCESS_DROPINDEX with ID 02002300
    Program RSPROCESS successfully scheduled as job BI_PROCESS_INDEX with ID 02002300
    Program RSPROCESS successfully scheduled as job BI_PROCESS_PLSWITCHL with ID 02002400
    Program RSPROCESS successfully scheduled as job BI_PROCESS_PLSWITCHP with ID 02002400
    Chain ZTD_INDEX_REBUILD Was Activated And Scheduled
    Cannot activate job BI_PROCESS_TRIGGER return code 8
    Process did not report an instance -> no log
    Job cancelled after system exception ERROR_MESSAGE
    I serached with previous postings and solutions in SDN thats not matched with my case. I am getting this error at mid of the process chains ike rebiuld index ,deletion of datatarget contents , some local chain..
    Suggest me...
    Thanks in Advance...

    Check here... Process Chains Problem

  • Hi, on my fathers pc sometimes when downloading multiple tabs start opening and I cannot stop this happening. Could anybody please help me?

    Hi, on my fathers pc sometimes when downloading multiple tabs start opening and I cannot stop this happening. Could anybody please help me? for example, trying to download TomTom Start 25 user manual

    You get that problem if you select the Firefox program to handle a file if you get an "open with" dialog.
    *https://support.mozilla.com/kb/Firefox+keeps+opening+many+tabs+or+windows

  • Cannot stop playlist shuffling

    I cannot stop songs in a playlist from shuffling. I have turned it off on and off again on pc and then updated iPod. Have turned it off on the iPod itself but although there is no shuffle icon showing the songs still randomly select and will not just follow the order 1, 2, 3 etc. What have I done wrong?
    iPod nano   Windows XP  

    Welcome to Apple Discussions!
    Is it skipping songs and not playing them? Like going from 1 of X to 4 of X? Or is the 4th song listed as 2 of X when playing it, for example.
    Have you tried resetting the iPod?
    Reset iPod
    btabz

  • Cannot stop looping

    Hi
    I'm have imported a 30 second clip for the menu screen but I cannot stop it looping after only 10 seconds of play. Menu Info only acknowledges the first 10 seconds of the clip.
    Perhaps I'm missing something very obvious....
    tia
    k

    Kinda solved!
    I put a 30 second silent sound file which adjusted the movie length to 30 seconds.
    An odd workaround for an odd problem.
    Still, why didn't it adjust to the movie clip length????

Maybe you are looking for

  • Unable to print PDF Files in Safari 5.1

    Hi, 1) Running Snow Leopard v10.6.8. Downloaded Safari v5.1. I now cannot print or save pdf files within Safari. I can view them okay, but the error message I get when trying to save a pdf file (which is a program document for a photo expo after it h

  • Show Purchasing group Field in UI for Create Limit Item

    Hello All,               Do you if there is a way without modifying the templates to show Purchasing Group in UI for Create Limit Items in SRM 4.0 ( Classic Scenario)? -thanks in advance Shilpa

  • ICalendar synching with multiple calendars

    I work for different people and therefore need to keep different calendars for each person. I currently color code the different people, however, I am now looking to be able to synch up with everyone's calendars using their .Mac accounts. I have an i

  • Help getting Elements 11 onto a new Laptop

    Hi everyone - Im sure this is the basic of the basic but Im having issues getting Elements 11 onto my new Laptop. I downloaded this onto my desktop about 8 months ago and having now upgraded to a laptop want to download to that too. I naively thought

  • Type of vpn that will work with different manufacturers

    hi, I will be using cisco ASAs to offer a service. I need to know what type of VPN I can build that will work with most manufacturers and be easy to manage. I know site to site that works with everything. I've used easyvpn and dmvpn but these are cis