Sponsored Content
Full Discussion: High CPU+Memory comsumption
Homework and Emergencies Emergency UNIX and Linux Support High CPU+Memory comsumption Post 302558030 by solaris_1977 on Thursday 22nd of September 2011 02:28:07 PM
Old 09-22-2011
hmm, I can.
But still client would like to know, what processes are consuming/holding so much memory, if we need to change threshold.
 

10 More Discussions You Might Find Interesting

1. Solaris

High CPU Utilization

Good morning, I need some help figuring out what's eating up my cpu. My application can't get enough cpu to do its job. this is a sunfire V440 2CPU's at 1/593 GHZ with 8GB of memory. In the morning hours the box is at less than 3%. I can't figure out what else is using the CPU. We use foglight and... (2 Replies)
Discussion started by: bbouhaik
2 Replies

2. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

3. UNIX for Advanced & Expert Users

high cpu utilization

good morning. just wanted to ask if there's a way to check what causes the high cpu utilization of a server for the past 2 months? My jffnms report resulted to high utilization for a specific server last month. is there a way to check via a command line? thanks (9 Replies)
Discussion started by: lhareigh890
9 Replies

4. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

5. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies

6. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

7. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

8. Red Hat

High CPU Utilization

Hi Experts, I need to understand few basic things regarding top command result from one of the node i have collected: Cpu0 : 4.6%us, 2.0%sy, 0.0%ni, 91.4%id, 1.3%wa, 0.3%hi, 0.3%si, 0.0%st Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 : ... (5 Replies)
Discussion started by: mackjack87
5 Replies

9. Red Hat

CPU is high

Hi , We found CPU is high due to python process .Is this something that Oracle team should look on or Unix team has to work on it ?Could you please advise use of python process ? top - 12:03:03 up 43 days, 15:11, 5 users, load average: 1.53, 1.33, 1.23 Tasks: 126 total, 3 running, 123... (12 Replies)
Discussion started by: Maddy123
12 Replies

10. Shell Programming and Scripting

High cpu usage

I have created one script and i have added it into cron to run after 10 mins. However I have noted that whenever that script runs, It causes CPU utilization of server to increase about 10-20 % I have rechecked script and there is no way i can make changes, Script contain only 2-3 commands. So... (4 Replies)
Discussion started by: Nakul_sh
4 Replies
memsup(3erl)						     Erlang Module Definition						      memsup(3erl)

NAME
memsup - A Memory Supervisor Process DESCRIPTION
memsup is a process which supervises the memory usage for the system and for individual processes. It is part of the OS_Mon application, see os_mon(7) . Available for Unix, Windows and VxWorks. Periodically performs a memory check: * If more than a certain amount of available system memory is allocated, as reported by the underlying operating system, the alarm {sys- tem_memory_high_watermark, []} is set. * If any Erlang process Pid in the system has allocated more than a certain amount of total system memory, the alarm {process_mem- ory_high_watermark, Pid} is set. Alarms are reported to the SASL alarm handler, see alarm_handler(3erl) . To set an alarm, alarm_handler:set_alarm(Alarm) is called where Alarm is either of the alarms specified above. The alarms are cleared automatically when the alarm cause is no longer valid. The function get_memory_data() can be used to retrieve the result of the latest periodic memory check. There is also a interface to system dependent memory data, get_system_memory_data() . The result is highly dependent on the underlying operating system and the interface is targeted primarily for systems without virtual memory (e.g. VxWorks). The output on other systems is however still valid, although sparse. A call to get_system_memory_data/0 is more costly than a call to get_memory_data/0 as data is collected synchronously when this function is called. The total system memory reported under UNIX is the number of physical pages of memory times the page size, and the available memory is the number of available physical pages times the page size. This is a reasonable measure as swapping should be avoided anyway, but the task of defining total memory and available memory is difficult because of virtual memory and swapping. CONFIGURATION
The following configuration parameters can be used to change the default values for time intervals and thresholds: memory_check_interval = int()>0 : The time interval, in minutes, for the periodic memory check. The default is one minute. system_memory_high_watermark = float() : The threshold, as percentage of system memory, for how much system memory can be allocated before the corresponding alarm is set. The default is 0.80 (80%). process_memory_high_watermark = float() : The threshold, as percentage of system memory, for how much system memory can be allocated by one Erlang process before the correspond- ing alarm is set. The default is 0.05 (5%). memsup_helper_timeout = int()>0 : A timeout, in seconds, for how long the memsup process should wait for a result from a memory check. If the timeout expires, a warning message "OS_MON (memsup) timeout" is issued via error_logger and any pending, synchronous client calls will return a dummy value. Nor- mally, this situation should not occur. There have been cases on Linux, however, where the pseudo file from which system data is read is temporarily unavailable when the system is heavily loaded. The default is 30 seconds. memsup_system_only = bool() : Specifies whether the memsup process should only check system memory usage ( true ) or not. The default is false , meaning that infor- mation regarding both system memory usage and Erlang process memory usage is collected. It is recommended to set this parameter to false on systems with many concurrent processes, as each process memory check makes a tra- versal of the entire list of processes. See config(5) for information about how to change the value of configuration parameters. EXPORTS
get_memory_data() -> {Total,Allocated,Worst} Types Total = Allocated = int() Worst = {Pid, PidAllocated} | undefined Pid = pid() PidAllocated = int() Returns the result of the latest memory check, where Total is the total memory size and Allocated the allocated memory size, in bytes. Worst is the pid and number of allocated bytes of the largest Erlang process on the node. If memsup should not collect process data, that is if the configuration parameter memsup_system_only was set to true , Worst is undefined . The function is normally asynchronous in the sense that it does not invoke a memory check, but returns the latest available value. The one exception if is the function is called before a first memory check is finished, in which case it does not return a value until the memory check is finished. Returns {0,0,{pid(),0}} or {0,0,undefined} if memsup is not available, or if all memory checks so far have timed out. get_system_memory_data() -> MemDataList Types MemDataList = [{Tag, Size}] Tag = atom() Size = int() Invokes a memory check and returns the resulting, system dependent, data as a list of tagged tuples, where Tag can be one of the following: total_memory : The total amount of memory available to the Erlang emulator, allocated and free. May or may not be equal to the amount of memory configured in the system. free_memory : The amount of free memory available to the Erlang emulator for allocation. system_total_memory : The amount of memory available to the whole operating system. This may well be equal to total_memory but not necessarily. largest_free : The size of the largest contiguous free memory block available to the Erlang emulator. number_of_free : The number of free blocks available to the Erlang runtime system. This gives a fair indication of how fragmented the memory is. buffered_memory : The amount of memory the system uses for temporary storing raw disk blocks. cached_memory : The amount of memory the system uses for cached files read from disk. total_swap : The amount of total amount of memory the system has available for disk swap. free_swap : The amount of memory the system has available for disk swap. All memory sizes are presented as number of bytes . The largest_free and number_of_free tags are currently only returned on a VxWorks system. Returns the empty list [] if memsup is not available, or if the memory check times out. Note: On linux the memory available to the emulator is cached_memory and buffered_memory in addition to free_memory . get_os_wordsize() -> Wordsize Types Wordsize = 32 | 64 | unsupported_os Returns the wordsize of the current running operating system. get_check_interval() -> MS Types MS = int() Returns the time interval, in milliseconds, for the periodic memory check. set_check_interval(Minutes) -> ok Types Minutes = int()>0 Changes the time interval, given in minutes, for the periodic memory check. The change will take effect after the next memory check and is non-persistent. That is, in case of a process restart, this value is forgotten and the default value will be used. See Configuration above. get_procmem_high_watermark() -> int() Returns the threshold, in percent, for process memory allocation. set_procmem_high_watermark(Float) -> ok Changes the threshold, given as a float, for process memory allocation. The change will take effect during the next periodic memory check and is non-persistent. That is, in case of a process restart, this value is forgotten and the default value will be used. See Configuration above. get_sysmem_high_watermark() -> int() Returns the threshold, in percent, for system memory allocation. set_sysmem_high_watermark(Float) -> ok Changes the threshold, given as a float, for system memory allocation. The change will take effect during the next periodic memory check and is non-persistent. That is, in case of a process restart, this value is forgotten and the default value will be used. See Configuration above. get_helper_timeout() -> Seconds Types Seconds = int() Returns the timeout value, in seconds, for memory checks. set_helper_timeout(Seconds) -> ok Types Seconds = int() (>= 1) Changes the timeout value, given in seconds, for memory checks. The change will take effect for the next memory check and is non-persistent. That is, in the case of a process restart, this value is forgotten and the default value will be used. See Configuration above. SEE ALSO
alarm_handler(3erl) , os_mon(3erl) Ericsson AB os_mon 2.2.5 memsup(3erl)
All times are GMT -4. The time now is 04:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy