GC stops freeing memory after a while

Hi,
We have four manged servers running on weblogic81 with hotspot; and are using the following GC setting for our application:
GC_PARAMS="-XX:ParallelGCThreads=4 -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=10 -XX:PermSize=128m "
JAVA_OPTIONS="-D${SERVER_NAME} -D${WL_DOMAIN_NAME} -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Ddefault.client.encoding=UTF-8 -Dweblogic.s
ecurity.SSL.ignoreHostnameVerify=false -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false"
MEM_ARGS="-Xms865m -Xmx865m -XX:CMSInitiatingOccupancyFraction=60 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:PermSize=128m -XX:MaxPermSize=1
28m -XX:SurvivorRatio=3 -XX:MaxPermSize=128m -XX:SurvivorRatio=3 -Xloggc:${LOG_HOME}/${SERVER_NAME}/gc_pipe ${GC_PARAMS} "
JAVA_VM="-server"
The follwing is the output from the gc analyser perl script
Processing gc_pipe ...
Call rate = 55 cps ...
Active call-setup duration = 32000 ms
Number of CPUs = 1
DEBUG timestr: bt=60.884 et=7831.278 to=7770394
---- GC Analyzer Summary : gc_pipe ----
Application info:
Application run time = 7770394.00 ms
Heap space = 868 MB
Eden space = 130944 KB
Semispace = 64 KB
Tenured space = 757760 KB
Permanent space = 131072 KB
Young GC --------- (Copy GC + Promoted GC ) ---
Copy gc info:
Total # of copy gcs = 180
Avg. size copied = 4469555 bytes
Periodicity of copy gc = 43086.2519483333 ms
Copy time = 82 ms
Percent of pause vs run time = 0%
Promoted gc info:
Total number# of promoted GCs = 1365
Average size promoted = 2509130 bytes
Periodicity of promoted GC = 5637.85 ms
Promotion time = 54.74 ms
Percent of pause vs run time = 0.96 %
Young GC info:
Total number# of young GCs = 1545
Average GC pause = 57.99 ms
Copy/Promotion time = 57.99 ms
Overhead(suspend,restart threads) time = -10.68 ms
Periodicity of GCs = 4971.39 ms
Percent of pause vs run time = 1.15 %
Avg. size directly created old gen = 0.43 KB
Old concurrent GC info :
Heap size = 757760 KB
Avg. initial-mark threshold = 67.78 %
Avg. remark threshold = 0.00 %
Avg. Resize size = 0.00 KB
Total GC time (stop-the-world) = 133.22 ms
Concurrent processing time = 2338.00 ms
Total number# of GCs = 1
Average pause = 133.22 ms
Periodicity of GC = 7770260.78 ms
Percent of pause vs run time = 0.00 %
Percent of concurrent processing vs run time = 0.03 %
Permanent Generation GC info:
Total GC time = 0;
Total number# of GCs = 72;
Average pause = 0.00;
Periodicity = 107922.14;
Percent of pause vs run time = 0.00;
Total Old GC info (Concurrent + MS + Perm Gen):
Total GC time (stop-the-world) = 133.22 ms
Total Concurrent processing time = 2338.00 ms
Total number# of GCs = 1
Average pause = 133.22 ms
Periodicity of GC = 7770260.78 ms
Percent of stop-the-world pause vs run time = 0.00 %
Percent of concurrent processing vs run time = 0.03 %
Total (young and old) GC info:
Total count = 1546
Total GC time = 89725.68 ms
Average pause = 58.04 ms
Percent of pause vs run time = 1.15 %
Call control info:
Call-setups per second (CPS) = 55
Call rate, 1 call every = 18 ms
Number# call-setups / young GC = 273.426591796764
Total call throughput = 422444.08
Total size of short lived data / call-setup = 481217 bytes
Total size of long live data / call-setup = 9176 bytes
Average size of data / call = 490393
Total size of data created per young gen GC = 134086656 bytes
Execution efficiency of application:
GC Serial portion of application = 1.15%
Actual CPUs = 1
CPUs used for concurrent processing = 1.00
Application Speedup = 1.00
Application Execution efficiency = 1.00
Application CPU Utilization = 99.97 %
Concurrent GC CPU Utilization = 0.03 %
--- GC Analyzer End Summary ----------------
#--- Detailed and confusing calculations; dig into this if you need more info about what is happening above ----
---- GC Log stats ...
---- Young generation calcs ...
Average young gen dead objects size / GC = 131577525.92 bytes
Average young gen live objects size / GC cycle = 2509130.08 bytes
Ratio of short lived / long lived for young GC = 52.44
Average young gen size promoted = 0.00 bytes
Average number# of Objects promoted = 0
Total promoted times = 74723.82 ms
Average object promoted times = 0.00 ms
Total promoted GCs = 1365
Periodicity of promoted GCs = 5637.85 ms
Total copy times = 14868.65 ms
Total copy GCs = 180
Average copy GC time = 82.60 ms
Periodicity of copy GCs = 43086.25 ms
Total number# of young GCs = 1545
Total time of young GC = 89592.47 ms
Average young GC pause = 57.99 ms
Periodicity of young GCs = 4971.39 ms
--- Old generation concgc calcs ....
Total concurrent old gen times = 133.22 ms
Total number# of old gen GCs = 1
Average old gen pauses = 133.22 ms
Periodicity of old gen GC = 7770260.78 ms
--- Traditional MS calcs ...
Total number# mark sweep old GCs = 0
Total mark sweep old gen time = 0.00 ms
Average mark sweep pauses = 0.00 ms
Average free threshold = 0.00 %
Total mark sweep old gen application time = 0.00 ms
Average mark sweep apps time = 0.00 ms
--- Mark-Compact calcs ...
Total time taken by MC gc = 133.22 ms
Total number# of old gen GCs = 1
Total number# of old gen pauses with 0 ms = 133
Periodicity of MC gc = 0.00 ms
---- GC as a whole ...
Total GC time = 89725.68 ms
Average GC pause = 58.04 ms
Total # of gcs = 1546.00 ms
--- Heap calcs ...
Eden = 134086656 Bytes
Semispace = 65536 Bytes
Old gen heap = 775946240 Bytes
Perm gen heap = 134217728 Bytes
Total heap = 910098432.00 Bytes
## for concgc
Live objects per old GC = 0.00 KB
Dead objects per old GC = 0.00 KB
Ratio of (short/long) lived objects per old GC = 0.00
--- Memory leak verification ...
Total size of data promoted = 3344690.00 KB
Total size of data directly created in
old generation = 666.00 KB
Total size of data in old gen = 3345356.00 KB
Total size of data collected throughout app. run = 0.00 KB
--- Active duration calcs ...
Active duration of each call = 32000 ms
Number# number of calls in active duration = 1759
Number# of promotions in active duration = 5
Long lived objects(promoted objects) / active duration = 14241618.90 bytes
Short lived objects (tenured or not promoted) / active duration = 846941930.91 bytes
Total objects created / active duration = 861183549.81 bytes
Percent% long lived in active duration = 1.65 %
Percent% short lived in active duration = 98.35 %
Number# of active durations freed by old GC = 0.00
Ratio of live to freed data = 0.00
Average resized memory size = 0.00
Time when init GC might take place = 0.00 ms
Time when remark GC might take place = 0.00 ms
Periodicity of old GC = 7770260.78 ms
--- Application run times calcs ...
Total application run times during young GC = 5572109.73 ms
Total application run times during old GC = 0.00 ms
Total application run time = 5511433.32 ms
Calculated or specified app run time = 7770394.00 ms
Ratio of young (gc_time/gc_app_time) = 0.02
Ratio of young (gc_time/app_run_time) = 0.01
Ratio of (old gc_time/total gc_app_time) = 0.00
Ratio of (old gc_time/app_run_time) = 0.00
Ratio of total (gc_time/gc_app_time) = 0.02
Ratio of total (gc_time/app_run_time) = 0.01
weloadm@vwrpa41s:/var/applogs/weblogic/live/managed2/gc_128
What happens is after about 45 - 50 mins(sometimes 65-70 mins) on a load of 800 users, major gc is unable to free up any memory at all and the memory usage keeps on increasing. The above script is for the managed server that dies due to lack of memory.

Hi,
We have four manged servers running on weblogic81 with hotspot; and are using the following GC setting for our application:
GC_PARAMS="-XX:ParallelGCThreads=4 -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=10 -XX:PermSize=128m "
JAVA_OPTIONS="-D${SERVER_NAME} -D${WL_DOMAIN_NAME} -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Ddefault.client.encoding=UTF-8 -Dweblogic.s
ecurity.SSL.ignoreHostnameVerify=false -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false"
MEM_ARGS="-Xms865m -Xmx865m -XX:CMSInitiatingOccupancyFraction=60 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:PermSize=128m -XX:MaxPermSize=1
28m -XX:SurvivorRatio=3 -XX:MaxPermSize=128m -XX:SurvivorRatio=3 -Xloggc:${LOG_HOME}/${SERVER_NAME}/gc_pipe ${GC_PARAMS} "
JAVA_VM="-server"
The follwing is the output from the gc analyser perl script
Processing gc_pipe ...
Call rate = 55 cps ...
Active call-setup duration = 32000 ms
Number of CPUs = 1
DEBUG timestr: bt=60.884 et=7831.278 to=7770394
---- GC Analyzer Summary : gc_pipe ----
Application info:
Application run time = 7770394.00 ms
Heap space = 868 MB
Eden space = 130944 KB
Semispace = 64 KB
Tenured space = 757760 KB
Permanent space = 131072 KB
Young GC --------- (Copy GC + Promoted GC ) ---
Copy gc info:
Total # of copy gcs = 180
Avg. size copied = 4469555 bytes
Periodicity of copy gc = 43086.2519483333 ms
Copy time = 82 ms
Percent of pause vs run time = 0%
Promoted gc info:
Total number# of promoted GCs = 1365
Average size promoted = 2509130 bytes
Periodicity of promoted GC = 5637.85 ms
Promotion time = 54.74 ms
Percent of pause vs run time = 0.96 %
Young GC info:
Total number# of young GCs = 1545
Average GC pause = 57.99 ms
Copy/Promotion time = 57.99 ms
Overhead(suspend,restart threads) time = -10.68 ms
Periodicity of GCs = 4971.39 ms
Percent of pause vs run time = 1.15 %
Avg. size directly created old gen = 0.43 KB
Old concurrent GC info :
Heap size = 757760 KB
Avg. initial-mark threshold = 67.78 %
Avg. remark threshold = 0.00 %
Avg. Resize size = 0.00 KB
Total GC time (stop-the-world) = 133.22 ms
Concurrent processing time = 2338.00 ms
Total number# of GCs = 1
Average pause = 133.22 ms
Periodicity of GC = 7770260.78 ms
Percent of pause vs run time = 0.00 %
Percent of concurrent processing vs run time = 0.03 %
Permanent Generation GC info:
Total GC time = 0;
Total number# of GCs = 72;
Average pause = 0.00;
Periodicity = 107922.14;
Percent of pause vs run time = 0.00;
Total Old GC info (Concurrent + MS + Perm Gen):
Total GC time (stop-the-world) = 133.22 ms
Total Concurrent processing time = 2338.00 ms
Total number# of GCs = 1
Average pause = 133.22 ms
Periodicity of GC = 7770260.78 ms
Percent of stop-the-world pause vs run time = 0.00 %
Percent of concurrent processing vs run time = 0.03 %
Total (young and old) GC info:
Total count = 1546
Total GC time = 89725.68 ms
Average pause = 58.04 ms
Percent of pause vs run time = 1.15 %
Call control info:
Call-setups per second (CPS) = 55
Call rate, 1 call every = 18 ms
Number# call-setups / young GC = 273.426591796764
Total call throughput = 422444.08
Total size of short lived data / call-setup = 481217 bytes
Total size of long live data / call-setup = 9176 bytes
Average size of data / call = 490393
Total size of data created per young gen GC = 134086656 bytes
Execution efficiency of application:
GC Serial portion of application = 1.15%
Actual CPUs = 1
CPUs used for concurrent processing = 1.00
Application Speedup = 1.00
Application Execution efficiency = 1.00
Application CPU Utilization = 99.97 %
Concurrent GC CPU Utilization = 0.03 %
--- GC Analyzer End Summary ----------------
#--- Detailed and confusing calculations; dig into this if you need more info about what is happening above ----
---- GC Log stats ...
---- Young generation calcs ...
Average young gen dead objects size / GC = 131577525.92 bytes
Average young gen live objects size / GC cycle = 2509130.08 bytes
Ratio of short lived / long lived for young GC = 52.44
Average young gen size promoted = 0.00 bytes
Average number# of Objects promoted = 0
Total promoted times = 74723.82 ms
Average object promoted times = 0.00 ms
Total promoted GCs = 1365
Periodicity of promoted GCs = 5637.85 ms
Total copy times = 14868.65 ms
Total copy GCs = 180
Average copy GC time = 82.60 ms
Periodicity of copy GCs = 43086.25 ms
Total number# of young GCs = 1545
Total time of young GC = 89592.47 ms
Average young GC pause = 57.99 ms
Periodicity of young GCs = 4971.39 ms
--- Old generation concgc calcs ....
Total concurrent old gen times = 133.22 ms
Total number# of old gen GCs = 1
Average old gen pauses = 133.22 ms
Periodicity of old gen GC = 7770260.78 ms
--- Traditional MS calcs ...
Total number# mark sweep old GCs = 0
Total mark sweep old gen time = 0.00 ms
Average mark sweep pauses = 0.00 ms
Average free threshold = 0.00 %
Total mark sweep old gen application time = 0.00 ms
Average mark sweep apps time = 0.00 ms
--- Mark-Compact calcs ...
Total time taken by MC gc = 133.22 ms
Total number# of old gen GCs = 1
Total number# of old gen pauses with 0 ms = 133
Periodicity of MC gc = 0.00 ms
---- GC as a whole ...
Total GC time = 89725.68 ms
Average GC pause = 58.04 ms
Total # of gcs = 1546.00 ms
--- Heap calcs ...
Eden = 134086656 Bytes
Semispace = 65536 Bytes
Old gen heap = 775946240 Bytes
Perm gen heap = 134217728 Bytes
Total heap = 910098432.00 Bytes
## for concgc
Live objects per old GC = 0.00 KB
Dead objects per old GC = 0.00 KB
Ratio of (short/long) lived objects per old GC = 0.00
--- Memory leak verification ...
Total size of data promoted = 3344690.00 KB
Total size of data directly created in
old generation = 666.00 KB
Total size of data in old gen = 3345356.00 KB
Total size of data collected throughout app. run = 0.00 KB
--- Active duration calcs ...
Active duration of each call = 32000 ms
Number# number of calls in active duration = 1759
Number# of promotions in active duration = 5
Long lived objects(promoted objects) / active duration = 14241618.90 bytes
Short lived objects (tenured or not promoted) / active duration = 846941930.91 bytes
Total objects created / active duration = 861183549.81 bytes
Percent% long lived in active duration = 1.65 %
Percent% short lived in active duration = 98.35 %
Number# of active durations freed by old GC = 0.00
Ratio of live to freed data = 0.00
Average resized memory size = 0.00
Time when init GC might take place = 0.00 ms
Time when remark GC might take place = 0.00 ms
Periodicity of old GC = 7770260.78 ms
--- Application run times calcs ...
Total application run times during young GC = 5572109.73 ms
Total application run times during old GC = 0.00 ms
Total application run time = 5511433.32 ms
Calculated or specified app run time = 7770394.00 ms
Ratio of young (gc_time/gc_app_time) = 0.02
Ratio of young (gc_time/app_run_time) = 0.01
Ratio of (old gc_time/total gc_app_time) = 0.00
Ratio of (old gc_time/app_run_time) = 0.00
Ratio of total (gc_time/gc_app_time) = 0.02
Ratio of total (gc_time/app_run_time) = 0.01
weloadm@vwrpa41s:/var/applogs/weblogic/live/managed2/gc_128
What happens is after about 45 - 50 mins(sometimes 65-70 mins) on a load of 800 users, major gc is unable to free up any memory at all and the memory usage keeps on increasing. The above script is for the managed server that dies due to lack of memory.

Similar Messages

  • Firefox stops loading websites after a while

    Unfortunately I can't narrow down the problem very much. Firefox just stops loading websites after a while without any obvious reasons - while Chrome or IE work, so it's not a connection problem AND I have it on at least 2 PCs. This is my environment:
    Windows 7 x64 Ultimate and Pro, all important updates installed. Both PCs have 8-16 GB RAM, SSD - can't be a resource issue.
    Actual version of Kaspersky Internet Security is used, Firefox is not blocked.
    Firefox version 37.0.1
    Some FF AddOns in use: AdBlock Edge, BetterPrivacy, ColorZilla, Firebug, Flashblock, Ghostery, Web Developer
    I'm certain I don't have a virus and the issue is present on a brand new installed system as well. I don't use a proxy, DNS prefetching is disabled and IPv6, too.
    It seems to happen more often when the PC hasn't been touched for 20 minutes or so (PC is not falling asleep) and after sleep modes, however it also happens just in the middle of working. I usually have 10-20 pages open (resource friendly ones usually) at once.
    This also happens for websites that are already loaded. A click on reload also leads to a can't load website error.
    I can't exactly say when this issue started, probably in the last 6 month with some FF update. Before it worked fine. This is becoming a real issue for me because FF becoming very unreliable.
    Does anyone else experience this behaviour or has a fix for it?
    NB: you may want to check the compatibility of your "None of these solve my problem" button. It might be a Chrome (41.0.2272.118m) issue but if someone's FF is not working and he's trying to find help using another browser...it might be a dead end (nothing happens on click).
    Example: https://support.mozilla.org/en-US/questions/new/deskto/other?search=can%27t+load+websites+after+while#summarize-question

    Does Firefox work normally again after exiting it and starting it backup again?
    Several users reported with Firefox 36 that Firefox would eventually not be able to load more pages. One believed that Firefox was no longer sending DNS requests, which is a prerequisite to being able to connect to the web server. I don't recall that we identified the source of the problem, but in many cases, it was "something" in the settings folder.
    Along those lines, could you conduct this test:
    '''Create a new Firefox profile'''
    ''This is in addition to and does not replace your existing settings.''
    A new profile will have your system-installed plugins (e.g., Flash) and extensions (e.g., security suite toolbars), but no themes, other extensions, or other customizations. It also should come with completely fresh settings databases and a fresh cache folder.
    Exit Firefox and start up in the Profile Manager using Start > search box (or Run) -- type or paste the following and press Enter:
    firefox.exe -P
    ''Don't delete anything here.''
    Any time you want to switch profiles, exit Firefox and return to this dialog.
    Click the Create Profile button, assign a name like April7, and ignore the option to change the folder location. Then start Firefox in the new profile you created.
    It might take a while to determine whether the new profile is works better than your old one. If you want to import your bookmarks from your regular profile during that time, here's how:
    You can use the Library dialog (Ctrl+Shift+b or "Show All Bookmarks") to access the Restore feature. The trick is knowing where to find your bookmark backups in your regular profile. After clicking Choose File... you can paste this into the file name space and press Enter to drill down to your profile folders:
    %APPDATA%\Mozilla\Firefox\Profiles
    The semi-randomly-named folder that has your last backup is usually the one ending with "default". Click into that one, then into the '''bookmarkbackups''' folder. Here you can pick the most recently updated file to restore.
    Important: restoring a bookmark backup wipes any bookmarks currently in your active Firefox profile and replaces it with the contents of the backup file.
    I think it's also reasonable to install AdBlock Plus and Web Developer, as those, by themselves, are unlikely to be the source of this seemingly rare problem. But I wouldn't add all your extensions at once to the new profile.

  • Email Receiver QPAC - stops receiving emails after a while

    Hello,
    I have a workflow with the first step being an Email Receiver QPAC. Next I extract out some information to set to variables and then use the Chain QPAC to go to my next workflow and loop back to the Email Receiver (thanks Howard!). It works great immediately after invoking the workflow and I even left it running for one hour and tested it again and it works and received my email properly. So, I left everything running overnight, but now none of my emails are being received. I looked in the process manager and everything in running just fine, so the nothing stalled.
    I've been waiting for over 15 minutes now for my Email Receiver to go off and nothing.
    Does anyone have insight into what is going on?
    Thank you,
    Jennifer

    Hi Jennifer
    Try turning debugging on.
    In JBoss, you do this by modifying the log4j.xml in \Adobe\LiveCycle\jboss\server\all\conf
    Change the threshold from INFO to DEBUG for the file appender, as shown below:
    This will cause the EmailReceiver (as well as a whole lot of other classes) to send debug output to the log file:
    \Adobe\LiveCycle\jboss\server\all\log\server.log
    You should see some lines in the log file each time the EmailReceiver fires. These should tell you what it's searching for, and might give some insight into what's going wrong.
    Howard
    http://www.avoka.com

  • Back button loses its memory after a while

    Greetings,
    I brought up the ohguide.bat from OHJ 4.2.3 and selected the topic "About the Files". I selected each hyperlink from this page and then used the "Back" button to return back to the original About the Files topic. Using the table of contents, I then selected the topic "Topic Files". I selected a hyperlink in this topic, then selected "Back" which I assumed would go back to the topic "Topic Files". Instead, it went to the topic "About the Files". Now, any topic I browse, select a hyperlink and then select the Back button, it returns to "About the Files".
    We first noticed this with our own help topics, but was able to reproduce this with ohguide.bat. Can you fix this? This is very confusing to our users and the Back button is essentially unusable after a certain number of tries.
    thanks,
    Elizabeth Dyer.

    OHJ 4.2.5 does indeed work much better with the back button.
    thanks!
    Elizabeth.

  • Mail won't quite without "force quite" , Mail stops receiving emails after a while, not happy about MAIL's performance!!!! :(

    I have massive problems with Mail.
    I use mail at work and have 3 accounts running
    1. Mac. mail account
    2. Gmail mail account
    3. Exchange Server
    I have quite a few folders in my accounts where I have to archive my emails to.
    Often very often or lets say annoyingly too often mail stops working.
    - stops receiving emails
    - emails I have put away in folders disapear in my inbox again
    - if I try to quite Mail it won't I have to force it and then when I open it again all my emails I was working on open again even so I have sent them already.Also all the emails I have folded away are back in my inbox WHAT A WAIST OF TIME!!
    I AM VERY UNHAPPY ABOUT MAILS PERFORMANCE AT THE MOMENT! IT SIMPLY DOESN'T WORK!
    Does anyone have the same problems and more importantly does anyone has a solution to this problem other then switching to Outlook???
    Thank you!
    Oliver

    I have the "stops receiving mail" problem with Exchange.  Sometimes I can open up the Activty window in Mail and stop  the stuck processes. Other times I have to close then reopen Mail.  I usually do the latter. A fix would be nice.
    I wonder if your other problems are related to this. The actual process of relocating your messages is maybe queued up behind one of the stuck processes. Just guessing. I have not had that problem.

  • Msgs not getting picked up after a while...

    Hi,
    I am new in terms of mq design and performance issues and i am having this problem where the msgs stop being processed after a while..( they just stay there is the inbound q).. This is someone else's code and i cannot figure out what the problem is. When the server starts the msgs get processed fine but after a few days/weeks the application totally stops processing the msgs and the msgs just keep piling on the q. I don't see any error msgs or anything which could help. The way it's been implemented is that on the server start up a servlet starts a scheduled job.
    timerReceiver = new Timer();
    timerReceiver.schedule(new XMLMsgReceiver(), secXmlMsgsReceiveInitialDelay * 1000, secXmlMsgsReceiveInterval * 1000);and the run() method of this class "XMLMsgReceiver" has the following
    if(!XMLMsgReceiver.isRunning) {
    debug("starting the MQ listener ");
    this.startListener();
    else
    debug("MQ listener is already UP");The startListener() method has the following code
    XMLMsgReceiver.isRunning = true;
    QueueConnection connection = null;
    QueueSession session = null;
    try {
    Context context = new InitialContext();
    QueueConnectionFactory factory =
    (QueueConnectionFactory) context.lookup(
    MsgConstants.QUEUE_CONNECTION_FACTORY_NAME);
    Queue queue = (Queue) context.lookup(MsgConstants.INBOUND_QUEUE_NAME);
    connection = factory.createQueueConnection();
    session = connection.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
    QueueReceiver receiver = session.createReceiver(queue);
    connection.start();
    Message m = null;
    int counter = 0;
    while (true) {
    counter++;
    try{
    m = receiver.receive(1);
    if (m == null)
    break;
    isMsgReceived = true;
    if (m instanceof TextMessage) {
    processMessage(m);
    else
    SchLogger.MQ.debug("Strange...not a text message " + m);
    }catch(Exception e){
    SchLogger.MQ.info("Exception thrown in startListener() method " + e);
    if(counter == 500) {
    SchLogger.MQ.debug("committing after 500");
    try {
    session.commit();
    } catch (Exception e1) {
    e1.printStackTrace();
    counter = 0;
    } catch (Throwable je) {
    je.printStackTrace();
    } finally {
    if(session != null){
    try {
    session.commit();
    session.close();
    } catch (JMSException ignored) {
    session = null;
    if (connection != null) {
    try {
    connection.close();
    } catch (Exception e) {
    e.printStackTrace();
    XMLMsgReceiver.isRunning = false;
    }Please advice!! If you can direct me to some docs which could help me resolving this issue that would also be great!!!
    TIA,

    Hi,
    Check any exclusion indicator in condition type of NAVS which act not to include in pricing calculation in PO but at the same time condition type nAVS will be there in MM calculation schema.
    As you said you have two condition type NAVS and NAVM and defaulted automatically in some cases, check both condition types (M/06) and find out exclusion indicator ( X or N or which one assigned) for each condition type which play vital role on each purchasing process.
    Regards,
    Biju K

  • Why stops photoshop elements 12 after a while?

    After a while photoshop elemants 12 stops. I cannot do anything in the program. Only stop it by taskmanager and restart it. The computer is normal availeble, not in hangup.

    Of course, you are right. Stupid me.
    I have windows xp, sp 3, 8 GB memory.
    The program stops when I am editing.
    Sometimes the program does not react longer.
    I have to stop the program by using the taskmanager.
    Sometimes the program stops, disappears of my monitor.
    I can restart the program, but the photo I was editing has gone.
    I discussed by chat with adobe.
    I had to do some actions, but nu success.
    It seems to me it is a memoryproblem, but if I am right is the question.
    And when I am right, what to do.
    XP can address 4 GB, I have 8 GB, so I can not expand my memory.
    I tried to run the program while using 4 GB memory, but no solution of the problem.
    I changed my videocard, no success.
    I should be very happy when someone can solve this problem.

  • I have a macbook pro (2009) and it's stops registering left clicks after a while, have to restart laptop to work again.  Help?

    hello.
    I got my macpook pro in july 2009 so the warrenty has ran out.  Today, after a while just typing away I tried to save the document and went to click on the save icon and found that I had selected selected everything in the document and then the left clicker stopped regsitering.  The right click worked just fine but it would like the left click didnt exist and it wouldnt let me do it.  I have a mouse, and at first I thought it was the mouse.  But it wasnt registering on the trackpad either, so its definitely the laptop itself not getting the signals for a left click.
    I then restarted the laptop and it was back to normal.  So i thought it was just a glitch.  but it happened again after about an hour after restarting the laptop.  So I gave up on the laptop and then out for dinner, came home to find that it happened after about 30 mins of being on the internet.
    Ive tried looking for similiar threads but it seems like for other people its something to do with the battery on their laptop or just on their track pads thats not registering.  For me, it's not registering on my track pad and every mouse I have in my house to test it with.
    Please help, it is VERY VERY much appreciated

    That disk from her computer is a machine specific version, you need this disk
    http://store.apple.com/us/product/MC573Z/A
    and follow these instructions
    How to erase and install Snow Leopard 10.6

  • [SOLVED] Ethernet stops working after a while

    When I work on this computer, the ethernet stops after a while, sometimes this is after 2 minutes, sometimes after half an hour. When I do
    sudo /etc/rc.d/network restart
    everything works again for a while. The internet doesn't work in chromium nor pacman so it isn't just one application.
    Anyone knows how I can find the cause of this?
    Thanks already!
    Last edited by AlexCogn (2012-10-14 07:21:25)

    Also, tell us about your network.  Are you plugged into a corporate or school network? your own private router? into a DSL or Cable modem?
    When it stops, what is the output of ip link  ??
    of ip addr  ??
    of ip route  ??
    What is the make, model and chipset of your NIC?
    Last edited by ewaller (2012-10-08 16:08:19)

  • X121e touch pad buttons stop working after a while

    Hello everyone,
    I have a lenovo thinkpad x121e.
    The buttons above the touchpad (for right and left clicking) and also the trackpoint stop working after a while (about 45 min). Although the touchpad itself works without problems.
    If I reboot the operating system (Windows 7, 64-bit version) everything works fine for a while and then the buttons and trackpoint won't respond again.
    It is always the same routine. Rebooting windows, everything alright, stop working, ...
    I am using the newest driver version and de- & reinstalling of UltraNav haven't solved the problem.
    Has anyone an idea what causes my problems with the touch pad buttons and how to solve it? (I guess it's not a hardware problem.)
    Many thanks in advance.

    Hi again, li-lup
    I would recommend trying to use the standard Synaptics driver found here. Synaptics is the company that develops the UltraNav software, so there should be no loss of compatibility/features. I have witnessed several cases where this driver has helped others with mouse issues, so it may help yours as well.
    The first thing you will need to do is to remove the UltraNav driver from the system. To do this, open the Start menu and type Device Manager into the Search box, and then press Enter. Once here, double click on Mouse and other pointing devices, and then right-click on the UltraNav device. Naviage to the Driver tab and select Uninstall... from the bottom of the window. Follow the prompts to uninstall and then restart when prompted by Windows. Windows should install a generic driver that will allow you to use the TouchPad when downloading the Synaptics driver. 
    Hope it helps,
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • ADF: Page navigation and buttons stop working after a while

    Hi all,
    We have a web app built with ADF Faces/JDev 10.1.3 that runs in OC4J 10.1.2.0.2. Sometimes we encounter this problem in our JSF pages: after a while (can't relate to some particular action), all navigation in a page (links, tabs, buttons, etc) just stops working, i.e. you can click them, the server receives some request (we see this in the logs), but the desired action never happens. It's just like the page keeps refreshing all the time. There is no navigation out of the page at this point, it's completely stuck.
    If, at the same time, we connect to the app from a different browser, it will work fine, but the first browser will remain in the faulty state.
    I turned the enableTokenValidation in the pages on and off, but it seems to make no difference. Can anyone provide an idea about what might be going on?
    Thanks,
    Serban

    Hello,
    Any answer on this issue? It seems that ADF is pretty unstable if user clicks repetedly on the same submit button (like a double-click) or on different tabs on the old page, until the next page loads. We are using .jspx pages and combined with SSL access this behaviour is behaving even worser.
    Basically we encounter the following problems:
    1) It seems that users with not so good network access (and accessing ADF app on a SSL OC4J) still have access to the origin page until the target page loads on a submit. If they click a different button or tab on the origin page in this interval (waiting for their previous action to complete), they usually get a JavaScript error that will block the interface until they do a manual refresh (F5)...
    This can be reproduced even on client machines with good network access if you click very fast on the same button twice or on two different submit buttons.
    2) It seems that sometimes the browser keeps showing the loading bar in the status bar even if the new .jspx page is already loaded. Any advice on how to solve this, as the users might be tempted to push application buttons or browser navigation thinking that the page is blocked?
    All the above happen on IE 6, which is the preffered browser.
    Thanks! I can give you more details if needed.

  • Pavilion g6 sound stops working after a while

    Over the past week the sound in my laptop has begun to stop working after a while of the laptop being on. It works initially but after a while when I check it doesn't work anymore. The mute button does not mute work, the volume increse and decreases on the screen but it does not affect the absense of sound. Please Help. 
    System Details: HP Pavilion g6, Windows 8

    HI. I'm having the same problem. This has been happening for some time now. I can play anything with sound and then it suddenly goes and I can't use the mute/on/off or work out what's happening. Is it a fault? 

  • Hard drive stop spinning after a while

    I have a Lenovo laptop, running Arch Linux + KDE. I noticed that when I am on battery, the hard drive stop spinning after a while, and it's very annoying to listen the disk starting again, and again. and again. I'm not interested in save energy with this, so how can I deactivate it?
    I thought it was the laptop-mode, but I runned a systemctl status laptop-mode.service, and the service is inactive. Any idea of what could be triggering this?

    man hdparm. Check out -B and -S flags. hdparm -B255 -S0 /dev/your_drive should disable any powersaving settings altogether.
    You could use udev rule to run hdparm when you swithch to battery, but there are probably more elegant solutions as well.
    KDE might handle this via its own power settings as well. I haven't really used KDE ever, so I'm not sure about this, but it's still possible.

  • Error Message "Script: chrome://tavgp/content/libs/include.js:595" Choice of "Continue" or "Stop script" When choosing "continue" firefox launches but after a while crashes. Using Windows 7

    Error Message
    "Script: chrome://tavgp/content/libs/include.js:595"
    Choice of "Continue" or "Stop script"
    When choosing "continue" firefox launches but after a while crashes. Using Windows 7

    That is a problem with an AVG extension (toolbar).
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • When i try to update cc downloadcenter it, stops after a while and shows an error

    when i try to update cc downloadcenter it, stops after a while and shows an error ?

    i tried every solution you suggested but nothing helped. And when i tried to download the cc desktop app.again it stopped downloading and gave an error code 207 and message that it could not
    contact the server. ( i had internet open all the time and every other site wasconnected ) My premiere pro cc does also quit working when i try to do something ?

Maybe you are looking for