Too many backlog in DMA FIFO

Hi I am using DMA FIFO for data aquisition. When I only have the data showing on the front panel, the data value is reasonable and the backlog value is around 3. But when I have the write to measurement file block in the block diagram, the back log value will rise to several thousands. How should I make the change to the program to reduce the backlog.
Attachments:
fpgaAcquire.vi ‏108 KB
fpgaAcquire(host).vi ‏187 KB
DMA_FIFO.lvproj ‏193 KB

Buddy Haun wrote:
I looked at your code and you don't have the code you are using to write to disk on this block diagram. I would make sure that your loop time on the fpgaAcquire.vi is set to microseconds instead of ticks which it is currently set to. I would try the TDM Streaming vi's with the Open File and Close file outside the loop so that you are not opening and closing the file inside the loop. There are examples of TDM Streaming in example finder. Lastly if the TDM Streaming cannot be used due to file format restrictions or if it is still not fast enough you may need to create a second loop and use queue vi's to transfer the data. This will allow you to read multiple points from the queue using the flush queue function writing multiple points to the file at once. You will still probably need to open and close the file outside of the second loop. Look at some the Write Datalog File Example.vi to see how to do this.
I did some experiment on the FPGA period. When I set it to be below 400 usec, the data looks almost the same. But when I set it to be above 500 usec. The period of the signal displayed on the screen seems to be multiplied by some constant, and the constant is not proportional to the FPGA period. I will agree with you on using TDMS streaming outside the loop and I will try it.

Similar Messages

  • NI 9862 and DMA FIFO

    Hi to you all. We're trying to compile a FPGA file with 3 DMA into the project and a NI 9862 into the RT part (cRio 9116). During the compilation process we always have this error: Too many sets of DMA control lines have been requested or some requests are conflicting
    We tried to follow the following solution (http://digital.ni.com/public.nsf/allkb/9B13EF13482F4EEC862578FE006EB4C2?OpenDocument) but we still have the same problem.
    We're running Labview 2012sp1.
    Regards

    Hello Domenico,
    Are you attempting to use the FPGA in hybrid mode with the scan interface? If you are, the scan interface requires 2 DMA channels, which could be the source of your error. I wasn't able to open your link, so my post may be off the mark.
    Ian K.
    Applications Engineer
    National Instruments

  • What have "Too many open Files" to do with FIFOs?

    Hi folks.
    I've just finished a middleware service for my company, that receives files via a TCP/IP connection and stores them into some cache-directory. An external program gets called, consumes the files from the cache directory and puts a result-file there, which itself gets sent back to the client over TCP/IP.
    After that's done, the cache file (and everything leftover) gets deleted.
    The middleware-server is multithreaded and creates a new thread for each request connection.
    These threads are supposed to die when the request is done.
    All works fine, cache files get deleted, threads die when they should, the files get consumed by the external program as expected and so on.
    BUT (there's always a butt;) to migrate from an older solution, the old data gets fed into the new system, creating about 5 to 8 requests a second.
    After a time of about 20-30 minutes, the service drops out with "IOException: Too many open files" on the very line where the external program gets called.
    I sweeped through my code, seeking to close even the most unlikely stream, that gets opened (even the outputstreams of the external process ;) but the problem stays.
    Things I thought about:
    - It's the external program: unlikely since the lsof-command (shows the "list of open files" on Linux) says that the open files belong to java processes. Having a closer look at the list, I see a large amount of "FIFO" entries that gets bigger, plus an (almost) constant amount of "normal" open file handles.
    So perhaps the handles get opened (and not closed) somehwere else and the external program is just the drop that makes the cask flood over.
    - Must be a file handle that's not closed: I find only the "FIFO" entries to grow. Yet I don't really know what that means. I just think it's something different than a "normal" file handle, but maybe I'm wrong.
    - Must be a socket connection that's not closed: at least the client that sends requests to the middleware service closes the connection properly, and I am, well, quite sure that my code does it as well, but who knows? How can I be sure?
    That was a long description, most of which will be skipped by you. To boil it down to some questions:
    1.) What do the "FIFO" entries of the lsof-command under Linux really mean ?
    2.) How can I make damn sure that every socket, stream, filehandle etc. pp. is closed when the worker thread dies?
    Answers will be thanked a lot.
    Tom

    Thanks for the quick replies.
    @BIJ001:
    ls -l /proc/<PID>/fdGives the same information as lsof does, namely a slowly but steadily growing amount of pipes
    fuserDoesn't output anything at all
    Do you make exec calls? Are you really sure stdout and stderr are consumed/closed?Well, the external program is called by
    Process p = Runtime.getRuntime().exec(commandLine);and the stdout and stderr are consumed by two classes that subclass Thread (named showOutput) that do nothing but prepending the corresponding outputs with "OUT:" and "ERR" and putting them into a log.
    Are they closed? I hope so: I call the showOutput's halt method, that should eventually close the handles.
    @sjasja:
    Sounds like a pipe.Thought so, too ;)
    Do you have the waitFor() in there?Mentioning the waitFor():
    my code looks more like:
    try  {
         p = Runtime.getRuntime.exec(...);
         outshow = new showOutput(p.getInputStream(), "OUT").start;
         errshow = new showOutput(p.getErrorStream(), "ERR").start;
         p.waitFor();
    } catch (InterruptedException e) {
         //can't wait for process?
         //better go to sleep some.
         log.info("Can't wait for process! Going to sleep 10sec.");
         try{ Thread.sleep(10000); } catch (InterruptedException ignoreMe) {}
    } finally {
         if (outShow!=null) outShow.halt();
         if (errShow!=null) errShow.halt();
    /**within the class showOutput:*/
    /**This method gets called by showOutput's halt:*/
    public void notifyOfHalt() {
         log.debug("Registered a notification to halt");
         try {
              myReader.close(); //is initialized to read from the given InputStream
         } catch (IOException ignoreMe) {}
    }Seems as if the both of you are quite sure that the pipes are actually created by the exec command and not closed afterwards.
    Would you deem it unlikely that most of the handles are opened somewhere else and the exec command is just the final one that crashes the prog?
    That's what I thought.
    Thanks for your time
    Tom

  • Fpga DMA FIFO compilation error

    Hello,
    I have a cRIO 9074 with FPGA. I am trying a simple piece of code to learn how to aquire data that is generated on the FPGA at a rate of 10 KHz and transfer it to the Host VI for processing it later offline. However, I encounter this compilation error when compiling this basic FPGA VI containing a FIFO
    write node (picture of the VI attached below). In the Compilation Report, it says that there were 256 Block RAMs used (the
    total number is 40), therefore an error was produced. The exact compilation error
    notification from the Xilinx report is reproduced below:
    # Starting program map
    # map -o toplevel_gen_map.ncd -intstyle xflow -timing toplevel_gen.ngd
    toplevel_gen.pcf
    Using target part "3s2000fg456-4".
    Mapping design into LUTs...
    Running directed packing...
    Running delay-based LUT packing...
    ERRORack:2310 - Too many comps of type "RAMB16" found to fit
    this device.
    ERROR:Map:115 - The design is too large to fit the device.  Please check the Design Summary section to
    see which resource requirement for your design exceeds the resources available
    in the device. Note that the number of slices reported may not be reflected
    accurately as their packing might not have been completed.
    NOTE:  An NCD file will still be
    generated to allow you to examine the mapped design.  This file is intended for evaluation use only,
    and will not process successfully through PAR.
    Mapping completed.
    See MAP report file "toplevel_gen_map.mrp" for details.
    Problem encountered during the packing phase.
    Design Summary
    Number of errors   :   2
    Number of warnings : 125
    ERROR:Xflow - Program map returned error code 2. Aborting flow
    execution...
    Bitstream Not Created
    Timing Analysis Passed
    What does this mean? How can I fix this error?
    Thank you,
    Bogdan
    Solved!
    Go to Solution.
    Attachments:
    FPGA.png ‏16 KB

    Sorry, I forgot to mention that...LAbVIEW 2009. And yes, this is the only loop on the FPGA.vi. I just made up this code to understand how exactly I would save some data on the host for subsequent processing, but I didn't get to that point because the VI on the FPGA does not compile successfully. Do you know of any example of the most basic code for DMA FIFOs between the FPGA and Host Computer? This should be pretty straight forward, but for some reason it's not.
    Thanks,
    Bogdan

  • Toshiba DT01ACA050 too many bad sectors on first 5 months

    Hi Good day,
    I bought a toshiba internal drive 500gb(sealed) from my friend but after weird behavior on my pc I found out that it has too many bad sectors detected by HD tune pro and HDsentinel. He insisted that the drive is in good condition because it was 
    sealed thus he don't cover it for personal warranty and further instructed that I must be the one to RMA it but dont know how I live in the Philippines and don't have experience rma'ing a hard drive yet. Also it's weird coz it shows a different product model (Hitachi) instead of Toshiba DT model as seen on my hard drive cover.
    Win7 32bit
    foxconn h55 
    core - i3
    tru rated power supply 500w
    other hdd wd 500gb
    *Additional info 
    Hard Disk Summary
    Hard Disk Number,0
    Interface,"S-ATA Gen3, 6 Gbps"
    Disk Controller,"Standard Dual Channel PCI IDE Controller (ATA) [VEN: 8086, DEV: 3B20]"
    Disk Location,"Channel 1, Target 0, Lun 0, Device: 0"
    Hard Disk Model ID,Hitachi HDS721050DLE630
    Firmware Revision,MS1OA650
    Hard Disk Serial Number,MSK423Y20Y68LC
    Total Size,476937 MB
    Power State,Active
    Logical Drive(s)
    Logical Drive,H: [MUSIC-MOVIES-BACKUP]
    Logical Drive,H: [MUSIC-MOVIES-BACKUP]
    ATA Information
    Hard Disk Cylinders,969021
    Hard Disk Heads,16
    Hard Disk Sectors,63
    ATA Revision,ATA8-ACS version 4
    Transport Version,SATA Rev 2.6
    Total Sectors,122096646
    Bytes Per Sector,4096 [Advanced Format]
    Buffer Size,23652 KB
    Multiple Sectors,16
    Error Correction Bytes,56
    Unformatted Capacity,476940 MB
    Maximum PIO Mode,4
    Maximum Multiword DMA Mode,2
    Maximum UDMA Mode,6 Gbps (6)
    Active UDMA Mode,6 Gbps (5)
    Minimum multiword DMA Transfer Time,120 ns
    Recommended Multiword DMA Transfer Time,120 ns
    Minimum PIO Transfer Time Without IORDY,120 ns
    Minimum PIO Transfer Time With IORDY,120 ns
    ATA Control Byte,Valid
    ATA Checksum Value,Valid
    Acoustic Management Configuration
    Acoustic Management,Not supported
    Acoustic Management,Disabled
    Current Acoustic Level,Default (00h)
    Recommended Acoustic Level,Default (00h)
    ATA Features
    Read Ahead Buffer,"Supported, Enabled"
    DMA,Supported
    Ultra DMA,Supported
    S.M.A.R.T.,Supported
    Power Management,Supported
    Write Cache,Supported
    Host Protected Area,Supported
    Advanced Power Management,"Supported, Disabled"
    Extended Power Management,"Supported, Enabled"
    Power Up In Standby,Supported
    48-bit LBA Addressing,Supported
    Device Configuration Overlay,Supported
    IORDY Support,Supported
    Read/Write DMA Queue,Not supported
    NOP Command,Supported
    Trusted Computing,Not supported
    64-bit World Wide ID,0050A3CCCD7F5346
    Streaming,Supported
    Media Card Pass Through,Not supported
    General Purpose Logging,Supported
    Error Logging,Supported
    CFA Feature Set,Not supported
    CFast Device,Not supported
    Long Physical Sectors (8),Supported
    Long Logical Sectors,Not supported
    Write-Read-Verify,Not supported
    NV Cache Feature,Not supported
    NV Cache Power Mode,Not supported
    NV Cache Size,Not supported
    Free-fall Control,Not supported
    Free-fall Control Sensitivity,Not supported
    Nominal Media Rotation Rate,7200 RPM
    SSD Features
    Data Set Management,Not supported
    TRIM Command,Not supported
    Deterministic Read After TRIM,Not supported
    S.M.A.R.T. Details
    Off-line Data Collection Status,Successfully Completed
    Self Test Execution Status,Successfully Completed
    Total Time To Complete Off-line Data Collection,4444 seconds
    Execute Off-line Immediate,Supported
    Abort/restart Off-line By Host,Not supported
    Off-line Read Scanning,Supported
    Short Self-test,Supported
    Extended Self-test,Supported
    Conveyance Self-test,Not supported
    Selective Self-Test,Supported
    Save Data Before/After Power Saving Mode,Supported
    Enable/Disable Attribute Autosave,Supported
    Error Logging Capability,Supported
    Short Self-test Estimated Time,1 minutes
    Extended Self-test Estimated Time,74 minutes
    Last Short Self-test Result,Never Started
    Last Short Self-test Date,Never Started
    Last Extended Self-test Result,Never Started
    Last Extended Self-test Date,Never Started
    Security Mode
    Security Mode,Supported
    Security Erase,Supported
    Security Erase Time,98 minutes
    Security Enhanced Erase Feature,Not supported
    Security Enhanced Erase Time,Not supported
    Security Enabled,No
    Security Locked,No
    Security Frozen,Yes
    Security Counter Expired,No
    Security Level,High
    Serial ATA Features
    S-ATA Compliance,Yes
    S-ATA I Signaling Speed (1.5 Gps),Supported
    S-ATA II Signaling Speed (3 Gps),Supported
    S-ATA Gen3 Signaling Speed (6 Gps),Supported
    Receipt Of Power Management Requests From Host,Supported
    PHY Event Counters,Supported
    Non-Zero Buffer Offsets In DMA Setup FIS,"Supported, Disabled"
    DMA Setup Auto-Activate Optimization,"Supported, Disabled"
    Device Initiating Interface Power Management,"Supported, Disabled"
    In-Order Data Delivery,"Supported, Disabled"
    Asynchronous Notification,Not supported
    Software Settings Preservation,"Supported, Enabled"
    Native Command Queuing (NCQ),Supported
    Queue Length,32
    Disk Information
    Disk Family,Deskstar 7K1000.D
    Form Factor,"3.5"" "
    Capacity,"500 GB (500 x 1,000,000,000 bytes)"
    Number Of Disks,1
    Number Of Heads,1
    Rotational Speed,7200 RPM
    Rotation Time,8.33 ms
    Average Rotational Latency,4.17 ms
    Disk Interface,Serial-ATA/600
    Buffer-Host Max. Rate,600 MB/seconds
    Buffer Size,32768 KB
    Drive Ready Time (typical),? seconds
    Average Seek Time,? ms
    Track To Track Seek Time,? ms
    Full Stroke Seek Time,? ms
    Width,101.6 mm (4.0 inch)
    Depth,147.0 mm (5.8 inch)
    Height,26.1 mm (1.0 inch)
    Weight,450 grams (1.0 pounds)
    Required power for spinup,"3,300 mA"
    Power required (seek),7.0 W
    Power required (idle),5.0 W
    Power required (standby),2.0 W
    Manufacturer,Hitachi Global Storage Technologies
    Manufacturer Website,http://www.hgst.com

    Hi! Sense no one is replying. If your getting bad sectors; it's time to save your data and replace your HD. It's only a matter of time before your HD fails.
    Dokie!!
    PS I'm feeling a little crazy tonight. Nice friend you have (not)
    I Love my Satellite L775D-S7222 Laptop. Some days you're the windshield, Some days you're the bug. The Computer world is crazy. If you have answers to computer problems, pass them forward.

  • Number of elements in target to host DMA FIFO

    Hi everyone,
    I'd like to transfer a set of datapoints from a FPGA to a RT-host controller using a DMA fifo. If I use the "Get Number of Elements to Write" function on the FPGA target, do I get the total number of elements in both buffers, or just the one on the FPGA-target?
    (see http://zone.ni.com/reference/en-XX/help/371599H-01​/lvfpgaconcepts/fpga_dma_how_it_works/)
    Solved!
    Go to Solution.

    What type of data do you want to transfer over the FIFO? As in how many bits does each sample contain.
    The reason I ask is because you can take a bit packing approach.
    Lets take for example you want to take two samples of a measerment both samples are 32 bit and then send the data as a set to the processor.
    If you just dump the data into a single FIFO you may lose track as to what was the rising edge, or falling edge data, or if the two samples you got from the FIFO are even from the same dataset.
    To fix this use bit packing technique.
    On the FPGA merge your two 32 bit data sets into one 64bit dataset. 
    Set your FIFO to 64 bits.
    On the processor side of things all you need to do is read one 64bit dataset from the FIFO.
    Use the split data to break the 64bit into two 32bit data fields. 
    Now you have your two data samples, and you can be garentee that it is from the same dataset.
    If the sum of the data bits exceed 64 bits (the limit of the FPGA FIFO) then you will need to migrate to a more complex bit packing data schema where the data is split up among multiple 64bit datafields, with a defined bitfield header and identifier. For example the first 5 bits of the 64bit data identifies that this data block is 1 out of X data blocks, that when combinded together and reasembeled per the schema will represent your data..
    I hope this helps.

  • Unable to create report. Query produced too many results

    Hi All,
    Does someone knows how to avoid the message "Unable to create report. Query produced too many results" in Grid Report Type in PerformancePoint 2010. When the mdx query returns large amount of data, this message appears. Is there a way to get all
    the large amount in the grid anyway?
    I have set the data Source query time-out under Central Administration - Manager Service applications - PerformancePoint Service Application - PerformancePoint Service Application Settings at 3600 seconds.
    Here Event Viewer log error at the server:
    1. An exception occurred while running a report.  The following details may help you to diagnose the problem:
    Error Message: Unable to create report. Query produced too many results.
            <br>
            <br>
            Contact the administrator for more details.
    Dashboard Name:
    Dashboard Item name:
    Report Location: {3592a959-7c50-0d1d-9185-361d2bd5428b}
    Request Duration: 6,220.93 ms
    User: INTRANET\spsdshadmin
    Parameters:
    Exception Message: Unable to create report. Query produced too many results.
    Inner Exception Message:
    Stack Trace:    at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.ExtractReportViewData()
       at Microsoft.PerformancePoint.Analytics.ServerRendering.OLAPBase.OlapViewBaseControl.CreateRenderedView(StringBuilder sd)
       at Microsoft.PerformancePoint.Scorecards.ServerRendering.NavigableControl.RenderControl(HtmlTextWriter writer)
    PerformancePoint Services error code 20604.
    2. Unable to create report. Query produced too many results.
    Microsoft.PerformancePoint.Scorecards.BpmException: Unable to create report. Query produced too many results.
       at Microsoft.PerformancePoint.Scorecards.Server.Analytics.AnalyticQueryManager.ExecuteReport(AnalyticReportState reportState, DataSource dataSource)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportBase(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer, String formattingDimensionName)
       at Microsoft.PerformancePoint.Scorecards.Server.PmServer.ExecuteAnalyticReportWithParameters(RepositoryLocation analyticReportViewLocation, BIDataContainer biDataContainer)
    PerformancePoint Services error code 20605.
    Thanks in advance for your help.

    Hello,
    I would like you to try the following to adjust your readerquotas.
    Change the values of the parameters listed below to a larger value. We recommend that you double the value and then run the query to check whether the issue is resolved. To do this, follow these steps:
    On the SharePoint 2010 server, open the Web.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\Web Services\PpsMonitoringServer\
    Locate and change the the below values from 8192 to 16384.
    Open the Client.config file. The file is located in the following folder:
    \Program Files\Microsoft Office Servers\14.0\WebClients\PpsMonitoringServer\
    Locate and change the below values from 8192 to 16384.
    After you have made the changes, restart Internet Information Services (IIS) on the SharePoint 2010 server.
    <readerQuotas
    maxStringContentLength="2147483647"
    maxNameTableCharCount="2147483647"
    maxBytesPerRead="2147483647"
    maxArrayLength="2147483647"
                  maxDepth="2147483647"
    />
    Thanks
    Heidi Tr - MSFT
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Too many columns to be shown in the Enterprise Manager 11g?

    Hello,
    we are having some problems with the Enterprise Manager 11g. When we want to VIEW DATA of a specific table, we get this exception. We think that our table has too many columns to be displayed. If we delete some of the columns, the data is shown in the enterprise manager. But this cannot be a solution for us. Can you help us with this point?
    2009-08-03 10:07:04,210 [EMUI_10_07_04_/console/database/schema/displayContents] ERROR svlt.PageHandler handleRequest.639 - java.lang.ArrayIndexOutOfBoundsException: -128
    java.lang.ArrayIndexOutOfBoundsException: -128
         at oracle.sysman.emo.adm.DBObjectsMCWInfo.getSqlTimestampIndexes(DBObjectsMCWInfo.java:194)
         at oracle.sysman.emo.adm.schema.TableViewDataBrowsingDataSource.executeQuery(TableViewDataBrowsingDataSource.java:167)
         at oracle.sysman.emo.adm.DatabaseObjectsDataSource.populate(DatabaseObjectsDataSource.java:201)
         at oracle.sysman.emo.adm.DatabaseObjectsDataSource.populate(DatabaseObjectsDataSource.java:151)
         at oracle.sysman.emo.adm.schema.DisplayContentsObject.populate(DisplayContentsObject.java:369)
         at oracle.sysman.db.adm.schm.DisplayContentsController.onDisplayAllRows(DisplayContentsController.java:303)
         at oracle.sysman.db.adm.schm.DisplayContentsController.onDisplayContents(DisplayContentsController.java:290)
         at oracle.sysman.db.adm.schm.DisplayContentsController.onEvent(DisplayContentsController.java:136)
         at oracle.sysman.db.adm.DBController.handleEvent(DBController.java:3431)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:205)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:121)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:109)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:153)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)When we select the table via SQL, everything works fine.

    Hi,
    I'm Galit from the QE team of VIN.
    All the things that you've described are correct.
    It is actually an edge case where the only VM, that the manual App can be managed from its Map view, was removed from the App.
    The Manual App management is as designed, and may be changed in the future.
    There are 2 ways to overcome this situation:
    1.You can, as you stated, create another Manual App with similar name and remain with the "Zombie App".
    2. To run a specific command that will remove the Zombie App from the DB.
    Please note that option no. 2 involves using an API that we do not publish.
    If you would like to use option no. 2 contact me in private and we will see about supplying the relevant commands to run in order to delete the "zombie" application.
    Thanks,
    Galit Gutman

  • Router connection problems - DISH satellite receivers or too many devices?

    (Sorry about that - I thought I had broken the message up.)
    I'm having significant issues with my Linksys router timing out, and need help. I'll try to be as detailed as I can.
    I have the following:
    - Linksys WRT54G v3 wireless router I purchased off eBay 3-4 years ago. Using 128-bit WEP secirity. Even though the model says WRT54G, my Linksys setup page says I have a WRT54GL. Don't know if that's pertinent but thought I'd include the info)
    - HP desktop running Vista Home Premium
    - Gateway Solo laptop (circa 3Q 2002) running WinXP SP3, and also have WPC54G - Wireless-G Notebook Adapter
    - Gateway M275 Notebook running Windows XP Tablet Edition w/SP3, internal wireless card
    - Linksys WRE54G Wireless Range Expander, v3
    My broadband internet connects to my cable modem, which then runs via ethernet to my router. I have my desktop connected to my router via (wired) ethernet cable (port 1), and the two laptops connect wirelessly. All three computers on my network run just fine and have had no connection issues until I had two (2) DISH satellite receivers installed this past Friday.
    Prior to installation, I knew I would need the two receivers hooked up to my network via ethernet cable. Since one receiver was in the same room as my router, it was easy to run an ethernet cable from my router to the receiver (port 2). I had a challenge with the upstairs receiver, because I didn't have a direct connection, and wasn't sure how to wire it. So, I used my range expander by plugging in the expander into a nearby outlet, then connecting the receiver to the expander via ethernet cable.
    I had some issues getting a good signal, and did some troubleshooting but made it work. Now I had five devices connected to my router: two with a wired ethernet cable and three wirelessly.
    I started having connection timeouts within about 3-4 hours of satellite [receiver] installation. All of the sudden I couldn't connect to the internet on ANY device; both laptops couldn't connect wirelessly, my desktop couldn't connect, and the receivers were telling me my connection was bad. I checked modem but there were no issues. Still, I unplugged the power cable from the modem for a minute, then reconnected - still no internet. I called my cable company to have them troubleshoot the modem, but they pinged it several times & got positive results - still no internet, so I ruled the modem out.
    I tried using the Windows connection troubleshooter to repair the problem, and got a DNS error message (which I don't know how to fix). I decided to unplug my router for 10-15 seconds, then plug back in - that got my internet connection going again. That lasted a couple hours & then failed. I unplugged the router again (is that a soft reset or a power cycle?), then reconnected & was able to connect to the internet. This happened a few more times over the weekend, and finally I decided the expander might be the issue (both DISH and Linksys tech support was not very helpful).
    I found a way to wire my second receiver via ethernet cable (port 3), so now I had three wired devices, and two wireless devices. I thought this would fix the problem; it didn't, but at least I learned how to wire CAT5 cable. So I got that going for me... which is nice.
    I plugged the ethernet cable directly from my modem to my desktop to test the timeout, but had no issues - the modem just wasn't the problem.
    I was getting some IP address conflicts on my Norton Inernet Security, so I uninstalled that from my desktop, disconnected the power from the modem, disconnected the power from the router, shut down all devices, reset the IP addresses on the receivers, deleted the wireless connection from the laptops, shut down the desktop, and just left the whole mess alone for half a day. Then I reinstalled the Norton Internet Security, connected my wired devices, plugged the modem in, plugged the router in, reset my security, connected wirelessly with my laptops.
    Within an hour my connection timed out.
    Trying to chat with tech support wasn't feasible, as my connection kept going out. A guy at work said I shoudl ping my IP address, and let it repeat until my connection goes out. So I unplugged the router and plugged it back in to get an internet connection, the opened a cmd prompt and typed
    ping 192.168.1.1 -t
    I left it alone for a few hours, and when I came back, my internet connection was down, but I was still getting active pings - no problems there.
    At this point I thought I had done everything except replacing my router (which I'm still tempted to do), but I called my broadband provider to see if there was anything they could do. One of the techs said I had too many devices connected to the internet, but I thought these routers were supposed to handle dozens of devices?
    I finally called Linksys Tech Support and had a conversation for 90 minutes. We went through all the steps of unplugging the the modem, router & all connected devices, resetting the router, etc, etc. The only thing different he did was had me change my security from WPA to 64-bit WEP, and added passwords for DNA1 and DNS 2 (same password for each).
    That was at 1:30am last night, and when I woke up to check my connection this morning, it was still connected. I have to check it again when I get home, but I'm wondering if I should just be prepared to get another router (and if so, any recommendations), or if there's something I'm still not doing that could resolve my issue - if I still have connection losses.
    Also, I'm concerned about the security thing. If changing from WEP 128 or WPA to WEP 64 fixed my problem, I'm not sure I feel completely protected from intrusion - isn't that pretty much the least amount of security I can have (without forgoing it altogether)??
    Finally, I've read a few threads suggesting possibly changing to static IP from DHCP; however, my satellite receiver installation documentation specifically advises against this for the receivers.
    Anyway, I would very much appreciate some help.
    Message Edited by CKdoubleU on 10-01-2008 08:43 AM

    First please break that long text into separate paragraphs. No one wants to read one long runon sentences
    With Knowledge… Impossible means nothing.
    Credentials
    Computer experience: 11 years
    Cisco networks experience: 8 years
    Network administrator: 6 years
    N.E.T. networks experience: 6 years
    Linksys networks experience: 6 years
    Recent additions: A+ | Networks+ | Linux+ | Security+

  • Too many connections - even after closing ResultSets and PreparedStatements

    I'm getting a "Too many connections" error with MySQL when I run my Java program.
    2007-08-06 15:07:26,650 main/CLIRuntime [FATAL]: Too many connections
    com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Too many connections
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:921)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:812)
            at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3269)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1182)
            at com.mysql.jdbc.Connection.createNewIO(Connection.java:2670)I researched on this and found out that I wasn't closing the ResultSet and the PreparedStatement.
    The JDBC connection is closed by a central program that handles connections (custom connection pooling).
    I added the code to close all ResultSets and PreparedStatements, and re-started MySQL as per the instructions here
    but still get "Too many connections" error.
    A few other things come to mind, as to what I may be doing wrong, so I have a few questions:
    1) A few PreparedStatements are created in one method, and they are used in a 2nd method and closed in the 2nd method
    does this cause "Too many connections" error?
    2) I have 2 different ResultSets, in nested while loops where the outer loop iterates over the first ResultSet and
    the inner loop iterates over the second ResultSet.
    I have a try-finally block that wraps the inner while loop, and I'm closing the second ResultSet and PreparedStement
    in the inner while loop.
    I also have a try-finally block that wraps the outer while loop, and I'm closing the first ResulSet and PreparedStatement
    in the outer while loop as soon as the inner while loop completes.
    So, in the above case the outer while loop's ResultSet and PreparedStatements remain open until the inner while loop completes.
    Does the above cause "Too many connections" error?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The following is relevant sections of my code ( it is partially pseudo-code ) that shows the above 2 cases:
    init( Connection jdbcConnection ){
       String firstSQLStatement = "....";
       PreparedStatement ps1 = jdbcConnection.prepareStatement( firstSQLStatement );
       String secondSQLStatement = "....";
       PreparedStatement ps2 = jdbcConnection.prepareStatement( secondSQLStatement );
       String thirdSQLStatement = "....";
       PreparedStatement ps3 = null;
       ResultSet rsA = null;
       try{
            ps3 = jdbcConnection.prepareStatement( thirdSQLStatement );
            rsA = ps3.executeQuery();
            if( rsA.next() ){
                   rsA.getString( 1 );
       }finally{
            if( rsA != null )
                   rsA.close();
            if( ps3 != null )
              ps3.close();
       //Notice, how ps1 and ps2 are created here but not used immediately, but only ps3 is
       //used immediately.
       //ps1 and ps2 are used in another method.
    run( Connection jdbcConnection ){
         ResultSet rs1 = ps1.executeQuery();
            try{
               while(rs1.next()){
                    String s = rs1.getString();
                    ps2.setString(1, s);
              ResultSet rs2 = ps2.executeQuery();
                    try{
                   while(rs2.next()){
                        String s2 = rs2.getString();
                    }finally{
                   if( rs2 != null )
                     rs2.close();
                   if( ps2 != null )
                     ps2.close();
         }catch( Exception e ){
              e.printStackTrace();
         }finally{
            if( rs1 != null )
                  rs1.close();
               if( ps1 != null )
                  ps1.close();
    //Notice in the above case rs1 and ps1 are closed only after the inner
    //while loop completes.
    }I appreciate any help.

    Thanks for your reply.
    I will look at the central connection pooling mechanism ( which was written by someone else) , but that is being used by many other Java programs others have written.
    They are not getting this error.
    An addendum to my previous note, I followed the instructions here.
    http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html
    There's probably something else in my code that is not closing the connection.
    But I just wanted to rule out the fact that opening a PreparedStatement in one method and closing it in another is not a problem.
    Or, if nested ResultSet loops don't cause the problem.
    I've read in a few threads taht "Too many connections" can occur for unclosed RS and PS , and not just JDBC connections.

  • An embarrassment of riches - too many tablets! Should I consolidate and get an iPad Air?

    Currently I have the following tablets:
    - Nexus 7 2013 wifi only
    - iPad 2 32 GB wifi + cellular, but no longer in contract
    - iPad 1 wifi + cellular, no longer in contract
    - an extra iPad 1, also wifi + cellular, not in contract that I got for free for helping somebody with some computer stuff
    That same friend who gave me the iPad 1, wants to upgrade from his iPad 4th generation to an iPad Air, and he want to give me his 4th G iPad for free. It is a 64 GB wifi only model.
    The reason I never upgraded beyond the iPad 2 was because all the later models got thicker and heavier, and I thought my iPad 2 was already too heavy, which is why I got my Nexus 7. I hardly touch my iPad 2 these days. They are both within arm's reach, but the Nexus 7 is easier to hold, and allows voice input, which I often find convenient, and most of the time I reach for it. I like the voice input on my iPhone 5 too, and I feel like something is "missing" when I pick up my iPad 2. Plus it feels like it weighs a ton next to the Nexus 7.
    Well, anyway I have too many tablets. And soon I'll have the iPad 4th G. So I was thinking of selling the iPad 2, the two iPad 1s and the iPad 4 and getting an iPad Air, wifi + cellular with a data sharing plan with my iPhone 5. After all, compared to the iPad 2, the iPad Air is (1) lighter, (2) has Siri, (3) has a retina display, (4) has much better specs and (5) now the cellular model is universal, so if I take a trip to the U.S. it would be easier to use there.
    Yet there are things I now prefer about my Nexus 7 with Android 4.4 over iOS 7. Like it has better sharing features, the ability to send all kinds of attachments, more customization, better "hooks" into the UI from 3rd party apps, the ability to choose your own default mail apps and browsers. It seems just more flexible overall. And the Facebook app runs "smoother" than on my iPad 2.
    But I like iOS 7 too.
    I wonder if I would use an iPad Air any more than I do my iPad 2 since it is lighter than the recent iPads. The screen being larger might make reading magazines and news sites easier. And Siri is still better than the Android voice dictation in my opinion. Or will the weight and size actually keep driving me back to the Nexus 7?
    I guess I still haven't found the right place in my life for using a tablet for anything other than casual use. I don't want to get into a religious argument about whether tablets are production devices versus consumption devices, but basically I am in the camp that does not see them as true productivity devices. My iMac is for that.
    Conundrums, conundrums. I do have too many "devices" right now though. Within an arm's reach I can count 12 computers, tablets and phones all on wifi! Who needs that much stuff?!
    And if I do get the iPad Air, do I need 128 GB? The way they sell here in Japan, you don't put any cash down at all, and basically get an interest-free loan for 2 years. So "for just a few hundred yen more a month" you can go from the 32 GB model to the 64 GB model. And then "for just a few hundred yen more a month" you can go to the 128 GB model. It seems a waste not to get the 128 GB model. But in my current iPad 2 I only use a little more than half the current 32 GB.
    Decisions, decisions. Any thoughts?
    doug

    The weight is somewhat of an issue for me. I find the iPad 2 irritatingly heavy whenever I pick it up, and the iPad 4th generation is heavier even than my iPad 2.
    But for the amount I use it I could get used to that. That option is certainly the least headache, contract-wise, and I would avoid the ever-present possibility of dealing with AppleCare if something is "not perfect" (which it never is).
    I guess the only "practical" reason would be that I would be getting rid of all my iPads with a cellular option. So if I did make a trip to the U.S. in the spring, it would be harder to use the iPad 4. Here, in Japan, of course I could use the free tethering option on my iPhone 5.
    So I guess it is just the cellular option I'm giving up that is in the back of my mind.
    doug

  • "Too Many Real Instruments"

    I am posting this in the '09 topic, but my question really dates back to Garageband '08. I rely on Garageband often, and I'm a big fan of it. However, it contains a serious problem which I need fixed.
    I create a new project, drop a single iTunes song into it, and begin to edit. Almost every time, randomly while playing the song the "Part of the project was not played. This project has too many real instrument tracks to be played in real-time" warning message appears. I only have 1 track! Worse still, my audio driver lets out a terrible "HONK" which startles me and blasts through the entire house. After that, My sound output faintly exists until I open up Audio MIDI Setup and change a random setting on my output.
    I am quite tired of this predicament. Is there anyway to fix this (without money)?

    I was experiencing a similar problem, and I just got off the phone with applecare and went through all their steps.
    I'll try my best to recount them here. But before I do, let it be said that the tech fellow, once he heard what I was doing, exclaimed that my core problem was that I needed to be creating new projects, and not re-using the same project (ex. "My Song 2") over and over.
    What I've been doing is backing up a pile of mini-discs that have live concerts on them. A couple of hours of audio each one, and I've been recording them into Garageband. After I divide the concert up into songs and export them to itunes, I've been deleting the track in Garageband and then importing the next concert (repeat x 10 concerts).
    About 7-8 concerts in I started getting that popping sound when the sound would cut out (made the sound of depressing the safety-seal bubble on the metal lid of a jam jar). At first, quitting Garageband and opening it again would work. On the 10th concert, when the sound cut out the sound for the whole computer would stop working (itunes, volume buttons on my keyboard, everything).
    So the tech fellow said the lesson is this: create new projects. Don't be shy about it. No need to re-use and recycle in cyberspace.
    Now - my applecare steps:
    - First we went: Macintosh HD, Library, then dragged "Caches" to the trash
    - then went to Finder, Go, Utilities, Disk Utility, Macintosh HD, Repair Disk Permissions (that took some time)
    - then restarted the computer
    All seems to be well now.
    Good luck

  • Too many real instruments for a new project?

    I keep getting the notification which says "Part of the project was not played - This project has too many real instrument tracks to be played in real-time".
    BUT the problem is that this occurs even when I open a new garageband file (i.e. no tracks!) and I'm only 3 seconds into recording the first track! So garageband is basically not working for me. I've tried uninstalling and reinstalling it to no avail. Just a few months back I was still able to use it comfortably to do edit many different tracks together so I really don't know what the problem is. I don't really know if its a problem with the processor as I barely use the memory on my macbook pro and even when recording CPU usage doesn't go above 20% so I'm really at a loss. Please help!

    Oh apple support asked me to try that out too but it did not work.. In fact for some of the suggestions they gave (eg using a different user, or even locking the track) it only managed to extend the period of recording to about 10 seconds before the problem resurfaced and after that it was back to the same 3 second problem.
    But that is an important clue, Josiah. If you cannot even record properly from a different user account with basic settings, we know that the settings in your user account cannot be causing this - this looks like system wide trouble.
    You could run a hardware check over night, to check your hardware:
    Intel-based Macs: Using Apple Hardware Test
    and if the hardware check does not show any problems, I'd reinstall Mountain Lion.
    See Linc Davis's post on how to reinstall: Re: Garageband doesn't open in Mac Mini mid 2011
    Regards
    Léonie

  • My ipod touch won't let me download apps, it tells me that I have too many photos and videos but I haven't got any photos or videos at all.

    My ipod touch 4g keeps telling me that I have too many photos and videos and will not let me download apps.  I have deleted all the photos and videos and some of my old apps but it keeps telling me the same message.  I have tried to sync it with the pc and I have turned it on and off and I have reset it but nothing has worked.  Please help!  Thank you

    Go to Setting>General>About. oow much avaialbe storage do you have?
    Have you tried resetting the iPOd?
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.

  • I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,00 songs and They are all in my music folder..What can I do to fix this issue?

    I'm having a huge issue with itunes locating my missing files..and it's too many for me to locate 1 by 1..It says I'm missing over 3,000 songs and They are all in my music folder..What can I do to fix this issue? I've looked at all the tutorials on youtube and none of it works. I recently got a new computer and I Back-Up all my music and itunes playlist and I import it on my new computer with the new itunes and I go to play a few songs, it says I'm missing them I locate a few but it's still like 3,000 missing and again they are all on the computer and in one folder..Please Help !

    I did that and nothing changed half my songs still have examination marks beside them
    I also just tried dragging my folder of music int he playlist and it duplicated all of my songs? My playlist was at 5k now it's at 10k becuz of 3 duplicates of songs. Is there a way to delete multiple duplicate files?

Maybe you are looking for

  • Canon S9000 no longer works with iPhoto 6.0.4

    I installed 6.0.4 and now, when I select my Canon S9000 in the dialog box and press Print, another network printer {B&W] is selected. I can print to the Canon from other applications, but not iPhoto. Help??

  • Will the MacBook Pro (15-inch Glossy) (Model # MA601LL) be enough for me?

    Hello all, I am new to this forum and to Macs in general and I have some questions regarding a refurbished MacBook Pro that I am interested in purchasing and whether or not it will be sufficient for my needs. First, here is the link for the specs on

  • Where did my movies go?

    I just got a new windows laptop and am in the process of transfering my library from one computer to the next.  The first thing that I did was download all of the information that I have in the cloud.  (5 movies and some music).  Then I went to my ot

  • Accordion tabs w/panel sub-nav - default open issues

    I have a spry accordion in a left sidebar, and I'm using it as navigation for a slideshow for a website I'm working on. Each of my 5 accordion tabs has a different category of slideshow, with each panel having multiple sub-navigation links that each

  • Moto X 2013 problem unlock bootloader

    nope the bootloaders stay locked...  The software on the phone belongs to ATT its just licenced to you for use.