Unnaturally high cpu and memory usage

Hello.
I have installed WL 6.1 and WL Portal 4.0 on a w2k machine. It has a
800 cpu (I think), and 512 RAM.
What happens is: After server startup, everything is low and nice. But
after a few jsp compilations, the cpu jumps to 100% and stays there,
even after the page has been returned and the browser says "done".
Actually, memory usage isn't that high; the java process is using
about 50 megs of memory. But it has exceeded this a couple of times,
and used 200+ MB.
The database is also running on another machine.
I tried deploying the same application on a locally installed
WL/Portal, and the same thing happened, only with much more memory
usage, about 200 - 250 megs. My machine became useless, and I had to
shut down the server.
What is causing this? Is the server's configuration totally screwed,
or can some code be doing this? Btw, I know I am the only user on this
server...
On other threads here, I have seen people supplying server dumps of
processes etc. How do I see this dump, or what processes within the
server are running?
I am very grateful for any help with this.
Christer

Take a thread dump of the server. You should at least be able to see
what it's doing.
On UNIX, you can send a SIGQUIT. (ie kill -3 the process)
On Windows, you can CTRL-BREAK in the window.
If you search for thread dump on edocs.bea.com, you should see a full
explanation.
Also, these groups can be searched on groups.google.com.
-- Rob
Christer Brinchmann wrote:
Hello.
I have installed WL 6.1 and WL Portal 4.0 on a w2k machine. It has a
800 cpu (I think), and 512 RAM.
What happens is: After server startup, everything is low and nice. But
after a few jsp compilations, the cpu jumps to 100% and stays there,
even after the page has been returned and the browser says "done".
Actually, memory usage isn't that high; the java process is using
about 50 megs of memory. But it has exceeded this a couple of times,
and used 200+ MB.
The database is also running on another machine.
I tried deploying the same application on a locally installed
WL/Portal, and the same thing happened, only with much more memory
usage, about 200 - 250 megs. My machine became useless, and I had to
shut down the server.
What is causing this? Is the server's configuration totally screwed,
or can some code be doing this? Btw, I know I am the only user on this
server...
On other threads here, I have seen people supplying server dumps of
processes etc. How do I see this dump, or what processes within the
server are running?
I am very grateful for any help with this.
Christer

Similar Messages

  • High CPU and Memory Usage

    Hi
    I have CPU usage on 100%. If i dont play games just surfing on internet its like 15-30%. But when i start game like GTA IV it goes to 100%.
    I have HP P6 2490eo and Windows 10 Build 9926. I have almost 200Gt free space on my C Drive. And this problem started about 3 days ago. I havent done virus software full check, but i think my pc does it automatically. And i have done "not full" test wih Windows Defender. With that i mean like fast test
    Could it be W10? or is my CPU broken?
    Thanks For Help

    Late98, welcome to the forum.
    I haven't used Windows 10.  However, I believe that your problem is caused by it.  I suggest running Windows Update if it is still available.  Also, if you haven't done so, you should install any patches that are available for the game.  The game is old enough that it shouldn't be causing problems for the components in your computer.
    Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Get CPU and memory usage

    Hi!
    I would like to know if there is any way of getting system CPU and memory usage using Java code.

    I want to get the system CPU and memory usage using the performance monitor dll, the perfctrs.dll, but access this data using Java language.Then you should create wrapper dll between your java code and perfctrs.dll and convert data from format of dll to format of your java code.
    So, that is next question - how to create wrapper dll, how to deal with or how perfctrs.dll works?

  • VI to read CPU and Memory usage on XP machines

    Need a VI to read CPU and Memory usage on an XP machine.

    it works perfectly on my LV8.0 and W2K... it should work on XP too... happy coding...
    Message Edited by JQ on 01-12-2007 11:14 AM
    Best Regards,
    JQ
    LV 8.0 user...
    Attachments:
    cpu_usage.vi ‏18 KB

  • Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Find the attachment(LV8.5) for local machines. 
    You can use shared variables to monitor the remote machine's usage.
    Attachments:
    Task Monitor 85.vi ‏25 KB

  • Firefox keeps freezing and using 50% cpu and memory usage shoots up most of the time it's when there's an auto update of anything addon, plugin or ff!

    Firefox keeps freezing and using 50% cpu and memory usage shoots up real fast and carries on going till it uses up all there is left. Most of the time it's when there's an auto update of anything addon, plugin or ff but not just neccessarily then! I find out it's happened when there's been an update after i restart and an extra webpage comes up with the particular addon/plugin/ff update. I have to restart most of time because nothing sorts it out. I'm using windows xp with the latest update of ff 13.0.1 it's not this version because it's been happening for a while. And it never started when i added a particular addon or plugin or when i added a new app to my pc either. Any idea as to what this may be or how i'd sort it out?
    Cheers

    Maybe disable hardware acceleration? This article should help: https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram

  • Z10 - High CPU and Battery Usage with BBM

    I recently updated my Z10 (UK and EE Carrier) to 10.2.1.3062 and every day or so I am getting very high CPU and Battery Usage with BBM running in the background.
    I have never used BBM and have no active or past conversations or contacts.
    This morning, it used around 60% battery in under 3 hours, with 95% of that time sat at 'idle' in my pocket.
    Sometimes its after I have connected it to my car stereo (charging and streaming music via USB) on an Alpine CDA-117Ri, but I dont think thats a cause.
    Some screen grabs:
    [URL=http://s46.photobucket.com/user/hoopsontoast/media/IMG_20150126_095930_zpsj3haccgs.png.html][IMG]htt...
    [URL=http://s46.photobucket.com/user/hoopsontoast/media/IMG_20150124_230003_zpshi2dpkfo.png.html][IMG]htt...

    You're not alone.
    Please read this post here:  http://supportforums.blackberry.com/t5/BBM-for-BlackBerry/BBM-is-draining-my-Battery/m-p/3039915#M52...
    and contact BBM support as suggested to send logs. BBM Support is working to determine the cause of this.
    Please post over in that thread so we can keep all related in one place.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to find out CPU and memory usage for an instance?

    Hi DBA Gurus,
    How to find out CPU usage and memory usage for an instance?
    Any information is appreciated!
    Thank you!
    Robert

    you can calculate cpu usage by adding fallowing three factors which you can get from v$sysstat
    1. Parse CPU time : This represents the percentage of CPU time spent parsing SQL statements. Parse time CPU can be a strong indication that an application has not been well tuned. High parse time CPU usually indicates that the application may be spending too much time opening and closing cursors or is not using bind variables.
    2. Recursive CPU time : Sometimes, to execute a SQL statement issued by a user, the Oracle Server must issue additional statements. Such statements are called recursive calls or recursive SQL statements. For example, if you insert a row into a table that does not have enough space to hold that row, the Oracle Server makes recursive calls to allocate the space dynamically if dictionary managed tablespaces are being used.
    Recursive calls are also generated due to the inavailability of dictionary info in the dictionary cache, firing of database triggers, execution of DDL, execution of SQL within PL/SQL blocks, functions or stored procedures and enforcement of referential integrity constraints
    3. Other CPU time : This represents the percentage of time spent looking for buffers, fetching rows or index keys, etc. Generally, \"Other\" CPU should represent the highest percentage of CPU time out of the total CPU time used.
    total memory used you can calculate adding
    total_agrigate_area+sga
    memory usage on os level you can know by fallowing commands
    vmstat 5 20 depending upon os

  • Slow slow slow...even with low CPU and memory usage.

    Sometimes my Mac gets really slow, especially with applications, and even more especially when opening applications. What I don't understand is that when I check Activity Monitor during slow times, it shows plenty of CPU and memory still free, far from being maxed out. I try to keep a good chunk of my hard drive available for virtual memory too, so I'm unsure where its getting bogged down.
    Any ideas?

    You may just need a little maintenance:
    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility. For situations DU cannot handle the best third-party utilities are: Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation. TechTool Pro 4.5.1 or higher are Intel Mac compatible; Drive Genius is similar to TechTool Pro in terms of the various repair services provided. Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard. These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defrags files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc. Other utilities are also available such as Onyx, Leopard or Snow Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack (not compatible with Snow Leopard.) If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline. Note that AppleJack 1.5 is required for Leopard. AppleJack is not compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. Carbon Copy Cloner (Donationware)
    6. SuperDuper! (Commercial)
    7. Intego Personal Backup (Commercial)
    8. Data Backup (Commercial)
    9. SilverKeeper 2.0 (Freeware)
    10. MimMac (Commercial)
    11. Tri-Backup (Commercial)
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at www.versiontracker.com and www.macupdate.com.

  • High CPU and memory use on Skype 7.4

    Hello Skype Community,
    Since we have release Skype 7.4 for Windows desktop we have seen a small number of users reporting sometimes high CPU usage and memory consumption by the Skype app.
    We are aware of the issue and are working to identify the root causes and identify all the conditions (internal and external) leading to abnormal memory and processor usage. Thanks for your reports confirming our internal telemetry.
    I am going to update this topic weekly with an update (or earlier should any news arise).

    For further investigation of high CPU issues- Download process manager from https://technet.microsoft.com/en-us/library/bb896645.aspx- Open the filter window <filter><filter>- add the filter <processname> <is> <skype.exe>- close the filter window- clear events <ctrl-x>- start capturing if it is not capturing already with <file><capture events>- wait for about 10 seconds- stop capturing events <file> <capture events> You should have only a few 100 events, if you have more(even 10s of thousands)  you can find out under <tools> <any summary> what has taken a lot of time and post your findings in the thread for further info. I found the root cause for my high CPU problem by doing this:http://community.skype.com/t5/Windows-desktop-client/High-CPU-7-5-Solved/m-p/3992130

  • Best practice for CPU and memory usage?

    I find my AIR application takes a lot of memory -- usually
    >170M. And what is strange is that the memory usage is
    increasing (about 4K/s) even when the application is simply sitting
    there and do nothing. The CPU usage is supposed to be 0% when the
    application is doing nothing, but it's not (usually ~5%). So I
    wonder if there is any article about best practice on CPU/Memory
    usage.

    Those numbers indicate that your application is in fact doing
    something. Perhaps you have a timer still running, or work being
    done on an enterFrame event?

  • High CPU and Disk usage on HP Envy TS 15 j-155nf after Windows Update

    I bought this laptop about a month ago and it worked perfectly fine until the second automatic Windows Update. The booting time got very slow and the entire system started to act laggy. Task Manager showed higher CPU usage than usual and Disk usage was sometimes up to 100% with no apps opened or running in the background. I decided to perform System Recovery using HP Recovery Manager. The laptop worked fine again after that, but then the same thing happened. After the second automatic Windows Update I'm back to a slow and laggy computer. I'm performing System Recovery again, but what can I do to prevent that from happening ?

    Hi,
    There are few things you can check:
    i) Check if you have more than one anti-virus installed..Check for Trial versions.If there is any then uninstall it.
    (Sometimes it could be that you have an anti-virus and windows defender or security essentials is also installed)
    ii) Next try a Clean Boot and check if it makes a difference. If clean boot fixes the issue then it has to be one of the application on the startup which is slowing it down..
    How to perform a clean boot
    iii) Run HP Support Assitant and check if there are any pending updates..
    Note:
    If you have HP Support Assistant installed on the computer(The Blue Question Mark) then open it ==> Complete all pending Updates & Tuneups==> Restart and Check. It may solve your problem
    Although I am an HP employee, I am speaking for myself and not for HP.
    **Click on “Kudos” Star if you think this reply helped** Or Mark it as "Solved" if issue got fixed.

  • Is there a VI to monitor CPU and memory usage on wINDOWS 2000 system ?

    I want to monitor CPU usage and available memory for Windows 2000 computer. Is there a VI that can call the task mngr. via a DLL to provide this information in real time ?

    There was a nice example using .NET technology, but it seems the link has changed and I cannot find it anymore. See this older thread for some clues.
    Does anyone know what happened to the target of the original link in my old post?
    Edit: Found it here.Message Edited by altenbach on 04-29-2005 12:42 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Email alerts for CPU and Memory status of CUCM

    Hi All,
    can anybody help me here?
    Will RTMT trigger the daily email notification for CPU and Memory status of CUCM? If yes, kindly let me know the procedure.
    Thanks in advance !!!!

    Hi Hariharan,
    In addition to Atul's link please refer the below mentioned link CPU and Memory usage
    http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/managed_services/cucm_health.html#wp1101115
    Tx,
    Hope this helps
    Shalu

  • Performance issue with high CPU and IO

    Hi guys,
    I am encountering huge user response time on a production system and I don’t know how to solve it.
    Doing some extra tests and using the instrumentation that we have in the code we concluded that the DB is the bottleneck.
    We generated some AWR reports and noticed the CPU was in top wait events. Also noticed that in a random manner some simple sql take a long time to execute. We activated the sql trace on the system and noticed that for very simple SQLs (unique index access on one table) we have huge exec times. 9s
    In the trace file the huge time we had it in fetch area: 9.1s cpu and elapsed 9.2.
    And no or very small waits for this specific SQL.
    it seems like the bottle neck is on the CPU but at that point there were very few processes running on the DB. Why can we have such a big cpu wait on a simple select? This is a machine with 128 cores. We have quicker responses on machines smaller/busier than this.
    We noticed that we had a huge db_cache_size (12G) and after we scale it down we noticed some improvements but not enough. How can I prove that there is a link between high CPU and big cache_size? (there was not wait involved in SQL execution). what can we do in the case we need big DB cache size?
    The second issue is that I tried to execute an sql on a big table (FTS on a big table. no join). Again on that smaller machine it runs in 30 seconds and on this machine it runs in 1038 seconds.
    Also generated a trace for this SQL on the problematic machine:
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1    402.08    1038.31    1842916    6174343          0           1
    total        3    402.08    1038.32    1842916    6174343          0           1
      db file sequential read                     12419        0.21         40.02
      i/o slave wait                             135475        0.51        613.03
      db file scattered read                     135475        0.52        675.15
      log file switch completion                      5        0.06          0.18
      latch: In memory undo latch                     6        0.00          0.00
      latch: object queue header operation            1        0.00          0.00
    ********************************************************************************The high CPU is present here also but here I have huge wait on db file scattered read.
    Looking at the session with the select the AWG_wait for db scattered read was 0.5. on the other machine it is like 0.07.
    I though this is an IO issue. I did some IO tests at SO level and it seems like the read and writes operation are very fast…much faster than the machine that has the awg_wait smaller. Why the difference in waits?
    One difference between these two DBs is that the problem one has the db block size = 16k and the other one has 8k.
    I received some reports done at OS level on CPU and IO usage on the problematic machine (in normal operations). It seems like the CPU is very used and the IO stays very low.
    On the other machine, the smaller and the faster one, it is other way around.
    What is the problem here? How can I test further? Can I link the high CPU to low/slow IO?
    we have 10G on sun os with ASM.
    Thanks in advance.

    Yes, there are many things you can and should do to isolate this. But first check MOS Poor Performance With Oracle9i and 10g Releases When Using Dynamic Intimate Shared Memory (DISM) [ID 1018855.1] isn't messing you up to start.
    Also, be sure and post exact patch levels for both Oracle and OS.
    Be sure and check all your I/O settings and see what MOS has to say about those.
    Are you using ASSM? See Long running update
    Since it got a little better with shrinking the SGA size, that might indicate (wild speculation here, something like) one of the problems is simply too much thrashing within the SGA, as oracle decides "small" objects being full scanned in memory is faster than range scans (or whatever) from disk, overloading the cpu, not allowing the cpu to ask for other full scans from I/O. Possibly made worse by row level locking, or some other app issue that just does too much cpu.
    You probably have more than one thing wrong. High fetch count might mean you need to adjust the array size on the clients.
    Now that that is all out of the way, if you still haven't found the problem, go through http://oracle-randolf.blogspot.com/2009/02/basic-sql-statement-performance.html
    Edit: Oh, see Solaris 10 memory management conflicts with Automatic PGA Memory Management [ID 460424.1] too.
    Edited by: jgarry on Nov 15, 2011 1:45 PM

Maybe you are looking for

  • Excise Invoice Number  Series Change

    Hi Gurus Its very close to end of financial year on 31st march and according to the rules of Excise.. the excise number series should be changed .. so plz anyone suggest me how this number series is maintained and how it can be changed

  • Downloading Adobe Premiere Elements 11 has paused at 50% and will not resume.

    I purchased premiere elements 11 and attempted to download. The Downloading bundle went to 50% and then went to Toal Progress 0% PAUSED. I turned off my pop-up blocker and tried another browser (used internet explorer and then tried Chrome). The play

  • How to change the payment method of a subscription...

    Hello! I have just purchased a subscription in skype via credit card. Now I seek for a way to change the payment method from credit card to bank transfer. My problem here is, that when I go to the subscriptions page, I get the option to ''change paym

  • How do I get a Google home page up and customize it to suit time, calendar etc.

    I used to click on a shortcut icon on my desktop and get a Google screen customised to give me daily jokes, calendar, weather, time of day and a selected golf wallpaper. I downloaded incredimail and this wiped out the lot. How do I restore the settin

  • Activating Premiere Pro 1.5

    I need help activating Premiere Pro 1.5. Thanks. Earlier today, due to computer gremlins, I uninstalled both Premiere Pro 1.5 and CS 4. I want to reinstall both. And am now stuck, trying to activate 1.5.