Very high memory usage..possible memory leak?  Solaris 10 8/07 x64

Hi,
I noticed yesterday that my machine was becoming increasingly slow, where once it was pretty snappy. It's a Compaq SR5250NX with 1GB of RAM. Upon checking vmstat, I noticed that the "Free" column was ~191MB. Now, the only applications I had open were FireFox 2.0.11, GAIM, and StarOffice. I closed all of them, and the number reported in the "Free" column became approximately 195MB. "Pagefile" was about 5.5x that size. There were no other applications running and it's a single user machine, so I was the only one logged in. System uptime: 9 days.
I logged out, logged back in, to see if that had an affect. It did not. Rebooted and obviously, that fixed it. Now with only FireFox, GAIM, and a terminal open, vmstat reports "Free" as ~450MB. I've noticed if I run vmstat every few seconds, the "Free" total keeps going down. Example:
unknown% vmstat
kthr      memory            page            disk          faults      cpu
r b w   swap  free  re  mf pi po fr de sr cd s0 s1 s2   in   sy   cs us sy id
0 0 0 870888 450220  9  27 10  0  1  0  8  2 -0 -0 -0  595 1193  569 72  1 28
unknown% vmstat
kthr      memory            page            disk          faults      cpu
r b w   swap  free  re  mf pi po fr de sr cd s0 s1 s2   in   sy   cs us sy id
0 0 0 870880 450204  9  27 10  0  1  0  8  2 -0 -0 -0  596 1193  569 72  1 28
unknown% vmstat
kthr      memory            page            disk          faults      cpu
r b w   swap  free  re  mf pi po fr de sr cd s0 s1 s2   in   sy   cs us sy id
0 0 0 870828 450092  9  27 10  0  1  0  8  2 -0 -0 -0  596 1193  570 71  1 28
unknown%Output of prstat -u Kendall (my username ) is as follows:
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
  2026 Kendall   124M   70M sleep   59    0   0:01:47 1.4% firefox-bin/7
  1093 Kendall    85M   77M sleep   59    0   0:07:15 1.1% Xsun/1
  1802 Kendall    60M   15M sleep   59    0   0:00:08 0.1% gnome-terminal/2
  1301 Kendall    93M   23M sleep   49    0   0:00:30 0.1% java/14
  1259 Kendall    53M   15M sleep   49    0   0:00:32 0.1% gaim/1
  2133 Kendall  3312K 2740K cpu1    59    0   0:00:00 0.0% prstat/1
  1276 Kendall    51M   12M sleep   59    0   0:00:11 0.0% gnome-netstatus/1
  1247 Kendall    46M   10M sleep   59    0   0:00:06 0.0% metacity/1
  1274 Kendall    51M   13M sleep   59    0   0:00:05 0.0% wnck-applet/1
  1249 Kendall    56M   17M sleep   59    0   0:00:07 0.0% gnome-panel/1
  1278 Kendall    48M 9240K sleep   59    0   0:00:05 0.0% mixer_applet2/1
  1245 Kendall  9092K 3844K sleep   59    0   0:00:00 0.0% gnome-smproxy/1
  1227 Kendall  8244K 4444K sleep   59    0   0:00:01 0.0% xscreensaver/1
  1201 Kendall  4252K 1664K sleep   59    0   0:00:00 0.0% sdt_shell/1
  1217 Kendall    55M   16M sleep   59    0   0:00:00 0.0% gnome-session/1
   779 Kendall    47M 2208K sleep   59    0   0:00:00 0.0% gnome-volcheck/1
   746 Kendall  5660K 3660K sleep   59    0   0:00:00 0.0% bonobo-activati/1
  1270 Kendall    49M   10M sleep   49    0   0:00:00 0.0% clock-applet/1
  1280 Kendall    47M 8904K sleep   59    0   0:00:00 0.0% notification-ar/1
  1199 Kendall  2928K  884K sleep   59    0   0:00:00 0.0% dsdm/1
  1262 Kendall    47M 2268K sleep   59    0   0:00:00 0.0% gnome-volcheck/1
Total: 37 processes, 62 lwps, load averages: 0.11, 0.98, 1.63System uptime is 9 hours, 48 minutes. I'm just wondering why the memory usage seems so high to do...nothing. It's obviously a real problem as the machine turned very slow when vmstat was showing 195MB free.
Any tips, tricks, advice, on which way to go with this?
Thanks!

Apologies for the delayed reply. School has been keeping me nice and busy.
Anyway, here is the output of prstat -Z:
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
  2040 Kendall      144M   76M sleep   59    0   0:04:26 2.0% firefox-bin/10
28809 Kendall     201M  193M sleep   59    0   0:42:30 1.9% Xsun/1
  2083 Kendall      186M   89M sleep   49    0   0:02:31 1.2% java/58
  2260 Kendall       59M   14M sleep   59    0   0:00:00 1.0% gnome-terminal/2
  2050 Kendall       63M   21M sleep   49    0   0:01:35 0.6% realplay.bin/4
  2265 Kendall     3344K 2780K cpu1    59    0   0:00:00 0.2% prstat/1
29513 Kendall     71M   33M sleep   39    0   0:07:25 0.2% gaim/1
28967 Kendall     56M   18M sleep   59    0   0:00:24 0.1% gnome-panel/1
29060 Kendall     93M   24M sleep   49    0   0:02:58 0.1% java/14
28994 Kendall     51M   13M sleep   59    0   0:00:23 0.1% wnck-applet/1
28965 Kendall     49M   14M sleep   59    0   0:00:33 0.0% metacity/1
   649 noaccess   164M   46M sleep   59    0   0:09:54 0.0% java/23
28996 Kendall     51M   12M sleep   59    0   0:00:50 0.0% gnome-netstatus/1
  2264 Kendall    1352K  972K sleep   59    0   0:00:00 0.0% csh/1
28963 Kendall  9100K 3792K sleep   59    0   0:00:03 0.0% gnome-smproxy/1
ZONEID    NPROC  SWAP   RSS MEMORY      TIME  CPU ZONE
     0           80          655M  738M    73%       1:18:40 7.7% global
Total: 80 processes, 322 lwps, load averages: 0.27, 0.27, 0.22Sorry about the bad formatting, it's copied from the terminal.
In any event, we can see that FireFox is sucking up 145MB (??!?!!? crazy...) XSun, 200MB, and java 190MB. I'm running Java Desktop System (Release 3) so I assume that is what accounts for the the high memory usage RE: java process. But, XSun, 200MB?
Is this normal and I just need to toss another gig in, or what?
Thanks

Similar Messages

  • XML select query causing very high CPU usage.

    Hi All,
    In our Oracle 10.2.0.4 Two node RAC we are facing very high CPU usage....and all of the top CPU consuming processes are executing this below sql...also these statements are waiting for some gc wiat events as shown below.
    SELECT B.PACKET_ID FROM CM_PACKET_ALT_KEY B, CM_ALT_KEY_TYPE C, TABLE(XMLSEQUENCE ( EXTRACT (:B1 , '/AlternateKeys/AlternateKey') )) T
    WHERE B.ALT_KEY_TYPE_ID = C.ALT_KEY_TYPE_ID AND C.ALT_KEY_TYPE_NAME = EXTRACTVALUE (VALUE (T), '/AlternateKey/@keyType')
    AND B.ALT_KEY_VALUE = EXTRACTVALUE (VALUE (T), '/AlternateKey')
    AND NVL (B.CHILD_BROKER_CODE, '6209870F57C254D6E04400306E4A78B0') =
    NVL (EXTRACTVALUE (VALUE (T), '/AlternateKey/@broker'), '6209870F57C254D6E04400306E4A78B0')
    SQL> select sid,event,state from gv$session where state='WAITING' and event not like '%SQL*Net%';
           SID EVENT                                                            STATE
            66 jobq slave wait                                                  WAITING
           124 gc buffer busy                                                   WAITING
           143 gc buffer busy                                                   WAITING
           147 db file sequential read                                          WAITING
           222 Streams AQ: qmn slave idle wait                                  WAITING
           266 gc buffer busy                                                   WAITING
           280 gc buffer busy                                                   WAITING
           314 gc cr request                                                    WAITING
           317 gc buffer busy                                                   WAITING
           392 gc buffer busy                                                   WAITING
           428 gc buffer busy                                                   WAITING
           471 gc buffer busy                                                   WAITING
           518 Streams AQ: waiting for time management or cleanup tasks         WAITING
           524 Streams AQ: qmn coordinator idle wait                            WAITING
           527 rdbms ipc message                                                WAITING
           528 rdbms ipc message                                                WAITING
           532 rdbms ipc message                                                WAITING
           537 rdbms ipc message                                                WAITING
           538 rdbms ipc message                                                WAITING
           539 rdbms ipc message                                                WAITING
           540 rdbms ipc message                                                WAITING
           541 smon timer                                                       WAITING
           542 rdbms ipc message                                                WAITING
           543 rdbms ipc message                                                WAITING
           544 rdbms ipc message                                                WAITING
           545 rdbms ipc message                                                WAITING
           546 rdbms ipc message                                                WAITING
           547 gcs remote message                                               WAITING
           548 gcs remote message                                               WAITING
           549 gcs remote message                                               WAITING
           550 gcs remote message                                               WAITING
           551 ges remote message                                               WAITING
           552 rdbms ipc message                                                WAITING
           553 rdbms ipc message                                                WAITING
           554 DIAG idle wait                                                   WAITING
           555 pmon timer                                                       WAITING
            79 jobq slave wait                                                  WAITING
           117 gc buffer busy                                                   WAITING
           163 PX Deq: Execute Reply                                            WAITING
           205 db file parallel read                                            WAITING
           247 gc current request                                               WAITING
           279 jobq slave wait                                                  WAITING
           319 LNS ASYNC end of log                                             WAITING
           343 jobq slave wait                                                  WAITING
           348 direct path read                                                 WAITING
           372 db file scattered read                                           WAITING
           475 jobq slave wait                                                  WAITING
           494 gc cr request                                                    WAITING
           516 Streams AQ: qmn slave idle wait                                  WAITING
           518 Streams AQ: waiting for time management or cleanup tasks         WAITING
           523 Streams AQ: qmn coordinator idle wait                            WAITING
           528 rdbms ipc message                                                WAITING
           529 rdbms ipc message                                                WAITING
           530 Streams AQ: waiting for messages in the queue                    WAITING
           532 rdbms ipc message                                                WAITING
           537 rdbms ipc message                                                WAITING
           538 rdbms ipc message                                                WAITING
           539 rdbms ipc message                                                WAITING
           540 rdbms ipc message                                                WAITING
           541 smon timer                                                       WAITING
           542 rdbms ipc message                                                WAITING
           543 rdbms ipc message                                                WAITING
           544 rdbms ipc message                                                WAITING
           545 rdbms ipc message                                                WAITING
           546 rdbms ipc message                                                WAITING
           547 gcs remote message                                               WAITING
           548 gcs remote message                                               WAITING
           549 gcs remote message                                               WAITING
           550 gcs remote message                                               WAITING
           551 ges remote message                                               WAITING
           552 rdbms ipc message                                                WAITING
           553 rdbms ipc message                                                WAITING
           554 DIAG idle wait                                                   WAITING
           555 pmon timer                                                       WAITINGI am not at all able to understand what this SQL is...i think its related to some XML datatype.
    Also not able to generate execution plan for this sql using explain plan- getting error(ORA-00932: inconsistent datatypes: expected - got -)
    Please help me in this issue...
    How can i generate execution plan?
    Does this type of XML based query will cause high GC wiat events and buffer busy wait events?
    How can i tune this query?
    How can i find that this is the only query causing High CPU usage?
    Our servers are having 64 GB RAM and 16 CPU's..
    OS is Solaris 5.10 with UDP as protocol for interconnect..
    -Yasser

    I found some more xml queries as shown below.
    SELECT XMLELEMENT("Resource", XMLATTRIBUTES(RAWTOHEX(RMR.RESOURCE_ID) AS "resourceID", RMO.OWNER_CODE AS "ownerCode", RMR.MIME_TYPE AS "mimeType",RMR.FILE_SIZE AS "fileSize", RMR.RESOURCE_STATUS AS "status"), (SELECT XMLAGG(XMLELEMENT("ResourceLocation", XMLATTRIBUTES(RAWTOHEX(RMRP.REPOSITORY_ID) AS "repositoryID", RAWTOHEX(DIRECTORY_ID) AS "directoryID", RESOURCE_STATE AS "state", RMRO.RETRIEVAL_SEQ AS "sequence"), XMLFOREST(FULL_PATH AS "RemotePath"))ORDER BY RMRO.RETRIEVAL_SEQ) FROM RM_RESOURCE_PATH RMRP, RM_RETRIEVAL_ORDER RMRO, RM_LOCATION RML WHERE RMRP.RESOURCE_ID = RMR.RESOURCE_ID AND RMRP.REPOSITORY_ID = RMRO.REPOSITORY_ID AND RMRO.LOCATION_ID = RML.LOCATION_ID AND RML.LOCATION_CODE = :B2 ) AS "Locations") FROM RM_RESOURCE RMR, RM_OWNER RMO WHERE RMR.OWNER_ID = RMO.OWNER_ID AND RMR.RESOURCE_ID = HEXTORAW(:B1 )
    SELECT XMLELEMENT ( "Resources", XMLAGG(XMLELEMENT ( "Resource", XMLATTRIBUTES (B.RESOURCE_ID AS "id"), XMLELEMENT ("ContentType", C.CONTENT_TYPE_CODE), XMLELEMENT ("TextExtractStatus", B.TEXT_EXTRACTED_STATUS), XMLELEMENT ("MimeType", B.MIME_TYPE), XMLELEMENT ("NumberPages", TO_CHAR (B.NUM_PAGES)), XMLELEMENT ("FileSize", TO_CHAR (B.FILE_SIZE)), XMLELEMENT ("Status", B.STATUS), XMLELEMENT ("ContentFormat", D.CONTENT_FORMAT_CODE), G.ALTKEY )) ) FROM CM_PACKET A, CM_RESOURCE B, CM_REF_CONTENT_TYPE C, CM_REF_CONTENT_FORMAT D, ( SELECT XMLELEMENT ( "AlternateKeys", XMLAGG(XMLELEMENT ( "AlternateKey", XMLATTRIBUTES ( H.ALT_KEY_TYPE_NAME AS "keyType", E.CHILD_BROKER_CODE AS "broker", E.VERSION AS "version" ), E.ALT_KEY_VALUE )) ) ALTKEY, E.RESOURCE_ID RES_ID FROM CM_RESOURCE_ALT_KEY E, CM_RESOURCE F, CM_ALT_KEY_TYPE H WHERE E.RESOURCE_ID = F.RESOURCE_ID(+) AND F.PACKET_ID = HEXTORAW (:B1 ) AN
    D E.ALT_KEY_TYPE_ID = H.ALT_KEY_TYPE_ID GROUP BY E.RESOURCE_ID) G WHERE A.PACKET_ID = HEXTORAW (:B1
    SELECT XMLELEMENT ("Tagging", XMLAGG (GROUPEDCAT)) FROM ( SELECT XMLELEMENT ( "TaggingCategory", XMLATTRIBUTES (CATEGORY1 AS "categoryType"), XMLAGG (LISTVALUES) ) GROUPEDCAT FROM (SELECT EXTRACTVALUE ( VALUE (T), '/TaggingCategory/@categoryType' ) CATEGORY1, XMLCONCAT(EXTRACT ( VALUE (T), '/TaggingCategory/TaggingValue' )) LISTVALUES FROM TABLE(XMLSEQUENCE(EXTRACT ( :B1 , '/Tagging/TaggingCategory' ))) T) GROUP BY CATEGORY1)
    SELECT XMLCONCAT ( :B2 , DI_CONTENT_PKG.GET_ENUM_TAGGING_FN (:B1 ) ) FROM DUAL
    SELECT XMLCONCAT (:B2 , :B1 ) FROM DUAL
    SELECT * FROM EQ_RAW_TAG_ERROR A WHERE TAG_LIST_ID = :B2 AND EXTRACTVALUE (A.RAW_TAG_XML, '/TaggingValues/TaggingValue/Value' ) = :B1 AND A.STATUS = '
    NR'
    SELECT RAWTOHEX (S.PACKET_ID) AS PACKET_ID, PS.PACKET_STATUS_DESC, S.LAST_UPDATE AS LAST_UPDATE, S.USER_ID, S.USER_COMMENT, MAX (T.ALT_KEY_VALUE) AS ALTKEY, 'Y' AS IS_PACKET FROM EQ_PACKET S, CM_PACKET_ALT_KEY T, CM_REF_PACKET_STATUS PS WHERE S.STATUS_ID = PS.PACKET_STATUS_ID AND S.PACKET_ID = T.PACKET_ID AND NOT EXISTS (SELECT 1 FROM CM_RESOURCE RES WHERE RES.PACKET_ID = S.PACKET_ID AND EXISTS (SELECT 1 FROM CM_REF_CONTENT_FORMAT CF WHERE CF.CONTENT_FORMAT_ID = RES.CONTENT_FORMAT AND CF.CONTENT_FORMAT_CODE = 'I_FILE')) GROUP BY RAWTOHEX (S.PACKET_ID), PS.PACKET_STATUS_DESC, S.LAST_UPDATE, S.USER_ID, S.USER_COMMENT UNION SELECT RAWTOHEX (A.FATAL_ERROR_ID) AS PACKET_ID, C.PACKET_STATUS_DESC, A.OCCURRENCE_DATE AS LAST_UPDATE, '' AS USER_ID, '' AS USER_COMMENT, RAWTOHEX (A.FATAL_ERROR_ID) AS ALTKEY, 'N' AS IS_PACKET FROM EQ_FATAL_ERROR A, EQ_ERROR_MSG B, CM_REF_PACKET_STATUS C, EQ_SEVERITYD WHERE A.PACKET_ID IS NULL AND A.STATUS = 'NR' AND A.ERROR_MSG_ID = B.ERROR_MSG_ID AND B.SEVERITY_I
    SELECT /*+ INDEX(e) INDEX(a) INDEX(c)*/ XMLAGG(XMLELEMENT ( "TaggingCategory", XMLATTRIBUTES ( G.TAG_CATEGORY_CODE AS "categoryType" ), XMLELEMENT ("TaggingValue", XMLATTRIBUTES (C.IS_PRIMARY AS "primary", H.ORIGIN_CODE AS "origin"), XMLAGG(XMLELEMENT ( "Value", XMLATTRIBUTES ( F.TAG_LIST_CODE AS "listType" ), E.TAG_VALUE )) ) )) FROM TABLE (CAST (:B1 AS T_TAG_MAP_HIERARCHY_TAB)) A, TABLE (CAST (:B2 AS T_ENUM_TAG_TAB)) C, REM_TAG_VALUE E, REM_TAG_LIST F, REM_TAG_CATEGORY G, CM_ORIGIN H WHERE E.TAG_VALUE_ID = C.TAG_VALUE_ID AND F.TAG_LIST_ID = E.TAG_LIST_ID AND G.TAGGING_CATEGORY_ID = F.TAGGING_CATEGORY_ID AND H.ORIGIN_ID = C.ORIGIN_ID AND C.ENUM_TAG_ID = A.MAPPED_ENUM_TAG_ID GROUP BY C.IS_PRIMARY, H.ORIGIN_CODE, G.TAG_CATEGORY_CODE START WITH A.MAPPED_ENUM_TAG_ID = HEXTORAW (:B3 ) CONNECT BY PRIOR A.MAPPED_ENUM_TAG_ID = A.ENUM_TAG_ID
    SELECT /*+  INDEX(e) */ XMLAGG(XMLELEMENT ( "TaggingCategory", XMLATTRIBUTES ( G.TAG_CATEGORY_CODE AS "categoryType" ), XMLELEMENT ( "TaggingValue", XMLATTRIBUTES (C.IS_PRIMARY AS "primary", H.ORIGIN_CODE AS "origin"), XMLAGG(XMLCONCAT ( XMLELEMENT ( "Value", XMLATTRIBUTES ( F.TAG_LIST_CODE AS "listType" ), E.TAG_VALUE ), CASE WHEN LEVEL = 1 THEN :B4 ELSE NULL END )) ) )) FROM TABLE (CAST (:B1 AS T_TAG_MAP_HIERARCHY_TAB)) A, TABLE (CAST (:B2 AS T_ENUM_TAG_TAB)) C, REM_TAG_VALUE E, REM_TAG_LIST F, REM_TAG_CATEGORY G, CM_ORIGIN H WHERE E.TAG_VALUE_ID = C.TAG_VALUE_ID AND F.TAG_LIST_ID = E.TAG_LIST_ID AND G.TAGGING_CATEGORY_ID = F.TAGGING_CATEGORY_ID AND H.ORIGIN_ID = C.ORIGIN_ID AND C.ENUM_TAG_ID = A.MAPPED_ENUM_TAG_ID GROUP BY G.TAG_CATEGORY_CODE, C.IS_PRIMARY, H.ORIGIN_CODE START WITH A.MAPPED_ENUM_TAG_ID = HEXTORAW (:B3 ) CONNECT BY PRIOR A.MAPPED_ENUM_TAG_ID = A.ENUM_TAG_IDBy observing above sql queries i found some hints forcing for index usage..
    I think xml schema is created already...and its progressing as you stated above. Please correct if i am wrong.
    I found all these sql from AWR report and all of these are very high resource consuming queries.
    And i am really sorry if i am irritating you by asking all stupid questions related to xml.
    -Yasser
    Edited by: YasserRACDBA on Nov 17, 2009 3:39 PM
    Did syntax allignment.

  • I am receiving bills from my carrier with very high data usage. I read books from apple store. Do ibooks use gb once purchased?

    I am receiving bills from my carrier with very high data usage. I read books from apple store. Do ibooks use gb once purchased?

    To reduce data usage, you should put iPad on Aeroplane Mode to stop all background activities when not using iPad.
    Message was edited by: Diavonex

  • SA520W - High memory usage, possible fix in 2.2.0 firmware?

    As suggested by Thomas Watts, I'm starting a new thread to discuss the new SA520W firmware (2.2.0) and a possible resolution to high memory usage I'm experiencing on my network.
    My current setup is: 16Mbit DSL > SA520W > SA300-10, all with stock settings (no fancy VLAN's etc.)
    I have 4 CentOS 5/6 servers and a Windows 7 Ultimate station connected to the switch. I use CIFS to connect from Windows station to the other Linux servers and send large files. I currently notice the following behavior:
    When the file transfer starts, the Intel 1Gbit NIC is nearly saturated, hitting 115MB/sec. After few seconds, the data transfer comes to a halt and the transfer speed drops to around 50MB/sec. If I check the memory usage before the file transfer, it is approximately to 50-60% (on a fresh router reboot). Every time I send large files to other machines, the router memory consumption increases and it does not lower after a reasonable delay. I end-up with high memory near 90% and the only solution I have is to reboot the router in order to bring it back to 50%.
    Now, Thomas told me that this is simply a cosmetic issue, the memory is not actually 90% used. Yet, when the memory hits this threshold, I'm not capable to send files are normal LAN speeds I'm used to. Rebooting the router allows me to send only ONCE (and for few seconds) data at the expected LAN speeds.
    I would apreciate any input from Cisco engineers as well other users who experience the same issue. I would also like to know if any related work was done into 2.2.0 firmware and when we expect to have it released to users.
    Regards,
    Floren Munteanu

    Hi Tom,
    See below the answers.
    Are you currently running the 2.1.71 code?
    Yes
    Are you using IPS?
    No, the LAN is for internal use (no external users allowed)
    Are you using Protectlink services?
    No
    Hardware wise, I did not changed anything on machines. All boxes have dual Intel EXPI9301CT NIC's (LACP was planned) but I currently use single connections for sanity reasons (disks won't allow greater speeds anyway). Previous to Cisco, I used a Netgear ProSafe router + switch which did not encountered the issues I mention. Honestly, at first I thought I'm dealing with some stupid disk issues on Windows. So I ran a quick test and the stats are proper:
    > winsat disk -drive c
    > Disk  Sequential 64.0 Read                   109.62 MB/s        6.5
    > Disk  Random 16.0 Read                       2.47 MB/s          4.4
    > Responsiveness: Average IO Rate              2.12 ms/IO         6.9
    > Responsiveness: Grouped IOs                  8.34 units         7.4
    > Responsiveness: Long IOs                     5.59 units         7.7
    > Responsiveness: Overall                      46.63 units        7.1
    > Responsiveness: PenaltyFactor                0.0
    > Disk  Sequential 64.0 Write                  117.03 MB/s        6.7
    > Average Read Time with Sequential Writes     6.977 ms           5.3
    > Latency: 95th Percentile                     32.720 ms          3.0
    > Latency: Maximum                             118.231 ms         7.6
    > Average Read Time with Random Writes         13.346 ms          3.7
    > Total Run Time 00:01:39.50
    As I mentioned before, everything is pretty much stock on router/switch settings. If you have any tips that allow me to identify the cause, I would appreciate the input. What puzzles me is the speed drop and quick memory usage increase. It occurs 7-10 seconds after the transfers begins. It looks like the data transfer hangs for a very short period of time (less than half of second) and the transfer speed decreases from 110-115MB/sec to 50-60MB/sec. The transfer is completed at this speed. No matter how many other files I try to transfer after, the speed won't go higher than 60MB/sec. If I reboot the router, I get the same cycle.

  • How to monitor memory usage of "Memory-based Snapshot" executable (MRCNSP)  in Linux?

    We have noticed in the past that MRCNSP/Memory-based Snapshot program executable consumes around 3.8 GB of memory on the linux VM. I understand that value change planning  is 32 bit executable so 4 GB is the limit. I want to monitor the memory usage of the executable when the program runs. The program usually runs overnight. I wanted to check with you experts if you have any MRP executable memory usage monitoring script that I could use.
    I found the metalink note OS Environment and Compile Settings for Value Chain and MRP/Supply Chain Planning Applications (Doc ID 1085614.1) which talks about "top -d60 >>$HOME/top.txt". Please share your ideas for monitoring this process.
    We do not use Demand Planning or Demanta or Advanced Supply Chain Planning which are 64 bit application. That is our future direction.
    Environment:
    EBS : R12.1.2 on Linux. The concurrent manager is on 64 bit linux VM, web services on 32 bit VMs.
    DB: Oracle DB 11.2.0.3 on HP UX Itanium 11.31. Single database instance.
    Thanks
    Cherrish Vaidiyan

    RAM on the controller is not the same as the C: drive. With respect to the controller, you can think of it in the same terms as your computer. RAM is volatile memory and your C: drive is non volatile flash memory.
    Depending on the frequency of the temperature excursions above and below your 70C threshold, the service life of the controller and the method you used to append to the file, there could be a number of issues that may creep up over time.
    The first, and the one you brought up is the size of the file over time. Left unchecked this file could grow continuously until the system literally runs out of flash memory space and chokes. Depending on how your are appending data to this file, you could also use more than a trivial slice of processor time to read and write this big file on disk. While I have not personally ever run one of the RT controllers out of "disk space", I can't imagine that any good could come of that.
    One thought is to keep a rolling history of say the last 3 months. Each month, start a new file and append your data to it during the course of the month. Each time a new file is created, delete the data file from something like 3 months ago. This will ensure that you will always have the last 3 months of history on the system, however the monthly deletion of the oldest data file will limit you to say 3 files at whatever size they happen to be. Unless there are hundreds of thousands of transitions above and below your threshold this should keep you in good shape.
    I also eluded to the method you use to write to this file. I would ensure that you are appending data using the actual file functions and not first reading in the file, appending your data as a string then writing the entire file contents back to disk. In addition to causing the highest load on the file system this method also has the largest system RAM requirements.

  • Memory usage and memory warnings

    I have a problem with memory
    1) Short app decsription:
    TabbarController
    \ - 1.1 TAB: NavigationController
    _\1.1.1 - TableViewController(Groups)
    __\1.1.2 - TableViewController(Users)
    \ - 2 TAB: NavigationController
    _\2.1 - TableViewController(Statistic)
    __\2.2 - ViewController
    2) Problem:
    After some time of the application work ViewControllers receive "MemoryWarnings", after TableViewControllers (1.1.1) & (1.1.2) become empty. But ViewControllers dont receive "viewDidUnload" or "setView:nil" messages?
    What's wrong?
    How to display the tables content?

    I have a problem with memory
    1) Short app decsription:
    TabbarController
    \ - 1.1 TAB: NavigationController
    _\1.1.1 - TableViewController(Groups)
    __\1.1.2 - TableViewController(Users)
    \ - 2 TAB: NavigationController
    _\2.1 - TableViewController(Statistic)
    __\2.2 - ViewController
    2) Problem:
    After some time of the application work ViewControllers receive "MemoryWarnings", after TableViewControllers (1.1.1) & (1.1.2) become empty. But ViewControllers dont receive "viewDidUnload" or "setView:nil" messages?
    What's wrong?
    How to display the tables content?

  • Very high broadband usage

    The first month we got BT broadband was option 1 the 10GB package, I left my house for 2 weeks and the monitor was at around 6/7GB and with no one in the house and no one with access to it i came back to find it was now at 12GB, thought this was a bit odd...
    Last month we upgraded to option 2 the 40GB package. Ended up watching lots of videos and things and by the end of the month it was at 45GB.
    This month, it's 7 days in and the usage monitor is showing 12.87GB used, I haven't been doing anything other than browsing, no games, no videos, no downloads, nothing...
    This surely cannot be correct and I'm still concerned about the first month when it hadn't been used by any one and it was still racking up the data. 
    One phone call said there was nothing BT could do to check, I think it's a bit odd that I have to pay for usage I haven't even used and for this month that it's so high already and I haven't even done anything! 
    Forgot to say I had a 20GB package a few years back and I practically used to live on my laptop, used to play xbox live for hours each day, watch a lot of videos, and download a hell of a lot of music and videos and I didn't exceed my limit once in 18 months..
    Seems a bit odd to me...

    If this is the first month you have gone over, the £5 for an extra unit of 5GB might be waived.
    For more information visit www.bt.com/broadbandusagepolicy
    The broadband usage monitor is accurate and is updated at 23:59 every night. 
    Uploads are also counted towards your 10GB allowance.
    1) Make sure that you don't have any malware or virus on the computer.
    2) Make sure your private Wifi network is encrypted otherwise other people might be suing it.
    3) Make sure that there isn't a device in that is using the home that you didn't know was using the internet - Smart phones/portible devices can automatically connet to your wifi (if known) and can update software in the background without  you knowing. Some devices will allow phone calls and texts to be recieved over wifi.
    4) there are free usage meters that can be downloaded to see when and what is using the 10GB usage on your computer.
    cheers
    jac_95 | BT.com Help Site | BT Service Status
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Try a Search
    See if someone in the community had the same problem and how they got it resolved.

  • Very high cpu usage - no programs running!!

    Hi guys
    Was really hoping someone could help me with this problem.
    There is a constant 50-60% cpu usage and the laptop is getting superhot 80c and obviously sending the fan into overkill 6000rpm+.
    But what is confusing is that is like this all the time!! even when there are no programs running at all!!
    and even worse in activity monitor there is no process which can account for that cpu activity/heat. nothing is clocking in at more than 9%.
    I have done repair permissions, used onyx to clean up the system, use clean my mac, rebuilt the index in spotlight and nothing works. the second you switch on and log on the problems start.
    I cant think of anything else to do apart from doing a complete reinstall which is obviously something i would like to do avoid so any ideas to why this is happening? and how is it possible there can be cpu activity that is not accounted for?
    thanks for any help/advice you guys can provide

    hi Roam
    yeah everything is disconnected, switched off airport as well and then rebooted
    on restart with nothing but terminal open here is the readout from
    Processes: 57 total, 2 running, 55 sleeping, 230 threads 10:46:22
    Load Avg: 1.10, 0.36, 0.14 CPU usage: 36.40% user, 19.90% sys, 43.68% idle
    SharedLibs: 6212K resident, 5708K data, 0B linkedit.
    MemRegions: 5325 total, 166M resident, 15M private, 121M shared.
    PhysMem: 446M wired, 248M active, 234M inactive, 927M used, 1120M free.
    VM: 135G vsize, 1036M framework vsize, 36917(0) pageins, 0(0) pageouts.
    Networks: packets: 40/6356B in, 40/7044B out. Disks: 16108/740M read, 6057/104M written.
    PID COMMAND %CPU TIME #TH #WQ #POR #MRE RPRVT RSHRD RSIZE VPRVT VSIZE PGRP
    262 mdworker 0.1 00:00.24 3 1 50- 73- 2448K- 10M 15M- 33M- 2411M- 262
    254 mdworker 0.0 00:00.18 3 1 50 66 1672K 11M 7488K 31M 2410M 254
    240 top 2.8 00:01.88 1/1 0 27 35 1376K 248K 1940K 17M 2378M 240
    222 bash 0.0 00:00.00 1 0 17 26 396K 248K 1056K 17M 2378M 222
    217 login 0.0 00:00.03 1 0 22 56 520K 248K 2756K 18M 2379M 217
    213 Terminal 1.6 00:03.10 6 1 120 127 4212K 20M 25M 34M 2703M 213
    145 ntpd 0.0 00:00.00 1 0 14 24 88K 940K 308K 156K 2378M 17
    144 activitymoni 0.0 00:01.43 1 0 23 37 724K 244K 1248K 28M 2389M 144
    140 cvmsComp_x86 0.0 00:00.04 1 0 18 35 1708K 10M 6208K 18M 2392M 140
    132 System Event 0.0 00:00.23 2 1 72 114 2700K 9180K 17M 31M 2678M 132
    128 Smart Scroll 0.0 00:00.18 2 1 95- 104- 3080K- 13M 15M- 41M- 2695M- 128
    126 CCacheServer 0.0 00:00.01 2 2 35 54 668K 248K 1668K 41M 2401M 126
    119- Little Snitc 0.0 00:00.15 3 1 99 90 1448K 15M 4640K 31M 896M 119
    118- Little Snitc 0.0 00:00.12 3 1 90 87 1276K 14M 4388K 31M 894M 118
    114 SIMBL Agent 0.0 00:00.12 2 1 84 167 2796K 11M 12M 304M 11G 114
    113 AirPort Base 0.0 00:00.05 4 1 84 87 1588K 14M 11M 31M 2685M 113
    107 UserEventAge 0.1 00:00.29 3 1 157 108 2268K 2092K 11M 41M 2403M 107
    102 pboard 0.0 00:00.00 1 0 22 38 404K 252K 872K 18M 2379M 102
    101 fontd 1.2 00:02.36 3 2 235+ 134+ 7796K- 2036K+ 9492K+ 35M- 2428M+ 101
    98 Finder 0.0 00:01.08 8 3 175 178 5152K 21M 31M 27M 2707M 98
    97 SystemUIServ 0.0 00:00.96 3 1 222 227 8240K 27M 32M 44M 2722M 97
    96 Dock 0.5 00:01.03 4 2 121 181 3244K 26M 23M 17M 2707M 96
    92 launchd 1.0 00:00.47 2 0 468+ 61+ 528K 488K+ 996K+ 38M 2399M+ 92
    86 coreaudiod 0.0 00:00.09 3 1 133 77 1356K 448K 6432K 31M 2393M 86
    78 cvmsComp_x86 0.0 00:00.19 1 0 18 35 1804K 10M 6404K 18M 2392M 78
    76 launchd 0.0 00:00.00 2 0 37 47 316K 432K 708K 38M 2399M 76
    75 cvmsServ 0.0 00:00.00 2 0 45 29 336K 248K 808K 19M 2381M 75
    72- Nalpeirond6 0.0 00:00.01 1 0 14 25 112K 240K 372K 17M 586M 71
    64 ocspd 0.0 00:00.01 1 0 23 27 532K 304K 1280K 17M 2378M 64
    61 socketfilter 0.0 00:00.11 3 1 47 51 1500K 8228K 2904K 29M 2403M 61
    57 WindowServer 0.9 00:03.50 4 1 191 417- 5720K+ 12M- 25M 40M- 2718M- 57
    48 coreservices 4.2 00:02.74 7 4 291+ 162- 2884K 11M 13M+ 17M- 2406M- 48
    47 distnoted 1.0 00:00.50 4 3 62 41 764K 240K 1240K 30M 2390M 47
    46 taskgated 0.7 00:00.33 6 0 50 35 644K 244K 1216K 29M 2389M 46
    45- lsd 0.0 00:00.13 2 1 56 65 832K 10M 2396K 30M 615M 45
    44- qmasterd 0.0 00:00.11 2 1 31 139 1632K 9036K 6212K 29M 622M 44
    41 autofsd 0.0 00:00.00 2 1 29 37 480K 244K 984K 28M 2388M 41
    40 blued 0.0 00:00.12 2 1 63 44 1132K 8116K 4240K 28M 2402M 40
    34 dynamic_page 0.0 00:00.00 1 0 20 24 308K 240K 788K 17M 2378M 34
    32 fseventsd 0.1 00:00.17 12 1 95 64 1236K 244K 1748K 33M 2395M 32
    31 hidd 0.0 00:00.95 4 2 70 48 768K 264K 1524K 30M 2391M 31
    29 KernelEventA 0.0 00:00.00 4 2 33 42 524K 244K 1020K 30M 2390M 29
    28 loginwindow 0.3 00:00.55 2 1 230 116 2340K 13M 8460K 25M 2677M 28
    27 mDNSResponde 0.0 00:00.04 3 1 50 54 900K 280K 1784K 40M 2400M 27
    Plus sorry should have written this on first msg but the most recent change i did to my computer before the problems started was change the Icons for Finder. I have changed it back, was using candybar but still no change. anyway to complete reset icons for finder without having to reinstall?

  • Chromium + Flash + Pandora = very high CPU usage

    I know Pandora is far from the most efficient software out there, but in Chromium it takes roughly 1.6 GHz of CPU cycles, compared to 260 MHz in Firefox.  Same version of Flash (64 bit preview).  I was hoping to switch from Firefox to Chromium as it seems to be faster overall, but draining my laptop's battery like this is a show-stopper.
    chromium 10.0.648.205-1
    xorg-server 1.10.1-1
    xf86-video-ati 6.14.1-1
    Firefox 4.0 (64-bit) from upstream
    Adobe Flash 10.3 d162 (64-bit preview)
    With Chromium:
    Cn Avg residency P-states (frequencies)
    C0 (cpu running) (45.4%) 2.00 Ghz 100.0%
    polling 0.4ms ( 0.1%) 1.60 Ghz 0.0%
    C1 mwait 0.2ms (26.9%) 1200 Mhz 0.0%
    C4 mwait 0.2ms (27.6%)
    Top causes for wakeups:
    65.4% (1557.0) [radeon] <interrupt>
    12.5% (297.2) [kernel scheduler] Load balancing tick
    12.4% (295.4) kworker/0:0
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    3609 john 20 0 455m 131m 20m S 50.2 3.3 1:40.29 chromium
    3151 root 20 0 115m 32m 15m R 30.6 0.8 1:06.56 X
    With Firefox:
    Cn Avg residency P-states (frequencies)
    C0 (cpu running) (19.6%) 2.00 Ghz 0.0%
    polling 2.3ms ( 0.0%) 1.60 Ghz 0.0%
    C1 mwait 0.7ms ( 5.9%) 1200 Mhz 100.0%
    C4 mwait 1.0ms (74.4%)
    Top causes for wakeups:
    29.8% (192.6) [kernel scheduler] Load balancing tick
    26.3% (170.1) kworker/0:0
    15.6% (100.8) firefox-bin
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    3860 john 20 0 709m 220m 37m S 22.0 5.6 0:29.94 firefox-bin
    3151 root 20 0 110m 25m 8472 S 1.7 0.6 1:55.23 X
    Last edited by jlindgren (2011-04-18 23:25:06)

    The almost exact 100 wakeups per second makes me wonder if Pandora tries to redraw constantly but gets throttled to 100 FPS in Firefox.
    Edit: Okay, I guess I should have done a little more research before posting here; seems to be a known problem with Pandora and Chromium (on Windows and Mac also (!)):
    http://code.google.com/p/chromium/issue … l?id=38794
    http://code.google.com/p/chromium/issue … l?id=77691
    http://superuser.com/questions/149230/w … -cpu-usage
    http://hintsforums.macworld.com/showthread.php?p=617863
    Last edited by jlindgren (2011-04-19 01:42:57)

  • DW CS3 very high CPU usage

    Just installed DW CS3, installation went normally without any
    problems. However when I start the program, DreamWeaver.exe
    constantly occupies between 80 and 100% of the CPU resources - even
    when minimized.
    The same happens on 2 XP SP2 systems, one 3GHz 1GB RAM where
    I have DW8 installed, and one 1.7GHz dual-core 2GB RAM laptop with
    a fresh Windows installation and no other Adobe/Macromedia stuff
    installed.
    I tried to repair the installation, to uninstall / reinstall
    (with a reboot after every operation) , but the problem remains.
    Is this a known issue, probably with a known fix?
    Thanks

    Glad to hear you figured it out. Can you explain in more
    detail exactly
    what you did? Is this the Win XP setting you're talking
    about?:
    http://support.microsoft.com/kb/875351
    "You can view the DEP configuration for your computer in
    System in Control
    Panel. To do this, follow these steps:
    1. Click Start, click Run, type sysdm.cpl, and then click OK.
    2. Click the Advanced tab, and then under Performance, click
    Settings.
    3. In the Performance Options dialog box, click the Data
    Execution
    Prevention tab.
    4. Note if Turn on DEP for essential Windows programs and
    services only or
    Turn on DEP for all programs and services except those I
    select: is
    selected. "
    If I go to the Data Execution Prevention tab, it's set to
    "Turn on DEP for
    essential Windows programs and services only", which I'm
    assuming is the
    default setting, since I haven't touched this before. What
    was your DEP set
    to?
    Thanks,
    David Alcala
    Adobe Product Support
    "harpo_" <[email protected]> wrote in
    message
    news:f0a6rd$2eh$[email protected]..
    > hmm.. fixed it by excluding dreamweaver.exe from the so
    called 'data
    > execution prevention'

  • High Eden Java Memory Usage/Garbage Collection

    Hi,
    I am trying to make sure that my Coldfusion Server is optomised to the max and to find out what is normal limits.
    Basically it looks like at times my servers can run slow but it is possible that this is caused by a very old bloated code base.
    Jrun can sometimes have very high CPU usage so I purchased Fusion Reactor to see what is going on under the hood.
    Here are my current Java settings (running v6u24):
    java.args=-server -Xmx4096m -Xms4096m -XX:MaxPermSize=256m -XX:PermSize=256m -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dsun.io.useCanonCaches=false -XX:+UseParallelGC -Xbatch ........
    With regards Memory, the only memory that seems to be running a lot of Garbage Collection is the Eden Memory Space. It climbs to nearly 1.2GB in total just under every minute at which time it looks like GC kicks in and the usage drops to about 100MB.
    Survivor memory grows to about 80-100MB over the space of 10 minutes but drops to 0 after the scheduled full GC runs. Old Gen memory fluctuates between 225MB and 350MB with small steps (~50MB) up or down when full GC runs every 10 minutes.
    I had the heap set to 2GB initally in total giving about 600MB to the Eden Space. When I looked at the graphs from Fusion Reactor I could see that there was (minor) Garbage Collection about 2-3 times a minute when the memory usage maxed out the entire 600MB which seemed a high frequency to my untrained eye. I then upped the memory to 4GB in total (~1.2GB auto given to Eden space) to see the difference and saw that GC happened 1-2 times per minute.
    Is it normal in Coldfusion that the Eden memory would grow so quickly and have garbage collection run so often? i.e do these graphs look normal?
    Also should I somehow redistribute the memory available to give the Eden memory more since it seems to be where all the action is?
    Any other advice for performance improvements would be much appreciated.
    Note: These graphs are not from a period where jrun had high CPU.
    Here are the graphs:
    PS Eden Space Graph
    PS Survivor Space Graph
    PS Old Gen Graph
    PS Perm Gen Graph
    Heap Memory Graph
    Heap/Non Heap Memory Graph
    CPU Graph
    Request Average Execution Time Graph
    Request Activity Graph
    Code Cache Graph

    Hi,
    >Is it normal in Coldfusion that the Eden memory would grow so quickly and have garbage collection run so often?
    Yes normal to garbage collect Eden often. That is a minor garbage collection.
    >Also should I somehow redistribute the memory available to give the Eden memory more since it seems to be where all the action is?
    Sometimes it is good to set Eden (Eden and its two Survivor Spaces combined make up New or Young Generation part of JVM heap) to a smaller size. I know your thinking - what make it less, but I want to make it bigger. Give less a try (sometimes less = more, bigger not = better) and monitor the situation. I like to use -Xmn switch, some sources say to use other method/s. Perhaps you could try java.args=-server -Xmx4096m -Xms4096m -Xmn172m etc. I better mention make a backup copy of jvm.config before applying changes. Having said that now you know how you can set the size to bigger if you want.
    I think the JVM is perhaps making some poor decisions with sizing the heap. With Eden growing to 1Gb then being evacuated not many objects are surviving and therefore not being promoted to Old Generation. This ultimately means the object will need to be loaded again latter to Eden rather than being referenced in the Old generation part of the heap. Adds up to poor performance.
    >Any other advice for performance improvements would be much appreciated.
    You are using Parallel garbage collector. Perhaps you could enable that to run multi-threaded reducing the time duration of the garbage collections, jvm args ...-XX:+UseParallelGC -XX:ParallelGCThreads=N etc where N = CPU cores (eg quad core = 4).
    HTH, Carl.

  • MacBook Pro very high overall RAM usage

    Hi, I'm using a late 2012 13" MacBook Pro with 8GB of RAM and a dual core i7 and I've been experiencing very high RAM usage for the last couple of weeks even though I'm not really doing anything. Here's a activity monitor screenshot
    As you can see I'm only really using Chrome and Sublime Text (3). Twitter and Outlook are also open but don't take up that much (Twitter maybe but that just seems to be badly optimised and it's all gone when I close it).
    So, is this normal?
    Thanks in a

    This is normal. The two most important things in that screenshot are 'Swap Used' (0 means you never ran out of RAM) and the Memory Pressure graph (everything green = good). For the rest the OS knows to handle RAM,

  • KDE 4.7: very slow and high disk usage

    Since upgrade to KDE 4.7 on my i686 laptop, my system behaves weirdly. I noticed a slow down caused by a very high disk usage: when the HDD spins the cpu usage reported by the CPU monitor plasmoid is very high (~ 50%), while top reports a very small CPU load. Another strange symptom is that, when I try to close the session, the system freezes for about 15 seconds before the logout/shutdown/restart dialog window appears, again with HDD spinning furiously. If I exit the dialog window and then try to close session again it works smoothly, so I think some caching is at work at second try.
    This is very painful since it slows down my workflow. Since now I tried to:
    - disable nepomuk, strigi and all that using the nepomukcontroller plasmoid
    - disable compositing
    - delete .kde folder
    - uninstall and reinstall all kde packages
    without any benefit. On the same laptop I have dual boot with a 64 bit arch installation, which does not have the same problem, nor has it my 64 bit desktop pc.
    Does anyone have similar issues? I don't understand what is it that makes the HDD spin so much, nor how to eventually track it down (are there som HDD usage profiling utilities?). Moreover, why top and CPU usage plasmoid report so different CPU usage stats?
    I'm very confused, so any help will be greatly appreciated.

    Although I'm not having any of the issues as Snack, I have found KDE 4.7.0 to be a very horrible release. In fact, I'm sick and tired of the KDE release notes bragging about killing thousands of bugs each release, when in actuality the first few revisions of each stable release are horrible. When I first upgraded, I ran into at least four really nasty bugs. Although I've worked around some of them, it left a really sour taste in my mouth. Here is what I've experienced:
    1.) With a new user or fresh install, there is no wallpaper by default, even if I install kde-wallpapers before I log in, it makes no difference.
    2.) Sometimes kwin will crash during log out.
    3.) Worse yet, if I exit a full screen game, it will more than likely crash Kwin. This is a problem on my laptop (which has intel video) and not my desktop (which has nvidia video). If I don't remember to disable desktop effects before opening a game, I may run into a problem.
    4.) Although my performance is good, it's not great. I would think a laptop with a Core i5 processor and 8GB of RAM would run faster than it is.
    I have tested XFCE for a bit, and I do like it alot. However, with XFCE I am unable to browse Samba shares, and that is a huge problem. In addition, I find KDE's applications to be much better than what ships with XFCE, but I question whether they're worth the performance hit. I really love Kate, Gwenview, Digikam, and Amarok. I know you can install those in XFCE, but they feel out of place and then my desktop pretty much becomes a mutt. Not only that, but KDE is full featured, whereas XFCE is not. It's like I have to choose between a stable desktop or a desktop with full of bugs.
    I hope that KDE 4.7.1 fixes everything, but historically it's usually the 4.x.2 release that really does the trick.

  • Display memory usage-help for parameters

    hi everyone ,
    i want to display the memory usage(shared memory+heap) while compiling the t code in foot path,
    plz help me for this issue

    Hey Arun,
    RZ20 SAP CCMS Monitor Templates->Performance Overview->Memory Management
    You can see all the information which you are looking for.
    But to make it web enabled you need to call some BAPI through java and store it DB. If you have any Java programmer let me know I will send you the list of BAPI.
    Use the DB data and draw a graph. Using that data you can study the performance over a period and start tuning your system.
    Thanks & Regards
    Vivek

  • High cpu usage for garbage collection (uptime vs total gc time)

    Hi Team,
    We have a very high cpu usage issue in the production.
    When we restart the server, the cpu idle time would be around 95% and it comes down as days goes by. Today idle cpu is 30% and it is just 6th day after the server restart.
    Environemnt details:
    Jrockit version:
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    BEA WebLogic JRockit(TM) 1.4.2_05 JVM R24.4.0-1 (build ari-38120-20041118-1131-linux-ia32, Native Threads, GC strategy: parallel)
    Gc Algorithm: JRockit Garbage Collection System currently running strategy: Single generational, parallel mark, parallel sweep
    Number Of Processors: 4
    Max Heap Size: 1073741824
    Total Garbage Collection Time: 21:43:56.5
    Uptime: 114:33:4.1
    Total Garbage Collection Count: 420872
    Total Number Of Threads: 198
    Number Of Daemon Threads: 191
    Can you guys please tell me what would be problem in the server which causing the high cpu usage?
    One more thing I would like to know is that why the total number of threads is 198 when we specified the Executor pool size as 25? I agree that weblogic would create some threads for its maintenance but around 160 threads!!! something is wrong I guess.
    Santhosh.
    [email protected]

    Hi,
    I'm having a similar problem, but haven't been able to resolve it yet. Troubleshooting is made even harder by the fact that this is only happening on our production server, and I've been unable to reproduce it in the lab.
    I'll post whatever findings I have and hopefully we'll be able to find a solution with the help of BEA engineers.
    In my case, I have a stand-alone Tomcat server that runs fine for about 1-2 days, and then the JVM suddenly starts using more CPU, and as a result, the server load shoots up (normal CPU utilization is ~5% but eventually goes up to ~95%; load goes from 0.1 to 4+).
    What I have found so far is that this corresponds to increased GC activity.
    Let me list my environment specs before I proceed, though:
    CPU: Dual Xeon 3.06GHz
    RAM: 2GB
    OS: RHEL4.4 (2.6.9-42.0.2.ELsmp)
    JVM build 1.5.0_03-b07 (BEA JRockit(R) (build dra-45238-20050523-2008-linux-ia32, R25.2.0-28))
    Tomcat version 5.5.12
    JAVA_OPTS="-Xms768m -Xmx768m -XXtlasize16k -XXlargeobjectlimit16k -Xverbose:memory,cpuinfo -Xverboselog:/var/log/tomcat5/jvm.log -Xverbosetimestamp"
    Here are excerpts from my verbose log (I'm getting some HT warning, not sure if that's a problem):
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Detected SMP with 2 CPUs that support HT.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to determine if HT is enabled.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] HT is: supported by the CPU, not enabled by the OS, enabled in JRockit.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: HT enabled even though OS does not seem to support it.
    [Fri Oct 20 15:54:55 2006][22855][memory ] GC strategy: System optimized over throughput (initial strategy singleparpar)
    [Fri Oct 20 15:54:55 2006][22855][memory ] heap size: 786432K, maximal heap size: 786432K
    [Fri Oct 20 16:07:30 2006][22855][memory ] Changing GC strategy to generational, parallel mark and parallel sweep
    [Fri Oct 20 16:07:30 2006][22855][memory ] 791.642-791.874: GC 786432K->266892K (786432K), 232.000 ms
    [Fri Oct 20 16:08:02 2006][22855][memory ] 824.122: nursery GC 291998K->274164K (786432K), 175.873 ms
    [Fri Oct 20 16:09:51 2006][22855][memory ] 932.526: nursery GC 299321K->281775K (786432K), 110.879 ms
    [Fri Oct 20 16:10:24 2006][22855][memory ] 965.844: nursery GC 308151K->292222K (786432K), 174.609 ms
    [Fri Oct 20 16:11:54 2006][22855][memory ] 1056.368: nursery GC 314718K->300068K (786432K), 66.032 ms
    [Sat Oct 21 23:21:09 2006][22855][memory ] 113210.427: nursery GC 734274K->676137K (786432K), 188.985 ms
    [Sat Oct 21 23:30:41 2006][22855][memory ] 113783.140: nursery GC 766601K->708592K (786432K), 96.007 ms
    [Sat Oct 21 23:36:15 2006][22855][memory ] 114116.332-114116.576: GC 756832K->86835K (786432K), 243.333 ms
    [Sat Oct 21 23:48:20 2006][22855][memory ] 114841.653: nursery GC 182299K->122396K (786432K), 175.252 ms
    [Sat Oct 21 23:48:52 2006][22855][memory ] 114873.851: nursery GC 195060K->130483K (786432K), 142.122 ms
    [Sun Oct 22 00:01:31 2006][22855][memory ] 115632.706: nursery GC 224096K->166618K (786432K), 327.264 ms
    [Sun Oct 22 00:16:37 2006][22855][memory ] 116539.368: nursery GC 246564K->186328K (786432K), 173.888 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117122.577: nursery GC 279056K->221543K (786432K), 170.367 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117123.041: nursery GC 290439K->225833K (786432K), 69.170 ms
    [Sun Oct 22 00:29:10 2006][22855][memory ] 117291.795: nursery GC 298947K->238083K (786432K), 207.200 ms
    [Sun Oct 22 00:39:05 2006][22855][memory ] 117886.478: nursery GC 326956K->263441K (786432K), 87.009 ms
    [Sun Oct 22 00:55:22 2006][22855][memory ] 118863.947: nursery GC 357229K->298971K (786432K), 246.643 ms
    [Sun Oct 22 01:08:17 2006][22855][memory ] 119638.750: nursery GC 381744K->322332K (786432K), 147.996 ms
    [Sun Oct 22 01:11:22 2006][22855][memory ] 119824.249: nursery GC 398678K->336478K (786432K), 93.046 ms
    [Sun Oct 22 01:21:35 2006][22855][memory ] 120436.740: nursery GC 409150K->345186K (786432K), 81.304 ms
    [Sun Oct 22 01:21:38 2006][22855][memory ] 120439.582: nursery GC 409986K->345832K (786432K), 153.534 ms
    [Sun Oct 22 01:21:42 2006][22855][memory ] 120443.544: nursery GC 410632K->346473K (786432K), 121.371 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.508: nursery GC 411273K->347591K (786432K), 60.688 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.623: nursery GC 412391K->347785K (786432K), 68.935 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.576: nursery GC 412585K->348897K (786432K), 152.333 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.783: nursery GC 413697K->349080K (786432K), 70.456 ms
    [Sun Oct 22 01:34:16 2006][22855][memory ] 121197.612: nursery GC 437378K->383392K (786432K), 165.771 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.496: nursery GC 469709K->409076K (786432K), 78.257 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.730: nursery GC 502490K->437713K (786432K), 65.747 ms
    [Sun Oct 22 01:44:03 2006][22855][memory ] 121785.259: nursery GC 536605K->478156K (786432K), 132.293 ms
    [Sun Oct 22 01:44:04 2006][22855][memory ] 121785.603: nursery GC 568408K->503635K (786432K), 71.751 ms
    [Sun Oct 22 01:50:39 2006][22855][memory ] 122180.985: nursery GC 591332K->530811K (786432K), 131.831 ms
    [Sun Oct 22 02:13:52 2006][22855][memory ] 123573.719: nursery GC 655566K->595257K (786432K), 117.311 ms
    [Sun Oct 22 02:36:04 2006][22855][memory ] 124905.507: nursery GC 688896K->632129K (786432K), 346.990 ms
    [Sun Oct 22 02:50:24 2006][22855][memory ] 125765.715-125765.904: GC 786032K->143954K (786432K), 189.000 ms
    [Sun Oct 22 02:50:26 2006][22855][memory ] 125767.535-125767.761: GC 723232K->70948K (786432K), 225.000 ms
    vvvvv
    [Sun Oct 22 02:50:27 2006][22855][memory ] 125768.751-125768.817: GC 712032K->71390K (786432K), 64.919 ms
    [Sun Oct 22 02:50:28 2006][22855][memory ] 125769.516-125769.698: GC 711632K->61175K (786432K), 182.000 ms
    [Sun Oct 22 02:50:29 2006][22855][memory ] 125770.753-125770.880: GC 709632K->81558K (786432K), 126.000 ms
    [Sun Oct 22 02:50:30 2006][22855][memory ] 125771.699-125771.878: GC 708432K->61368K (786432K), 179.000 ms
    So, I'm running with the default GC strategy which lets the GC pick the most suitable approach (single space or generational). It seems to switch to generational almost immediately and runs well - most GC runs are in the nursery, and only once in a while it goes through the older space.
    Now, if you look at [Sun Oct 22 02:50:27 2006], that's when everything changes. GC starts running every second (later on it's running 3 times a second) doing huge sweeps. It never goes through the nursery again, although the strategy is still generational.
    It's all downhill from this point on, and it's a matter of hours (maybe a day) before we restart the server.
    I guess my only question is: What would cause such GC behavior?
    I would appreciate your ideas/comments!
    Thanks,
    Tenyo

  • Microsoft Office 2004 -- extremely high cpu usage and virtual ram

    hi,
    when i use office it causes a very high cpu usage even when its in idle mode.
    i am unable to work with it, because its extremely slow.
    does anyone have same experiences?
    thanks for your help!
    mbp 2.0 1,5gb ram 80gb hdd   Mac OS X (10.4.7)  

    I am able to work OK with office, I'm using the 'old version' Microsoft Office v.X, not much details in the About Box, just listed as MSoft Word/Excel/etc for Mac service release 1.
    I get the occasional crash, and I have seen Word in particular use 90% of a single core and amazingly large virtual memory usage, gigabytes sometimes, but eventually the document gets printed.
    It shows how useful the dual core (or quad) cpu approach is!
    One cpu for Word to print, and one cpu to run the rest of my applications/life!
    I still use this old office rather than re-booting into Window§ for whatever is the latest version of office.
    Doing some playing with a similar one page document in Office v.X and Pages 2.01, I get Word using about 25% of a core , Pages using 5%, - whilst editing; Intel native Pages has 20% of a core and 80MB ram 480 virtual whilst printing, Word has about 100% of a core and 65MB ram 650 virtual whilst printing, but it is a powerPC code so Rosetta is in there somewhere.
    check Activity Monitor or other apps/widgets for some parasitic processes? have fun!
    many Macs 512k -> MacBool Pro 2GHz 1GB ram   Mac OS X (10.4.7)   Yes, I have Key Lime

Maybe you are looking for

  • Trying to move file in v1.0 - false error Mac OS 10.4.8

    I am a huge fan of LR. Well frikkin' done Adobe...and to the whiners and nay sayers and negative comments on this forum - remember most folk who are working pro photographers like me haven't got time in the day to write glowing fabulous comments to c

  • Problem with Application definition Editor

    Hi All, the problem is that when the application definition contains Arabic text (e.g. in Labels region) the Application definition Editor didn't open and i got the following error: "Application Structure File appears to be in an invalid state" also

  • Posting a Question and iPod mini help needed

    It's so frustrating to use this support site. I can't seem to find the right information. I need help. My iPod mini just suddenly conked out on me. Now it flashes the apple then an icon with a battery and an exclamation point inside a triangle. I tri

  • URGENT!!!! Mail won't display my RSS feeds anymore

    Hello, I recently deleted a RSS feed but my mail froze. After restarting the Mail app I couldn't find any of my RSS feeds anymore. I thought that maybe I accidently deleted all my RSS so I tried re-adding all my RSS feeds but even that did't work. Pl

  • Change MOT in purchase order using CIF Inbound user exit

    Hello APO Experts, Objective is to change start date of purchase order ( date at source location) in APO based on some date in R3. Planning to bring R3 date using CIF Outboud user exit( CIFPUR01)  in R3 and then further requirement is to a) calculate