High SQL activity causing delays in jobs starting

Experts,
We are having a problem nearly exactly the same time of day each day where jobs scheduled to execute during a roughly 10 minute interval are delayed in there start because of what we think is extra high SQL activity. Our conclusion is based on the observation that during this period the following SQLs are being executed 19400+ and 7100+ time respectively"
SELECT J.STATUS , J.NEWSTATUS , S.LEVEL# , J.OUT$OSNAME , J.OBJ# , J.REMOTE_STATUS FROM RWS_JOB$ J , RWS_STA$ S WHERE J.JOB# = :1 AND S.STATUS = J.STATUS AND ( J.STATUS != :1 OR J.SCH$NAME IS NULL ) FOR UPDATE OF J.STATUS
SELECT VALUE_VCH FROM JCS_JOB_PARAMETERS WHERE JOB_ID = :1 AND PARAMETER_NAME = 'PARENT_WAIT_FOR_CHILD'
We have traced this back to a package called RSISYS.
Can anyone shed some light as to what may be happening and what steps we need to perform to alleviate the situation.
Thanks.
Kind Regards,
David Carr

Hi,
The following applies to the standalone version only, which is the version you are using.
Since it always occurs at roughly the same time, it is probably something recurring.
It could be that you are starting a lot of jobs at the same time, either in CPS or in SAP (if CPS monitors SAP jobs as well).
But you would probably be aware of that.
It can also be the "DeleteCheck" of the RFC agent: please check in the registry the values for "History" and "DeleteCheckInterval" for your SAP system(s).
Finally there are a few system jobs that can have similar effects, such as RSI_SYNC_CCMS_JOBS if there are a lot of jobs to check.
Regards,
Anton.

Similar Messages

  • SQL Statement cause delay on exceptional days to run

    Hi ,
    We are running the same sql statement on daily basis.
    5 days a week, it gets completed in 10 mins and once or, twice in a week , it takes 7 – 10 Hrs to execute.
    what are the tuning methods and steps we can apply to know the real culprits.
    Regards
    Asif

    Before you dive into reading books and other stuff, you can simply look at the execution plan of your Statement on SQL*PLUS.
    It's very easy, just do the following with your SQL Statement on both cases when it takes 10 minutes and hours and compare the results.
    DEV@TEST>
    DEV@TEST> SET AUTOTRACE TRACEONLY
    DEV@TEST>
    DEV@TEST> SET TIMING ON
    DEV@TEST>
    DEV@TEST> SELECT * FROM USER_OBJECTS;
    105 rows selected.
    Elapsed: 00:00:00.01
    Execution Plan
       0      SELECT STATEMENT Optimizer=ALL_ROWS (Cost=146 Card=1620 Byte
              s=259200)
       1    0   VIEW OF 'USER_OBJECTS' (VIEW) (Cost=146 Card=1620 Bytes=25
              9200)
       2    1     UNION-ALL
       3    2       FILTER
       4    3         TABLE ACCESS (FULL) OF 'OBJ$' (TABLE) (Cost=146 Card
              =1731 Bytes=136749)
       5    3         TABLE ACCESS (BY INDEX ROWID) OF 'IND$' (CLUSTER) (C
              ost=2 Card=1 Bytes=8)
       6    5           INDEX (UNIQUE SCAN) OF 'I_IND1' (INDEX (UNIQUE)) (
              Cost=1 Card=1)
       7    2       TABLE ACCESS (BY INDEX ROWID) OF 'LINK$' (TABLE) (Cost
              =0 Card=1 Bytes=88)
       8    7         INDEX (RANGE SCAN) OF 'I_LINK1' (INDEX) (Cost=0 Card
              =1)
    Statistics
              0  recursive calls
              0  db block gets
            726  consistent gets
              0  physical reads
              0  redo size
           8804  bytes sent via SQL*Net to client
            574  bytes received via SQL*Net from client
              8  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
            105  rows processed
    DEV@TEST>You should have an idea why there's a difference in execution time by comparing the results.
    Regards,
    Tony Garabedian

  • Photos and high CPU activity

    Importing photos the CPU runs fast and my laptop runs hot. Checking Activity Monitor, Photos App pushes the CPU well beyond 100%.  com.apple.photos.videoconversionservice does the same. Apparently the 'video conversion' is a default setting for importing videos to enable storing videos in iCloud. However, I don't use iCloud for storing any photos or videos and I don't want to...so this conversion is completely unecessary as well as annoying and a waste of time. It can't be doing my laptop much good either running it at a very hot temperature. I've read others having a similar problem but have yet to see any concrete solutions to the problem. Any thoughts or suggestions?

    Thanks for the advice- What do I look for in the console log?
    From Mac Help:
    *Viewing system messages*
    While your system performs tasks, it sends messages between applications, processes, and the operating system. Some of these messages are displayed, but most are not displayed because they can be too detailed and technical. If you are a programmer debugging software, or are troubleshooting a problem with a service technician, messages related to the problem may be located system logs. To view these messages you can use the Console utility located in the Utilities folder in the Applications folder.
    For more information, Open Console, and then choose Help > Console Help.
    Click on the all logs in the source pane on the left - most of the stuff is impossible to figure out but over temperature warnings are clear as is the sleep message that follows it
    Also, I'm not sure if it is overheating- it shows high CPU activity even when I first start using my computer (after hours of non use), so it is not hot at all- can it still overheat?
    It is possible - the way to find out is to read the log and see what it says
    Have you inspected the air vents including the one on the back under the stand?
    LN

  • High hard disk activity caused by systemd-tmpfile

    Hi
    I have home server PC running pure, console Archlinux on it 24/7. It works fine for about 3 years and still do, but after systemd transition I noticed that my server periodically runs systemd-tmpfile daemon which causes intensive and continuous hard disk activity.
    My /etc/tmpfiles.d is empty, but here is the content of /usr/lib/tmpfiles.d folder:
    -rw-r--r--   1 root root     30 Sep 20  2012 apache.conf
    -rw-r--r--   1 root root     30 Jan 13 17:58 console.conf
    -rw-r--r--   1 root root     19 Jan 27 06:41 lastlog.conf
    -rw-r--r--   1 root root   1146 Jan 13 17:58 legacy.conf
    -rw-r--r--   1 root root     29 Feb  5 11:09 lirc.conf
    -rw-r--r--   1 root root     24 Mar  5 12:57 mpd.conf
    -rw-r--r--   1 root root     33 Feb 25 19:41 mysqld.conf
    -rw-r--r--   1 root root     27 Jan 27 09:09 nscd.conf
    -rw-r--r--   1 root root     51 Feb 25 17:32 samba.conf
    -rw-r--r--   1 root root     36 Oct 13 19:30 saslauthd.conf
    -rw-r--r--   1 root root     33 Dec 21 16:39 svnserve.conf
    -rw-r--r--   1 root root    736 Jan 13 17:58 systemd.conf
    -rw-r--r--   1 root root    449 Jan 13 17:58 tmp.conf
    -rw-r--r--   1 root root     30 Dec 13 15:24 uuidd.conf
    -rw-r--r--   1 root root    622 Jan 13 17:58 x11.conf
    My question is how to know which *.conf file causes such a high HDD activity or how to resolve the problem at all?
    Last edited by clovenhoof (2013-03-21 18:20:26)

    Ok here is what get with "lsof -c systemd-tmpfile" during this activity:
    COMMAND    PID USER   FD   TYPE             DEVICE SIZE/OFF    NODE NAME
    systemd-t 1069 root  cwd    DIR                8,3     4096       2 /
    systemd-t 1069 root  rtd    DIR                8,3     4096       2 /
    systemd-t 1069 root  txt    REG                8,3    59504  290840 /usr/bin/systemd-tmpfiles
    systemd-t 1069 root  mem    REG                8,3    52144  262523 /usr/lib/libnss_files-2.17.so
    systemd-t 1069 root  mem    REG                8,3   138206  262495 /usr/lib/libpthread-2.17.so
    systemd-t 1069 root  mem    REG                8,3    18760  277530 /usr/lib/libattr.so.1.1.0
    systemd-t 1069 root  mem    REG                8,3  2035539  262449 /usr/lib/libc-2.17.so
    systemd-t 1069 root  mem    REG                8,3    31744  262453 /usr/lib/librt-2.17.so
    systemd-t 1069 root  mem    REG                8,3    16776  299945 /usr/lib/libcap.so.2.22
    systemd-t 1069 root  mem    REG                8,3   165436  262497 /usr/lib/ld-2.17.so
    systemd-t 1069 root    0r   CHR                1,3      0t0    6461 /dev/null
    systemd-t 1069 root    1u  unix 0xffff8801393df1c0      0t0   23160 socket
    systemd-t 1069 root    2u  unix 0xffff8801393df1c0      0t0   23160 socket
    systemd-t 1069 root    3u  unix 0xffff8801393dba80      0t0   23161 socket
    systemd-t 1069 root    4r   DIR                8,3  9482240 1970431 /var/tmp
    systemd-t 1069 root    5r   DIR                8,3     4096  793638 /var/tmp/systemd-private-G25Rag

  • [SOLVED] High disk activity after kernel boot

    Hi,
    after kernel loading (just before getty starts) i notice extremely high disk activity for ~20 seconds for no reason. I think that it is something related to systemd and mount services.
    When i set rootfs to read-only in syslinux kernel parameters then the system starts normally without delay. So, i think that something is constantly writing to (or checking?) my hard disk right after boot sequence.
    I'm using  kernel 3.7.9-1-ARCH.
    $ systemd --version
    systemd 197
    +PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
    $ systemd-analyze
    Startup finished in 3121ms (kernel) + 6238ms (userspace) = 9360ms
    $ systemd-analyze blame
    1289ms NetworkManager.service
    1173ms colord.service
    812ms systemd-logind.service
    722ms systemd-binfmt.service
    660ms systemd-udevd.service
    639ms systemd-sysctl.service
    314ms tmp.mount
    305ms systemd-remount-fs.service
    300ms upower.service
    219ms systemd-tmpfiles-setup.service
    168ms polkit.service
    160ms dev-sda2.swap
    156ms systemd-vconsole-setup.service
    129ms wpa_supplicant.service
    125ms dev-mqueue.mount
    121ms dev-hugepages.mount
    108ms systemd-udev-trigger.service
    101ms verynice.service
    59ms systemd-user-sessions.service
    48ms boot.mount
    47ms hpfall.service
    46ms home.mount
    43ms cpupower.service
    27ms sys-kernel-config.mount
    4ms proc-sys-fs-binfmt_misc.mount
    Syslinux kernel parameters (either ro or rw has the same result)
    APPEND root=/dev/sda3 rw nomodeset vga=current clocksource=acpi_pm libahci.ignore_sss=1
    Tried also with fsck hook and removing sda3 from fstab
    APPEND root=/dev/sda3 rw nomodeset vga=current clocksource=acpi_pm libahci.ignore_sss=1 rootflags=noatime,barrier=0
    my fstab:
    # UUID=925aba97-6805-442b-bb51-3ea6c16a5a86
    /dev/sda3 / ext4 rw,noatime,barrier=0 0 0
    # UUID=dd60df02-7992-43c1-a0e0-79441e23268e
    /dev/sda1 /boot ext4 rw,noatime 0 0
    # UUID=d2621666-f2c5-4f36-8da3-c0f21a23246c
    /dev/sda4 /home ext4 rw,noatime 0 0
    # UUID=3d70bc7d-5b0c-4adc-ba84-f32c9d132bcc
    /dev/sda2 none swap defaults 0 0
    Thanks for your time.
    Last edited by anelehto (2013-02-23 14:27:41)

    It was a problem with preload and its configuration.. I removed it and everything went back to normal!

  • The replication agent has not logged a progress message in 5 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber,

    Hello Everyone,
    Suddnly stop merge replication. transaction cannot replicated from publiser to sunscriber.
    I tried to set  heartbeat_interval= 5 but still not working..
    The replication agent has not logged a progress message in 5 minutes. This might indicate an unresponsive agent or high system activity. Verify that records are being replicated to the destination and that connections to the Subscriber, Publisher, and Distributor
    are still active.
    What is the problem with merge replication and why this erroe comes..
    any solution of this error or reconfigure merge replication?
    please give me a solution

    Run profiler on the subscriber to see what the merge agent is doing there. It is possible that there is some blocking that is causing the agent to hang. You might want to set the heartbeat to 10 or higher. The default is IIRC 5.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start()

    I am getting an error when I am coming out of a method. I am not doing any database operations in the code.
    The error I am getting is
    The activity execution failed.\nCaused by: Activity '/AddNewSubMaster#Default-1.0/DeleteRequests' task 'Confirmation_Router' could not execute successfully.\nCaused by: Process execution engine execution error.\nCaused by: An error occurred while accesing the database.\nTechnical detail:SQL statement: 'unknown'\n\nCaused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_PROTO start() failed on resource 'ALBPM Engine Database': XAER_PROTO : Routine was invoked in an inproper context\noracle.jdbc.xa.OracleXAException\n\tat oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:938)\n\tat oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:244)\n\tat weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:50)\n\tat weblogic.jdbc.jta.DataSource.start(DataSource.java:710)\n\tat weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1182)\n\tat ...........

    Are you using studio?
    I see an Oracle DB-connection. In studio without configuration you only have one or two derby databases.

  • How to capture the job start time

    Hi,
    how do i capture the time the job start running and the time the job end? when i query this
    SQL> select * from user_jobs;no column are showing when the job start time (only last_sec and next_sec). I want to copy user_jobs view into ajob_history table, like this:
    Job history table
    Job_start Job_end
    (?)     (last_sec)

    Why not add a log time into the job call itself? That way, you can collect the information yourself for the jobs you're interested in.
    So instead of the "what" parameter being "my_proc(p1, p2....)", change it to something like:
    declare
      v_start_time TIMESTAMP;
      v_end_time  TIMESTAMP;
    begin
      v_start_time := systimestamp;
      my_proc(p1, p2....);
      v_end_time := systimestamp;
      log_job_time('Unique identifier', v_start_time, v_end_time);
    end;and have the log_job_time process insert a row into a logging table that captures the name of the job and it's start and end time.
    That's if you can't include the timings in your procedure, of course.

  • What is causing my print jobs to fail?

    Having trouble printing  documents (which range from 12-50 pages) from InDesign CC. Whole job fails to print. Started with new documents based on template created in CC. Trouble fonts have been removed from styles. I can print some individual pages. On the problem pages I have had luck printing them without the images, but other pages with no problems have similar images on them in terms of size, file type, color space, etc. Tried exporting to IDML, still had trouble printing.

    HI, JonJamesDufort
    You might try to save a copy of the file to help troubleshoot the Indesign printing in case if you have to remove other images.
    Have you tried to export to pdf or Print to pdf if you have Acrobat installed? If you can export to PDF from Indesign, then I would look to see if you have linked images that could be causing the problem. Does the print job just fail? Also what kind of printer are you trying to print to? You might have a corrupt image or graphic that could be causing the print job to fail. Do you have any older eps graphics that you are including in your file? Look to see what files are linked and try to embed the files. Did you run a preflight on the file? You should do that first to give you an idea of what could be causing it.
    If you can export to PDF and then Print to your printer, then you have a work around to get your file printed.
    If you find that this resolves your issue or was helpful, could you please take a moment to come back to this discussion and mark the post as helpful. Doing so greatly benefits your fellow users
    Let me know if you have any questions
    Thanks
    Scott V

  • All scheduled jobs started suddenly to fail with ORA-01031: insufficient pr

    I have a setup of gridcontrol 11g on windows 2008. I've been running successful for weeks until the other day when all my scheduled jobs started to fail with
    ORA-01031: insufficient privileges (rman jobs)
    ERROR: Invalid username and/or password (sql scripts).
    I verified for the accounts being locked, pw correct, expired / grace period, etc.
    all good when I try from the command line. running an rman backup from the command line works great, but the same one through the job scheduler fails with ORA-01031.
    I've dropped the jobs completely, recreated them again. same thing.
    I'm using preferred credentials and dropped and recreated them. same thing.
    I don't know where else to look. Only grid control scheduled jobs fail, but all of them do.
    I'm using SQLNET.AUTHENTICATION_SERVICES= (NTS) in my sql.ne (always have).
    we use a windows domain server / domain authentication for logging into boxes. I haven't changed any of my passwords.
    I am probably looking in the wrong places. Anybody able to help?

    Hi,
    ERROR: Invalid username and/or password (sql scripts).This error message clearly tells that password is incorrect and "insufficient privileges" shows that perhaps you are using SYS user for running the jobs and password for user SYS is incorrect.
    If you are specifying passwords in your scripts, i don't think you need to set preferred credentials.
    Try following
    1) Remove preferred credentials
    2) Don't check password of user sys by locally logging in (because if Os authentication is on, even wrong password will allow you loging into the database and you will think that password is correct). Try connecting database using SYS user from a remote machine and check whether it accepts your password and make sure you have same password for your jobs and in sql scripts
    3) If still problem, just for test, remove SQLNET.AUTHENTICATION_SERVICES= (NTS) and try
    Salman

  • ASCP Job start date

    Hello,
    I want to start my all jobs from a sepcific date.. Can anyone tell me that how can I do it..
    For Example: I am running plan at 12-jan-2012.. but I want that ASCP start plan my jobs from 20-jan-2012..
    Also note that in forecast of Finished good, I have entered 1-feb-2012.. But as sub-assy date is earlier than FG.so i want to start my sub-assy from a specific date...currently, ASCP start my job from 12-jan-2012.
    Kindly help me out
    Regards,
    Ali Raza

    Hi Partha, Thanks for your helpful reply!
    I have got your point..but still have problem that if i delay a job of a sub-assy by a week, then it will be delay all the time which is not required.. See below example:
    FG: A (forecast daily qty:1000) 7-feb-2012 to 28-feb-2012
    Sub Assembly: B
    Sub Assembly: C
    Plan start date: 31-jan-2012 14:18
    Currently sub-assy jobs are being start at the same time above..If i will delay sub assy 'B' by a week.. then in the mid of plan, it will also be delayed..
    Also If i will delay jobs. then it is not necessary that i will launch plan every time before a week... so i need some permanent solution. that start time of jobs start from particular date or time (say: 3-feb-2012 in above condition).. and ASCP start plan jobs from that particular time.. how can we do this???..
    Looking forward to your response..
    Regards,
    Ali Raza

  • Email when High SQL Disk IO

    Hi,
    Is there anyway I can setup an alert/email on my SQL server to fire email as it detect high DiskIO. we are having disk latency more often now and I can't narrow it down, as soon as tech team inform me and I jump on to server, everything comes back to normal.
    Thanks
    I am using SQL Server 2008 R2 Standard Edition with SP2 on widows 2008 R2 Standard

    Looking at last Latency issue timmings, I don't see any I/O request taking longer than 15 sec been recorded in log file. I been told by Tech team that it is SQL Server which is causing the problem.
    Is there any other way I can narrow it down
    In team there are lot of people you who point fingers. Just because someone says that it is SQL Server causing problem it does not means it is SQL Server issue. Yes you can see disk performance ask Storage team to check the disk performance or you yourself
    can fire disk related counters
    Following blog will help you
    High Disk I/O from sql server or is High disk I/O slowing sql server?
    Is Your Physical Disk I/O Affecting SQL Server Performance
    Troubleshooting slow disk I/O in SQL server
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • XTier Service Manager Causing Delay In Windows Explorer

    Before I get into too much details...
    Novell XTier Service Manager causes delay displaying folders in mapped drive. This happens in Windows Explorer when I click on any mapped drive OR when I click on My Computer.
    This happens after about 10min+ of "idling".
    Stopping Novell XTier Service Manager makes this delay go away immediately.
    Any type of help will be greatly appreciated... I'm really out of things to try...
    I have Win7sp1x64 with Client 2 SP3 installed.
    Thank you.

    It might help to change the provider order, such that "Microsoft Windows Network" is placed above "NetWare Services" See TID 7000693.
    http://www.novell.com/support/kb/doc.php?id=7000693
    Earle Wells
    Novell Technical Services
    >>> wonrhee<[email protected]> 7/10/2013 7:36 PM >>>
    It's Netware 5.1 and I don't even log into NDS.
    Installed freshly downloaded Client2 with Computer Logon Only setting.
    Then log into AD which maps few drives to Win2008 file server. Again,
    not logging into Novell...
    I see that XTier Service is running... Click on Start->Computer, click
    on one of the mapped drive or My Computer... Bam, there is a delay of
    about 4-8 second before any folders show up.
    If I stop XTier Service, this delay behavior disappears.
    No error logs, tried Client2sp1,2, and 3; same delayed action showing
    folders.
    This forum section has the most threads about NClient2 issues, hence
    here I am.
    I just don't know where to go from here... Winxp clients work just
    fine... Of course that's with different Client version.
    I do have just handful Win7x64 that works wonderfully...
    wonrhee
    wonrhee's Profile: https://forums.novell.com/member.php?userid=77386
    View this thread: https://forums.novell.com/showthread.php?t=468107

  • Jobs start 24 hours later

    Hi,
    I've programmed jobs to run every day at 22h00 to do a database backup.
    I've noted that that jobs start 24 hours later.
    what's the matter?
    Thanks

    Hi,
    I've programmed the job like today (Wednesday) , and cause that the job executes the backup every Saturday, i've programmed the first execution to coincide with the next Saturday with a weekly frequency at 22h00.
    But the problem is that, the job starts the next day (Sunday).
    I've set the time zone to GMT+1 if it can help u.
    Thanks

  • How do I perform a "Suite Product Activation" so that Acrobat will start working on my new Retina MacBook Pro?

    How do I perform a "Suite Product Activation" so that Acrobat will start working on my new Retina MacBook Pro?
    Like others, I have recently upgraded my MacBook Pro to the next generation and migrated all my information from old to new. Everything works seamlessly EXCEPT Acrobat. Photoshop, Indesign, Bridge and Lightroom all seem functional. Acrobat hangs with an error message "Suite Product Activation Needed. Acrobat was installed as part of a suite. To enable Acrobat, please start another element of the suite (such as Photoshop)." Needless to say, starting another element of the suite has NO impact on Acrobat.
    This has to be a common problem. Now that Apple has made it really easy to migrate information from old to new machines, it has to come up all the time. What surprises me greatly is that I can't find any coherent answer in these forums.
    So how do I get Acrobat running again?

    Hi Anubha,
    I do not understand what you said below.
    I am running Adobe Acrobat Pro Version 9.5.5. I do not remember whether it came with Photoshop or InDesign.
    When I open Photoshop, it opens without my having to follow any instructions to activate the software. As a matter of fact, I cannot find my Photoshop serial number anywhere in the Photoshop program itself. I do know it from my profile at Adobe.com. Are you suggesting I deactivate Photoshop on the new computer and then reactivate it using my serial number? Will it reactivate?
    When you say
    "/Library/Application Support/Adobe" at the root level of the startup disk (not the Library folder inside a user's Home folder)
    what do you mean? I do not have a startup disk. I have the original installation disk but that version of Photoshop has been updated a few times.
    After staring at your instructions for a while, I realized that you might be talking about the Library/Application Support folders resident on my Macintosh HD, although why you called it a startup disk is unclear to me. IAC, I went into those folders and duly moved the three folders into a new folder I called “Acrob1” and restarted Adobe Acrobat 9 and got the following error message: “AMT Subsystem Failure  The licensing subsystem has failed catastrophically. You must reinstall of call customer support.” with a small (6).
    By undoing my actions I am back to the staus quo ante.
    Now what?
    Regards, Robert

Maybe you are looking for