Avoiding the idle connection timeout?

Our DBAs have implemented an idle connection timeout.
Is there an option in SQL-Developer to keep the connection alive by having it periodically send "dummy" commands to keep the connection alive?

Hi,
Even though there is no listing for it on the Third Party Extensions Exchange on the SQL Developer Community page here,
http://www.oracle.com/technetwork/developer-tools/sql-developer/community/index.html
a "Keep-Alive" extension exists and you may wish to try it. Here is the post for it on this forum:
SQL Developer Keep-Alive Extension Created!
If you don't wish to install an extension, an alternative is here:
How to reconnect without using the "keep alive" plug-in?
Regards,
Gary
SQL Developer Team

Similar Messages

  • DPS 6 idle connection timeout?

    Ok I must be blind... where is the idle connection timeout setting for DPS 6? I would assume in the connection handler. Migrating from v5 and in the old version its in the network group.

    Is this what you're looking for?
    $ dpconf help-properties | grep -i idle
    ldap-data-source monitoring-inactivity-timeout rwd 1s <= DURATION | unlimited Maximum time the availability monitor detects no activity before performing a search on the idle connection to keep it alive. (Default: 2m)
    ldap-listener connection-idle-timeout rwd DURATION | unlimited Maximum time a client connection can remain idle before being closed (Default: 1h)
    ldaps-listener connection-idle-timeout rwd DURATION | unlimited Maximum time a client connection can remain idle before being closed (Default: 1h)

  • ASA TCP Idle Connection Timeout Suspense

    Hello I upgraded our Cisco ASA 5520 with a Cisco ASA 5585. Though both ASA were configured with default TCP Idle Connection Timeout values people are now starting to complaint that idle SSH connections are being terminated. This is proper behavior but they were claiming it didn't occur with the old firewall. Our users are setting keepalives for 1800 seconds to get around this before I can bump the setting to infinite (setting 0). Is there a bug with the feature in older ASA OS?

    Hi,
    Before looking for a bug I would check the ASA logs (hopefully you are storing them to a separate Syslog server) and see why the connections are torn down (Teardown reason) and how long have they been on the ASAs connection table before they were torn down.
    You also have the option to perform traffic capture on the ASA for the traffic in question and confirm why or which party terminates the connection.
    I guess you can use the MPF on the ASA to configure separate idle timeouts for just these SSH Connections if you do not want to touch the global timeout values.
    I have not run into any problems with the timeout settings on the older softwares. In the newer softwares (8.3+) I have run into these problems. In those situation the ASA has not removed the connection that have reached the timeout value. I have seen connection that have been idle for over 1000h.
    - Jouni

  • My MacBook Pro persistently will not connect to my wireless router. The message "connection timeout" appears. What is a connection timeout and how can I fix?

    My MacBook Pro persistently will not connect to my MiFi Verizon wireless router. The message "connection timeout" appears. What is a connection timeout and how can I fix?

    Hi there terri900!
    You may want to try configuring your router settings to match the recommended settings for iOS and OS X devices, which can be found here:
    iOS and OS X: Recommended settings for Wi-Fi routers and access points
    http://support.apple.com/kb/ht4199
    You may also find some helpful information for troubleshooting this issue in this article, which can help you with any manner of issues with Wi-Fi connections:
    Wi-Fi Quick Assist
    http://support.apple.com/kb/HT1145
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Why do i keep getting the "internet connection timeout" error message?

    i have been upgrading a few standard itunes albums to itunes plus versions through my 3g mobile broadband connection, while not exactly a fast process, it was working fine until i started to get a backlog of 3 or 4 albums which were waiting in a queue to be downloaded, now every time i do the "check for downloads" option i get the "internet connection timed out" error message...this has been going on for 2 days! am i right in suspecting the backlog of albums is too much for my 3g mobile broadband connection? this is really doing my head in, if any of you techies could help me, it'd be much appreciated...?

    yes i have recently updated to itunes 8.2.1, but i am starting to think its apple's servers (i tried to download at my brothers house...different computer and connection...same connection timeout error), because it will still let me download an album, but not necessarily all of the tracks. when i questioned itunes customer services about the seemingly hit and miss state of affairs with downloading, they told me to wait 3 weeks before trying to download the tracks that were giving me the grief (2 tracks from an arctic monkeys album)...which kinda indicates they know there is a problem and are trying to fix it, why else would they say wait 3 wks??? they gave me 5 free music tracks too, which is handy.

  • Is it possible to adjust the extend connect timeout?

    When we have a cluster member down and the extend client tries to connect to it, there appears to be a minimum timeout of ~1 second. Is there any way of reducing this so that it is negligible?
    I have tried:
    <remote-cache-scheme>
         <scheme-name>remote-scheme</scheme-name>
         <service-name>ExtendTcpCacheService</service-name>
         <initiator-config>
              <tcp-initiator>
                   <remote-addresses>
                        <socket-address><address>localhost</address><port>10000</port></socket-address>
                   </remote-addresses>
                   <connect-timeout>1MS</connect-timeout>
              </tcp-initiator>
              <outgoing-message-handler>
                   <request-timeout>5s</request-timeout>
              </outgoing-message-handler>
         </initiator-config>
    </remote-cache-scheme>However, it still takes ~1 second to realise there is no socket there. Is this a machine level setting perhaps?
    (This is in a .Net extend client running under IIS)

    Hi all - I found  KRD Harris discussion regarding this question - no need to answer.
    Thanks.

  • Setting the server connection timeout, Mac Mail

    I have several POP accounts setup through Mac Mail and lately I've been running into problems where I can't send messages because of "two many simultaneous connections". I was told by my email host that it is likely caused by my email client maintaining an open connection with the server or idling, etc... I don't fully understand what they are referring to as I can't seem to locate any settings that pertain to this.
    A brief search shows this could be relevant to an IMAP account, but that is not how I configured them. Does anyone have any experience modifying how Mac Mail connects to the email servers, and closes the connection after send / receive is complete?
    Thanks
    Stephen

    Mail sent via att.net comes through as "via Yahoo" when I send something to Gmail, so I assume it's the case in California.
    I looked at all the headers.  Gmail is not involved nor would I expect it to be, at least when I send something.
    I got my info here:  ...
    Hmmm.  Looks like my yahoo servers still work but sometime in the last three years AT&T changed their server names to the ones on that page.  I just changed my server settings in Eudora (and also mail.app) to inbound.att.net and outbound.att.net and they work too.  I guess I'll leave them to those "new" (new to me) servers.
    And by the way, outbound.att.net doesn't support SSL, or at least seems not to since Mail bottoms out with the eternally spinning wheel whenever I check that option.
    Actually it does.  Note I said above all I changed was the servers, not any port, ssl, or authorization info.  And it works as expected.  So that's why you saw the rotating cursor, it was hanging when shaking hands with the server.
    If you look at table on that AT&T page, last two rows (incoming/outgoing port #) is shows the info I listed previously, i.e., ports and ssl.
    Anyway, thanks for making me aware of the server (change -- change from my point of view anyway).

  • How to change the SMTP connection timeout in Thunderbird?

    Go to Config Editor
    (Tools | Options, select the Advanced panel, select the General tab, and click Config Editor)
    and ...
    Which parameter need to change?
    If I connect to the Internet as:
    Computer -> WiFi Router -> 3G Modem -> Internet
    then Ping time is big, and OFTEN (but not always) there is an
    "Sending of message failed. The message could not be sent because the connection to SMTP server mail.domain TIMED OUT".

    Then what other software do you have that fills a security role or what setting on the router or modem need fixing. I use a wifi router and 3G box at work and while the service is not great it does function and ping times are quite reasonable (we are on the out limits of the 3G coverage 1 or 2 bars)

  • OID Firewall / Data Connection Timeouts

    Hello
    I have an OID cluster (11.1.0.5) setup within our environment and have a firewall installed between the OID servers and the database servers.  The defualt connection timeout for the DB connection was increased to three hours, but after three hours I keep getting the periodic failures of OID / enterprise manager.  I have set the idle connection timeout and retries in the OID configuration, but this still seems to occur even with the timeouts / retries configured.  Is there a max session length or some other way to tell OID to close db connections after a period of time so that the max session is not reached?
    Also, if I am just querying OID with a script, it seems to work past the three hours but I think this is more of a cache thing whereby it is responding with cached entries.  When I go to enterprise manager and try to manage OID, I will get the failure after the timeout with a LDAP error code 49 error and need to submit a bunch of requests to OID to refresh the connection to the database.
    Any help you can give would be appreciated.
    Thanks
    Nick

    Alex,
    Thanks for the prompt reply.
    Not having Maximum times in ODP will make things complicated and a myriad of race conditions can occur.
    There is an involved example of a Transaction Timeout Cancel that I could implements with a an application Maximum timer on page 5-27 of the Oracle Data Provider for .NET Developer's Guide and it is not easy to implement
    However, it is not described anywhere on how to implement a Maximum Connection Timeout.
    In the example below from the docs the application will block at the Open() call:
    // Connect
    string constr = "User Id=scott;Password=tiger;Data Source=oracle";
    OracleConnection con = new OracleConnection(constr);
    con.Open();
    So do we do the following:
    // Connect
    string constr = "User Id=scott;Password=tiger;Data Source=oracle";
    OracleConnection con = new OracleConnection(constr);
    *//Set_Application Timer*
    con.Open();
    OnApplicationTimer()
    con.Close()
    //Do application timeout processing
    What will the Close() do for us here? What will happen if the Connection open is still in progress when we try to close it?
    Should we forget attempting to Close() and wait until Oracle decides to return in the first method as shown below?
    OnApplicationTimer()
    //Do application timeout processing but don't explicitly send Close()
    // Connect
    string constr = "User Id=scott;Password=tiger;Data Source=oracle";
    OracleConnection con = new OracleConnection(constr);
    *//Set_Application Timer*
    con.Open();
    //Eventually it will timeout. If succesful, clo0se immediatly since it is too lpate.
    Nathan

  • Difference between Idle Connection Time and HTTP Keepalive Duration?

    What is the difference between the Idle Connection Timeout and the HTTP Keepalive Duration configuration parameters? I thought that setting one or both of these values would cause the webLogic web server to terminate client requests that result in processes that run much longer then the time value set in these parameters.

    Both of these settings are protection against denial of service at the protocol level, Brian.
    <b>Idle Connection Timeout</b> is a generic timeout for idle connections, whereas <b>HTTP Keepalive Duration</b> is specifically for HTTP keepalive connections. (which doesn't cover T3, IIOP or jCOM)
    Both of those configuration options are related to freeing up resources like sockets and server-side objects in memory from idle clients.
    There's actually no way of stopping long-running processing on the server triggered by a client request that I'm aware of - there are ways you can alert system administrators that something is wrong however.
    The best bet there is defining a value for <b>Stuck Thread Max Time</b>, and also for <b>Stuck Thread Timer Interval</b>. That won't stop processing on the server, but it will cause a log message that can be sent on to a monitoring console like Openview.
    Beyond that, it's really an issue for application development. There are ways that you can put the brakes on, like ensuring that poentially long-running operations run under a transactional context, and setting a reasonable transaction timeout value. Also, checking for rollback-only settings inside EJB code.
    I could be wrong, but I'm pretty sure there's no easy answer here.
    Does that help at all, Brian?
    <br>
    Kevin Powe
    http://www.integral-techsolutions.com

  • How to killl the idle or stale connection to LDAP

    I have client which is connecting to ldap server through iDAR. If the client doen't UNBIND usually, how can I make sure the idle connection could be closed, instead of climbing up?
    Thanks!

    Hi Rogers,
    Thanks for your message!
    Yes, you are right. iDAR does have the same attribute of nsslapd-masdescriptor. We already set it to 1024. In the mean time, we have set rlim_fd_max and rlim_fd_cur set in your /etc/system file. Both are set to 4096. After the change, we reboot our unix box.
    Based on documents I have read, it should function well. However, I don't know why it doesn't help me.
    Regarding the idle timeout issue, I guess I can create a speicific group in iDAR and set the idle timeout attribute for the new group. In that way, all the connection from certain IP will time out if they have timeout over the limit.
    So, in your understanding, the file descriptor should work for me. I believe you are right.
    What I should do next is testing. I will post my result when my connection issue is solved completely.
    Thanks!

  • Possible wrong default http proxy outgoing connection-timeout in the CDM

    FYI Can anyone confirm this?
    It appears that the CDM (5.0.3.5) is setting the proxy connection-timeout to a value of 300. The units of the CLI command are in microseconds so this is an extremely low connection timeout for WAN environments. The outgoing proxys are failing. The correct default value should be 300000 which equals 300 milliseconds.
    It appears that the CDM default configuration was setup thinking that the units are milliseconds. We added the 300000 value to the device group and saw that the CE no longer displays the timeout value meaning that it is at the default value of 300 milliseconds or 300000 microseconds.

    As far as I know, the 5.0 shows the default as 300 milliseconds. The configurable time is also in microseconds. Have you checked if this is a known bug? You may use the Bug Toolkit to check.

  • How to handle a Connection Timeout

    Hi Everybody,
    My situation is as follows: I have a web application, some sort of content management system. I'm using MySQL to store information. The application is obtaining Connection objects via a Connection Pool. I'm runngin Sun Java Application Server 8 Update 1 and MySQL 4.1.9 on a Windows 2003 Server machine.
    After 8 hours of inactivity, the system it's raising an exception. Searching the log, I've found the cause, an SQL Exception with a "recv failed" error. Google said that MySQL shuts the idle connections after 8 hours, and also found a code to correctly handling that disconnection. The thing is that the Application Server is handling the connection pool to physically connect with the database, I'm not dealing with connection setup. I've tried setting autoReconnect and autoReconnectForPools properties (in the management console) without success.
    Anyone has any idea to correct this?
    Thanks in advance for your time.
    Best regards
    Antonio Varela.

    You could execute a query from time to time, but you can't control which connection is being used. For example, you could be accessing the same connection all the time, and in the end only one functioning connection would remain in the pool.
    As said in another thread,
    The problem (in detail) is how the MySQL JDBC driver operates. The physical connection to the database can fail, but the Connection.isClosed() method will still return false.
    So, there seems to be some problem with the MySQL driver.
    But even in this case, the "connection validation" options should work on the application server, which they just don't. I am inclined to blame this problem on the connection pool implementation.
    The only "solution" I found so far was to set larger connection timeouts on the MySQL server:
    interactive_timeout = 2764800
    wait_timeout = 2764800

  • SMTP connection timeout

    Hi,
    This question might sound naive, but I just couldn�t find the answer.
    For POP, IMAP and HTTP it is easy to setup idle connection timeout (just use configutil).
    But what about SMTP connections?
    It is set by default on some value (if I just telent on port 25 and live the connection idle, the message �Connection to host lost� will appear after aproximetly 5 minutes), but I cannot find where it can be changed.
    On the other hand, what if connection is not idle, but the user is trying to send a bit biger mail but the link is really slow� how is this treated, what is the timeout for this situation and where this can be changed?
    Thanks a lot, as always :)

    The thing I�m having on my mind is to set this timeout to bigger number, and let slow connections to stay alive for more than 10 minutes.
    The only parameter I found is MAX_IDLE_TIME in dispatcher.cnf file, by default it is set to 600.
    But the explanation for this parameter is a bit confusing:
    MAX_IDLE_TIME=integer
    Specifies the maximum idle time for a server process. When an server process has had no active connections for this period, it becomes eligible for shutdown. This option is only effective if there are more than the value of MIN_PROCS server processes currently in the Dispatcher's pool for this service.
    Anyway, for testing purposes I set this parameter to 6000 instead of 600, and did:
    ./imsimta cnbuild
    ./imsimta restart
    Again I telnet to port 25 and live the connection idle, the message �Connection to host lost� appear again after approximately 10 minutes), so it seems like nothing was changed.
    So, is this the wrong parameter, or for some other reason time is not expanded?
    Btw,
    ./imsimta version
    iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)
    libimta.so 5.2 HotFix 1.21 (built 18:35:22, Sep 8 2003)

  • Initermittent Connection Timeout at Post-Login when connect to AlwaysOn Availability Group listener

    Hi,
    I'm using SQL 2014 AlwaysOn Availability Group and my ASP .Net application is connected to the database thru the availability group listener (tcp:[myHAGroup],14330).
    Things work most of the time, but recently I started to see the following Connection Timeout exception in Event Log. It looks like under heavy traffic the application can't connect to the availability group listener.
    Timestamp: 8/17/2014 10:07:28 AM
    Message: System.Data.EntityException: The underlying provider failed on Open. ---> System.Data.SqlClient.SqlException: Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=2; handshake=0; [Login] initialization=0; authentication=0; [Post-Login] complete=15008; ---> System.ComponentModel.Win32Exception: The wait operation timed out
    --- End of inner exception stack trace ---
    I've checked SQL Profiler and don't see any memory or CPU peak at that time. Looks like somethings happened during the Post-Login stage, but I couldn't figure out what or why....
    I'm using 2 SQL servers (1 primary, 1 secondary): SQL 2014 ENT, 8GB RAM, 8 core 2.67 Xeon X5650.
    Application: ASP .Net, framework 4.0.
    All servers are VMWare virtualization servers, running on 1 virtual switch, so internal traffic should not be a problem.
    Comments/ideas are appreciated.
    Eric.

    Hi Eric Nguyen,
    According to your description and error message, we need to verify if there are some queries/transaction lock your database via SQL trace. If yes,
     you have to find out which queries are blocking and rewrite them/run them at other time to avoid blocking other processes.
    In addition, you can use performance monitor to track connection pool connections. If you set default connection limit and timeout limit with a small number, the error of “wait operation timed out” will occur. Meanwhile, you also need to monitor disk usage
    on SQL Server , and set the auto increment size of your transaction log and database with a fixed size instead of a percentage of the current files due to avoid transaction timeout. For more information, see:
    http://stackoverflow.com/questions/7743725/how-to-troubleshoot-intermittent-sql-timeout-errors
    There is an similar issue about connection failed from webservers to SQL Server AlwaysOn Listener, you can review it.
    http://stackoverflow.com/questions/23416492/connection-timeouts-when-using-multisubnetfailover-true
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Help on we19

    Hi all,    I need some help on we19. I am doing  ab basic IDOC to File scenario Here is what has been done. On R3 server SM59 - Created a RFC destination for XI Server WE21 - Created Port for XI Server WE20 - Created Partner Profile with outbound mes

  • Photoshop 7.0 install error

    Im trying to patch it with 7.0.3 patch and it wouldnt work so i looked for help and I found that I had to re-install it, and I do so but at %50 i get a -115 error and then the installation quits. Please help, Thanks.

  • I am new to Photoshop CC. I am trying to use the magic wand to highlight a dull sky, and it is just making a weird selection that has nothing to do with my photo

    I am trying to use the Magic Wand to highlight a dull sky so that I can add something more interesting. When I try to isolate this area, the magic wand seems to just make a random selection throughout my photo. I have anit-alias on, and my tolerance

  • L_TO_CREATE_MULTIPLE, --- Fix Bin Problem

    Hi, I've used fix bin strategy in warehouse management,  and I set a fix bin B01 for the material 100-100, If I create a transfer order for this material via Tcode LT01 and assign a destination storage bin B02 to it, a <b>WARNING</b> message appeared

  • How do I re-install my Adobe Products I already bought?

    This is my problem: I (used to) have Adobe Illustrator CS5, Photoshop CS5 and other Adobe products that I bought about 2 years ago.  I recently had to replace the hard drive on my computer, and while I still have all of my files on my new hard drive,