JVM1.4.2 What can cause many full gc to occur in a row ?

Hi, I'm seeing many fullgc occuring in a row on a web application runing under tomcat 5.0.28/mod_jk
System is Solaris 9, 4 proc
Java version is : 1.4.2_10
JVM Parameters are :
-server -d64
-Xmn640m -Xms2048m -Xmx2048m -XX:ParallelGC
Threads=2 -XX:+UseParallelGC -XX:+UseMPSS -noclassgc -XX:+DisableExplicitGC
-XX:MaxPermSize=128m -XX:PermSize=128m -XX:NewSize=640m
-XX:MaxNewSize=640m
(PermSize is probably too big here)
Looking at the gclog I see :
152.026: [Full GC 1334566K->986365K(1418816K), 15.1747537 secs]
169.182: [GC 1251709K->1078683K(1421056K), 1.0553477 secs]
171.721: [GC 1343868K->1125288K(1421056K), 1.2902410 secs]
173.012: [Full GC 1125288K->238719K(1418880K), 4.1125318 secs]
When adding the -XX:+PrintHeapAtGC
I see the following (cleaned-up a bit):
{Heap before GC invocations=39:
Heap
PSYoungGen      total 497728K, used 438834K
PSOldGen        total 1441792K, used 1359384K
PSPermGen       total 131072K, used 18975K
92.358: [GC 1798219K->1531712K(1940224K), 1.4728122 secs]
Heap after GC invocations=39:
Heap
PSYoungGen total 498432K, used 127090K
PSOldGen total 1441792K, used 1404621K
PSPermGen total 131072K, used 18975K
} {Heap before GC invocations=40:
Heap
PSYoungGen      total 498432K, used 467186K
PSOldGen        total 1441792K, used 1404621K
PSPermGen       total 131072K, used 18976K
95.407: [Full GC 1871808K->1448415K(1940224K), 17.1598987 secs]
Heap after GC invocations=40:
Heap
PSYoungGen total 498432K, used 6623K
PSOldGen total 1441792K, used 1441791K
PSPermGen total 131072K, used 18976K
{Heap before GC invocations=41:
Heap
PSYoungGen      total 498432K, used 340096K
PSOldGen        total 1441792K, used 1441791K
PSPermGen       total 131072K, used 18976K
113.955: [Full GC 1781887K->253003K(1940224K), 3.6430027 secs]
Heap after GC invocations=41:
Heap
PSYoungGen total 498432K, used 0K
PSOldGen total 1441792K, used 253003K
PSPermGen total 131072K, used 18976K
Now what I'm wondering is why there are 2 Full GC in a row... probably something I don't understand well in the memory collection process....
Note that this behavior happens under a load of roughly 50 concurrent users on the server
All help appreciated !
Thanks

Hi
Thanks for your reply,
You are right about finalizable objects. We had to add a finalize() method to an object that wasn't deallocated properly under certain circumstances.
The machine itself has about 16Gb of physical memory, but indeed at the time, we may have been in swap (each of the tomcats had about 4096 of Xmx)
Setting lower memory params (ensuring we weren't in swap) gave us better performance.
What was odd too is that we got less longer full gc when we have -Xms & and -Xmx set at different values....
We now get also in the GC log a different line, which I'm not sure how to interpret :
1488.127: [GC-- 1533225K->1533225K(1887296K), 17.6195263 secs]
Would you know what it means ? Is it another type of GC besides Full & Normal ?
I will look into the finalize as well to see if we can remove them
I will look into 5.0 as well, bu t I'm not sure we'll be allowed to put it in the production server....

Similar Messages

  • Trash will not delete from trash folder! What can cause this effect?

    Trash will not delete from trash folder! What can cause this effect?

    u can actually force it to delete, oviously i assume you dont have the application or data etc open neware else?
    try restarting your computer, go into finder close all your open applications etc, servers, **** even clear your data in your web browser, do a disk utility check and verify your drives and repair em if nessicary.
    as chamar suggested look at http://www.thexlab.com/faqs/trash.html
    i had the same problem before but with a good 5-10 minutes of googling i was able to solve it..
    best of luck

  • IPod Touch not recognized by ITunes, but IPhone is. What can cause only one device to not be recognized?

    I have tried reinstalling ITunes and resetting my IPod Touch. The computer recognizes the IPod Touch as a connected device, but ITunes doesn't. However, ITunes will recognize other devices that I plug in with the same usb cord. ITunes diagonistics only says that no device is plugged in whenever the IPod Touch is plugged in. What can cause this combination of problems, and how could I get around it?

    If you have iTunes 11 on the computer and are using the same cable that works with the iPhone then:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Try on another computer
    - Make an appointment at the Genius Bar of an Apple store since it appears you have a hardware preoblem
    Apple Retail Store - Genius Bar      

  • Photoshop CS4 for Mac What can cause the error: Plug-in failed to load - NO VERSION

    With Photoshop CS4 for Mac I install the Kodak Plug-in DIGITAL GEM Airbrush Professional v2.1.0. When Photoshop starts I get an error:
    Plug-ins that failed to load:
       DIGITAL GEM Airbrush Professional v2.1.0 NO VERSION -  - from the file “DigitalAIRProv2.plugin”Flash:
       Connections
       Kuler
    This plug-in works fine on my Mac Pro with Photoshop CS4 and OS 10.6 but fails on a new Macbook Air.
    Reinstalling the plug-in did not make any difference. What can cause this error?

    Thanks Chris, That was my first thought too but this same plug-in works on another installation of CS4. This is a Mac installation and the plug-in is Universal so it should work. Is there any other possible cause for this error? Would Photoshop refuse to load a plug-in in a low memory situation?
    Also, The Flash extensions:Connections and Kuler are working OK, I just copied a little more out of the System Info report than I needed to.

  • Myfi is running very slow, what can cause this?

    Myfi is running very slow, what can cause this?

    Either a service problem in your area or a glitch/hardware problem on the Jetpack.
    To determine service problems simply travel to a different area and rerun your speed test.  If the problem persists then its a glitch/hardware problem on the Jetpack.  If not then its a service problem in that particular area that would need to be addressed by VZW or improved with the usage of antennas/boosters.
    When performance testing be sure to use a tool that is universal to better illustrate the problem.  For example a common utility is to speed test using www.speedtest.net.  Run this test a few times to build an average and then perform the same tests in a different location or after changing something around.

  • Mac pro monitor has a shadow in its center. Does anybody know what can cause that?

    Last day my mac pro showed a shadow in its display center. Does anybody know what can cause?
    I use to use it a litle, cause i'm new on macs and still use pc based on windows.

      Who made the monitor?  Is it even Apple?
      If you have the right connections, try swapping out the monitor with your PeeCee monitor and see if the problems stays or goes.   But does sound like a monitor issue.  But then, hard to know what you mean by shadow...

  • What can cause ctm_config.properties to reformatted ? LMS 3.2 solaris10

    The customer observed the same error mentioned in this thread:
    https://supportforums.cisco.com/message/3038760#3038760
    When running a quick report in Campus Manager (User Tracking > Reports) the following error appears:
    Application error: URN_NOT_FOUND : urn "ogs_server_urn" : Not found !!.
    Also, the reason here was the same, a config file with with wrong content:
    NMSROOT/MDC/tomcat/webapps/cmapps/WEB-INF/lib/ctm_config.txt
    Interestingly, the file was touched when a specific job started. So I assume that this job somehow scrambles up that file.
    the content of the "wrong" file was:
    ================
    #CSTM Configurations
    #Thu Jul 01 11:35:32 CEST 2010
    SERVER_PORT=45589
    MAX_VM_PORTS=20
    MAX_THREADS=100
    CTM_FILE_DOWNLOAD_URL=\:ctm/FileDownload
    CTM_SSL=1
    CTM_URL=\:443/campus/CTMServlet
    CTM_FILE_UPLOAD_URL=\:443/ctm/FileUpload
    ===================================
    Also I found a strange "copy" of that file (or part of it) here: /opt/CSCOpx/nullctm_config.txt
    root@server # cat /opt/CSCOpx/nullctm_config.txt
    #CSTM Configurations
    #Sat Jul 10 11:40:22 CEST 2010
    SERVER_PORT=54456
    root@sdeu1120 #
    the timestamp of both files:
    -rw-rw-r--   1 casuser  casusers     226 Jul 10 11:40 /opt/CSCOpx/MDC/tomcat/webapps/cmapps/WEB-INF/lib/ctm_config.txt
    -rw-r-----   1 casuser  casusers      70 Jul 10 11:40 /opt/CSCOpx/nullctm_config.txt
    The job showed up with /usr/ucb/ps -gauxwww as follows:
    casuser  21770  0.0  0.316640095080 ?        S 11:40:00  0:44 CSCO.1599 -cw /opt/CSCOpx -cw:jre /opt/CSCOpx/MDC/jre -Xmx1280m -Xincgc -XX:MaxPermSize=128m -Dnm.jrm.jobid=1599 -cp:p MDC/tomcat/webapps/cmapps/WEB-INF/classes/:MDC/tomcat/webapps/cmapps/WEB-INF/lib/:campus/lib/classpath/:campus/www/classpath/:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ctm.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/iText.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/log4j.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ogs-client.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ogs-server.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ogs-sharedasa.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ogs-sharedgroup.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ogs-sqlasa.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ogs-testasa.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/ogs-util.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/struts.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/uii.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/utng.jar:MDC/tomcat/webapps/cmapps/WEB-INF/lib/xerces.jar:campus/lib/classpath/servlet.jar:campus/www/classpath/share.jar:campus/www/classpath/ogs-client-sign-1-3.jar:campus/www/classpath/ogs-cmclient1.2-sign-1-3.jar:campus/www/classpath/ogs-server-sign-1-3.jar:campus/www/classpath/ogs-util-sign-1-3.jar:campus/www/classpath/share-sign-1-3.jar:campus/www/classpath/log4j.jar:campus/www/classpath/ogs-client.jar:campus/www/classpath/ogs-server.jar:campus/www/classpath/ogs-cmclient1.2.jar:campus/www/classpath/xerces.jar:campus/www/classpath/xerces-sign-1-3.jar:campus/www/classpath/ogs-util.jar:MDC/tomcat/shared/lib/xerces.jar:MDC/tomcat/shared/lib/MICE.jar:MDC/tomcat/shared/lib/NATIVE.jar:MDC/tomcat/shared/lib/ctm.jar:www/classpath/SecretClient.jar:lib/classpath/servlet.jar:lib/classpath/cmfjms.jar:lib/classpath/License.jar:lib/classpath/log4j-1.2.8.jar com.cisco.nm.ani.clients.utng.application.JobRunner 1599 481 1233657331085.ser
    If I remember well this job was of the type "Switch Port Report-Switch Port Summary". But I could not see this job. The reason for this could be that there were a huge amount of jobs listed in  CS > Server > Admin > Job Browser: more then 30 000 history entries.
    After cleaning up the number of history jobs, the same error appeared again a few day later. What can cause this strange error ?

    I am still confused with this error...
    after the first occurence of the problem I added the line (DYNAMIC_PORT_ALLOCATION=0) to ctm_config.txt as you suggested, restarted the service and the problem was gone;
    is it necessary to do this also for the file in the campus path?
        /opt/CSCOpx/MDC/tomcat/webapps/campus/WEB-INF/lib
    a week later or so the customer said that the problem reoccured without corruption of ctm_config.txt - could this be possible?
    As I described above, according to the timestamps of ctmregistry (in cmapps) it was not rewritten after dmgtd restart - ok - but why was it possible to generate the UT > Reports without a problem first an later not?
    this is what I observed with the last test:
    after deleting ctmregistry in both directries it was only recreated in
        /opt/CSCOpx/MDC/tomcat/webapps/campus/WEB-INF/lib
    around 20 mins afer ANIServer start time and it did not get created in
        /opt/CSCOpx/MDC/tomcat/webapps/cmapps/WEB-INF/lib
    although, the reports in UT > Reports > Report Generator are running fine
    I assume ctmregistry in cmapps will get created on the first request but this is not the task of generating the report. Instead I think another tasks/action creates this file but when it exists the Report Generater makes use of it. I observed that with a bad ctmregistry file and a good ctm_config.txt in
        /opt/CSCOpx/MDC/tomcat/webapps/cmapps/WEB-INF/lib
    the Device Selector for UT > Reports > Report Generator did not show any Devices...
    so I am a little confused about this behaviour...
    Is there/will there be a patch available for LMS 3.2 that prevents ctm_config.txt to get corrupted? It is a config file - shouldnt it be opened read-only by any LMS process?

  • What can cause the power source to malfunction?

    What can cause the power source to malfunction?

    Intel-Based Apple Portables: Troubleshooting a computer that will not power on
    Apple Portables: Resetting the System Management Controller (SMC)
    Resetting your Mac's PRAM and NVRAM

  • I cannot control the sensor on my Mac, it moves by itself, and opens different pages. What can cause this problem? please help me.

    I cannot control the sensor on my Mac, it moves by itself, and opens different pages. What can cause this problem? please help me.

    There are several possible causes for this issue. Take each of the following steps until it's resolved.
    1. Follow the instructions in this support article.
    2. Reset the System Management Controller.
    3. If you're using a Bluetooth trackpad, investigate potential sources of interference, including USB 3 devices.
    4. A swollen battery in a MacBook Pro or Air can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced.
    5. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built in trackpad of a MacBook to  behave erratically. If you're using such an adapter, disconnect it and test.
    6. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    7. If none of the above applies, or if you have good reason to think your computer is being controlled remotely, remove it from the network by turning off Wi-Fi, disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop immediately, you should suspect an intrusion.

  • Sometimes my MacMini won't wake up.  Have to turn it off/on.  What can cause this?

    Sometimes my MacMini won’t wake up.  Have to turn it off/on.  What can cause this?

    Open System Preferences > Energy Saver
    Click:  Restore Defaults
    If that doesn't help, try Resetting the System Management Controller (SMC)

  • What can cause a sales order to have the status "To Be Costed"?

    Dear Experts,
    We are not very proficient in SD/FICO config and we are facing this problem. We are creating debit/credit note and after we saved, sometimes the system status becomes "To be costed". This prevents billing to be done.
    Sometimes using the same data to create another debit/credit note, the issue does not occur.
    We are not sure why the same data of the sales order created sometimes has that issue and sometimes it does not.
    1) What are the factors that cause the status "To be costed" to be assigned to the sales order?
    2) We don't want the status "To be costed" to appear. What can we do to do this at sales order type level?
    3) We are suspecting might be because of the availability check. Does this affect the status as well?
    If there is, we do not want to change the data for this material at material level. Is there a way to control by sales order type level? Thanks.
    Regards,
    Janet

    Hi,
    Please check if the material you are trying to invoice has the cost estimate released properly and which is updated in the material master as the planned price.
    Good Luck!!!!!
    Thanks and Regards,
    Bhuvaneswari.S

  • What can cause "Would you like to update the saved password?" When there is no password saved?

    Lately, I am seeing this prompt for "Would you like to update the saved password?" when I log into password protected sites, where there is actually no saved password. Like the Bank of America site, I don't want the browser to save the password. What would cause this? I can just envision me clicking YES to update the saved password, then I have just somehow sent my password to hackers. Is this a known issue, or am i looking at a possible security breach here?

    Firefox shows this notification if you use the Password Manager to fill the name and password and you change/modify the password that was previously saved. This can also happen if there is a script running that modifies the password field.
    You may disable the remember password incase it's needed by doing the foll:
    Tools-> Options -> Security -> Uncheck remember passwords for site.

  • What can cause false "disk needs to be repaired" message?

    Occasionally, when using OnyX or Disk First Aid, a message states to restart the computer, holding Command-R and to repair my disk.
    Every single time, the disk turns out to be OK.
    Question 1: Is this a false reading, or is the disk actually being fixed by the Control-R combination?
    Question 2: If it is NOT a false reading, since my programs don't crash and I always shut down properly, what could cause the errors?
    Regards
    Macbook Pro 13, 10.9.4, 4GB RAM

    Occasionally, you might have transient issues generate this message.
    To know more about the condition of your hard drive, I'd run SmartReporter and look for errors:
    http://download.cnet.com/SMARTReporter/3000-2086_4-49263.html
    or:
    http://www.macupdate.com/app/mac/24875/smart-utility

  • What can cause a flash page to take 30 sec. to display?

    I am using Flash Builder 4.6 to create flex 4 and ActionScript 3.0. This process creates a number of files for one webpage.
    history folder
    upload.html
    upload.swf
    framework_4.6.0.23201.swf
    mx_4.6.0.23201.swf
    playerProductInstall.swf
    rpc_4.6.0.23201.swf
    spark_4.6.0.23201.swf
    sparkskins_4.6.0.23201.swf
    swfobject.js
    textLayout_2.0.0.232.swf
    When my firefox browser first loads a page that has a flash upload form I created, the page shows a load bar for 30 seconds before the page displays the form. Every visit to the page after that displays the form near instantly.
    When I visit other websites for the first time that have flash content, the pages don't take 30 seconds.
    What could be the cause of this? Thanks.

    By network, correct me if I misunderstand you, I think you are refering to the server of my host provider. It is the cheapest. It is a shared server. I don't know how fast. Sometime this year I plan to upgrade to a more midgrade server.
    Maybe some of these files listed above can be optimized. My flex/flash page is just an upload image form. It has upload and cancel buttons component, some text in a textarea component, and a progress bar component. I don't think my actionscript code can or needs to be optimized further.

  • What can cause a cpu overtemp apart from the obvious.

          I have played about with my Mac Pro 1.1 for three days now because it cut out all the time with the cpu overtemp LED's coming on. I have taken it apart and cleaned out the dust about 4 times now.Can this be caused by other things, for example, overheating of the pcie, or having too many drives and peripherals on. I had 4 drives, 3 usb's loaded, a nvidia 7300gt for mac osx and a GTX 460 for windows and 4 gig of memory in place when it all started. I did notice that the pcie fan really kicked in on some windows games.
          I have now taken out the gtx 460, and replaced it with the inferior ATI 4850, 1 gig of ram along with the riser and am thinking of taking out one of the hard drives. It seems to be working fine now. Could it have been bad memory or just drawing on the power supply too much?

    I would run the Apple Hardware Test. It could be a failed fan or sensor.

Maybe you are looking for

  • Multiple user catalog

    How can I share a catalog between multiple users? I'm sharing on three iMacs and using Lightroom 4.

  • MSI P45 Neo-f with intermittent boot problems

    Current system: *CPU: Intel core2duo 4300 1,80GHz Mobo: MSI P45 Neo-F LGA775 *Memory: 1 Kingston 1GB PC2-5300 667MHz DDR2 and 1 Dane-Elec 1GB PC2-5300 667MHz DDR2 Videocard: Club3D Nvidia 8800GT 512MB GDDR3 *Hard drive: 120GB IBM deskstar 7200rpm Ult

  • Blinky white lines then full white screen

    So... Caught in some rain with my iPod touch in my pocket... Didnt get drenched or anything like that , but my clothes were definitely damp. Then it was in a dry tent overnight with me but got rather cold (40s, so not all that bad actually). This mor

  • (Resolved - My own stupidity) Remote Desktop 8.1.3 for iOS (iOS 8.0) - Connects to Black Screen

    New version, new problems! After finally solving my problems with connecting introduced in 8.1.0 for iOS, I have updated to 8.1.3 and have a new problem! I am able to log in, but upon login, I am presented with a black screen instead of my desktop. 

  • Calendar broken on my iPhone

    Well here is the problem. Ever since I synced iPhone Calendar with Google Calendar, the following would happen: -When I open the calendar, and tap a date, it will freeze and I am unable to tap anything. I can either press the sleep or home button, bo