Dbwr consuming high CPU after enabling DirectIO

Hi,
DBWR is consuming high CPU. After enabling DirectIO on Solaris SPARC 10, dbwr is eating away almost 1 CPU on a v440 machine i.e. 19% throughout the day. Neither of "buffer busy waits" or "write complete waits" or "free buffer waits" are in the top 5 wait events, which, to me, means that there is no buffer contention.
What I understand is that after enabling DirectIO, it takes longer for the IO to complete because pre-DirectIO it would return from the file system cache whereas now it has to return from the disk (and I do see at the OS level that IO has become slow), but should that result in dbwr consuming more CPU?
Infact after enabling DirectIO, IO has become very slow which is another problem and as a result log file writes have also become slow which is a 3rd problem. btw, I am aware that if there were many FTS, then DirectIO can make the system slow but there are no FTS in my case. Also, that SGA should be increased after enabling DirectIO, which has also been done.
Thanks

user12022918 wrote:
DBWR is consuming high CPU. After enabling DirectIO on Solaris SPARC 10, dbwr is eating away almost 1 CPU on a v440 machine i.e. 19% throughout the day. 19% is less than 1/5th of a CPU. Or are you referring to a 100% being all 4 CPUs?
What I understand is that after enabling DirectIO, it takes longer for the IO to complete because pre-DirectIO it would return from the file system cache whereas now it has to return from the disk Incorrect. See directio for details.
Yes, removing the file system cache from the I/O layer for a device can reduce I/O performance if the caller does not perform its own caching. However, direct I/O will eliminate the system cache overheads (and associated CPU resources needed) from a caller (like Oracle) that implements its own sophisticated buffer cache.
Direct I/O should therefore increase Oracle I/O performance and decrease resource footprint as it eliminates the need for the kernel to maintain a cache for that device.
Infact after enabling DirectIO, IO has become very slow which is another problem and as a result log file writes have also become slow which is a 3rd problem. Direct I/O, as per the Sun docs, is an advisory call. It may not place that device in direct I/O modes. It may result in partial direct I/O. So you need to make sure exactly what happens and how successful (partial or complete) this setting was.
btw, I am aware that if there were many FTS, then DirectIO can make the system slow but there are no FTS in my case. FTS (multi block reads/large sequential reads) is slower? This is contrary to Sun's docs that state:
Large sequential I/O generally performs best with DIRECTIO_ON, except when a file is sparse or is being extended and is opened with O_SYNC or O_DSYNC.

Similar Messages

  • DBWR is consuming high CPU

    Hi,
    I'm experiencing bug in Oracle version 10.2.0.3:
    7385253 – DBWR IS CONSUMING HIGH CPU
    The explanation of the bug on metalink says its from version 10.2.0.4 and there is a patch.
    My question is, if this bug was also present in 10.2.0.3 and can the patch be applied to this version of Oracle DB.
    Cheers.

    Hi,
    AFAIK, it won't support, since patch on 10.2.0.3 would required additional files which not available onthat current version, so its fix on the top of 10.2.0.4. I am not sure whether it will work or not.
    - Pavan Kumar N
    - ORACLE OCP - 9i/10g
    https://www.oracleinternals.blogspot.com

  • How to find out the JVM thread that is consuming high CPU

    I am using WL 10.3, JRockit JVM on Linux. I have taken thread dumps. How to find out the JVM thread that is consuming high CPU?
    I know how to map it Sun JVM on Solaris. I haven't done in on JRockit so far. Please advise.

    Check out some of Marcus Hirt's blog entries for details about how to use JRockit Mission Control. It's a very nice tool that should provide a lot of insight:
    http://blogs.oracle.com/hirt/

  • One of the web application is sudendly consumming high cpu usage.

    hi
    there are two web application running on the the standlone server.one of the web application is sudendly consumming high cpu usage. because of this issue, the entire cpu usages become very high and result in HTTP THROTTLING error. please suggest ways to
    resolve this problem.
    in the same standlone server, what are the service that must not run or minimum services that are required.
    server:-
    48 gb ram,
    8 core processor
    thanks in advanced

    Hi jackhill,
    Please check whether you configure Search service in your SharePoint.
    And please use Taskmgr on the server to check which process may be cause this issue.
    In addition, there is an article about high CPU in SharePoint 2013, please check if it is useful for you:
    https://speverything.wordpress.com/2013/03/12/sharepoint-2013-high-cpu-and-memory-utilization-killing-my-server/
    Thanks,
    Wendy
    TechNet Community Support
    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]

  • SMON process consume High CPU in production setup.

    Hi,
    Recently we migrate our storage from IBM DS4700 to IBM v7000. on last Saturday from yesterday and today cpu almost 100 percent in peak hours.
    Right now our datafiles in SSD and archivelogs in SAS disk.
    Please suggest
    regards,
    Karthi.

    Hi Karthi,
    Which SMON process is consuming CPU ,I mean,Database SMON /ASM SMON if is in use.
    + Install and enable OSwatcher with atleast 30 seconds interval and monitor which process /what is causing high CPU.
    + If they are oracle processes ,then validate what are they doing at database level .
       Does it comes from any application code ,if so validate those sqls.
    + Install procwatcher to understand what are they doing .
    Refer::-----------
    ==============
    Procwatcher: Script to Monitor and Examine Oracle DB and Clusterware Processes (Doc ID 459694.1)
    + Then as per your environment get pstack/procstack of that process in 30 seconds interval for 3-4 times .
    If try to identify the issue ,if required please open service request with us.
    Regards,
    Aritra

  • Explorer.exe consuming 100% CPU after resuming from hibernation

    Hello,
    For the last months, I repeatedly have the problem that sometimes (every 2nd or 3rd time) after resuming from hibernation, in a few cases also after disconnecting from the Internet, one or more instances of explorer.exe are consuming 100% CPU, but never
    the shell instance.
    I tried figuring out what it was doing, but I was unsuccessful so far.
    Here is a stack of the thread which consumed most of the CPU:
    0, ntoskrnl.exe!KiDeliverApc+0x166
    1, ntoskrnl.exe!KiSwapThread+0x31f
    2, ntoskrnl.exe!KiCommitThreadWait+0x129
    3, ntoskrnl.exe!ExpWaitForResource+0x29f
    4, ntoskrnl.exe!ExEnterPriorityRegionAndAcquireResourceExclusive+0x1ad
    5, win32k.sys!EnterCritAvoidingDitHitTestHazard+0x13
    6, win32k.sys!NtUserMessageCall+0x28
    7, ntoskrnl.exe!KiSystemServiceCopyEnd+0x13
    8, user32.dll!NtUserMessageCall+0xa
    9, user32.dll!SendMessageWorker+0x168
    10, user32.dll!SendMessageW+0xfb
    11, ExplorerFrame.dll!CNscTree::_TreeInvalidateItemInfo+0xd0
    12, ExplorerFrame.dll!CNscTree::_EnumBackgroundDone+0xb4a14
    13, ExplorerFrame.dll!CNscTree::OnQIUpdateEnumDone+0x93
    14, ExplorerFrame.dll!CNscEnumQueueItem::Dispatch+0xcf
    15, ExplorerFrame.dll!CTaskLock::DispatchQueueItem+0xc5
    16, ExplorerFrame.dll!CNscTree::_SubClassTreeWndProc+0x118
    17, ExplorerFrame.dll!CNscTree::s_SubClassTreeWndProc+0x5f
    18, comctl32.dll!CallNextSubclassProc+0xe0
    19, comctl32.dll!MasterSubclassProc+0xa2
    20, user32.dll!UserCallWinProcCheckWow+0x149
    21, user32.dll!DispatchMessageWorker+0x1a7
    22, AppVEntSubsystems64.dll!VirtualizeCurrentThread+0x1e492
    23, ExplorerFrame.dll!CExplorerFrame::FrameMessagePump+0xe3
    24, ExplorerFrame.dll!BrowserThreadProc+0x5e
    25, ExplorerFrame.dll!BrowserNewThreadProc+0x3a
    26, ExplorerFrame.dll!CExplorerTask::InternalResumeRT+0x12
    27, ExplorerFrame.dll!CRunnableTask::Run+0x114
    28, shell32.dll!CShellTaskThread::ThreadProc+0x2a3
    29, shell32.dll!CShellTaskThread::s_ThreadProc+0x2f
    30, SHCore.dll!StrRetToBSTR+0x19f
    31, kernel32.dll!BaseThreadInitThunk+0x22
    32, ntdll.dll!RtlUserThreadStart+0x34
    I was hoping I could identify a rogue shell extension or something similar, but I didn't find any such evidence so far.
    In case you need this information, this is a list of my shell extensions/copy hooks/context menu handlers/drag&drop handlers (without duplicates):
    + " SkyDrivePro1 (ErrorConflict)" "Microsoft OneDrive for Business Extensions" "Microsoft Corporation" "c:\program files\microsoft office 15\root\vfs\programfilesx64\microsoft office\office15\grooveex.dll" "12.11.2014 01:13"
    + "{C52AF81D-F7A0-4AAB-8E87-F80A60CCD396}" "" "Apache Software Foundation" "c:\program files (x86)\openoffice 4\program\shlxthdl\shlxthdl.dll" "20.09.2013 12:50"
    + "{C52AF81D-F7A0-4AAB-8E87-F80A60CCD396}" "" "Apache Software Foundation" "c:\program files (x86)\openoffice 4\program\shlxthdl\shlxthdl_x64.dll" "20.09.2013 12:41"
    + "7-Zip" "7-Zip Shell Extension" "Igor Pavlov" "c:\program files\7-zip\7-zip32.dll" "18.04.2011 19:34"
    + "7-Zip" "7-Zip Shell Extension" "Igor Pavlov" "c:\program files\7-zip\7-zip.dll" "18.04.2011 19:35"
    + "ANotepad++64" "ShellHandler for Notepad++ (64 bit)" "" "c:\program files (x86)\notepad++\nppshell_06.dll" "12.05.2014 10:49"
    + "Ath_CopyHook" "Bluetooth File Transfer Plugin" "Qualcomm®Atheros®" "c:\program files (x86)\bluetooth suite\folderviewimpl.dll" "25.09.2013 10:58"
    + "Atheros" "Atheros Bluetooth Module" "Qualcomm®Atheros®" "c:\program files (x86)\bluetooth suite\btvappext.dll" "25.09.2013 10:58"
    + "DropboxExt" "Dropbox Shell Extension" "Dropbox, Inc." "c:\users\david\appdata\roaming\dropbox\bin\dropboxext64.24.dll" "24.06.2014 01:32"
    + "DropboxExt1" "Dropbox Shell Extension" "Dropbox, Inc." "c:\users\david\appdata\roaming\dropbox\bin\dropboxext.24.dll" "24.06.2014 01:31"
    + "FTShellContext" "Atheros Bluetooth Module" "Qualcomm®Atheros®" "c:\program files (x86)\bluetooth suite\shellcontextext.dll" "25.09.2013 10:58"
    + "GDContextMenu" "Google Drive shell extension" "Google" "c:\program files (x86)\google\drive\contextmenu64.dll" "16.01.2015 01:57"
    + "GDriveBlacklistedOverlay" "Google Drive shell extension" "Google" "c:\program files (x86)\google\drive\googledrivesync64.dll" "16.01.2015 01:56"
    + "igfxcui" "igfxpph Module" "Intel Corporation" "c:\windows\system32\igfxpph.dll" "09.09.2013 18:26"
    + "LockHunterShellExt" "LockHunter Explorer Extension" "Crystal Rich Ltd" "c:\program files\lockhunter\lhshellext32.dll" "25.03.2009 08:53"
    + "LockHunterShellExt" "LockHunter Explorer Extension" "Crystal Rich Ltd" "c:\program files\lockhunter\lhshellext64.dll" "28.04.2009 10:21"
    + "PDF Shell Extension" "PDF Shell Extension" "Adobe Systems, Inc." "c:\program files (x86)\common files\adobe\acrobat\activex\pdfshell.dll" "11.05.2013 10:34"
    + "PushbulletCtx" "" "" "File not found: :/Program Files (x86)/Pushbullet/pushbullet_ctx.DLL" ""
    + "RecuvaShellExt" "Recuva shell extensions" "Piriform Ltd" "c:\program files\recuva\recuvashell64.dll" "14.03.2014 12:41"
    + "SD360" "360 Total Security" "" "c:\program files (x86)\360\total security\menuex64.dll" "12.01.2015 03:55"
    + "SourceGearDiffMergeShellExtension32" "SourceGear DiffMerge ShellExtension 32" "SourceGear LLC" "c:\program files (x86)\sourcegear\common\diffmerge\sourcegeardiffmergeshellextension32.dll" "23.10.2013 19:15"
    + "SourceGearDiffMergeShellExtension64" "SourceGear DiffMerge ShellExtension 64" "SourceGear LLC" "c:\program files\sourcegear\common\diffmerge\sourcegeardiffmergeshellextension64.dll" "23.10.2013 19:17"
    + "StartMenuExt" "Start Menu Helper Extension" "IvoSoft" "c:\windows\syswow64\startmenuhelper32.dll" "20.04.2014 18:17"
    + "StartMenuExt" "Start Menu Helper Extension" "IvoSoft" "c:\windows\system32\startmenuhelper64.dll" "20.04.2014 18:16"
    + "WinRAR32" "WinRAR shell extension" "Alexander Roshal" "c:\program files\winrar\rarext32.dll" "02.12.2014 11:07"
    + "WinRAR" "WinRAR shell extension" "Alexander Roshal" "c:\program files\winrar\rarext.dll" "02.12.2014 11:07"
    + "WinSCPCopyHook" "Drag&Drop shell extension for WinSCP (64-bit)" "Martin Prikryl" "c:\program files (x86)\winscp\dragext64.dll" "14.08.2013 12:22"
    I you have any clue what might be going, I would be very happy to hear it. It's really annoying, as I have to kill explorer.exe and thereby close all my folder windows when this happens.
    Thank you!
    Best regards,
    David Trapp

    Hello,
    thanks for having a look. However, I already ran SFC before posting on this forum (as part of my own investigation) and it came back clean. RescueTime (a time tracking tool) is probably not the culprit because it happened also several times in the past without
    RescueTime being running (that was because I had accidentally removed it from autorun at that time).
    Unfortunately, I can't follow your "invalid date" explanation. I don't think an "invalid date" is anywhere involved; in fact, the method in question is called "_TreeInvalidateItemInfo" and not "_TreeInvalidDateItemInfo"
    (note that there is only one "d"), so I assume its job is just to invalidate (and in turn, refresh) the cached information about nodes in the left pane's folder tree of the explorer window(s) - since the folder tree is the only NamespaceTreeControl
    (whose corresponding class name is CNscTree) in explorer folder view windows. As I see it, something is causing explorer to repeatedly refresh the folder tree data, but I am stuck at finding out what exactly.
    Best regards,
    David Trapp
    EDIT: Disassembling ExplorerFrame!CNscTree::_TreeInvalidateItemInfo confirms that, because it seems to call TreeView_SetItem for a tree node and its parent (possibly with all fields set to *_CALLBACK), and CNscTree::_UpdateItemDisplayInfo
    for the parent node.
    EDIT2: I'd love to dig more into the trace, however I am hitting a wall at function names/addresses. Everywhere where I would expect a function name/address (such as the "by stack" views), I only see question marks instead. What
    could be the reason?

  • RMAN backup consuming high CPU

    DB:10.2.0.2
    OS:Solaris 5.8
    High i have a production dababase of 35 GB and we have scripts scheduled to take the archivelogs backup 7 times a day and full database backup on all thurs day.We are getting some high CPU when this RMAN runs. Nearly taking 20% of CPU for 1 rman process. Some times we are also getting 4 rman process running and consuming 80% of total cpu.
    32 16,20,01,05,07,09,13 * * * /home/ora10g/scripts/rman/rman_arch_backup10g.ksh ******** 2>&1 #archive Backup
    16 22 * * 4 /home/ora10g/scripts/rman/rman_full_backup10g.ksh ******** 2>&1# Full Backup
    Backup Script:
    report obsolete;
    delete noprompt obsolete;
    run {
    backup database;
    sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
    Archive backup script:
    run {
    backup archivelog all not backed up 1 times;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 60 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 2;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/apps/oracle10g/product/10.2.0/db_1/dbs/snapcf_*******.f'; # default

    when RMAN starts the job, at the time of point to allocate channels, to allocate processes it will take high CPU consume, later it will back to normal CPU consumption according to script
    set a transition rate for your channels
    ALLOCATE CHANNEL backup_disk1 DEVICE TYPE disk
    FORMAT '/u01/BKP/%U'
    MAXPIECESIZE 2000 M
    RATE 1M;
    Edited by: CKPT on Aug 23, 2010 3:09 PM

  • Process svchost consuming high cpu 99 %

    Hi,
    We have installed iis 6 in windows server 2003 and the process 832 svchost consuming the high cpu and causing the slow response of the applications, hence please advise the possible work around for the same 
    please find below the dump analysis 
    All Operations
    Tip:
    To search on any particular function in the list below, highlight it with the mouse then press CTRL+C, CTRL+F, CTRL+V. This will highlight all the call stacks which contain the particular function and allow you to jump between them in
    the browser.
    Top 40 functions in all operations (excludes boiler-plate functions)
    ntdll!NtReplyWaitReceivePortEx
    svchost!ServiceStarter
    advapi32!ScSvcctrlThreadA
    ntdll!ZwRemoveIoCompletion
    ntdll!ZwDelayExecution
    rpcrt4!Invoke
    rpcrt4!DispatchToStubInCNoAvrf
    rpcrt4!RPC_INTERFACE::DispatchToStubWorker
    rpcrt4!RPC_INTERFACE::DispatchToStub
    rpcrt4!LRPC_SCALL::DealWithRequestMessage
    rpcrt4!LRPC_ADDRESS::DealWithLRPCRequest
    ntdll!RtlpWaitThread
    authz!AuthzpDeQueueThreadWorker
    rpcrt4!COMMON_ProcessCalls
    rpcrt4!LOADABLE_TRANSPORT::ProcessIOEvents
    rpcrt4!ProcessIOEventsWrapper
    browser!BrWorkerThread
    vssapi!CVssWriterImpl::RequestWriterInfo
    ole32!ThreadInvoke
    rpcrt4!RPC_INTERFACE::DispatchToStubWithObject
    ncobjapi!CNamedPipeClient::ProviderReadyThreadProc
    msvcrt!_endthreadex
    aelupsvc!AelTppWorkerThreadRoutine
    ntdll!NtReadFile
    kernel32!ReadFile
    advapi32!ScGetPipeInput
    advapi32!ScDispatcherLoop
    advapi32!StartServiceCtrlDispatcherW
    svchost!_wmainCRTStartup
    kernel32!BaseProcessStart
    ntdll!RtlpTimerThread
    wzcsvc!ServiceStart
    shsvcs!CGenericServiceManager::_ServiceMain
    schedsvc!CSchedWorker::MainServiceLoop
    schedsvc!SchedMain
    schedsvc!SchedStart
    schedsvc!SchedServiceMain
    schedsvc!WindowMsgFcn
    schedsvc!PfSvcMainThread
    schedsvc!PfSvProcessTraceThread
    13 hits
    8 hits
    8 hits
    7 hits
    3 hits
    3 hits
    3 hits
    3 hits
    3 hits
    3 hits
    3 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits

    Hi,
    We have installed iis 6 in windows server 2003 and the process 832 svchost consuming the high cpu and causing the slow response of the applications, hence please advise the possible work around for the same 
    please find below the dump analysis 
    All Operations
    Tip:
    To search on any particular function in the list below, highlight it with the mouse then press CTRL+C, CTRL+F, CTRL+V. This will highlight all the call stacks which contain the particular function and allow you to jump between them in
    the browser.
    Top 40 functions in all operations (excludes boiler-plate functions)
    ntdll!NtReplyWaitReceivePortEx
    svchost!ServiceStarter
    advapi32!ScSvcctrlThreadA
    ntdll!ZwRemoveIoCompletion
    ntdll!ZwDelayExecution
    rpcrt4!Invoke
    rpcrt4!DispatchToStubInCNoAvrf
    rpcrt4!RPC_INTERFACE::DispatchToStubWorker
    rpcrt4!RPC_INTERFACE::DispatchToStub
    rpcrt4!LRPC_SCALL::DealWithRequestMessage
    rpcrt4!LRPC_ADDRESS::DealWithLRPCRequest
    ntdll!RtlpWaitThread
    authz!AuthzpDeQueueThreadWorker
    rpcrt4!COMMON_ProcessCalls
    rpcrt4!LOADABLE_TRANSPORT::ProcessIOEvents
    rpcrt4!ProcessIOEventsWrapper
    browser!BrWorkerThread
    vssapi!CVssWriterImpl::RequestWriterInfo
    ole32!ThreadInvoke
    rpcrt4!RPC_INTERFACE::DispatchToStubWithObject
    ncobjapi!CNamedPipeClient::ProviderReadyThreadProc
    msvcrt!_endthreadex
    aelupsvc!AelTppWorkerThreadRoutine
    ntdll!NtReadFile
    kernel32!ReadFile
    advapi32!ScGetPipeInput
    advapi32!ScDispatcherLoop
    advapi32!StartServiceCtrlDispatcherW
    svchost!_wmainCRTStartup
    kernel32!BaseProcessStart
    ntdll!RtlpTimerThread
    wzcsvc!ServiceStart
    shsvcs!CGenericServiceManager::_ServiceMain
    schedsvc!CSchedWorker::MainServiceLoop
    schedsvc!SchedMain
    schedsvc!SchedStart
    schedsvc!SchedServiceMain
    schedsvc!WindowMsgFcn
    schedsvc!PfSvcMainThread
    schedsvc!PfSvProcessTraceThread
    13 hits
    8 hits
    8 hits
    7 hits
    3 hits
    3 hits
    3 hits
    3 hits
    3 hits
    3 hits
    3 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    2 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits
    1 hits

  • AcroRd32.exe Goes to High CPU After Reader is Closed

    When I close Acrobat reader, the process AcroRd32.exe jumps up to high CPU usage, about 25% and stays there.  If there are several adobe reader windows open, this occurs upon closing the last reader window.  If I open reader again, then close, I get another stale AcroRd32.exe process and another +25% CPU usage, etc.  I have to kill the processes in Win7 task manager.
    I've tried downgrading from version 11 to version 10, with no success.  I've tried suggestions from this forum and other sites, such as
    edit->preferences->general, uncheck "show me messages...", check "don't show me messages..."
    edit->preferences->internet, uncheck "allow fast web viewing", uncheck "allow speculative downloading..."
    But no luck.  Still happening.
    It hasn't always been this way.  I suspect some interaction with a windows or browser update within the past month or so.
    This is really broken and really annoying.  Thank you!

    I have a customer with the same issue.  I've done all the standard fixes, like disable protected mode, stop messages, etc.  This is on a Citrix XenApp 6.5 server and the particular workstation is shared by many people using a common log on.  The users are all using Reader XI to view AutoCAD 2004 and SolidWorks 2014 drawings that have been printed to PDF.
    Anybody have any ideas because I'm out.

  • Constant high CPU after Security Update today

    I installed the Security Update that was made available today.   Now, I have constant high CPU from a process called 'MRT'.   In the Console Log, I see the following:
    5/31/11 8:28:26 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 1 seconds
    5/31/11 8:28:36 PM    com.apple.launchd[1]    (com.apple.mrt[57302]) Exited with exit code: 4
    5/31/11 8:28:36 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 1 seconds
    5/31/11 8:28:46 PM    com.apple.launchd[1]    (com.apple.mrt[57306]) Exited with exit code: 4
    5/31/11 8:28:46 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 2 seconds
    5/31/11 8:28:56 PM    com.apple.launchd[1]    (com.apple.mrt[57308]) Exited with exit code: 4
    5/31/11 8:28:56 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 3 seconds
    5/31/11 8:29:06 PM    com.apple.launchd[1]    (com.apple.mrt[57314]) Exited with exit code: 4
    5/31/11 8:29:06 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 3 seconds
    5/31/11 8:29:19 PM    com.apple.launchd[1]    (com.apple.mrt[57315]) Exited with exit code: 4
    5/31/11 8:29:19 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 1 seconds
    5/31/11 8:29:28 PM    com.apple.launchd[1]    (com.apple.mrt[57323]) Exited with exit code: 4
    5/31/11 8:29:28 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 3 seconds
    5/31/11 8:29:38 PM    com.apple.launchd[1]    (com.apple.mrt[57327]) Exited with exit code: 4
    5/31/11 8:29:38 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 3 seconds
    5/31/11 8:29:50 PM    com.apple.launchd[1]    (com.apple.mrt[57329]) Exited with exit code: 4
    5/31/11 8:29:50 PM    com.apple.launchd[1]    (com.apple.mrt) Throttling respawn: Will start in 2 seconds
    For the good portion of this afternoon into this evening, I've been running at about 80%+ CPU utilization with MRT being the offender based on watching 'top' and Activity Monitor.   Anyone else seeing something similar?

    Here's a tiny bit more info from system.log (in bold):
    May 31 22:22:29 rymoffet-mac MRT[444]: Error: SMJobRemove: The operation couldn’t be completed. (kSMErrorDomainFramework error 4 - There was an error in the Authorization subsystem.)
    May 31 22:22:30 rymoffet-mac com.apple.launchd[1] (com.apple.mrt[444]): Exited with exit code: 4
    May 31 22:22:30 rymoffet-mac com.apple.launchd[1] (com.apple.mrt): Throttling respawn: Will start in 5 seconds
    May 31 22:22:40 rymoffet-mac MRT[445]: Error: SMJobRemove: The operation couldn’t be completed. (kSMErrorDomainFramework error 4 - There was an error in the Authorization subsystem.)
    May 31 22:22:41 rymoffet-mac com.apple.launchd[1] (com.apple.mrt[445]): Exited with exit code: 4
    May 31 22:22:41 rymoffet-mac com.apple.launchd[1] (com.apple.mrt): Throttling respawn: Will start in 5 seconds
    May 31 22:22:51 rymoffet-mac MRT[446]: Error: SMJobRemove: The operation couldn’t be completed. (kSMErrorDomainFramework error 4 - There was an error in the Authorization subsystem.)
    May 31 22:22:51 rymoffet-mac com.apple.launchd[1] (com.apple.mrt[446]): Exited with exit code: 4
    May 31 22:22:51 rymoffet-mac com.apple.launchd[1] (com.apple.mrt): Throttling respawn: Will start in 5 seconds
    I have run a full repair on disk permissions but it hasn't resolved this issue.   SMJobRemove seems to be an SDK function for removing a job from the Service Manager based on a simple search I did.   However, I can't see what would be causing this particular error.   Everything else was working fine (and still is, except this MRT problem that started today).

  • ML high cpu after switching between spaces

    After reboot system will run perfectly until I swipe to another space at which point WindowServer starts consuming the majority of the CPU, reported as 600-700% on an 8 core system as reported by Actiivty Monitor. The only way to recover that I have found it to reboot and don't use spaces at all. Unfortunatly most of my apps are locked to a specific space on startup.
    This problem started with the install of Mountain Lion and took a long time to narrow it down to the use of spaces. By default I use 4 spaces on boot.
    Config:
    MacPro4,1 2x2.93 Ghz Quad-Core Intel Xeon
    20GB Ram
    ATI Radeon HD 4870
         2 x 30" Cinema HD Displays
    NVIDIA GeForce GT 120
         2 x 24" Cinema HD Displays

    Hi floridabrits,
    Have you looked at the Knowledge Base article [[Firefox consumes a lot of CPU resources]]? There is also some good information in [[High memory usage]].
    Hopefully this helps!

  • 11.3.1 FRU1 zenworkswindowsservice.exe high cpu after login

    Hi,
    I just upgraded the primary & all satellites from 11.3.1 to 11.3.1 FRU1.
    With the client upgrades everything goes fine. 11.3.1 to 11.3.1 FRU1 via assignment via ZCC.
    After that we changed the client in the add on of the image.
    When we restore a new image with that new Agent. The zenworkswindowsservice.exe goes to 60 % CPU when you login the first time with the user. User is created via a DLU.
    It stops after you reboot the system... then everything is fine.
    So next thing I did restore a new image with the old agent 11.3.1 , login with the same user again. Here there is no issue..
    Is this a know issue in the ZEnworks 11.3.1 FRU1 agent?
    Kr,
    Joeri

    Originally Posted by CRAIGDWILSON
    I don't know but the suggested fix is to apply the "DisableExplorerRestart" registry key.
    https://www.novell.com/documentation...a/bvj1efc.html
    This key should not be harmful and may even be generally beneficial.
    By Default, ZCM restarts the Explorer.exe process after applying a GPO.
    In General, this causes no harm but we are unsure of why this was initially done.
    It may simply be legacy behavior.
    Since it generally causes no harm, it is simply retained as default behavior.
    It most commonly causes issues on Terminal Servers where sometimes Explorer.exe does not come back, though even here very few customers have seen this.
    Feel free to try disabling the Explorer.exe restart function.
    I have never heard of any reports where doing so had a negative impact, even with GPOs in place.
    Hi Craig,
    I have done the registry settings but without success the same issue occurs:
    First I have set the registry, then reboot the pc because it is a HKLM value. Login first time as the user and the high load occurs again.
    As I already told, after logging in as the user to high load appears and I had to reboot to make the issue go away. Today I noticed that without rebooting the high load stops after 39 minutes.
    Do you know what could cause this?
    It is strange that we do not have this issue with the previous version of the client (11.3.1)...
    Kr,
    Joeri

  • Kernel_task reaches high CPU % after boot, mac is then superslow until I close and open the lid.. why?

    I've had my macbook pro repaired a few weeks ago (new battery and keyboard).. Ever since then every time I boot it its superslow ... + with high activity on kernel_task.. When I close the lid and open it after 5 seconds again the problem is gone.
    What could this be? Is it a hardware or software problem?
    Thanks,
    Lisa

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off merely by the seeming complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the behest of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    Copy a line of text in this window to the Clipboard.
    Paste into the window of another application.
    Wait for the test to run. It usually takes a few minutes.
    Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts 51 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' \*AutoCad \*dropbox \*GoogleDr\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 ` route -n get default|awk '/e:/{print $2}' ` 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB com.apple.AirPortBaseStationAgent 464843899 );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' /^ *$|CSConfigDot/d;s/^ */  /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/\/Users\/[^/]+/~/g ' ' s/^ +//;5p;6p;8p;12p;' ' {sub(/^ +/,"")};NR==6;NR==13&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: [^EO]|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<200) print "com.apple.";} ' ' $3~/[0-9]:[0-9]{2}$/ { gsub(/:[0-9:a-f]{14}/,"");} { print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { print "'${p[41]}'";if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$|'${p[41]}'/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/root/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1000) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/ { next;} /(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { print "'${p[41]}'.plist\t'${p[42]}'";if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[9]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/ { next;} /%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]" "$1;b=b$1;} END { if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n  "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n  [N/A]";"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text$|POSIX sh.+ text ex)/) F=F" ("T")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n  ...and %s more line(s)\n",l-L);} ' ' /^ +[NP].+ =/h;/^( +D.+[{]|[}])/{ g;s/.+= //p;};' ' /^ +B/{ s/.+= |(-[0-9]+)?\.s.+//g;p;} ' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9;} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' 's/0/Off/p' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps sudo\ crontab sudo\ iotop top pkgutil PlistBuddy whoami cksum kextstat launchctl sudo\ launchctl crontab 'sudo defaults read' stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' defaults\ read scutil sudo\ dtrace sudo\ profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil sudo\ lsof test );c2=(com.apple.loginwindow\ LoginHook '-c Print /L*/P*/loginw*' '-c Print L*/P*/*loginit*' '-c Print L*/Saf*/*/E*.plist' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' '-c Print\ :'${p[35]}' 2>&1' '-c Print\ :Label 2>&1' '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$Message' -k Sender kernel -k Message Req 'bad |Beac|caug|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|tim(ed? ?|ing )o|WARN' -k Message Rne 'Goog|ksadm|SMC:' -o -k Sender fseventsd -k Message Req 'SL' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cgh] ! -name *ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '-L {/{S*/,},}L*/Lau* -type f' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Ca*/*/Ex,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t /S*/L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' -i4TCP:0-1023 com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' );N1=${#c2[@]};for j in {0..8};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents launchd Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};';done;A7(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0(){ [[ "$v" ]]&&echo "$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "$s"<<<"$v"`&&C1 1 $1;};for i in 1 2;do for j in 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;A2 0 $((N1+1)) 2;C0;A1 0 $N1 1;C0;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 14 12 14;D22 6 36 13 15;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D22 11 17 17 20;for i in 0 1;do D22 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A2 19 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;A2 4 20 21;B7 6;B2 9;A4 14 7 52 9;B2 10;B6 9 10 4;C3 25;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D13 21 0 32 19;D13 10 42 32 40;D22 29 35 46 39;};D13 14 1 48 42;D12 34 43 53 44;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 26 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D23 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 20 42 32 41;D13 14 2 48 43;D13 4 5 32 1;D22 4 4 50 0;D13 14 3 49 5;D12 26 48 59 49;B3 4 22 57;A1 26 46 56;B7 22;B3 0 0 58;C3 47;D23 22 9 37 7;A7;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start Time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • For Finding sql statements which consumes High CPU

    Hai,
    Can any help me for finding, which sql statements are comsumes high CPU

    generaly:
    1. from unix site :
    us top command or ps (but this depend on platform) -> use pid in select * from v$process where spid <>
    2. from db site
    select * from v$sql_area order by buffer_gets desc ;
    this can You join with v$session where v$session.sql_address=v$sqlarea.address
    and when You wont to see % of os select *spid from v$process where addr=<v$session.paddr>
    and then in unix ps -ef | grep <spid>
    But point 2 is maybe discutable because also parse is one style how to consume CPU ... etc
    In 10g
    from AWR dba_hist_osstat -> DBA_HIST_SQLSTAT You can see high usage CPU interval , but this show You not momentaly action , but historical data
    momentali from ASH
    now I study viraq_sh script ... I thing this answer your question tottally
    Message was edited by:
    branislav.dobrotka

  • Ora 10gR2 on Solaris9 : smon consuming high cpu

    Hi,
    I noticed that the smon process is consuming abnormal amounts of CPU.
    At startup, every time, it uses +/- 13 seconds of cpu. Afterwards, at regular times , it starts again consuming cpu.
    After running 3 days, it consumed +/- 400 secs, while it is only a small development database, hardly used !
    I ran the query :
    select count(*) from DBA_FREE_SPACE;
    ----> this number is steady (+/- 70)
    select tablespace_name, segment_name, segment_type, sum(bytes),
    count(extent_id)
    from dba_extents
    where segment_type = 'TEMPORARY';
    ----> no rows
    So what is smon doing then ???? How can I find out how to correct ?
    Thanks
    Linde Ackermans
    Edited by: user602338 on 04-Dec-2008 05:53

    Hi,
    I noticed that the smon process is consuming abnormal amounts of CPU.
    At startup, every time, it uses +/- 13 seconds of cpu. Afterwards, at regular times , it starts again consuming cpu.
    After running 3 days, it consumed +/- 400 secs, while it is only a small development database, hardly used !
    I ran the query :
    select count(*) from DBA_FREE_SPACE;
    ----> this number is steady (+/- 70)
    select tablespace_name, segment_name, segment_type, sum(bytes),
    count(extent_id)
    from dba_extents
    where segment_type = 'TEMPORARY';
    ----> no rows
    So what is smon doing then ???? How can I find out how to correct ?
    Thanks
    Linde Ackermans
    Edited by: user602338 on 04-Dec-2008 05:53

Maybe you are looking for

  • HT4918 I have an old Mac that can not install Lion.

    I have already done what I can to move from mobil me to icloud with my email.  I do not plan on upgrading my computer at this time.  How will this effect me?

  • Questions involving zen mi

    <SPAN>Alright, I?ve had my 5 GB Zen micro for about a month now and absolutely love it. However, I would greatly appreciate it if anyone could help me with some issues that I?m having. <SPAN> <SPAN><SPAN>)<SPAN> <SPAN>Last week I went to my cousin's

  • WIRED GUEST ACCESS WLC 5508

    Hi Guys,  I've just set up a wired guest access for my HQ but I'm wondering if it is possible to do the same in a branch office because We do not have another controller in this site, could this be accomplished using the wlc of the hq? Any ideas plea

  • I'm unable to access photos  within an album...

    ...all it does is start to play the slideshow. Any suggestions?

  • X2-10G-SR GBIC ISSUE

    hello actually i have problems with the connection between a Cisco 3750 and P750 server, the Cisco Gbic is X2-10G-SR and the card of the server is 10 Gigabit Ethernet-SR PCI Express Adapter, both uses 850 nm wavelength but i cant see link between the