Oracle Time Out - This is very interesting

We have run across a very curious situation. We have a series of statements (1 update, 1 insert, 1 call to a package) wrapped in a begin/end block. About 1 percent of these grouped statement timeout every day. Further research showed that only statements that were 2005 bytes long would time out. Even more strange was that if we retried the statement (in code; immediately after the time out occured) it would execute right away. The same statement pasted into SQL Plus (2005 bytes) completed instantly. Any thoughts on this? I have seen a number of postings discussing timeouts and mysterious random events like this but I have yet to see one explained.

First some questions:
* Is the database on the same machine as the JDBC client? If not, does the same problem occur on all clients?
* Does the problem only occur for your specific statements, or any set of statemensts that are 2005 bytes? Can you reproduce it with statements that don't make any modifications to the database?
* What JDBC drivers are you using? Have you tried the latest versions (ojdbc14.jar for Oracle). Are you using THIN or OCI? Can you try the other mechanism?
I presume you're talking about Oracle here. One of your best bets would be to use Oracle's trace facilities. If you're using OCI driver then you can do client side tracing (I think). You can also do server side tracing. You might identify what kind of conversation is occurring during the timeouts.
While I'm pretty sure this isn't going to be your problem, figured I'd share my story with you.
A number of years ago we had a client server database app that suffered a similar problem: A certin statement always failed with an Oracle network error message (although I'm not sure it was a timeout). We also discovered it was any statement of an exact byte size (the amount escapes me).
It turned out we had a network switch that dropped packets of an exact byte size. There was a bug in its OS. The manufacturer name also escapes me. Anyway, we uncovered the problem by using the "ping" command to ping the exact same packet size. The ping always failed. Note that we had to adjust the byte size passed to the ping command to account for the additional bytes added to the packet by ping.
Tim

Similar Messages

  • I live in Thailand, for the past two weeks when I try to search any topic I get the message "conecting to w3.mict.go.th" and then it times out; this occurs whenever I try to search anything; weird.

    I think since I downloaded the latest version of Firefox the problem started; about 2 weeks ago, and I cannot make any search because I am redirected to " w3.mict.go.th" which then times out. So I have been using IE to search, and firefox seems to work fine other than the search function.

    @Dakotaep
    I am so sorry to hear of your experience with purchasing your new Samsung Galaxy Note 3!  This definitely should have been resolved in your first call to us.  I would be glad to review your account and ensure the Edge Agreement is corrected.  Please accept my "Follow" request and send me a direct message so I can further assist.  Thanks!
    AnthonyTa_VZW
    Follow us on Twitter VZWSupport on Twitter.

  • ORACLE Time Out problem - Please Help

    Hi All
    I am working on an application which needs to handle the sql error code -3113 ("end-of-file on communication channel").
    When the application (PRO C) gets a -3113 error from the database it should run a series of steps.
    To simulate this feature i shutdown the database (not the listener).
    The problem that i am facing is this.
    In some databases the SQL query returns immediately with an -3113 error when the database is down. In others it takes well over 8 minutes to return. Why is this? Cant i reduce this time?
    Regards
    David

    Hi,
    How do you shutdown the DB when you run this test ?
    Are there active sessions in the instance ?
    Paolo

  • Time out fail over

    On this system:
    OS: Solaris 10 11/06 s10s_u3wos_10 SPARC
    Cluster version: 3.1u4
    A- Normally after how much time resource is moved to the other node if ipmp fails (e.g. gateway is unreacheable) ?
    B- What happens if ipmp fails in both server ? packages are kept on their nodes ?
    C- Does it exist timeout over 10 minutes in cluster configuration ?

    u have 2 options - u could increase the back end time out to a very large value so that server can wait rather than timing out rather than failing over or to do some thing like
    <Object name=�default�>
    NameTrans fn=map from=/ name=reverse-proxy-/
    </Object>
    <Object name=�reverse-proxy-/�>
    Route fn=set-origin-server server=server1
    ObjectType fn=http-client-config timeout=600
    </Object>
    see - http://docs.sun.com/app/docs/doc/820-4841/gdhrg?a=view
    ( or simply disable any fail over but have different individual servers distributing load across different application)
    split your uri or application so that each application goes to 1 back end server. for example, let us say - u have 2 java applications that u would like jboss to do the job for you, u could do some thing like
    now, u could edit your obj.conf or (<vs>-obj.conf) depending on your configuration so that it looks like this
    <Object name=�default�>
    NameTrans fn=map from=/ name=reverse-proxy-/
    </Object>
    <Object name=�reverse-proxy-/�>
    <If $uri =~ /foo1>
    Route fn=set-origin-server server=<&#349;erver1>
    </If>
    <If $uri =~ /foo2>
    Route fn=set-origin-server server=<&#349;erver2>
    </If>
    </Object>
    btw - i will file a RFE on your behalf for this feature.

  • Time out in preselection criteria

    Hi
    We are facing a time out issue when we try to select a filter in the preselection criteria for infoObject       0EMPLOYEE__0COMP_CODE
    For example, we execute a query and the preselection screen appears. We stand up in the
    Depl Company Code  (0EMPLOYEE__0COMP_CODE) selection button (or press F4) and the report doesn't respond anymore and after a couple of minutes...time out
    This is happening in quality and production environment
    Can you give us a hand to understand this?
    Which could be the possible cause of this?
    Thanks a lot for your help!

    Hi;
    Select the 0EMPLOYEE_0COMP_CODE.
    Then go to Advance tab.
    Confirm that you have "Posted Values" and "Only Posted values for navigation".
    If this doesn't solve it change the last one to "Only Values in Inpoprovider".
    Should be good in the variable is in the Characteristic Restriction area then Default values.
    Your performance will improve.
    Regards;
    Ricardo

  • GENIUS TIMES OUT

    I use itunes 9 on my imac G5 running, 10.4.11, when I changed my mac password. my sign in on genius times out, this does not happen on my powerbook G4 running 10.5.6, Why? can someone please Help.

    I do not know what happened, but problem righted itself.

  • My email on hotmail does not load. Server times out

    When i attempt to log on to my hotmail account once i have logged in the emails do not load and the server times out. this has happened on other websites also. This a brand new computer.

    Hi Ryan, this has worked for a few...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7 & 10.8…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.
    Also, turn off IPv6:
    System Preferences » Network » AirPort » TCP/IP tab » Configure IPv6
    Or whatever Interface you use.
    http://support.apple.com/kb/HT2712

  • Toshiba 48L1433DB - USB time out problems

    My USB Ports are not shown on my Source list and I have a "time-out" problem.
    If I put a stick in either USB port the media page loads automattically and everything works perfectly but then switches off after an hour or so (on-screen message shows empty port has switched on).
    I then have to disconnect the stick and reload it before I can start watching again (Have to fast forward to place where disconnect happened but have to stop every now and then to prevent time out re-occuring)
    Very puzzling

    Originally Posted by [email protected]
    My USB Ports are not shown on my Source list and I have a "time-out" problem.
    If I put a stick in either USB port the media page loads automattically and everything works perfectly but then switches off after an hour or so (on-screen message shows empty port has switched on).
    I then have to disconnect the stick and reload it before I can start watching again (Have to fast forward to place where disconnect happened but have to stop every now and then to prevent time out re-occuring)
    Very puzzling
    At first you should make sure, that it is not caused by the stick type and/or file format.
    Did you check with a stick from another vendor ? Also, does it happen with every file type, or related to certain formats ?

  • When i put in a compact flash card iphoto automaticaly comes up to import my photos. I have to exit out of iphoto to use the editing softwear that i prefer to use every time. It is very annoying. How do i prevent this from happening?

    When i put in a compact flash card iphoto automaticaly comes up to import my photos. I have to exit out of iphoto to use the editing softwear that i prefer to use every time. It is very annoying. How do i prevent this from happening? I have looked in system prefereces....maybe i am over looking something, Thanks

    iPhoto Menu -> Preferences -> General -> Connecting Camera opens.... And select your preferred app.
    You can also make the same choice in the Image Capture (in your Applications Folder) and Aperture preferences.
    Regards
    TD

  • My Verizon iPhone 5 has very slow upload speeds that causes my apps to time out.  Is anyone else experiencing this?  It only happens on 4g.

    My Verizon iPhone 5 has very slow upload speeds that causes my apps to time out.  Is anyone else experiencing this?  It only happens on 4g. 

    Then Restore your iPhone Firmware with iTunes on computer. See if better. If not, talk to Verizon and see if they know of the problem and if there is a fix. If not, then make Genius reservation and take iPhone to Apple for resolution under Warranty.

  • JDBC connection to Oracle 10g RAC periodically times out

    I've been banging my head against the wall for months now and can't figure out why this is and what's causing it.
    We have 6x CF8 servers in our environment. 3 of which work perfectly and the other 3 have the following problem. All 6 machines were installed at the same time and followed the exact same installation plan.
    When I configure Oracle RAC data source, some of the machines time-out connecting to Oracle from time-to-time.
    Config:
    Solaris 9 on both CF and Oracle
    CF8 Enterprise with the latest updater.
    Apache 2 (not that it's relevant)
    6 machines, load-balanced (not clustered), identical install and configuration.
    data source config:
    JDBC URL: jdbc:macromedia:oracle://10.0.0.3:1521;serviceName=dbname.ourdomain.com;AlternateServers= (10.0.0.4:1521);LoadBalancing=true
    DRIVER CLASS: macromedia.jdbc.MacromediaDriver
    The problem:
    Every few minutes, CF starts hanging requests that deal with a specific RAC only data source. After about 30 seconds, all requests bail and generate this error in cfserver.log:
    A non-SQL error occurred while requesting a connection from dbsource.
    Timed out trying to establish connection
    This happens with any RAC data source on the "bad" servers while the "good" servers don't have this problem. The "bad" server doesn't have any problems with direct (non-rac) Oracle data source.
    Already tried:
    Moving server connections around on a switch (rulling out bad switch port)
    Copying driver from the healthy server (but it's the same installer anyway)
    Changed from RAC to normal Oracle type data source - works perfectly. So at the moment I have 3 servers connecting to a specific oracle instance and the other 3 connecting to RAC.
    Tried googling and searching forums and even Oracle metalink - nothing I could see relevant to this.
    It's a shame that after spending a ton of money on CF8 upgrades and Oracle RAC, we can't really utilize fail-over on the database connection.
    Any takers?
    Thanks,
    Henry

    I have the following in my CLASSPATH:
    C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\jdbc.jar;
    C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;
    C:\Ora10g1\product\10.2.0\db_1\jlib\jndi.jar;
    C:\Ora10g1\product\10.2.0\db_1\jlib\orai18n.jar;
    Still 'Cannot find type 'oracle.jdbc.pool.OracleDataSource'
    Thanks

  • SMTP very slow/errors and times out in mail.app

    I have a series of account set up that are working great except for my work mail (exchange IMAP). The server it's on is pretty slow, and this is complicated in mail app as I get constant SMTP send errors "the server rejected the address...." it's very intermittent - I can have an hour where everything sends just fine, and others where it just doesn't work. Connection doctor takes at least 10 seconds to successfully connect.
    Is there a way to adjust the time out value on mail.app so that it doesn't immediately fail to send?

    Let us separate between the intermittent SMTP errors and the slowing down for the time being. What happens (and how long it takes) when you open a shell and connect to the SMTP server ? For example, try something like this:
    ]# telnet smtp.google.com 25 (if your smtp server is imap google)
    try to send a simple message and see how long it takes, e.g.
    helo smtp.google.com
    --

  • My safari crashes each time i open my yahoo mail. this is very frustrating. what should i do?

    my safari crashes each time i open my yahoo mail. this is very frustrating. what should i do?

    Same here :-(
    Safari works fine for all sites but as soon as I login to mail.yahoo.com and enter my login/password then I get the spinnig color wheel. Force quit is the only way out. I beleive my Mail Yahoo was working fine last month (started having this issue a couple weeks ago).
    I am using Safari Version 5.1.1 (7534.51.22) and have normal plugins (quick time, divx, google earth, iphotophotocast, java, shockwave)
    iMac OS X 10.7.2

  • SAP SNC Portal DCM screen performance is very slow and times out

    Friends,
    SAP SNC Portal DCM screen performance is very slow and times out when user trying to pull data using customer location
    What are the cleanup activites we can do to improve the overall SNC performance ?
    We did open OSS message but so far no reply from SAP , Is there any one faced performance issue ?
    User/vendor is complaining about slowness , query is standard SAP and its taking more time  .(table - /LIME/NTREE) , It looks like number of data are huge causing this problem related to LIME/NTREE table. What are the options to improve the performance ?
    Thanks in Advance
    Hanuman Choudhary

    hi Team,
    Pls . note the advise from SAP below, IS there any have experiance of archiveing /LIME records ?
    Please advise how to start & what the steps in archiving ?
    Thanks in advance
    I had a look at the DCM query performance in PH1 system and figured out
    that most of the time is spent at the LIME layer of database. The
    following LIME tables are having far too many entries and is causing
    the bottleneck during the query execution.
    /LIME/NLOG_QUAN - 38,165,467
    /LIME/PN_ITEM - 19,116,518
    /LIME/PN_ITEM_TB - 19,154,124
    These tables are storing the historical information about LIME(stock)
    updates. Since these table grow with each change/update of stock
    information, it will slow down the performance of the system over a
    period of time. And to avoid the slow responses, the tables should
    ideally be archived on a periodic basis to keep the data volume as
    minimal as possible. You may have to discuss with the Business to
    determine the number of days of LIME record you would want to retain
    in the system. I would strongly recommend you to consider the LIME
    archival retaining the minimum days (<=60 days) of historical
    information. You can find more information about the Lime Archival
    in the Sap Help link:
    http://help.sap.com/saphelp_scm2007/helpdata/en/44/2a83121dde23d1e10000000a1553f7/frameset.htm.
    Kindly get in touch with your BASIS consultant for the LIME archival.
    The application performance should definitely improve after the LIME
    archival. Please do not hesitate to get in touch with me in case you
    require any further clarification in this regards.
    Best Regards

  • Transaction on Oracle 9i data source connection times out before JTA transaction

    Hello,
    I have a MDB with a long-running transaction (3600 second timeout).
    In the MDB, I make a call to another EJB that has its transaction
    attribute set to NotSupported (I do this because I need
    non-transactional semantics in the called method).
    If the EJB call take more than about a minute to complete, then I get a
    datasource error when using the data source in the MDB after the return
    (see error at bottom). However, if the call completes quickly, then I do
    not get this error. It seems like the datasource connection somehow
    times out, but I don't see where I can change this timeout.
    pseudocode:
    // timeout set to 3600 seconds
    transactional MDB onMessage() {
    // receive connection from Oracle BEA driver
    // myEJB performLongOperation has transaction attribute
    // set to NotSupported
    String result = myEJB.performLongOperation();
    // use connection from Oracle BEA driver
    If the performLongOperation takes more than about a minute, then I get
    the following error when using the connection after the operation:
    Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
    valid start() failed on resource 'Oracle IDENT Connection Pool':
    XAER_NOTA : The XID is not valid
    javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
    Error Occurred. Native Error: 24756
    at
    weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
    at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
    at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
    at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
    at
    weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
    urceInfo.java:1075)
    at
    weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
    sourceInfo.java:1007)
    at
    weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
    ourceInfo.java:218)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
    rverTransactionImpl.java:419)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
    at
    weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
    250)
    at
    weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
    at
    weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
    a:80)
    at
    weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)

    Thanks for the reply.
    I don't have contract customer support access with BEA, and thus I can't
    download the patch. Is there any other workaround for this?
    Thanks
    Slava Imeshev wrote:
    Steven,
    Please check this:
    http://www.viewtier.com/newsgroups/thread.jspa?threadID=20&tstart=0
    Hope this helps.
    Regards,
    Slava Imeshev
    "Steven Ostrowski" <[email protected]> wrote in message news:40cf35cc@mktnews1...
    I have a MDB with a long-running transaction (3600 second timeout).
    In the MDB, I make a call to another EJB that has its transaction
    attribute set to NotSupported (I do this because I need
    non-transactional semantics in the called method).
    If the EJB call take more than about a minute to complete, then I get a
    datasource error when using the data source in the MDB after the return
    (see error at bottom). However, if the call completes quickly, then I do
    not get this error. It seems like the datasource connection somehow
    times out, but I don't see where I can change this timeout.
    pseudocode:
    // timeout set to 3600 seconds
    transactional MDB onMessage() {
    // receive connection from Oracle BEA driver
    // myEJB performLongOperation has transaction attribute
    // set to NotSupported
    String result = myEJB.performLongOperation();
    // use connection from Oracle BEA driver
    If the performLongOperation takes more than about a minute, then I get
    the following error when using the connection after the operation:
    Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
    valid start() failed on resource 'Oracle IDENT Connection Pool':
    XAER_NOTA : The XID is not valid
    javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
    Error Occurred. Native Error: 24756
    at
    weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
    at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
    at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
    at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
    at
    weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
    urceInfo.java:1075)
    at
    weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
    sourceInfo.java:1007)
    at
    weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
    ourceInfo.java:218)
    at
    weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
    rverTransactionImpl.java:419)
    at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
    at
    weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
    250)
    at
    weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
    at
    weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
    a:80)
    at
    weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)

Maybe you are looking for

  • Can you add new file extensions to be treated as C source?

    Hi, using Sun Studio 9, is it possible to add a new file extension to those treated as C sources? I can see how to do it for header files (Options -> IDE Configuration -> System -> Object Types -> C and C++ Header Data Objects -> Extensions and MIME

  • Adobe is installed web ask to install ,flash-player shows disable plugin is enable

    I have exhausted my search for an answer. some of my friends want talk to me. Hewiett-Packard Windows 7 Browser Google Chrome version 20 FlashPlayer version 11 Adobe 32 bitt Control panel  shows FlashPlayer 11/Reader 11.0.02/Shockwave 12.0 Plugins Ad

  • App-V Re-Cache of Applications?

    Hi There We have a fairly serious issue with existing App-V applications delivered to our clients via SCCM 07 when we migrate to 2012.  Scenario: App-V apps delivered and cached on clients in the SCCM 2007 cache.  App-V Apps launched from this cache

  • Do apex supports self registration

    Do apex supports self registration? so new users enter their information and then they are added to system as users .. Each time they login to system they enter the user name and password that they register with..

  • Desktop autrhentication logon with Azure (or LDAP server)

    Hi, We are a small business company with 1 server with AD DS role (Windows 2012 server) and ~10 laptops (Windows 8.1 Pro). We want to get rid of our server and are thinking about moving to Windows Azure AD (or any cloud based LDAP server). Is there a