Long running programs

Hi,
some of the time we get the situation where program (in background job) takes unusal time for execution and it will keep running...
I checked the memory utilization...logs..dumps....but no success....
when i go to SM50..I see only user and Report..there is nothing in action Tab and no table as well..
When I double click the process ..there also it dont show anything...
sometimes we kill this and ask user to resatrt the program and it will go fine....but can anybody know how to troubleshoot this scenario
Regards,
Yash

Hi Yash,
Probably this happens due to a bad coding, something unexpected are ocurring inside the program which fall into infinite loop waiting one condition with never hapens.
To check this, you can go deeper into code (ABAP expertise required) by one or both of two ways:
- starting the debug from SM50 --> Program/Session --> Program -> Debugging or
- trace it with SE30 --> In Parallel Session --> Select your process and click on Start measurement.... Wait some time, stop and analyse the infos.
Regards, Fernando Da Ró

Similar Messages

  • Does win8/8.1/10 kill long-running programs automatically as stated in specs? reasons why?

    does win8/8.1/10 kill/end-task long-running programs automatically as stated in specs? how specifically does it detect a locked-up process?
    has this been put into windows 7 at any time to make it similar to windows 8?
    Please supply accurate answers. thank you.
    My understanding the reason for this change was to handle locked-up programs.
    I do have a number of long-running processes. some examples of mine and scenarios for other users:
    simulations on a Workstation or HPC Server
    doing a directory tree walk on a hard disk with >=1TB of data
    reference articles I have found on the subject:
    windows 7
    http://windows.microsoft.com/en-us/windows/exit-program-not-responding#1TC=windows-7
    windows 8
    From some of what I understand, you can also get the "Program Not Responding" or similarly titled dialog box when:
    bug in the source code of the program in question. for instance, while(1){} such as forever loops (win7)
    similar program bug when declaring a function one way but defining it a different way and then calling it (mismatch in function signature) (win7)
    similar to above with DLLs in using MSVCRT*.DLL or other
    (?) can't remember for sure on this, but I think some badly formed calls or it was invalid values or data type mismatch to Win32 API can do this from buggy code. (win7)
    for (x=0; x < 16777216; x++) {your code here...} in other words, large values for loop termination (win7)
    this is a repost of http://answers.microsoft.com/en-us/windows/forum/windows_8-performance/does-win88110-kill-long-running-programs/d35c3c9e-c6f4-4bbf-846a-2041bf2167a0?tm=1427518759476
    here due to a request to do so.

    does win8/8.1/10 kill/end-task long-running programs automatically as stated in specs? how specifically does it detect a locked-up process?
    has this been put into windows 7 at any time to make it similar to windows 8?
    Please supply accurate answers. thank you.
    My understanding the reason for this change was to handle locked-up programs.
    Hi Jim,
    First, I have to admit that I'm not fully understanding the question, If a program is not responding, it means the program is interacting more slowly than usual with Windows, typically could be a confliction of software or hardware resources between
    two programs, lack of system resources, or a bug in the software or drivers. In that case, we can choose to wait or end the program. This design is similiar in Windows 7, Windows 8 and other OS.
    For deeper analysis, system determines whether the system considers that a specified application is not responding using a "IsHungAppWindow function",
    https://msdn.microsoft.com/en-us/library/ms633526.aspx
    And this link also give some explanation: Preventing Hangs in Windows Applicationshttps://msdn.microsoft.com/en-us/library/windows/desktop/dd744765%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396
    While I'm not a developer, to better understand this, I recommend you contact members in the MSDN Forum:
    https://social.msdn.microsoft.com/Forums/en-US/home
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Challenging question: Status report for long running program...

    Hi All,
    With all the control stuff around like cl_dd_document I was wondering if there is a way to give a user a report which shows the progress of a very long running program?
    i.e. If I have a 20 step process and each step takes 1 minute, the following is what I would like to occur:
    Output a status line in a report format, run step, repeat until all steps are finished.
    This is similar to the status bar, but with a history of what is happening.  Obviously scrolling needs to be considered also.  Ideally it would behave like sapinst would but in a reporting format.
    Obviously this has to bypass the PBO/PAI approach, hence why I believe UI Controls must be the answer.
    Any ideas anyone?
    Regards,
    Matt

    Without using a control, you could try the old report refresh trick using set user-command and an action triggered after an RFC in a new task ... see basic demo below:
    report zlocal_auto_refresh no standard page heading.
    data:
      begin of gs_step,
        uzeit               like sy-uzeit,
        step                like sy-tabix,
        start_end(10)       type c,
      end of gs_step,
      gt_step               like gs_step occurs 10,
      g_step_number         like sy-tabix.
    *=======================================================================
    * Events
    *=======================================================================
    at user-command.
      perform user_command.
    *=======================================================================
    * Mainline
    *=======================================================================
    start-of-selection.
      perform start_of_report.
    end-of-selection.
    *&      Form  start_of_report
    form start_of_report.
      set pf-status '1000LIST'. "contains ZREFRESH ucomm
      perform run_a_step.
    endform.                    "start_of_report
    *&      Form  run_a_step
    form run_a_step.
    * Demo with something that takes some time, like sleeping...
      data:
        ls_step             like gs_step.
      add 1 to g_step_number.
      if g_step_number > 9.
        stop.
      endif.
      get time.
      clear: ls_step.
      ls_step-step      = g_step_number.
      ls_step-uzeit     = sy-uzeit.
      ls_step-start_end = 'Starting'.
      append ls_step to gt_step.
    * generate a delay for demo
      call function 'ENQUE_SLEEP'
        exporting
          seconds = 1
        exceptions
          others  = 0.
      get time.
      clear: ls_step.
      ls_step-step      = g_step_number.
      ls_step-uzeit     = sy-uzeit.
      ls_step-start_end = 'Ended'.
      append ls_step to gt_step.
      format reset.
      format color col_normal.
      loop at gt_step into ls_step.
        write: /
          ls_step-uzeit,
          ls_step-start_end,
          ls_step-step,
          at sy-linsz space.
      endloop.
      uline.
      call function 'RFC_PING'
        starting new task 'NEWTASK'
        performing when_back on end of task.
    endform.                    "run_a_step
    *&      Form  when_back
    form when_back
      using
        i_taskname          type any.
      receive results from function 'RFC_PING'.
      set user-command 'ZREFRESH'. "act like user pressed something
    endform.                    "when_back
    *&      Form  user_command
    form user_command.
      case sy-ucomm.
        when 'ZREFRESH'.
          perform run_a_step.
          sy-lsind = sy-lsind - 1.
      endcase.
    endform.                    "user_command
    cheers
    jc

  • How to start a long running program at system start and stop at login and restart at logoff

    I am trying to mine some crypto currency with my computer. My computer is usually in logged off state, so I want to mine automatically when system is in this state.
    Untill now I have done this:
    At system start, I have scheduled a task to start the mining software
    at login I have scheduled another task to kill the mining process
    Here comes the question: I need to restart the mining process as soon as the user logs off.
    But I couldnt figure out how to schedule a task at logoff, so I decided to use Group Policy Ediotr's Logoff scripts. But the problem is, I can't seem to log off at all, because system seems to be waiting for the "script" to finish, and since it is
    a mining process, it doesn't finish, and the user is never logged off!
    How do I configure windows to resume mining after the logoff?

    Hi!
    I haven't been working much with mining, but you are thinking correctly with using the logon/logoff-scripts.
    The problem is that the process for mining requires a user to be logged on, it runs i user-context.
    So if you in some way can start the process to run in system context, you are good to go. (The mining process) But if this is possible at all I do not know, I think the miners are dependent on a user being logged on.
    Best regards
    Andreas Molin
    Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin

  • I down loaded new OS X (Lion)operating system and discovered my CAD programs no longer run.  Is it possible to reload the original OS X and remove Lion?

    I down loaded new OS X (Lion)operating system and discovered my CAD programs no longer run.  Is it possible to reload the original OS X and remove Lion?

    If you backed up before the upgrade, restore the backup.
    If not you are going to have to erease the disk and install the older OS.
    You should back up any data you want before so that it can be restored afterwards.
    Is there a version of you CAD program that is Lion compatable? That would be an easier solution.
    Allan

  • Process chain is long running

    We have a process chain that is long running even though there is not much data.
    It is long running in Load PSA step. It is getting data from other R/3 sap system. A job is also long running in the R/3 system.
    We can see data coming to BW system but not getting updated to PSA and even the job in R\3 is also not getting terminated.
    There are many other process chains too running in the system and they are running fine. So i feel that this may not be due to system performance. This is happening for last one and half week.
    If any one has faced similar problems or if you have any solution or checks that i can do, please reply.
    Regards,

    Hi sarafraz,
    If there are more than one run are active and running ,then delete the other extraction job and have only one at a time in source system. Because those may be causing lock issue .
    Also see system log in SM21 ,if you have any system termination message for this extractor .
    Check ST22,if you have any short dump for this extractor
    Also you can try to load for particular selection in Infopackage (for a month,company code or some other selection that restrict the data) and check whether it is completed or not.
    Also check to RSA3 and extract there.
    See SM12 -for lock entires
    SM51,SM66 in source system - What is running for this extractor,which program is being read,which table etc...
    so you can know the step where it got stuck or taking long time.
    Thanks,
    Naween

  • I can no longer run itunes since the latest update

    i can no longer run itunes since the latest update

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (If this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.

  • After running Software update, I can no longer run, open, sync or use iTunes in any way. PLEASE what happened??

    I was running the newest version of Snow Leopard, and after running Software update, I can no longer run, open, sync or use iTunes in any way. PLEASE what happened?
    I really regret that I said "OK" to Software Update message... after Software Update of these updates on 7-26-11:
    Migration Assistant Update for Mac
    Mac OSX 10.6.8 Supplemental Update
    Safari
    iTunes
    Remote Desktop Client Update
    Now I get a message:
    iTunes cannot be opened because of a problem
    Check with developer to make sure iTunes works with this version of Mac OSX. You may need to reinstall the application. Be sure to install any available updates for the application and Mac OSX.
    Process:         iTunes [5092]
    Path:            /Applications/iTunes.app/Contents/MacOS/iTunes
    Identifier:      com.apple.iTunes
    Version:         ??? (???)
    Build Info:      iTunes-10315501~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [111]
    Date/Time:       2011-07-26 12:08:18.568 -0500
    OS Version:      Mac OS X 10.6.8 (10K540)
    Report Version:  6
    Interval Since Last Report:          504736 sec
    Crashes Since Last Report:           20
    Per-App Crashes Since Last Report:   13
    Anonymous UUID:                      B8B5EE28-970A-4E79-949B-EA2DD6E6DAA2
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: @loader_path/libgnsdk_musicid.1.8.2.dylib
      Referenced from: /Applications/iTunes.app/Contents/MacOS/iTunes
      Reason: image not found
    Binary Images:
    0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld
    Model: Macmini3,1, BootROM MM31.00AD.B00, 2 processors, Intel Core 2 Duo, 2.26 GHz, 2 GB, SMC 1.35f1
    Graphics: NVIDIA GeForce 9400, NVIDIA GeForce 9400, PCI, 256 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x90), Broadcom BCM43xx 1.0 (5.10.131.42.4)
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: Hitachi HTS543216L9SA02, 149.05 GB
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    USB Device: External HDD, 0x1058  (Western Digital Technologies, Inc.), 0x0704, 0x24100000 / 2
    USB Device: Hub, 0x0424  (SMSC), 0x2507, 0x26400000 / 2
    USB Device: iMic USB audio system, 0x077d, 0x07af, 0x26440000 / 4
    USB Device: Hub, 0x0424  (SMSC), 0x2502, 0x26470000 / 3
    USB Device: Deskjet D4300 series, 0x03f0  (Hewlett Packard), 0x1f04, 0x26471000 / 5
    USB Device: GD-0608-U, 0x056a  (WACOM Co., Ltd.), 0x0021, 0x04700000 / 4
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x04500000 / 3
    USB Device: Hub in Apple Pro Keyboard, 0x05ac  (Apple Inc.), 0x1003, 0x04300000 / 2
    USB Device: Apple Optical USB Mouse, 0x05ac  (Apple Inc.), 0x0307, 0x04310000 / 6
    USB Device: Apple Pro Keyboard, 0x05ac  (Apple Inc.), 0x020b, 0x04330000 / 5
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8216, 0x06110000 / 5
    FireWire Device: unknown_device, Unknown
    FireWire Device: d2 DVDRW FW, LaCie, Up to 400 Mb/sec

    Same thing happened to me and I get the same error message. These are the programs that don't work
    mail
    keynote
    pages
    all Office 2011 programs
    safari

  • How can I get a display of all running programs in lion like I used to get when I did a 4 finger swipe in snow leopard?

    how can I get a display of all running programs in lion like I used to get when I did a 4 finger swipe in snow leopard?
    I liked to turn off running programs without a window that I was no longer using
    thanks.
    Best I can do now is to open the "force quit" window and click on programs I want to stop and then send each one a "command-Q" and then repeat as necessary
    Jeff

    Command + Tab is what you are after i think

  • Long running FI close jobs as a result of FI settlement to 3 cost objects

    We are trying to gain some insight as to how we can deal with the large volume of data that is generated with PennDOTu2019s reclassification of costs in SAP (plant maintenance) and any impact this may have on system performance. Specifically, PennDOTu2019s current process requires settlement to 3 cost objects; the SAP standard is settlement to 2 cost objects. There are approximately 60 million line item transactions created each year by this process.
    More details:
    IES u2013 PennDOT Settlement Process 06/24/10
    Business Requirement u2013 settle to three cost objects
    1) Run SAP settlement program u2013 only settles to 2 cost objects
    u2022 Three line items in COEP per G/L posting
    2) Process to settle to the third cost object
    a. Reverse cost object. This generates a CO line item.
    b. Repost to the third cost objects. This generates a CO line item.
    u2022 Six line items in COEP per G/L posting
    3) Assumption: CO line items are a means to post to the third cost item (Cost Center). Only used for internal management reporting.. Not needed for any other processing or federal audit requirements.
    a. These CO line items can be uniquely identified for archiving.
    a. These CO line items can be uniquely identified for archiving. by BA, BT and text fields
    4) The long running monthly and annual close jobs are due to the number of CO line items that are in the system. Estimated at 16 to 20 million line items per year.
    4) The long running monthly and annual close jobs are due to the number of CO line items (COEP) that are in the system. Estimated at 16 to 20 million line items per year. 166,000 items created in one day.

    HI,
    pls chk with this link
    http://www.fhwa.dot.gov/infrastructure/asstmgmt/dipa.pdf
    i am digging ur issue.let me know clearly wat u need.
    thanks,
    karthik

  • List of long running Conc Requests required for last 6 days

    Hi All,
    I need List of long running Conc Requests required for last 6 days.But somewhat my query is not working and giving me the output.
    Could anyone please let me know what is wrong in the query which gives me the output for 60 mins but not for the last 6 days as required.
    Query:
    set echo off
    set feedback off
    set linesize 97
    set verify off
    col request_id format 9999999999 heading "Request ID"
    col exec_time format 999999999 heading "Exec Time|(Minutes)"
    col start_date format a10 heading "Start Date"
    col conc_prog format a20 heading "Conc Program Name"
    col user_conc_prog format a40 trunc heading "User Program Name"
    spool long_running_cr.lst
    SELECT
    fcr.request_id request_id,
    TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/24))*60) exec_time,
    fcr.actual_start_date start_date,
    fcp.concurrent_program_name conc_prog,
    fcpt.user_concurrent_program_name user_conc_prog
    FROM
    fnd_concurrent_programs fcp,
    fnd_concurrent_programs_tl fcpt,
    fnd_concurrent_requests fcr
    WHERE
    TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/24))*60) > NVL('&min',45)
    and
    TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/30))*6) > NVL('&days',5)
    and
    fcr.concurrent_program_id = fcp.concurrent_program_id
    and
    fcr.program_application_id = fcp.application_id
    and
    fcr.concurrent_program_id = fcpt.concurrent_program_id
    and
    fcr.program_application_id = fcpt.application_id
    and
    fcpt.language = USERENV('Lang')
    ORDER BY
    TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/24))*60) desc,
    TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/30))*6) desc;
    spool off
    Thanks for your time!
    Regards,

    Hi,
    I suggest that you look at this line in particular:
    TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/30))*6) > NVL('&days',5)and consider whether it is asking the question that you want it to ask.
    Furthermore, it looks like you are expecting to get time in minute from the following line, and this definitely does not return minutes:
    TRUNC(((fcr.actual_completion_date-fcr.actual_start_date)/(1/24))*60) I recommend finding one or two IDs for concurrent requests that you know are running for a long time, comparing the start and end times, testing that information against the output of the above functions, and adjusting your query accordingly.
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • Long running statement

    Hi,
    Is there any way to find out the long running statement from the previous night batch program?
    Thanks

    Another method is by using OEM.
    1) Click on the performance tab, switch to historical selection from the drop down View Data on top right corner.
    2) Scroll down to Additional Monitoring Links and select Period SQL. Use the selector at bottom of top graph to the spike in activity. Again the heavy SQL will show.
    3) Click the SQL in question by examining CPU and elapsed times. Use the plan hash value to select from v$sql or v$sqltext if required. Check the SQL plan and tuning information if available.
    4) From 2 above you an also schedule SQL Tuning or SQL Access advisor.

  • How to Handle Long running alerts in process chain...Urgent!!!

    Hi All,
    I am trying to find ways for handling long running alerts in process chains.
    I need to be sending out mails if the processes are running for longer than a threshold value.
    I did check this post:
    Re: email notification in process chain
    Appreciate if anyone can forward the code from this post or suggest me other ways of handling these long running alerts.
    My email id is [email protected]
    Thanks and Regards
    Pavana.

    Hi Ravi,
    Thanks for your reply. I do know that i will need a custom program.
    I need to be sending out mails when there is a failure and also when process are running longer than a threshold.
    Please do forward any code you have for such a custom program.
    Expecting some help from the ever giving SDN forum.
    Thanks and Regards
    Pavana
    Message was edited by:
            pav ana

  • Want to resize JTable after run programe by mouse

    I want to resize JTable by mouse after run programe.
    (want to resize Jtable anytime)
    please help me. thank you

    You cannot do that directly, you can only cause the container which holds the JTable to change size. As long as that container has a LayoutManager like BorderLayout then the JTable will resize with the container (Like a JFrame)

  • Prgess indicator on long running jobs

    I have an FX application that is directly linked to my database. The program allows all DML operations as well as user defined actions (action commands and various other methods). I have the same application running in Swing, SWT, Canoo ULC and al works just fine. In each of the other front end types, the application automatically displays a busy indicator when a long running job is executed. Now I need this in FX.
    My application is basically a Rich Client framework which allows the same business logic and forms to have different front ends depending on customer requirements. The application is built by customers in a 4GL style development tool. The application is actually built at run time and the data is provided by the user through various services. Because I am building an FX program for a framework, I don't know when the user may execute a long running job when, for example, a button is pressed. I have full control over the retrieval and modification of data but not user interaction. I am therefore looking for a busy indicator that comes automatically when the main thread is waiting.
    Any help would be great!

    Hi guys and thanks for your answers
    I may have stretched the mark with "long running jobs" by these I mean a database query, a price calculation, order process etc. These are standard jobs that are issued on a Rich Client application. Basically I have a screen which will execute a query, and I want to give the user feedback when the query is executing so that he doesn't think that the application has hung. In Swing I have done this by creating my own event queue with a delay timer:
    public class WaitCursorEventQueue extends EventQueue implements DelayTimerCallback
        private final CursorManager cursorManager;
        private final DelayTimer    waitTimer;
        public WaitCursorEventQueue(int delay)
            this.waitTimer = new DelayTimer(this, delay);
            this.cursorManager = new CursorManager(waitTimer);
        public void close()
            waitTimer.quit();
            pop();
        protected void dispatchEvent(AWTEvent event)
            cursorManager.push(event.getSource());
            waitTimer.startTimer();
            try
                super.dispatchEvent(event);
            finally
                waitTimer.stopTimer();
                cursorManager.pop();
        public AWTEvent getNextEvent() throws InterruptedException
            waitTimer.stopTimer(); // started by pop(), this catches modal dialogs
            // closing that do work afterwards
            return super.getNextEvent();
        public void trigger()
            cursorManager.setCursor();
    }I then implemented this into my application like this:
    _eventQueue = new WaitCursorEventQueue(TIMEOUT);
    Toolkit.getDefaultToolkit().getSystemEventQueue().push(_eventQueue);Now each time the application waits for a specific time, the cursor will become a wait timer. This give s the user a visual feedback so that he knows that the application is working and not just hung. By doing this, I do not need to wrap each user callout in a timer. Much easier like this!
    I would like to implement the same in FX.
    Edited by: EntireJ on Dec 15, 2011 12:34 AM

Maybe you are looking for

  • Can't find my purchased music on my iphone, after i sync it to my macbook.

    I just purchased an album from itunes, then i sync the music from my iphone to my macbook.. after i did that.. i was not able to find the music on the iphone.. If anyone knows how to get the music back on the phone it would be great.. Or maybe i'm ju

  • How to pass internal tables dynamically in the subroutine

    Hi Folks, I need to take 3 input files from presentation server. instead of writing the gui_upload for 3 times i want to have it in a subroutine. but i need to specify the tables structure in the subroutine which is not possible to specify in the for

  • ISE and SMS notification

    Environment ISE 1.1.2 As already stated in other posts in this forum, it appears there is a kind of limitation when configuring SMS Notification options via the ISE GUI interface under the "Administration ==> Web Portal Management ==> Settings ==> Sp

  • Copying website files into Dreamweaver to work on...

    A basic question whose answer I'm having a brain freeze on. Need to pick a site to work on for a Dreamweaver class. How would I access all the files that make up a site and then copy them over to Dreamweaver to work on them locally. View source? HTML

  • Update pdf files

    Hi; I seek an effective means to update automatically pdf documents stored on the Server of application (JBoss). These pdf files are changed pratically every week it will be necessary that the customers display the last versions. I must ti use CFT pr