Streams Help - Stuck in PAUSED FOR FLOW CONTROL

Hi All,
I am brand new to Streams and i'm trying to configure streams between two db's on different machines on the same network. Initially i was getting errors trying to connect to the remote database during Propagation(ORA-02019 connection description for remote database not found ). I think this was due to my db link being created incorrectly. I recreated my db link and i'm no longer getting those messages.
Now everything on my Source db looks like it's running except the Capture state is stuck in PAUSED FOR FLOW CONTROL and nothing is being propagated. The propagation process is enabled and i can see it in the dba_jobs views. I have never gotten this working yet.
Does anyone have general troublshooting tips for this. I have found detailed instructions on how to setup the stream but not much on how to troubleshoot.
Any advise would be greatly appreciated.
null

This error was due to a 'bad' database link. I'm still not positive why the link was bad but i recreated my db link and tested. After i confirmed it was active I re-setup my capture and propagation processes and all is good now.
thanks, dave

Similar Messages

  • Paused for Flow Control but no flow occurring

    10.2.0.2
    Our destination database had problems this AM and it was bounced. The capture process on the source went into "Paused for Flow Control" status and never recovered. Here's the process I went through.
    1. There was nothing being propagated according to v$propagation_sender.
    2. The apply process was running but was not receiving any messages according to v$streams_apply_reader, v$streams_apply_server
    3. I stopped and restarted the apply process - no change.
    4. I stopped and restarted the capture process and after the dictionary initilization it went back into the paused state.
    5. alter logs showed nothing for either database.
    6. dbms_propagation_adm.stop_propagation resulted in an ORA-24082
    I finally had to run dbms_propagation_adm.stop_propagation with force=>true and restart it for data to start flowing again, albeit slowly.
    So the question is - why? Why did I have to forcefully stop the propagation process and restart it when this is all supposed to be seamless? Is this expected behavior that others have run into and the proces you need to perform whenever your destination becomes unavailable for a time period?
    Just curious.
    Thanks - Brian

    I've tried setting up a Streams for schema replication and have run into the "Paused for Flow Control issue". I'm not getting any streams errors so i don't know what's wrong with it.
    I'm not that familiar with Streams so i'm not sure where to start to diagnose the problem. I used the Enterprise Manager to set up the streams and tried stopping and restarting the capture process but i'm still getting the "Paused for Flow Control issue". Where is the best place to start to look for a solution?
    Thanks!

  • Need help with LabVIEW code for motor control.

    Hi,
    My name is Sasi. I am a BME grad student working on my thesis topic of evaluating spine implants for low back pain. For this I am building a test machine that would apply pure moments to a spine specimen. I am using LabVIEW 8.5 to implement control of a brushless AC servo motor. My requirement is,
    Step 1: Initialize the motor.
    Step 2: Start moving it at a uniform RPM to the right (This RPM value too user can enter).
    Step
    3: While doin Step 2; simultaneously read torque cell data (Using DAQ
    asst.). DAQ o/p is from 0 V to 10 V; 0 V being -10 Nm n
                10 V being  +10 Nm
    Step 4: When Torque value reaches +10 Nm, i.e 10 V, the motor stops.
    Step
    5: From the position where motor stopped (i.e no need to reset to
    initial position) Start moving in the opposite direction at the same
                uniform RPM as in Step 2 while reading torque cell data.
    Step 6: Once again when torque reaches -10 Nm, i.e. 0 V, the motor should stop.
    Step 7: Repeat 'Step 2' to 'Step 6' 3 times.
    Step 8: Reset motor postion.
    Till now I have managed to get the motor to move forward n backward @ a desired vel, accl, n deceleration for 3 cycles. I am attaching my code. I am having problem inserting the code for reading DAQmx amidst all this. Can anyone help me out.
    Thnks,
    Sasi.
    Solved!
    Go to Solution.
    Attachments:
    Test_012609.vi ‏35 KB

    Hi Sasidhar,
    I took a look at your problem and I think I have a workable solution for you.  I definitely agree with Lynn's suggestion of using parallel loops.  This will allow the DAQmx portion to run uninhibited by the motion portion, and vice versa.  Plus, you only need to iterate the motion loop whenever the voltage level crosses a threshold.  So, by iterating on the motion code in the same loop that you are iterating on DAQmx code, you are essentially wasting processor.
    I created a VI that should do what you are wanting.  I tested it out myself and it works great.  You might have a tweak a few things to apply to your system (like motion board ID and DAQmx physical channel, etc.).  I used two parallel loops and event-based programming.  Basically the motion loop starts the motor spinning at the specified velocity.  Once the motor is spinning, it waits for the DAQmx loop to tell it that the voltage value has crossed the threshold.  When the voltage value exceeds the maximum threshold (which I set to a value slightly less than 10 to allow for jitter and saturation), the DAQmx loop signals the motion loop that it can finish its iteration.  The motion loop stops the motion, reverses the direction, and starts the motion again.  Once motion has started, it again waits for the DAQmx loop to tell it that a threshold has occurred, but this time, it is looking for a minimum threshold.  I used "Occurrences" to implement the event-based programming in LabVIEW.
    I have commented the code rather thouroughly, so hopefully the comments will answer any remaining questions.  The benefit of using event-based programming for this is that you save processor time, and your motion is more closely synchonized with the DAQmx.  Instead of iterating the motion loop as fast as you can, checking for updates each time, you just pause it, and wait for the other loop to tell you when to start up again.  In the mean time, the processor doesn't have to worry about iterating that loop over and over again.  Also, when the occurrence does occur, you catch it immediately, instead of having to wait until the next iteration.  Thus, you are more closely synchronized with the DAQmx portion of the code.
    I hope this will help you.  Please post back if you have any questions about the code or its implementation.  Good Luck!
    Message Edited by Wes P on 02-03-2009 05:18 PM
    Wes P
    Certified LabVIEW Developer
    Attachments:
    Motion and DAQ.vi ‏59 KB
    DAQmx Loop.png ‏24 KB
    Motion Loop.png ‏17 KB

  • ORA-25307: Enqueue rate too high, flow control enabled

    I am stuck. I have my stream setup and they were previously working on two of my dev environments well. Now when I get the streams setup the CAPTURE process has a state of "CAPTURING CHANGES" for like 10 seconds and then changes to state "PAUSED FOR FLOW CONTROL". I believe this is happening because the PROPAGATION process is showing an error of "ORA-25307: Enqueue rate too high, flow control enabled".
    I don't know what to tweak to get rid of this error message. The two environments are dev databases and there is minimal activity on them so i don't think it's a case of the APPLY process is lagging behind the PROPAGATION process. Has anyone run into this issue?? I've verified my db link works, my stream admin user has dba access. Any help or advise would be greatly appreciated.
    thanks, dave

    As rule of thumb, you don't need to set GLOBAL_NAME=TRUE as long as your are 100% GLOBAL_NAME compliant.
    So, setting GLOBAL_NAME=TRUE will not have any effect if your dblink is not global_name compliant
    and if your installation is global_name compliant, you don't need to set GLOBAL_NAME=TRUE.
    The first thing when you diagnose is to get the exact facts.
    Please run this queries both on source and target so that to see what are in the queues and where.
    Run it multiple time to see if figures evolves.
    - If they are fixed, then your Streams is stuck in its last stage. As a cheap and good starting point, just stop/start the capture, propagation and target apply process. Check also the alert.log on both site. when you have a propagation problem, they do contains information's. If you have re-bounced everything and no improvement then the real diagnose work must start here but then we know that the message is wrong and the problems is elsewhere.
    - if they are not fixed then your apply really lag behind for what ever good reason, but this is usually easy to find.
    set termout off
    col version new_value version noprint
    col queue_table format A26 head 'Queue Table'
    col queue_name format A32 head 'Queue Name'
    select substr(version,1,instr(version,'.',1)-1) version from v$instance;
    col mysql new_value mysql noprint
    col primary_instance format 9999 head 'Prim|inst'
    col secondary_instance format 9999 head 'Sec|inst'
    col owner_instance format 99 head 'Own|inst'
    COLUMN MEM_MSG HEADING 'Messages|in Memory' FORMAT 99999999
    COLUMN SPILL_MSGS HEADING 'Messages|Spilled' FORMAT 99999999
    COLUMN NUM_MSGS HEADING 'Total Messages|in Buffered Queue' FORMAT 99999999
    set linesize 150
    select case
      when &version=9 then ' distinct a.QID, a.owner||''.''||a.name nam, a.queue_table,
                  decode(a.queue_type,''NORMAL_QUEUE'',''NORMAL'', ''EXCEPTION_QUEUE'',''EXCEPTION'',a.queue_type) qt,
                  trim(a.enqueue_enabled) enq, trim(a.dequeue_enabled) deq, x.bufqm_nmsg msg, b.recipients
                  from dba_queues a , sys.v_$bufqm x, dba_queue_tables b
            where
                   a.qid = x.bufqm_qid (+) and a.owner not like ''SYS%''
               and a.queue_table = b.queue_table (+)
               and a.name not like ''%_E'' '
       when &version=10 then ' a.owner||''.''|| a.name nam, a.queue_table,
                  decode(a.queue_type,''NORMAL_QUEUE'',''NORMAL'', ''EXCEPTION_QUEUE'',''EXCEPTION'',a.queue_type) qt,
                  trim(a.enqueue_enabled) enq, trim(a.dequeue_enabled) deq, (NUM_MSGS - SPILL_MSGS) MEM_MSG, spill_msgs, x.num_msgs msg,
                  x.INST_ID owner_instance
                  from dba_queues a , sys.gv_$buffered_queues x
            where
                   a.qid = x.queue_id (+) and a.owner not in ( ''SYS'',''SYSTEM'',''WMSYS'')  order by a.owner ,qt desc'
       end mysql
    from dual
    set termout on
    select &mysql
    /B. Polarski

  • How to implement autotuning pid in labview in flow control process????

    I tried the same way as Example available in LabVIEW..... that is general auto PID simulator... But that didn't worked out for me.....

    The 'General Auto PID Simulator.vi' example uses the technique "PID Relay" feedback where it tries to calculate the PID values based on the relay feedback, but using the PID also in the loop:
    (http://zone.ni.com/reference/en-XX/help/370401H-01/lvpidmain/pidrelay_alg/)
    This technique works, but it requires initial PID parameters that will make the relay setpoint stable and it is able to obtain the results you are expecting.
    Now, for flow control, you can try the most classic techniques. Please use other shipping examples that start with "autotuning" and in special this:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\control\PID\Autotuning PID Online.vi
    In this VI, you can choose other techniques like open-loop step response, closed-loop step response and the original 'relay feedback' where it doesn't have a PID inside the estimation loop.
    Anyway, here you have more information about those techniques http://zone.ni.com/reference/en-XX/help/370401H-01/TOC4.htm.
    One more thing: keep in mind that depending on the plant parameters, a PID could not be suited for your application and a more complex controller need to be developed.
    Hope this can help you...
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • WL 8.1 - JMS Flow Control: How does it work

    I have been reading the documenattion on the way weblogic has its Flow
              Control setup. However I still have a few doubts. It would be great
              if some one can help.
              Background: I have a J2EE application deployed on the weblogic server
              (8.1 sp5) which connects as a Consumer to a Topic. On the other side I
              have a plain java application that acts as a producer and sends lots
              of small messages (about 300 bytes) out to the topic using
              MessageProducer.send() method.
              I would like to restrict the flow from this producer so that it waits
              if the consumers are unable to collect all messages from the topic.
              When I enable flow control, I can see log entries in my weblogic
              application that shows that it has beocme armed but it clears off the
              same second. However, I don't see any exceptions being raised at the
              producer side. How can I ensure that the producer is waiting x ms to
              send further messages across. I can't see anything at the producer
              side that would lead me to believe that the flow control is working. I
              also checked the properties for each of teh Session, Connection and
              COnnectionFactory attributes but could not come across any way where I
              could see that the producer knows about the quotas being implemented
              on the queue.
              Can someone throw some light?
              Thanks
              Vikash

    Hi,
              Except for the threshold log messages you mention, flow control is silent: no exceptions are thrown when a producer is flow controlled. Flow control simply slows down "send()" calls. You can control how long a flow controlled send() call will take via the connection factory settings. I suppose you can instrument your code to time the send() calls.
              Your statement "When I enable flow control, I can see log entries in my weblogic application that shows that it has beocme armed but it clears off the same second." is likely an indicator that flow control is working. You need to configure your thresholds to be farther apart if you want the flow control condition to last longer, and if you want to reduce the number of transitions in and out of flow-control.
              Tom
              P.S. The threshold settings in 8.1 also control paging. If you upgrade to a new version, then the threshold settings will only control flow-control. You will also likely get much much higher messaging performance - which can reduce the need for flow control.

  • Help with Pause for Duration while in a loop

    This is my first SP 2013 work flow so am uncertain how loops after the continuation of workflows.
    I have a loop as shown below. It is part of a workflow for a Question and Answer list.  This stage checks to see whether the question has been answered.  If it has, it sends an email to the person who asked the question.  If it has not,
    it checks to see if the Answer Due Date has passed, then it sends an email to the person who was assigned to answer the question.
    I want the person who is assigned to answer the question to get a reminder email every day, thus the Pause for Duration condition.  however, if the person answers the question after receiving the reminder, it seems like the workflow would be waiting
    a day before the  person who asked their question would get their email.   Or, since the entire workflow is set to start on list item being changed, would it start over at the beginning of the workflow and thus come to completion at the
    end of the first condition in the loop?  In other words how do loops work if the list item is changed and the workflow restarted?
    There are no mistakes; every result tells you something of value about what you are trying to accomplish.

    Sorry for not being clear.
    One trick that we do is using two workflows.
    One workflow will be primary workflow just like the one you have. This will be assigned to list library, then associated to start when an item is created, and start when an item has changed.
    The second workflow will start when an item has changed, the job of this workflow is just one / two liner to update a dummy field in your list library (you may choose to name as you want kindaof Flag).
    The logic behind this is when the primary workflow starts, it will run only once, we have to invoke again. To do so you have to update the list within primary workflow after it processed the steps, else better to have secondary workflow to update the
    list with some data.
    We are just tricking the system to start over again, that's it.
    see this thread for more information-http://social.technet.microsoft.com/Forums/sharepoint/en-US/7aca6aaa-cf77-46d2-a388-6fca7adae3a7/scheduled-workflow-possible-?forum=sharepointgeneral
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    My "fn" button is stuck on only revealing mission control in Lion. With this problem none of my "f" keys will work nor can I hold "fn" and delete to delete text in opposite direction. Can someone please help with this?

    Following the fix here worked for me:
    https://discussions.apple.com/message/15680566#15680566
    except my plist file was in ~/Library instead of /Library.
    -Scott

  • My HP office jet 6500 printer is stuck on pause. I do not have an admin name or password as it is a wireless printer and I never had to set one up.  It keeps asking me for admin name and password...

    My HP office jet 6500 printer is stuck on pause.  I do not have an admin name or password that it keeps prompting me to give, as it is a wireless printer and that info was not required when we set up the printer.  I have checked all diagnostics and connections and they are all good/passed.  I am so frustrated!!!    This has never happened in the past.

    What is asking you for an admin name and password? What does the dialog say, exactly?
    What model iMac are you using, and which OS version?
    If it is earlier than Lion or Snow Leopard, try deleting the printer and adding it again as explained in this document
    http://support.apple.com/kb/TS3140
    Otherwise you can "reset the printing system" as explained here
    http://support.apple.com/kb/HT1341
    and here
    http://support.apple.com/kb/TS3147
    Download the latest drivers here (Lion, Snow Leopard)
    http://support.apple.com/kb/DL907

  • My ipod touch kept crashing and not loading apps, syncing did not solve prblem so i did the 'restore' option. now it has been stuck 'verifying restore' for more than 8 hrs!! help

    i pod touch is stuck 'verifying restore' for the last 8 hrs... help??

    Try putting the iPod into DFU mode and restoring again:
    http://www.iclarified.com/entry/index.php?enid=1034
    If that still doesn't work, then the jailbreak may have cause a corruption which is now fatal; that's not uncommon with jailbroken devices. If that is indeed the case, your iPod may be irrecoverable and you'll be shopping for a new one.
    Good luck.

  • Just downloaded the 7.1 IOS update and I'm able to stream my music from the cloud. Does this use up data and how can I get it to stop pausing for periods of time?

    Just downloaded the 7.1.1 IOS update and I'm able to stream my music from the cloud. I'm wondering how I can stream more than just my purchased music?And does this use up data? Also, how can I get playback to stop pausing for periods of time? It is a wifi thing??

    If streaming music when connected to your carrier's cellular network, it uses cellular data.
    Only the music you purchased from the iTunes Store can be streamed unless you have purchased iTunes Match.
    If there is a slow down at the server where the music is stored or high traffic, steaming can be paused. You can also download a song from the iTunes Store cloud to your iPhone so it doesn't need to be steamed.

  • When I try to watch video, my computer is constantly pausing for buffering?!! Please help

    When I try to watch video, my imac is constantly pausing for "buffering"... I have a solid wireless connection.. Please help..

    More details bud... WHAT MBP version do you have? What movie player are you using....? Is it a AVI MP4 MKV? IS it a DVD???

  • HT201301 I recorded my friend singing a song, using Audio Memos app... I can't figure out how to burn it to a CD though?? Please HELP!! I've been stuck on this for a week now!!

    I recorded my friend singing a song, using Audio Memos app... I can't figure out how to burn it to a CD though?? Please HELP!! I've been stuck on this for a week now!!

    Did you try emailing the voice memo to yourself and then using a CD burning app on your computer?

  • Jumpy streaming once paused for more than 10 secs...

    Hello everyone,
    I have a player set up to stream live tv channels. It works fine except when paused for more than 10 secs or so, it continues to stream but very jumpy, as if we press on advance/rewind button.
    If you have any idea or have encountered the same problem, please share.
    Your input is very appreciated.
    Regards,
    Niusaul

    Hello,
    I am using FMS...
    I was able to fix it the problem.
    Thx ;-)

  • Help required in understanding the flow of control in working with EJB 3.0

    *1. Can anyone help me in understanding the flow after getting an object of InitialContext in using Stateless/Stateful in EJB 3.0 from client i.e. what we are getting in the step Object ref=jndiContext.lookup("CalculateBean/Remote) .*
    *2. What is the use of INITIAL_CONTEXT_FACTORY*
    *3. PROVIDER_URL*
    *4. Java.naimg.factory.url.pkgs*
    *5. why org.jboss.naming and org.jnp.interfaces separated by semi colon.*
    *6. Why we dont require INITIAL_CONTEXT_FACTORY, PROVIDER_URL and Java.naming.factory.url.pkgs if the client is a web client.*
    Properties p=new Properties();
              p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
              p.put(Context.PROVIDER_URL,"jnp://localhost:1099");
              p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
              Context jndiContext = new InitialContext(p);
         Object ref = jndiContext.lookup("CalculateBean/Remote");
    Calculate c = (Calculate)ref;
    int sum=c.add(3,4);
    System.out.println(sum);
    Thanx in advance........

    Annotations can also be processed at run time using the core reflection API (java.lang.Class & java.lang.reflect.*), so you might want to explore down that path. I have no idea how JBoss actually does it, but annotation processing at build time and core reflection at runtime are the two most obvious possibilities.
    Bruce

Maybe you are looking for

  • Can someone please tell me how to format a new disk to ZFS format?

    I have a Sun v240 with Solaris 10 update 8 installed on a single 73GB harddisk. Everything is working fine. I just purchased a another identical harddisk online. I plugged the disk into my v240 and ran 'devfsadm' and solaris found the new disk. I wan

  • Finder - Browse in List View, Finder - Browse in List View

    In Lion there are now a couple of options are available when you right-click on a Finder window and click on Show View Options: Always open in list view Browse in list view Whereas in Snow Leopard there is only one option: Always open in list view So

  • Multiple data loads in PSA with write optimized DSO objects

    Dear all, Could someone tell me how to deal with this situation? We are using write optimized DSO objects in our staging area. These DSO are filled with full loads from a BOB SAP environment. The content of these DSO u2013objects are deleted before l

  • Error opening the entities in the user role management

    I am trying the assign the models to the user in the user management page. But when  I try to expand the + symbol next to the model and open the entities, I get the error that the object reference is not set for a object server instance.Can you pleas

  • FAQ's, intros and memorable discussions in the Enhancements & Modifications

    Welcome to the SDN ABAP Enhancements and Modifications Forum! In addition to release dependent information avalaible by: - pressing the F1 key on an ABAP statement, - or searching for them in transaction ABAPDOCU, - using the [SDN ABAP Development Fo