Setting Agent timeout

Hi,
in one of my other posts, I mention solving most of my problems except for the fact that all my alarms have disappeared (eventManager problem?!)
and that some of my slower systems frequently timeout their SunMC agent even though it is all working fine. I think the default Agent timeout is too short for me.
It appears to be only a few seconds at most. I would like to be able to extend the timeout to about 15 or 20 seconds for the unresponsive systems. This seems
to be a magic number that never produces a false alarm for me.
So if such a value is possible, could I please be informed as how to set it? I figured it is yet another value in domain-config.x ?
If so, is there also a list of all the possible values that can be set in SunMC or at least this file?
Thanks!
rachel

bump - because "someone" must have done this in the past. Please assist! My system is running great except my
boss says "why is host x, y & z always failing? They're not - they just take longer than the default timeout to respond.
All I need is the magic timeout value and my world is good.
rachel

Similar Messages

  • Set request timeout for distributed cache

    Hi,
    Coherence provides 3 parameters we can tune for the distributed cache
    tangosol.coherence.distributed.request.timeout      The default client request timeout for distributed cache services
    tangosol.coherence.distributed.task.timeout      The default server execution timeout for distributed cache services
    tangosol.coherence.distributed.task.hung      the default time before a thread is reported as hung by distributed cache services
    It seems these timeout values are used for both system activities (node discovery, data re-balance etc.) and user activities (get, put). We would like to set the request timeout for get/put. But a low threshold like 10 ms sometimes causes the system activities to fail. Is there a way for us to separately set the timeout values? Or even is it possible to setup timeout on individual calls (like get(key, timeout))?
    -thanks

    Hi,
    not necessarily for get and put methods, but for queries, entry-processor and entry-aggregator and invocable agent sending, you can make the sent filter or aggregator or entry-processor or agent implement PriorityTask, which allows you to make QoS expectations known to Coherence. Most or all stock aggregators and entry-processors implement PriorityTask, if I correctly remember.
    For more info, look at the documentation of PriorityTask.
    Best regards,
    Robert

  • Set a timeout for "read from text file"

    I Need to read from a text file on a remote pc and use the read from text file function to do this. It wotks but sometimes this pc is down causing long wait times in my vi.
    Is there a way to set a timeout for the read from text file function, or is there an other solution?
    Thank you

    You could check that the path is valid first before you attempt to read the file.  hen put the file read in a True-False case structure based on the results of the check.  You can use the function "Check if File or Folder Exists"  It checks whether a file or folder exists on disk at a specified path. This VI works with standard files and folders as well as files in LLB files.   The function is found in the File I/O --> Advanced File Functions palette.
    Tom

  • How do i set the timeout value?

    I'm doing an insert...in the insert i have a trigger that fires a http put. when i'm doing a couple inserts at a time, it works fine. However if i try to insert about 50 at one time (within msecs of each other) then i get the following error:
    ORA-29276 transfer timeout
    Cause: Timeout occurred while reading from or writing to a network connection.
    Action: Check the remote server or the network to ensure that it responds within the timeout limit. Or increase the timeout value.
    My question is, how do i set this timeout value?

    FYI,
    IFS.PROTOCOLSERVER.SESSION.DEFAULT.Timeout
    IFS.PROTOCOLSERVER.SessionStateTimeoutPeriod
    IFS.PROTOCOLSERVER.SessionStateTimeoutPeriod
    in cup server configuration

  • How to set HttpURLConnection timeout while reading a stream?

    I want it got time out if the connection if lose while i read a stream from URL
    try {
         int timeout = 700;
         HttpURLConnection connection = (HttpURLConnection) downloadURl.openConnection();
         connection.setConnectTimeout(timeout);
         connection.setRequestProperty("Range","bytes=" + downloaded + "-");
         connection.connect();
         if (connection.getResponseCode() / 100 != 2) {
              error();
         int contentLength = connection.getContentLength();
         if (contentLength < 1) {
              error();
         if (status == DOWNLOADING){
              if (size == -1) {
                   size = contentLength;
              file = new RandomAccessFile(saveTmpName+".tmp", "rw");
              file.seek(downloaded);
         byte buffer[];
         stream = connection.getInputStream();
    connection.setReadTimeout(timeout);
         while (status == DOWNLOADING) { 
              if (size - downloaded > MAX_BUFFER_SIZE) {
                   buffer = new byte[MAX_BUFFER_SIZE];
              } else {
                   buffer = new byte[(int)(size - downloaded)];
              int read = stream.read(buffer); // how to set timeout while it is reading stream
              if (read <= 0)
                   break;
              file.write(buffer, 0, read);
              downloaded += read;
         if (status == DOWNLOADING) {
              status = COMPLETE;
    } catch (SocketTimeoutException  e) {
         error();
    } catch (IllegalArgumentException e) {
         error();
    } catch (Exception e) {
         error();
    } finally {
         if (file != null) {
              try {
                   file.close();
              } catch (Exception e) {}
         if (stream != null) {
              try {
                   stream.close();
              } catch (Exception e) {}
    }I try to set "setReadTimeout()" but is still not through timeout Exception

    ejp wrote:
    Because, there's no FTP client command that allows to do such thing.Socket.setSoTimeout().I agree with you on this one but the OP is talking about the FTPClient API from Apache.
    To the OP,
    BTW, I have reread the Javadoc about the [*API*|http://commons.apache.org/net/api/org/apache/commons/net/ftp/FTPClient.html] : indeed, there's no setTimeout method, but there is a setDataTimeout method : +Sets the timeout in milliseconds to use when reading from the data connection+ .

  • UCCE 7.5 Set agents back to ready after Rona?

    Hi All
    Is there any way in UCCE that you can set agents back to ready if they are put to not ready after RONA? I know there is a global option for this in UCCX but not sure about UCCE? They are using CAD 7.5 and UCCE 7.5.
    If not any other work around that you may know of?
    Thanks,
    Matt

    The only way I know that you can do it, is to se tthe Agent Desk Setting RONA, 1 seconds HIGHER then the CVP RONA timer.
    Therefore is CVP is 15 seconds, set the Agents Desk Settings to 16.
    This will prevent the Agent Desk settings from moving the agent to Not Ready.
    CVP allows the use of custom RONA timers with SIP, so if its just for a few agents you may need to add specific routes for their extensions with the appropriate CVP RONA timers.
    Cheers,
    Chad

  • JDBC / JTA Timeouts : How to set a timeout on the fetching of a query ?

    Hi !
    I'm working on an Application running on Weblogic Server 11g. This app executes a query on an Oracle 11g database ...
    The problem is that this query returns millions of records ... and the app fetches the results during tens of minutes.
    We would like to set a timeout, wich will abandon the transaction, hang the database connection, destroy the socket ... or anything else ...
    This timeout will prevent the thread to become in STUCK state and stucking the weblogic managed server.
    Is this possible ?
    Thank's for your answers.
    Steve.
    Edited by: 966918 on 10 avr. 2013 07:18

    Abandon timeout will not help. That is only used if a database crashes during the second phase of commit. It specifies how long the transaction manager should keep trying to complete the transaction.
    JTA timeout will only work if you are using XA datasources and two-phase commit transactions. When the timeout occurs, it guarantees that the transaction cannot be committed. Eventually, all of the participant resources will be notified and will not allow any more work to take place on the transaction. It does not stop the threads and the application must be written to handle exceptions appropriately.
    Edited by: Steve Felts on Apr 17, 2013 8:32 AM

  • How do set operation timeout in tomcat server?

    hi all
    suppose i have one endless loop program(jsp) that program run under tomcat server,
    so it's keep on runing in tomcat server.
    i want, after some time the server send error message like operation timeout.
    how do set operation timeout in tomcat server?
    if anybody know help me.
    my mail id [email protected]

    Well, the server.xml file has connection time outs, but that is for idle time, I think... I'm not sure what would happen in a loop... , especially if you are sending some data back to the client in each iteration. Generally you shouldn't be starting a loop that will really run forever. Maybe have some type of counter to break out if something hasn't occurred within x iterations, or create a separate thread that can sleep for x seconds and set a flag to break the loop after that time.

  • JDBC & setQueryTimeout - or is there another way to set query timeout?

    I am trying to set query timeout for TimesTen using jdbc library. But it seems like TimesTen jdbc library does not support setQueryTimeOut. Is there a way to set it without having to set it statically in the DNS?
    I tried to set the SqlQueryTimeout in the connection string but it doesn't work either:
         Connection connection = DriverManager.getConnection(
         "jdbc:timesten:client:TTC_SERVER=bleh;TCP_PORT=17013;TTC_Server_DSN=blah;TTC_Timeout=0;SqlQueryTimeout=5;");
    Thanks for your help!

    Thanks for replying. I don't know have good knowledge on Cache Connect. I will have to read on that first.
    It seems like TimesTen does not support jdbc setQueryTimeout. Calling this method on TimesTen jdbc library will return false: supportsQueryTimeout().
    I created a test class for testing the SqlQueryTimeout. I set the TTC_Timeout to 400 seconds and SqlQueryTimeOut to 5 seconds. So after 5 seconds it should time out.
    The way I test it is by putting a break point before executing the query, do a route add DBServer to an un-connectible gateway to simulate the network delay/connection problem and then continue after I added the route.
    After executing the query, instead of timing out after 5 second, it will wait for a few minutes before timing out.
    The code for testing the timeout is as follow:
    public class TTTest {
         public static void main(String[] args) throws ClassNotFoundException {
         Class.forName("com.timesten.jdbc.TimesTenDriver");
         try {
         Connection connection = DriverManager.getConnection(
         "jdbc:timesten:client:TTC_SERVER=server;TCP_PORT=17013;TTC_Server_DSN=server_dns;"
         + "TTC_Timeout=400;SqlQueryTimeout=5;");
         System.out.println(connection.getClass().getName());          
         Statement stmt = connection.createStatement();
         //com.timesten.jdbc.JdbcOdbcStatement stmt = (JdbcOdbcStatement)connection.createStatement();     
         System.out.println(stmt.getClass().getName());
         System.out.println("Query started " + new Date());
    // Pause here, put a route add and continue
         ResultSet rs = stmt.executeQuery("select count(*) from mse");
         rs.next();
         System.out.println("there are " + rs.getInt(1) + " rows");
         rs.close();
         stmt.close();
         connection.close();          
         } catch (Exception x) {           
         x.printStackTrace(System.err);
         System.err.println(new Date());
    }

  • Set connection timeout in LightSwitch HTML

    Hi.
    I am creating Lightswitch HTML application and implementing export functionality using ServerApplicationContext.
    I am trying to export a lot of data and i when i call for DB objects I get connection error. I have tried to set ;Connection Timeout=300 in connection string in web.config but it seams like not functioning, and still failing after 30sec. 
    Can you please guide me where can I set a connection timeout in order to change it's default value from 30 sec to something bigger?

    Igor,
    I think what you are looking for is "CommandTimeout" and not connection timeout. The connection timeout is how long the SQL Client will wait while establishing a connection. A command timeout is how long the SQL Client will wait for a command to complete.
    So if you are executing a long running command, you will run into command timeout issues.
    In order to set the command timeout for your SQL data source, add a "key" to your web.config's <appSettings> node of the following form:
    <appSettings>
    <add key="DataSourceName_CommandTimeout" value="60" />
    </appSettings>
    Replace DataSourceName with the name of your data source.  So if you are using the ApplicationData data source, the key would be named "ApplicationData_CommandTimeout". Look in your Solution Explorer under "Data Sources" for the name of your
    data source.
    The value is the number in seconds for the timeout.
    Eric
    http://blogs.msdn.com/b/eric_erhardt/

  • Setting a timeout for HttpConnection?

    Hi,
    Is there any way to set a timeout for an HttpConnection instance? I've got something like:
    HttpConnection conn = (HttpConnection)Connector.open("www.mysite.com");
    but the timeout on my particular device waits 2 minutes! I'd like to make it something more like 20 seconds. Any way to do this?
    Thanks

    I am surprised that HttpConnection doesn't have a way to timeout already. I searched thru the docs and I cant find any.
    Anyway this is my solution. Use a Thread. Start the thread before calling Connector.open. In the run method of the thread, sleep for 20 secs, wake up and display something to the user. This is assuming that your Connector.open is not blocking. i.e its in a thread of its own. this is an example of a non-blocking httpconnection
      public void commandAction(Command c, Displayable s) {
            if (c.getLabel().equals("GET")) {
                final MIDlet middy = this;
                new Thread() {
                    public void run() {
                        try {
                            //make your http connection here.
                            HttpConnection conn = (HttpConnection)Connector.open("www.mysite.com");
                        } catch (Exception ie) {
                            ie.printStackTrace();
                }.start();
        }of course there are other ways to do that. just my suggestion

  • Setting initialcontext timeout

    Hello
    I was wondering if I could set the timeout period for creating
    InitialContext?
    For example if my server is down and I am trying to get Initial Context
    from this server
    It takes about 8 minutes to timeout and throws ConnectionException.
    I am using WL6.1 sp1
    Thanks for your help.

    As the thread didn't continue: Has there been a solution ?
    I also look for a possibility to set the timeout for InitialContext to approx.
    3 sec.
    I'm monitoring a LDAP-system and know that everything longer 3 sec is a problem.
    If the server is down, it now takes much longer to timeout.
    I'm using WL8.1.
    Thanks for any help.
    "Sree Bodapati" <[email protected]> wrote:
    Mark,
    Can you elaborate on why you need this?
    sree

  • Setting connection timeout

    Anyone know how to set a timeout for a HttpURLConnection?
    Thanks,
    Ross

    RTFM btw :-)Hey, please! Can you explain me what do "RTFM" and "btw" mean? I am newby in English language.... ;-)

  • Set Command Timeout For SQL Server

    Hello,
    How do you set the command timeout for the 'open' statement? I am running a Database via SQL Server and I tried the dialog box timeout statement (the check box on the advanced tab) and simply get an error. The manual shows a 'step.commandtimeout' but how is it implemented?
    Thanks,
    Kevin

    Kevin -
    I looked at the internal implementation of the CVI SQL Toolkit. The toolkit function that the step type uses is DBNewSQLStatement. Internally to the toolkit the function opens a recordset instead of a command object. The command timeout attribute is only available on a command object and not on a recordset object, so as implemented inside the toolkit the error is appropriate. I think the toolkit could have used a command object to create the recordset object and this would allow the toolkit to let you set the timeout attribute. Unfortuneately this is not the way it was done.
    For the future I may investigate to see if there is a way to bypass this limitation by using different toolkit functions, but I am not sure if there a
    re any side effects.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • "set errdisable-timeout" command missing options?

    I have a few 4006 switches that do not appear to have all the available errdisable commands (duplex-mismatch is not listed on most) All the 4006's are running at least Cat5.4+, one is running Cat8.4(8)GLX-k9 (output from command listed below) I could not locate any info searching through the docs except that it is listed in the 8.3/8.4 command reference as an option for this command.
    SWITCH4006 (enable) set errdisable-timeout enable ?
    bpdu-guard BPDU Port-guard
    channel-misconfig Channel misconfiguration
    udld UDLD
    other Reasons other than the above
    all Apply errDisable timeout to all reasons
    SWITCH4006 (enable)
    The above is all that is listed on a 4006 running CatOS 8.4(8)GLX k9. Has anyone else noticed this or have a solution

    4500 series 8.4.x does seem to show that option.
    http://www.cisco.com/en/US/products/hw/switches/ps4324/products_command_reference_chapter09186a00801f61e2.html#wp1024649
    I am not sure if this feature is available for the 4006 in the same version.

Maybe you are looking for

  • Connecting iphone to Wi Fi network

    Hi, Hope someone can help: I am trying to get my iphone to connect to the internet via my wifi connection at home. I can connect to the internet 'normally' on my phone - ie through my mobile service provider, but obviously for bigger files etc I need

  • Did Time Machine restore, now two apps have white slash in circle over icon in dock

    Yesterday morning my disk drive failed in my macbook pro, so I bought a new drive, installed it, installed 10.6 on it, then at the end of the install used my Time Machine backup (luckily it was from Sat night) to restore me on the drive.  Ran a coupl

  • Unexplainable pixilating of the screen HELP

    We've had an iMac since 2008/2009 and yesterday the screen started to pixelate. We've got no explanation for why. My mum used it about an hour before it happened and it was running as normal, an hour later my brother went to use it and the screen was

  • How to display a message on status bar while an LOV is active?

    Hi, Can any suggest me that how can I display my custom message on the status bar of my form, while an LOV is displayed on the screen. I populate an LOV in an Item in the form. I need my status bar to display a message while my LOV is Displayed and a

  • Use of Statistical key in CATS

    Hi , Can any body guide me what is the use of Statistical key in CATS and where he options for its dropdown is mainatained? I need this for urgently, So kindly help. Regards