Ciscoworks 2.6 spiking sup CPU

Hello all,
I'm running Ciscoworks 2.6 with the latest updates. Some people have noticed that our SUP modules (sys32,720) CPU are spiking to 90-100% for around 5-10 seconds. This looks like it's happening when ciscoworks is going out to poll the devices.
People are assuming that this is the problem with some percieved network slowness that we were having in the past 2-3 weeks. They cannot pinpoint the issue and cannot recreate it.
The Ciscoworks server has been up for almost 2 years without any issues.
My question is if the SUP CPU spikes for 5-10 seconds is that really an issue? or is it part of the way it's supposed to work? I would be more understanding if the CPU was constantly at 50-60 percent but it's not. It's always between 1-10%.
Thanks
-Nick

Sorry all... I Posted this in the wrong forum.
Please delete if possible. I posted in the correct forum.
Thanks
-Nick

Similar Messages

  • Cat 4006 Sup CPU running high

    I'm trying to fix a condition where my cat sups CPUs are running 80% and higher all day. I have read that having POE line cards adds to the cpu overhead. Should turning off inlinepower device detection lessen the load on the cpu? id set port inlinepower mod/port off

    Hi
    These 2 links can be helpful to understand the main reason for the spike in cpu utilisation which can help u out in troubleshooting the same.
    You can find out the process which takes out the max of the CPU cycle,once you are done with the findings about the process you can start off proceeding with containing the same.
    http://www.cisco.com/en/US/products/hw/switches/ps663/products_tech_note09186a00804cef15.shtml
    http://www.cisco.com/en/US/products/hw/switches/ps663/products_tech_note09186a0080094956.shtml#highcpu
    regds

  • Itunes spiking my CPU well over 100% - any genius got some time?

    Hi there,
    Ongoing problem with my iTunes 7.5 hammering my CPU at well over 100%. This happens regularly every 5 - 7 minutes and is quite annoying. I used activity monitor to copy the activity as it was occurring. I hope there's a genius here who can decipher what my issue is. Please it's driving me crazy!!!
    For clarity, I repair permissions regularly, I update after a safe waiting period, repair permissions again, restart computer, use Mac Janitor for day, week, month, repair permissions again, restart computer, etc...
    My computer runs extremely fast when iTunes is off. Everything grinds to a halt when iTunes starts to spike.
    Also I checked the discussions and followed, with no luck, all the prior recommended fixes.
    Any help would be greatly appreciated
    Thanks
    FB
    Here's the copy....
    /Applications/iTunes.app/Contents/MacOS/iTunes
    /Applications/iTunes.app/Contents/Frameworks/iPodUpdater.framework/Versions/A/iP odUpdater
    /System/Library/CoreServices/CharacterSets/CFUnicodeData-B.mapping
    /System/Library/CoreServices/CharacterSets/CFCharacterSetBitmaps.bitmap
    /Library/Caches/com.apple.IntlDataCache.sbdl.501
    /System/Library/Caches/com.apple.IntlDataCache.tecx
    /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/Q D.framework/Versions/A/Resources/QD.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/HIToolbox.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/English.lproj/Localized.rsrc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/QuickTime.rs rc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/English.lpro j/Localized.rsrc
    /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder
    /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
    /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTime FireWireDV
    /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced
    /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleIntermed iateCodec
    /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixletV ideo
    /System/Library/Extensions/IOAudioFamily.kext/Contents/PlugIns/AOAHALPlugin.bund le/Contents/MacOS/AOAHALPlugin
    /System/Library/CoreServices/CharacterSets/CFUniCharPropertyDatabase.data
    /Users/chasallan/Library/iTunes/iTunes Plug-ins/WhiteCap for iTunes.bundle/Contents/MacOS/WhiteCap for iTunes
    /Library/Caches/com.apple.LaunchServices-014501.csstore
    /usr/share/icu/icudt32b.dat
    /System/Library/Components/AudioCodecs.component/Contents/MacOS/AudioCodecs
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/Extras.rsrc
    /System/Library/Fonts/LucidaGrande.dfont
    /Users/chasallan/Library/Application Support/SoundSpectrum/WhiteCap/WhiteCap.bundle/Contents/MacOS/WhiteCap
    /System/Library/Extensions/IOSCSIArchitectureModelFamily.kext/Contents/PlugIns/S CSITaskUserClient.kext/Contents/PlugIns/SCSITaskLib.plugin/Contents/MacOS/SCSITa skLib
    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle /GLDriver
    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat .bundle/GLRendererFloat
    /System/Library/Caches/com.apple.IntlDataCache.kbdx
    /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle /GLEngine
    /System/Library/Components/PDFImporter.component/Contents/MacOS/PDFImporter
    /System/Library/Extensions/ATIRadeon8500GLDriver.bundle/Contents/MacOS/ATIRadeon 8500GLDriver
    /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
    /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
    /System/Library/PrivateFrameworks/CoreMediaAuthoringPrivate.framework/Versions/A /CoreMediaAuthoringPrivate
    /System/Library/PrivateFrameworks/CoreMediaPrivate.framework/Versions/A/CoreMedi aPrivate
    /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTimeI mporters
    /usr/lib/dyld
    /usr/lib/libSystem.B.dylib
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreText.framework/Versions/A/CoreText
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/A TS.framework/Versions/A/ATS
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C oreGraphics.framework/Versions/A/CoreGraphics
    /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    /usr/lib/libicucore.A.dylib
    /usr/lib/libobjc.A.dylib
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCo re.framework/Versions/A/CarbonCore
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServic es.framework/Versions/A/OSServices
    /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata .framework/Versions/A/Metadata
    /System/Library/Frameworks/Security.framework/Versions/A/Security
    /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfig uration
    /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/C olorSync.framework/Versions/A/ColorSync
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/Q D.framework/Versions/A/QD
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/H IServices.framework/Versions/A/HIServices
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/L aunchServices.framework/Versions/A/LaunchServices
    /usr/lib/libcrypto.0.9.7.dylib
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/I mageIO.framework/Versions/A/Resources/libJP2.dylib
    /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Deskt opServicesPriv
    /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/HIToolbox
    /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    /usr/lib/libstdc++.6.0.4.dylib
    /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrap pers
    /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRec ordingEngine.framework/Versions/A/DiscRecordingEngine
    /System/Library/Frameworks/DiscRecording.framework/Versions/A/Frameworks/DiscRec ordingContent.framework/Versions/A/DiscRecordingContent
    /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framew ork/Versions/A/WebCore
    /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
    /System/Library/Frameworks/GLUT.framework/Versions/A/GLUT
    /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTime Components
    /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG4
    /dev/null
    /dev/console
    /dev/console
    0x02cf30c0 file struct, ty=0x3, op=0x384768
    0x0342ee30 file struct, ty=0x3, op=0x384768
    0x0342ee40 file struct, ty=0x3, op=0x384768
    /Applications/iTunes.app/Contents/Resources/iTunes.rsrc
    /Applications/iTunes.app/Contents/Resources/English.lproj/Localized.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/HIToolbox.rsrc
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/English.lproj/Localized.rsrc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/QuickTime.rs rc
    /System/Library/Frameworks/QuickTime.framework/Versions/A/Resources/English.lpro j/Localized.rsrc
    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/Q D.framework/Versions/A/Resources/QD.rsrc
    /Applications/iTunes.app/Contents/Resources/iTunes.rsrc
    ->0x030451d0
    ->0x03044130
    ->0x03044260
    /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fram ework/Versions/A/Resources/Extras.rsrc
    /Volumes/Greedlust/iTunes/iTunes Music/Octopus/Restless Night/Restless Night - 04 - Restless Night.mp3
    /Volumes/Big Boy/iPod_Control/iTunes/iTunesControl
    ->0x030f9c90
    ->0x03044000
    *:daap
    ->0x030fac00
    ->0x030fa9a0
    /Volumes/Big Boy/iPod_Control/Music/F14/Restless N.mp3
    /Users/chasallan/Music/iTunes/iTunes Library

    You can find iTunes 9.2.1 here:
    http://support.apple.com/kb/DL1056
    Check the following article:
    http://appletoolbox.com/2010/09/how-to-downgrade-itunes-10-to-itunes-9-2-1/
    Be sure to provide feedback to Apple on your cpu usage. You can contact them here:
    http://www.apple.com/feedback/itunesapp.html
    Message was edited by: Gerald Raddatz

  • PSE 8 Organizer and Elements Auto Analyzer Super CPU Hog

    Hi,
    I've been test driving Photoshop Elements 8 and Premiere Elements 8 for a couple of weeks now and have run into a really annoying behavior from the Organizer components.
    My main system...a Sony VAIO VGN SX670NC (Core 2 Duo T7700 2.4Ghz, 4GB RAM, 256GB smokin' fast Patriot Torqx Solid State Disk Drive) running 32 bit Windows 7 Ulitmate.
    I have all the current hardware and operating system updates.  PSE8 and PEE8 are updated as well.
    I only have about 28,000 JPGs...47GB approximately...on this machine.
    THE PROBLEM:  The organizer upon launch just sucks up every available CPU cycle...between the PhotoshopElementsOrganizer.exe and ElementsAutoAnalyzer.exe processes.  Even if exited cleanly the last time Organizer was run, this happens.  I use the Windows 7 Resouce Monitor and notice that these processes seem to scan every JPG in the catalog every launch.
    AS IF THIS ISN't ENOUGH...even with a clean exit of Organizer, the ElementsAutoAnalyzer.exe process keeps on running and consuming most availible CPU cycles of both processor cores.  To get my machine back I have to remember to use Task Manager to kill the ElementsAutoAnalyzer.exe process after I exit Organizer.
    OH, AND REGARDING BATTERY IMPACT...needless to say this product behavior is a real battery killer...it keeps all CPU cores spinning so much it never gets to do proper power management and cuts battery life down by 2/3.
    Why does this thing have to rescan every photo every time it runs and why does it fail to stop the Analyzer?
    It makes me wonder if this product got tested before it shipped...it's such an obvious problem.
    How do I tame this thing down to make it usable>
    Thanks,
    Dwight

    Hi 99jon,
    Thanks for the suggestion.
    QUESTIONS:
    What functionality if any do I lose in Organizer if I do this?
    Does this mean if I do this I simply need to make part of my photo import process the manual running of Analyzer against selected photos?
    Does this impact sync with Photoshop.com?
    Thanks,
    Dwight

  • Spiked CPU when viewing multiple streams one at a time then publishing

    Hi all,
    We're finding the Flash Player's CPU process 'ratchets' slightly higher each time a user views a new webcam stream one at a time in a WebcamSubscriber.
    For example, I'm watching the stream for User A, then that stream is deleted and I then watch the stream for user B, then that stream is deleted and I watch the stream A, B, or C, and so on.  It seems to 'ratchet' higher by the same amount regardless of whether I've seen that particular user's stream before.
    It's only a few percentage points of CPU usage each time, but in the aggregate it can get to 100% usage and crash the flash player quickly. 
    Some details of our tests:
    - We've managed to contain it so this only happens when the user is also publishing.
    - If a user has been watching for a long time without publishing, then starts publishing, the CPU usage will suddenly spike as soon as they start publishing.  In our tests it spikes as much and more as if they had been publishing the entire time. 
    - If the user starts publishing before they start watching, they're not affected by this spike. 
    - If a user starts publishing but hasn't been watching the streams, the publishing CPU usage is normal. 
    - Refreshing the browser page and publishing again, CPU usage is normal. 
    - Calling System.gc(); while running in the flash player debugger seems to have no effect on the CPU spikes.  Whatever streams are being kept around must still have something pointing to them so they won't be garbage collected. 
    To subscribe to each successive stream, we're doing that by setting
    webcamSubscriber.publisherIDs = [ newStreamID ];
    We've been experimenting for a long time with different settings that might reduce the CPU spikes and ratcheting, but haven't been able to resolve the issue.
    How can we prevent this CPU ratcheting and spking?
    Thanks very much,
    -Trace

    Is it possible that you have other components that are interfering or spiking your CPU. Also if possible can you share your code.
    Would you be able to check this link and see it hogs your CPU for more subscribers. - http://blogs.adobe.com/arunpon/files/2011/05/WebCameraFinal31.swf
    Code for the app in the link
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:rtc="http://ns.adobe.com/rtc">
         <mx:Script>
              <![CDATA[
                   import com.adobe.coreUI.controls.CameraUserBar;
                   import com.adobe.rtc.collaboration.WebcamSubscriber;
                   import com.adobe.rtc.events.CollectionNodeEvent;
                   import com.adobe.rtc.events.SessionEvent;
                   import com.adobe.rtc.events.SharedPropertyEvent;
                   import com.adobe.rtc.events.StreamEvent;
                   import com.adobe.rtc.events.UserEvent;
                   import com.adobe.rtc.messaging.UserRoles;
                   import com.adobe.rtc.sharedManagers.StreamManager;
                   import com.adobe.rtc.sharedManagers.descriptors.StreamDescriptor;
                   import com.adobe.rtc.sharedModel.SharedProperty;
                   protected var _camSubscribers:Object;
                   protected var _currentSubscriber:WebcamSubscriber ;
                   protected var _sharedProperty:SharedProperty ;
                    *  Handler for the stop and start buttons.
                   protected function startBtn_clickHandler(event:MouseEvent):void
                        if ( startBtn.label == "Start" ) {
                             webCamPub.publish();
                             startBtn.label = "Stop" ;
                             if (_camSubscribers && _camSubscribers[cSession.userManager.myUserID]) {
                                  var webcamSubscriber:WebcamSubscriber = _camSubscribers[cSession.userManager.myUserID];
                                  smallSubscriberContainer.addChild(webcamSubscriber);
                        }else if (startBtn.label == "Stop" ){
                             webCamPub.stop();
                             startBtn.label = "Start" ;
                    * SynchronizationChange event handler. Initialize the Shared property used to sync the Subscriber info
                    * who would be the centre of the app.
                   protected function cSession_synchronizationChangeHandler(event:Event):void
                        if (cSession.isSynchronized) {
                             _sharedProperty = new SharedProperty();
                             _sharedProperty.isSessionDependent = true ;
                             _sharedProperty.sharedID = "webcamShare2" ;
                             _sharedProperty.connectSession = cSession ;
                             _sharedProperty.subscribe();
                             _sharedProperty.addEventListener(SharedPropertyEvent.CHANGE,onChange);
                             _camSubscribers = new Object();
                             cSession.streamManager.addEventListener(StreamEvent.STREAM_RECEIVE,onStreamRecieved);
                             cSession.streamManager.addEventListener(StreamEvent.STREAM_DELETE,onStreamDelete);
                             addExistingStreamers();
                    *  Set up a thumbnail subscriber for every new camera stream
                   protected function onStreamRecieved(p_evt:StreamEvent):void
                        if (p_evt.streamDescriptor.type == StreamManager.CAMERA_STREAM) {
                             setUpfromDescriptor(p_evt.streamDescriptor);
                    * Clicking a subscriber updates the shared value, which in turn enlarges the thumbnail after getting updated
                   protected function onClick(p_evt:MouseEvent):void
                        if ( (p_evt.currentTarget is WebcamSubscriber) &&  !(p_evt.target.parent is CameraUserBar)) {
                             _sharedProperty.value = (p_evt.currentTarget as WebcamSubscriber).publisherIDs;
                    * Clean up when a user stops publishing his camera or exits his app.
                   protected function onStreamDelete(p_evt:StreamEvent):void
                        if (p_evt.streamDescriptor.type == StreamManager.CAMERA_STREAM) {
                             if ( _camSubscribers[p_evt.streamDescriptor.streamPublisherID]) {
                                  var webcamSubscriber:WebcamSubscriber = _camSubscribers[p_evt.streamDescriptor.streamPublisherID];
                                  if (webcamSubscriber) {
                                       smallSubscriberContainer.removeChild(webcamSubscriber);    
                                  if (p_evt.streamDescriptor.streamPublisherID != cSession.userManager.myUserID) {
                                       webcamSubscriber.removeEventListener(UserEvent.STREAM_CHANGE,onCameraPause);
                                       webcamSubscriber.removeEventListener(UserEvent.USER_BOOTED,onUserBooted);
                                       delete _camSubscribers[p_evt.streamDescriptor.streamPublisherID];
                                       webcamSubscriber.close();
                                       webcamSubscriber = null;
                                  } else {
                                       if (_currentSubscriber && _currentSubscriber.publisherIDs[0] == cSession.userManager.myUserID) {
                                            _sharedProperty.value = null;
                    * Logic for handling the Pause event on CameraUserBar on every Subscriber
                   protected function onCameraPause(p_evt:UserEvent):void
                        var userStreams:Array = cSession.streamManager.getStreamsForPublisher(p_evt.userDescriptor.userID,StreamManager.CAMERA_STREAM);
                        if (userStreams.length == 0) {
                             trace("onCameraPause: no userStreams");
                             return;
                        for (var i:int = 0; i< userStreams.length ; i++ ) {
                             if (userStreams[i].type == StreamManager.CAMERA_STREAM ) {
                                  break;
                        var streamDescriptor:StreamDescriptor = userStreams[i];
                        if ( streamDescriptor.streamPublisherID == cSession.userManager.myUserID ) {
                             cSession.streamManager.pauseStream(StreamManager.CAMERA_STREAM,!streamDescriptor.pause,streamDescriptor.streamPublisherID);
                    * Initial set up of all users who are streaming when this app launches
                   protected function addExistingStreamers():void
                        var streamDescritpors:Object = cSession.streamManager.getStreamsOfType(StreamManager.CAMERA_STREAM);
                        for (var i:String in streamDescritpors) {
                             setUpfromDescriptor(streamDescritpors[i]);
                    * Helper method to create a thumbnail subscriber.
                   protected function setUpfromDescriptor(p_descriptor:StreamDescriptor):void
                        if (! _camSubscribers[p_descriptor.streamPublisherID]) {
                             var webCamSubscriber:WebcamSubscriber = new WebcamSubscriber();
                             webCamSubscriber.connectSession = cSession ;
                             webCamSubscriber.addEventListener(UserEvent.STREAM_CHANGE,onCameraPause);
                             webCamSubscriber.addEventListener(UserEvent.USER_BOOTED,onUserBooted);
                             webCamSubscriber.webcamPublisher = webCamPub;
                             webCamSubscriber.subscribe();
                             webCamSubscriber.sharedID = p_descriptor.streamPublisherID;
                             webCamSubscriber.publisherIDs = [p_descriptor.streamPublisherID];
                             webCamSubscriber.height = webCamSubscriber.width = 180;
                             webCamSubscriber.addEventListener(MouseEvent.CLICK, onClick);
                             smallSubscriberContainer.addChild(webCamSubscriber);
                             _camSubscribers[p_descriptor.streamPublisherID] = webCamSubscriber;
                    * This method is the listener to SharedPropertyEvent.CHANGE event. It updates the centred subscribes as its value
                    * changes.
                   protected function onChange(p_evt:SharedPropertyEvent):void
                        if ( _currentSubscriber != null ) {
                             _currentSubscriber.removeEventListener(UserEvent.USER_BOOTED,onUserBooted);
                             _currentSubscriber.removeEventListener(UserEvent.STREAM_CHANGE,onCameraPause);
                             centeredSubscriber.removeChild(_currentSubscriber);
                             _currentSubscriber.close();
                             _currentSubscriber = null ;
                        if ( _sharedProperty.value == null || _sharedProperty.value.length == 0 ) {
                             return ;
                        _currentSubscriber = new WebcamSubscriber();
                        _currentSubscriber.connectSession = cSession ;
                        _currentSubscriber.subscribe();
                        _currentSubscriber.webcamPublisher = webCamPub ;
                        _currentSubscriber.publisherIDs = _sharedProperty.value ;
                        _currentSubscriber.addEventListener(UserEvent.USER_BOOTED,onUserBooted);
                        _currentSubscriber.addEventListener(UserEvent.STREAM_CHANGE,onCameraPause);
                        _currentSubscriber.width = _currentSubscriber.height = 500;
                        centeredSubscriber.addChild(_currentSubscriber);
                    * Logic for handling the Close event on CameraUserBar on every Subscriber
                   protected function onUserBooted(p_evt:UserEvent=null):void
                        var tmpFlag:Boolean = false;
                        if (_currentSubscriber && _currentSubscriber.publisherIDs[0] == p_evt.userDescriptor.userID) {
                             if (_currentSubscriber.parent) {
                                  _currentSubscriber.removeEventListener(UserEvent.USER_BOOTED,onUserBooted);
                                  _currentSubscriber.removeEventListener(UserEvent.STREAM_CHANGE,onCameraPause);
                                  _currentSubscriber.close();
                                  _currentSubscriber.parent.removeChild(_currentSubscriber);
                                  _currentSubscriber = null;
                                  _sharedProperty.value = null;
                             tmpFlag = true;
                        if ( _camSubscribers[p_evt.userDescriptor.userID]) {
                             var webcamSubscriber:WebcamSubscriber = _camSubscribers[p_evt.userDescriptor.userID];
                             tmpFlag = true;
                        if (tmpFlag) {
                             webCamPub.stop();
                             startBtn.label = "Start";
              ]]>
         </mx:Script>
         <!--
         You would likely use external authentication here for a deployed application;
         you would certainly not hard code Adobe IDs here.
         -->
         <rtc:AdobeHSAuthenticator
              id="auth"
              userName="Your Username"
              password="Your password" />
         <rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%" height="100%" roomURL="Your RoomUrl">
              <mx:VBox id="rootContainer" width="100%" height="800" horizontalAlign="center">
                   <rtc:WebcamPublisher width="1" height="1" id="webCamPub"/>
                   <mx:VBox width="500" height="500" id="centeredSubscriber" horizontalAlign="center" verticalAlign="middle"/>
                   <mx:Label text="Click on a Subscriber thumbnail to make it bigger." />
                   <mx:HBox width="100%" height="200" horizontalAlign="center" verticalAlign="top" id="smallSubscriberContainer" creationComplete="cSession_synchronizationChangeHandler(event)"/>
                   <mx:Button  id="startBtn" label="Start"  click="startBtn_clickHandler(event)" height="20"/>
              </mx:VBox>
         </rtc:ConnectSessionContainer>
    </mx:Application>
    Thanks
    Arun

  • BI Server Hanging and spiking CPU

    Hello all,
    The BI Server on my linux environment started today spiking the CPU and hanging. I restarted the services and the same issues happened again right after loading the subject areas metadata and running the init blocks. I thought it was one of the init blocks or something of that nature, but alas, it happens whenever it sends a query to an Oracle DB. There have been no changes to the RPD, startup scripts, the server/bin libnqsdbgatewayoci* files nor the Oracle client from what I can see. I tnspinged the Oracle DBs and also logged in via sqlplus with success. So at this point, I am at a loss as to why the bi server all of a sudden have this issue.
    I looked at the nqsserver.log and there is nothing that it shows of what is happening and why the bi server will peg the CPU. I looked at the NQQuery.log and see only that the queries are there and logged with no other messages that it returned. I even monitored the database sessions to see if the db conn pool logged in and submitted the query, which it did not. So I can only assume the connections where never made and the queries were never sent and it is in an infinite loop trying to connect and send the query. So how else can I tell or find more information to solve this one.
    I am running on Linux OS, OBI version 10.1.3.4.1.090414.1900. Oracle DB is 10gR2 and using 10g client.
    Thanks for any and all help on this. I searched google, the forums and metalink. Hopefully someone out there knows or can guide me.

    We met the same issue. Can you tell me more details how to resolve it? You mentioned restart the Linux instance, DB instance or what's kind of other instance? Thanks you in advanced for your response.

  • Lightroom 4.1 CPU Spiking

    I am running OXS with 8gb RAM and two 2.26 Quad Zeons.    I am experiencing HEAVY spiking in CPU utilization, upwards of 800% even when making small adjustments such as reducing the blacks by ONE increment.  I am now running of an exported catalog with about 15 images w/ previews.  Both the cat and images are on the same HDD as lightroom is installed on....WTF is going on. Never used to be this slow.
    Write xmp data is off.
    appreciate any help!
    thanks
    sam

    HI,
    LR is optmized to render only the pixels that are displayed on you screen. Did you screen resolution changed? One of these 2500x1xxx monitors?
    THere is a performance guide available http://helpx.adobe.com/lightroom/kb/optimize-performance-lightroom.html

  • ITunes high cpu, CoreAUC problem

    Hi,
    Running iTunes 10.4.1 on a 2011 MBA and it's constantly spiking the CPU. I emptied my library, created a new library, tried another account, but the problem won't go away. I don't use any iTunes plugins.
    I've sampled the iTunes process in activity monitor and I see many, many messages like these:
        +                               ! : | + ! : 7 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x5e6b64  [0x7fff937bfb64]
        +                               ! : | + ! :   2 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x5e6eef  [0x7fff937bfeef]
        +                               ! : | + ! :   1 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x5e6e70  [0x7fff937bfe70]
        +                               ! : | + ! :   1 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x5e6ec2  [0x7fff937bfec2]
        +                               ! : | + ! :   1 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x5e6edd  [0x7fff937bfedd]
        +                               ! : | + ! :   1 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x5e6eeb  [0x7fff937bfeeb]
        +                               ! : | + ! :   1 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x5e6fea  [0x7fff937bffea]
        +                               ! : | + ! 1 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x59b86e  [0x7fff9377486e]
        +                               ! : | + ! : 1 ???  (in CoreAUC)  load address 0x7fff931d9000 + 0x59c876  [0x7fff93775876]
    Anyone know how I can troubleshoot this problem further ?
    Thanks !

    I am having the EXACT same problem with my MBA 13" mid 2011 ( 128 GB i5 version ).
    I can't find an solution for this and am pretty new to mac OS. Went back to the seller and he said i should format my disk and reinstall everything from a fresh OS copy. Tried it but it didnt fix anything. Went back and he said i should contact apple...
    Also looked on the internet, and the problem isn't that common apparently...
    Found some things about CoreAUC and i'm not sure if replacing it matters, because i already tried formatting it...
    Hope someone can help!
    Thanks in advance

  • Lots of errors in my system log causing cpu spikes.

    Not sure what is causing it, but I am getting lots of errors showing up in my system.log recently. every ten seconds this happens:
    Sep 14 14:55:46 prime com.apple.emailrules[1403]: 2012-09-14 14:55:46-0400 [-] twisted.web2.channel.http.HTTPFactory starting on 8089
    Sep 14 14:55:46 prime com.apple.emailrules[1403]: 2012-09-14 14:55:46-0400 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0x10623c7e8>
    Sep 14 14:55:46 prime com.apple.wikid[1400]: Traceback (most recent call last):
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/bin/twistd", line 19, in <module>
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     run()
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     app.run(runApp, ServerOptions)
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 694, in run
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     runApp(config)
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     _SomeApplicationRunner(config).run()
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 423, in run
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     self.logger.start(None)
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 251, in start
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     observer = self._getLogObserver()
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 140, in _getLogObserver
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     logFile = logfile.LogFile.fromFullPath(self._logfilename)
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 47, in fromFullPath
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     os.path.dirname(logPath), *args, **kwargs)
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 147, in __init__
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     BaseLogFile.__init__(self, name, directory, defaultMode)
    Sep 14 14:55:46 prime com.apple.wikid[1400]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 32, in __init__
    Sep 14 14:55:46 prime com.apple.wikid[1400]:     assert os.path.isdir(self.directory)
    Sep 14 14:55:46 prime com.apple.wikid[1400]: AssertionError
    Sep 14 14:55:47 prime com.apple.launchd[1] (com.apple.wikid[1400]): Exited with exit code: 1
    Sep 14 14:55:47 prime com.apple.launchd[1] (com.apple.wikid): Throttling respawn: Will start in 4 seconds
    Sep 14 14:55:51 prime com.apple.wikid[1517]: /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/zope/__init__.py:1: UserWarning: Module twisted was already imported from /usr/share/caldavd/lib/python/twisted/__init__.pyc, but /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python is being added to sys.path
    Sep 14 14:55:51 prime com.apple.wikid[1517]:   __import__('pkg_resources').declare_namespace(__name__)
    Sep 14 14:55:51 prime com.apple.wikid[1517]: /usr/share/caldavd/lib/python/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead
    Sep 14 14:55:51 prime com.apple.wikid[1517]:   import MimeWriter, tempfile, rfc822
    Sep 14 14:55:51 prime com.apple.wikid[1517]: /usr/share/caldavd/lib/python/calendarserver/tap/caldav.py:49: DeprecationWarning: mktap and related support modules are deprecated as of Twisted 8.0.  Use Twisted Application Plugins with the 'twistd' command directly, as described in 'Writing a Twisted Application Plugin for twistd' chapter of the Developer Guide.
    Sep 14 14:55:51 prime com.apple.wikid[1517]:   from twisted.scripts.mktap import getid
    Sep 14 14:55:51 prime com.apple.wikid[1517]: /usr/share/wikid/lib/python/twisted_overrides/microdom.py:176: SyntaxWarning: assertion is always true, perhaps remove parentheses?
    Sep 14 14:55:51 prime com.apple.wikid[1517]:   assert (oldChild.parentNode is self,
    Sep 14 14:55:52 prime com.apple.wikid[1517]: Traceback (most recent call last):
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/bin/twistd", line 19, in <module>
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     run()
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     app.run(runApp, ServerOptions)
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 694, in run
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     runApp(config)
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     _SomeApplicationRunner(config).run()
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 423, in run
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     self.logger.start(None)
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 251, in start
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     observer = self._getLogObserver()
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 140, in _getLogObserver
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     logFile = logfile.LogFile.fromFullPath(self._logfilename)
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 47, in fromFullPath
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     os.path.dirname(logPath), *args, **kwargs)
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 147, in __init__
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     BaseLogFile.__init__(self, name, directory, defaultMode)
    Sep 14 14:55:52 prime com.apple.wikid[1517]:   File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 32, in __init__
    Sep 14 14:55:52 prime com.apple.wikid[1517]:     assert os.path.isdir(self.directory)
    Sep 14 14:55:52 prime com.apple.wikid[1517]: AssertionError
    Sep 14 14:55:52 prime com.apple.launchd[1] (com.apple.wikid[1517]): Exited with exit code: 1
    Sep 14 14:55:52 prime com.apple.launchd[1] (com.apple.wikid): Throttling respawn: Will start in 9 seconds
    Sep 14 14:56:02 prime com.apple.wikid[1530]: /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/zope/__init__.py:1: UserWarning: Module twisted was already imported from /usr/share/caldavd/lib/python/twisted/__init__.pyc, but /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python is being added to sys.path
    Sep 14 14:56:02 prime com.apple.wikid[1530]:   __import__('pkg_resources').declare_namespace(__name__)
    Sep 14 14:56:02 prime com.apple.wikid[1530]: /usr/share/caldavd/lib/python/twisted/mail/smtp.py:10: DeprecationWarning: the MimeWriter module is deprecated; use the email package instead
    Sep 14 14:56:02 prime com.apple.wikid[1530]:   import MimeWriter, tempfile, rfc822
    Sep 14 14:56:02 prime com.apple.wikid[1530]: /usr/share/caldavd/lib/python/calendarserver/tap/caldav.py:49: DeprecationWarning: mktap and related support modules are deprecated as of Twisted 8.0.  Use Twisted Application Plugins with the 'twistd' command directly, as described in 'Writing a Twisted Application Plugin for twistd' chapter of the Developer Guide.
    Sep 14 14:56:02 prime com.apple.wikid[1530]:   from twisted.scripts.mktap import getid
    Sep 14 14:56:02 prime com.apple.wikid[1530]: /usr/share/wikid/lib/python/twisted_overrides/microdom.py:176: SyntaxWarning: assertion is always true, perhaps remove parentheses?
    Sep 14 14:56:02 prime com.apple.wikid[1530]:   assert (oldChild.parentNode is self,
    If I stop the web server, the errors stop as well. Something related to this seems to be spiking the CPU as well giving me higher load averages.

    This article fixed my problem
    http://support.apple.com/kb/TS2915

  • CSA causes cpu utilization spike in enforcement mode?

    I am experiencing a problem where two servers (specifically a file a server and a Citrix server) are experiencing spikes in CPU utilization (maxing out at 100% util) whenever we take them out of "Test" mode.
    These systems are running CSA v4.5-1 build 616 agents. In order to stop the CPU issue, we had to stop the agent (which dropped the processor util immediately), put the system back into a "Test" state, restart the agent, and poll the server.
    Now that the server is back in a Test state, the CPU problem doesnt exist.
    Any thoughts or suggestions would be greatly appreciated.

    CSA is trying to do a lot of work but it isn't logging anywhere because it's set not to.
    1. Create a new group called "Windows test".
    2. Clone the policies in the group and add them to the new group.
    3. Change all the rules in those cloned policies to log.
    4. Put the group in test mode.
    5. Put a problem server in the group and see what events are generated.
    You should see what's causing the problem without killing the server in the process.
    Then you'll be able to either except the process or disable the rule causing it (if that's safe).
    You also didn't mention what process is spiking the CPU.
    Tom S

  • Soundcard seems to be creating higher CPU demand - PLEASE READ

    Here is my set up - I use 2 laptops running mainstage - Laptop one uses an Apogee ONE card which has its output routed to a line input on my Allen & Heath Xone 4d mixer. The 2nd laptop is using the Xone4d mixer controlling Mic input, playback and some keyboard presets.
    I have noticed cpu spiking(85% CPU Average) when using the allen & Heath as the soundcard compared to using my 2nd Apogee ONE card (16% CPU Average) instead....
    I m assuming that this is because of the additional resources required to run the 10/10 soundcard over a single output card... is this correct or is there something I can do?
    any thoughts???

    I have discovered that the CPU usage levels come down significantly when running the same concert in 64bit mode....
    also I noticed today that there seemed to be no real correlation between what mainstage reports as cpu usage and what Activity monitor reports...
    am I missing something?

  • High CPU Utilization from searches

    We have started having issues with the poa spiking the CPU for up to 8 hours. I found all GWTCP handler threads being allocated then "hanging" for up to 8000 seconds. I looked at the http monitor to determine what the threads were doing. The same user had all the threads and they were all doing the same thing as indicated below by a snipit from the thread activity:
    Current Transaction Destroy streamed search
    Time Elapsed (Secs) 6483
    The user had been logged into webacc and did some searches. His mailbox has over 100,000 messages (I know...archive but mgmt. hasn't listened). When I spoke to him he said that the searches did not complete and he logged out.
    I feel confident that this has something to do with QF indexing not completely indexing his email. The qflevel was at default and the POA log showed about 90k of unindexed email. I switched the qflevel to 999 and restarted the POA. It has been running at 999 for two nights now. He has not logged into webacc and done searches since so I am not sure if this fixed it.
    The user's db seems fine ( I run a structure check nightly and there are no errors). I did a validate on both the domain and post office databases and they were fine.
    My questions are:
    1. POA logging is set to normal and not all users are shown in the logs during the QF indexing period. Is this normal or does the poa need to be logging at verbose to show all users?
    2. Does this seem like the correct approach to this issue?
    Thanks,
    Mike

    1 - Yes, I think you do need verbose logging, otherwise you only see the
    users that do need some indexing to be done
    2 - Yep, seems like a good place to start.
    Cheers Dave
    Dave Parkes [NSCS]
    Occasionally resident at http://support-forums.novell.com/

  • Deleting A Row From Datagrid

    Hai
        I have pasted the mxml below, because i am unable to attach the mxml, pl copy this below file into flex and run the application.
      1. Run the application.
      2. Enter values in the textbox and click add, values will be added to the datagrid.
      3. now click AND or OR and then change the values in the second and thrid combobox and again click add.
      4.Like wise change the combobox values and add five rows to the datagrid.
    5.now if u delete the last row u can see the curent last row in the combobox, so that the AND or Or can be added to it
    6. now if u delete a row in between, the deleted row's value oly maintains in the combobox,so i am unable to add AND or Or to the grid
      7.I need the last row data in the datagrid to be in the second and third combobox, which ever row is deleted.
    Can anyone help me....
    Thanks in advance.
    This is the mxml for sample
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:Script>
    <![CDATA[
      // ActionScript file
    import mx.rpc.events.FaultEvent;
    import mx.controls.Alert;
            import mx.managers.CursorManager;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var adhoc:ArrayCollection = new ArrayCollection();
    [Bindable]
    public var serverString = "" ; 
          private function initImage(event:MouseEvent):void {
                  if(adhoc.length > 0){
                CursorManager.setBusyCursor();
              private function onChange():void{
          if(comboBox.selectedIndex == 0){
        }else{
              private function onChange1():void{
              if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){
                datepick.visible = true
                txt.visible = false
              }else{
              txt.visible = true
                datepick.visible = false
        private function add():void{
        var str:String = txt.text;
        if(str.length == 0 && txt.visible == true){
            Alert.show("Value Can Not Be Empty");
            return;
          if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){
              if(txt.visible == true){
                  var temp:Object = new Object();
        temp.fname = combo2.selectedItem;
        temp.opera = combo1.selectedItem;
        temp.val = "'"+txt.text+"'";
            adhoc.addItem(temp);
              txt.text = "";
          var str1:String = datepick.text;
          if(comboBox.selectedIndex == 1){
            if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){
            if(str1.length == 0 && datepick.visible == true){
            Alert.show("Date Cannot Be Empty");
            }else{
            var temp:Object = new Object();
        temp.fname = combo2.selectedItem;
        temp.opera = combo1.selectedItem;
        temp.val = datepick.text;
              adhoc.addItem(temp);
              datepick.text = "";                   
        addbutton.enabled = false;
        addopenbracket.enabled = false;
        combo2.enabled = false;
        combo1.enabled = false;
        private function querydelete():void{
            if (AdHoc.selectedIndex > 0) {
                if(AdHoc.selectedIndex == (adhoc.length-1)){
              adhoc[AdHoc.selectedIndex-1].cond = "";
              addopenbracket.enabled = false;
              addclosebracket.enabled = false;
              addbutton.enabled = false;
              combo2.enabled = false;
              combo1.enabled = false;
              combo2.selectedItem = adhoc[adhoc.length-2].fname
              combo1.selectedItem = adhoc[adhoc.length-2].opera
                adhoc.removeItemAt(AdHoc.selectedIndex);
          //  adhocdetailgridcompilance.dataProvider = null ;
        //    adhocdetailgrid.dataProvider = null ;
            }else if (adhoc.length == 1) {
                adhoc.removeItemAt(AdHoc.selectedIndex);
          //  adhocdetailgridcompilance.dataProvider = null ;
        //    adhocdetailgrid.dataProvider = null ;
                addopenbracket.enabled = true;
              addclosebracket.enabled = true;
              addbutton.enabled = true;
              combo2.enabled = true;
              combo1.enabled = true;
            }else{
                Alert.show("Select The Rows To Delete");
          private function andSubmit():void{
            for each(var obj:Object in adhoc){
                if(obj.fname == combo2.selectedItem && obj.opera == combo1.selectedItem){
                  if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){
                if(txt.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = and.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
                }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + "'"+txt.text+"'");             
              }else if(obj.fname == addclosebracket.label){
                if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){
                if(txt.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = and.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
                }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + "'"+txt.text+"'");             
              if(obj.fname == combo2.selectedItem && obj.opera == combo1.selectedItem){
                if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){
            if(datepick.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = and.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
                }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + datepick.text);             
                }else if(obj.fname == addclosebracket.label){
                if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){
                if(txt.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = and.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
                }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + datepick.text);             
          addbutton.enabled = true;
          addopenbracket.enabled = true;
          combo2.enabled = true;
          combo1.enabled = true;
        private function orSubmit():void{
          for each(var obj:Object in adhoc){
                if(obj.fname == combo2.selectedItem && obj.opera == combo1.selectedItem){
                  if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){
                if(txt.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = or.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
              }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + "'"+txt.text+"'");             
              }else if(obj.fname == addclosebracket.label){
                if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){
                if(txt.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = or.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
                }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + "'"+txt.text+"'");             
              if(obj.fname == combo2.selectedItem && obj.opera == combo1.selectedItem){
                if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){
            if(datepick.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = or.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
          }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + datepick.text);             
                }else if(obj.fname == addclosebracket.label){
                if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){
                if(txt.visible == true){
                  trace("2 equals");
                  var temp:Object = new Object();
                  obj.cond = or.label
                  adhoc.setItemAt(obj,adhoc.getItemIndex(obj));
                }else{
                  trace(obj.fname + ":" + combo2.selectedItem);
                  trace(obj.opera + ":" + combo1.selectedItem);
                  trace(obj.val + ":" + datepick.text);             
          addbutton.enabled = true;
          addopenbracket.enabled = true;
          combo2.enabled = true;
          combo1.enabled = true;
          public function addOpenBracket():void{
                var temp:Object = new Object();
              temp.fname = addopenbracket.label
          adhoc.addItem(temp);
          addopenbracket.enabled = false
          addclosebracket.enabled = true
                if(adhoc.length > 1 && addopenbracket.enabled == false){
                    addbutton.enabled = true
        public function addCloseBracket():void{
              var temp:Object = new Object();
              if(adhoc.length > 1){
            temp.fname = addclosebracket.label
            adhoc.addItem(temp);
            addopenbracket.enabled = true
            addclosebracket.enabled = false
          if(adhoc.length > 1 && addclosebracket.enabled == false){
                    addbutton.enabled = true
        private function dateChange(date:Date):void{
            if (date == null){
              }else{
                    txt.text = date.getDate() + '/' + (date.getMonth()+1).toString() + '/' +
                              date.getFullYear().toString() ;
        public function saveadhoc(event:Event):void {
                var AdhocRows:String = "";
        var i:int ;
              var selectedType = comboBox.selectedItem;
              if(adhoc.length == 0){
              Alert.show("Enter The Query");
              }else{
        for(i = 0; i < adhoc.length;i++) {
          if(adhoc[i].fname != null){
          AdhocRows = AdhocRows +adhoc[i].fname+" ";
          if(adhoc[i].opera != null){
          AdhocRows = AdhocRows + adhoc[i].opera+" ";
          if(adhoc[i].val != null){
          AdhocRows = AdhocRows + adhoc[i].val+" ";
          if(adhoc[i].cond != null){
          AdhocRows = AdhocRows + adhoc[i].cond+" ";
            var parameters:Object = {adhocquery:AdhocRows,FlexActionType:"ADHOCQUERYSUBMIT",adhocType:selectedType};
              //  adhocClick.send(parameters);
            private function retrieve():void{         
                datepick.visible = false
              txt.visible = true
    ]]>
    </mx:Script>
            <mx:Array id="comp">
                <mx:String>TYPE</mx:String>
            <mx:String>AUDITRESULT</mx:String>
            <mx:String>CATEGORY</mx:String>
            <mx:String>CHILDRULE</mx:String>
            <mx:String>PARENTRULE</mx:String>
            <mx:String>AUDITGROUP</mx:String>
            <mx:String>LOCATION</mx:String>
            <mx:String>VENDOR</mx:String>
            <mx:String>DEVICECATEGORY</mx:String>
        </mx:Array>
        <mx:Array id="inven">
      <mx:String>VENDOR</mx:String>
      <mx:String>DEVICETYPE</mx:String>
      <mx:String>SERIES</mx:String>
      <mx:String>MODEL</mx:String>
      <mx:String>SUP/CPU</mx:String>
      <mx:String>CODEVERSION</mx:String>
      <mx:String>IMAGENAME</mx:String>
      <mx:String>DATEDEPLOYED</mx:String>
      <mx:String>LOCATIONNAME</mx:String>
      <mx:String>ADDRESS1</mx:String>
      <mx:String>ADDRESS2</mx:String>
      <mx:String>CITY</mx:String>
      <mx:String>STATE</mx:String>
      <mx:String>COUNTRY</mx:String>
      <mx:String>FLOOR</mx:String>   
      <mx:String>CABINET</mx:String>
      <mx:String>CATEGORYNAME</mx:String>
      <mx:String>DEPARTMENT</mx:String>
      <mx:String>CONTACTNAME</mx:String>
      <mx:String>CONTACTNUMBER</mx:String>
      <mx:String>VERSION</mx:String>
      <mx:String>FILENAME</mx:String>
      <mx:String>DATEUPLOADED</mx:String>
    </mx:Array>
    <mx:Accordion x="13" y="55" width="230" height="492">
    <mx:Form label="AdHoc Query Analyzer"  width="100%"  creationComplete="retrieve()" height="100%" color="#F2F8F9" backgroundColor="#020202">
      <mx:Canvas label="Query" width="204" height="440" backgroundColor="#020202">
      <mx:ComboBox x="66" y="287" width="134"  id="comboBox" dataProvider="[COMPLIANCE , INVENTORY]" change="onChange()" color="#050505">
      </mx:ComboBox>
      <mx:ComboBox x="5" y="344" width="109.25" id="combo1" dataProvider="[=,!=,>,>=,&lt;,&lt;=,LIKE]" color="#010101"></mx:ComboBox>
      <mx:TextInput x="119.25" y="344" width="77.75" id="txt" color="#050505"/>
        <mx:Button x="3" y="401" label="Add" width="59" click="add()" id="addbutton" color="#FFFEFE" fillAlphas="[0.6, 0.4, 0.75, 0.65]" fillColors="[#FFFFFF, #CCCCCC, #EEEEEE, #EEEEEE]" borderColor="#B7BABC" themeColor="#009DFF"/>
      <mx:Button x="66" y="401" label="Delete" width="63.25" click="querydelete()" color="#FFFEFE" fillAlphas="[0.6, 0.4, 0.75, 0.65]" fillColors="[#FFFFFF, #CCCCCC, #EEEEEE, #EEEEEE]" borderColor="#B7BABC" themeColor="#009DFF"/>
      <mx:Button x="2" y="373" label="("  id="addopenbracket" click="addOpenBracket()"  width="45" color="#FFFEFE" fillAlphas="[0.6, 0.4, 0.75, 0.65]" fillColors="[#FFFFFF, #CCCCCC, #EEEEEE, #EEEEEE]" borderColor="#B7BABC" themeColor="#009DFF"/>
      <mx:Button x="51" y="373" label=")" id="addclosebracket" click="addCloseBracket()"  width="45" color="#FFFEFE" fillAlphas="[0.6, 0.4, 0.75, 0.65]" fillColors="[#FFFFFF, #CCCCCC, #EEEEEE, #EEEEEE]" borderColor="#B7BABC" themeColor="#009DFF"/>
      <mx:Button x="134.25" y="401" label="Submit" click="saveadhoc(event);initImage(event)" color="#FFFEFE" fillAlphas="[1.0, 0.69, 0.75, 0.65]" fillColors="[#77B97A, #77B97A, #EEEEEE, #EEEEEE]" borderColor="#77B97A" themeColor="#009DFF"/>
      <mx:ComboBox x="66" y="317" width="134" id="combo2" change="onChange1()" dataProvider="{comp}" color="#010101">
      </mx:ComboBox>
      <mx:DateField x="122.25" y="344" width="74.75" initialize="dateChange((event.target).selectedDate)" id="datepick" color="#050505"/>
      <mx:DataGrid x="1" y="1" width="203" height="282" id="AdHoc" dataProvider="{adhoc}" allowMultipleSelection="true" color="#020202">
      <mx:columns>
        <mx:DataGridColumn headerText="Name" dataField="fname" id="fnam"/>
        <mx:DataGridColumn headerText="Operator" dataField="opera" id="ope"/>
        <mx:DataGridColumn headerText="Value" dataField="val" id="valu"/>
        <mx:DataGridColumn headerText="Condition" dataField="cond" id="condt"/>
      </mx:columns>
      </mx:DataGrid>
      <mx:Button x="99" y="373" label="AND" width="52" click="andSubmit()" id="and" color="#FFFEFE" fillAlphas="[0.6, 0.4, 0.75, 0.65]" fillColors="[#FFFFFF, #CCCCCC, #EEEEEE, #EEEEEE]" borderColor="#B7BABC" themeColor="#009DFF"/>
      <mx:Button x="154" y="373" label="OR" width="49" click="orSubmit()" id="or" color="#FFFEFE" fillAlphas="[0.6, 0.4, 0.75, 0.65]" fillColors="[#FFFFFF, #CCCCCC, #EEEEEE, #EEEEEE]" borderColor="#B7BABC" themeColor="#009DFF"/>
      <mx:Label x="7" y="291" text="TYPE" width="59" fontWeight="bold"/>
      <mx:Label x="5" y="319" text="DISPLAY" width="59" fontWeight="bold"/>
        </mx:Canvas>
      </mx:Form>
    </mx:Accordion>
    </mx:Application>

    Ok... but I am a little confused (sorry to be a nuisance ),
    my delete function within my webService requires an ID to be
    passed from the Flex application, thus when a row is selected, the
    ID of the selected row is taken, so when the Delete button is
    pressed it sends this ID to the webService where it is taken and
    used - and therefore deleting the row etc.....
    Do you mean to define the result handler for the deleteOPG
    operation in the main webService tag, i.e. :
    <mx:WebService id="wsData" wsdl=http://...?wsdl>
    <mx:operation name="getRes" result="handleWSR(event)"/>
    <mx:operation name="deleteOPG"
    result="handleWSR_deleteOPG(event)"/>
    </mx:WebService>
    and then call it in my delete function, passing the ID from
    my delete function to my new result handler function ??? :
    Thanks,
    Jon.

  • JFileChooser in Applet hangs ie7 and vm

    Hello
    First of all, excuse my poor english.
    In my website I have a problem with an applet.
    This applet is used to select files from the client computer.
    My JRE version is 1.5.0_10 Java HotSpot(TM) Client VM
    The browser is IE 7
    The OS is WinXP SP2
    First time the page is loaded works fine, but when the page is reloaded it crashes when it makes a new instance of JFileChooser.
    This hangs the ie and the vm.
    I've tried it in other computer that uses the 1.5.0_07 and ie 7, and it works fine.
    This is the code:
    shpFileChooser = new javax.swing.JFileChooser();
    shpFileChooser.setFileSelectionMode(javax.swing.JFileChooser.DIRECTORIES_ONLY);
    int retOutbox = shpFileChooser2.showOpenDialog(null);
    if(retOutbox==JFileChooser.APPROVE_OPTION){
    path = shpFileChooser2.getSelectedFile().getPath();
    else {
    path = "";
    Please Help me.

    I'm also have the problem with JFileChooser spiking the CPU in an applet -- with JRE 6 Update 2, which I just installed (did not happen with Update 1).
    When new JFileChooser() is hit, the CPU usage spikes to 100% for about 15 seconds until the control appears. Then as I navigate through folders, I get a similar spike for each click.
    This is happening for both IE7 and FireFox 2.0.0.5 on WinXP SP2.
    Any insights are much appreciated.

  • Flash hangs because of too many nested symbols

    I am trying to create an Flash application where areas expand
    when the user pushes a button which pushes the rest of the GUI down
    as it expands. To accomplish this, I have every line of the GUI (it
    is a chart-looking interface) nested in the symbol above it,
    creating nested movieclip, inside of nested movieclip, etc. This
    way when the user clicks to expand the section to view more
    details, it will move down all the symbols. Eventually this causes
    my Mac g5 to hang indefinitely when trying to put the last groups
    together.
    Do you think it is the many nested symbols that are causing
    this? They go as far as 9 deep sometimes. My 400KB fla file will
    end up taking 1 GB of memory and spiking the CPU at 100%, and, of
    course, is not responding. Thank you.

    Make an official bug report on this. I and a few others have
    experienced the identical problem, using PCs, but are unable to
    supply sample files for Adobe to test due to confidentiality
    restrictions. If you can supply Adobe with your sample file, maybe
    they can figure out the problem and fix it.
    By the way, the problem never occurred for me in previous
    versions of Flash.
    Please report it here ASAP:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Maybe you are looking for

  • HT201318 How can i get a refund from storage i purchased?

    Last week, I was unable to upgrade to IOS 6 on my iPhone. I purchased more storage ($40/25GB) via iCloud storage plan. However, storage doesn't seem to be the problem. I no longer feel that I need extra storage. Please tell me how I can get a refund

  • How to pass  Goods receipt date in calling  BAPI_INB_DELIVERY_CONFIRM_DEC?

    Hi all experts, In my case ,I want to use FM:BAPI_INB_DELIVERY_CONFIRM_DEC to post the inbound delivery .  I want to pass goods receipt date when calling this fm. according to fm documentation as below,can use HEADER_DEADLINES to do it ,but in coding

  • OSB -How to communicate with a Asynchronous SOAP Service using OSB

    Hi, I am new to OSB and I need some help in working with Asynchronous SOAP Service. Test Case : OSB --> Proxy Service --> Business Service-->External Service pointing to Asynchronous service WSDL. While testing the proxy service using sb console i do

  • How to determine endpoint bandwith utilization

    Hi, I occasionally see large amounts of traffic saturating WAN links between a centrally located WLC and any one of several remote access points.  Most of the traffic on the remote APs is locally switched (flexconnect) but there are a couple of SSIDs

  • Microsoft Word   = I need some help . .

    We have Microsoft word for mac on our two G4's. Many times we get double spacing on a document for one line or a text b ox or something else when importing data or cut and pasting from another document. How can I go into word, figure out what is goin