Pages

Saturday, July 18, 2015

Weblogic Overload Protection


Weblogic Server has a built-in feature for detecing ,avoding and recovering from overload conditions. So when a Weblogic server is experiencing Out of memory conditions or any of the Server Sub System is in failed state , we can instruct weblogic server to take corrective actions .  We can tune the Weblogic server to take corrective actions during these overload states. We can for example instruct to kill the server process during a failed or a overload state so that the node manager or administrator can take corrective actions.

A managed-server can fail as a result of out-of-memory exceptions or stuck application threads, or if one of its services is running into an error condition. A managed-server instance can monitor its health. If it detects that an unstable state is reached, it declares itself failed.

By usiong the Weblogic Over load protection feature we can prevent the negative consequences like degraded application performance and stability causing the server not to take any requests from users.

Configuring the Over load protection
Go to Server -> Overload tab to configure the over load protection for that server.

In the overload tab we can see 2 actions which can taken when we see a Over load condition

Panic action - When the kernel encounters a panic condition , the below actions can be taken.The following two actions are available.

No-action
Exit the server process

When the server health monitoring encounters a critical situation and flags the server as failed, one of three predefined actions can be taken automatically

No-action
"Force immediate shutdown of this server", meaning that server will shut down completely
"Suspend server for correction action", meaning that server will go into admin state

There are certain other conditions that can be used that exists in the same tab ,

Max Stuck Thread Time - The number of seconds that a thread must be continually working before this server diagnoses the thread as being stuck
Stuck Thread Count - The number of stuck threads after which the server is transitioned into FAILED state. There are options in OverloadProtectionMBean to suspend and shutdown a FAILED server. By default, the server continues to run in FAILED state.


Hope this helps about the over load protection in weblogic.

8 comments :

  1. I was recommended this web site by my cousin. I am not sure whether this post is written by him as no one
    else know such detailed about my problem. You are incredible!
    Thanks!

    Feel free to surf to my page; auto head gasket repair

    ReplyDelete
  2. Hello there! I could have sworn I've been to this
    website before but after browsing through some of the post
    I realized it's new to me. Nonetheless, I'm definitely glad I found it and I'll
    be book-marking and checking back frequently!

    My web site :: head gasket replacement cost

    ReplyDelete
  3. I am truly thankful to the holder of this website who has shared this
    fantastic article at here.

    my page - HVAC Simi Valley

    ReplyDelete
  4. Excellent article. I'm going through many of these issues as well..


    Look into my website ... lasertest

    ReplyDelete
  5. I am truly happy to glance at this website posts which contains plenty
    of useful information, thanks for providing such data.



    Also visit my web site :: lasertest

    ReplyDelete
  6. Hi there every one, here every one is sharing such
    familiarity, thus it's good to read this web site, and I used to pay a quick visit this webpage
    everyday.

    Feel free to visit my homepage ... lasertest

    ReplyDelete
  7. Terrific article! That is the kind of info that are supposed to be shared
    across the net. Shame on Google for no longer positioning this post upper!
    Come on over and visit my website . Thank you =)

    ReplyDelete
  8. Its like you learn my thoughts! You appear to understand so much approximately this, such as you wrote the
    e book in it or something. I feel that you simply can do with a few percent to pressure the message
    home a little bit, however other than that, this
    is excellent blog. A great read. I will definitely be back.

    ReplyDelete