Hello,
So I'm not sure if this is a real issue, my understanding is that when a system reboots the virtual memory is dumped in the process. Is there some configuration that would keep the memory intact after rebooting? I'm on RedHat 6 enterprise server, and I just need to make sure that virtual memory is cleared upon reboot. I'm not sure where to look to make sure this is happening.
thank you.
I have a running jboss application server 5 on RHEL 6.After few days it is noticed that the memory usage is at maximum.When the services of jboss are restared all of the memory is left free?I am unable to diagnose the issue?
Memory assigned is 24GB heap size is 16 GB.
I'm currently using the command below, to output the memory usage of a debian system in bash scripts.
Code:
memusage=$(memusage=$(/usr/bin/free | grep Mem | awk '{print $3/$2 * 100.0 "%"}' | cut -d "%" -f1);echo "$(printf "%0.0f\n" $memusage)") && echo Memory Usage is $memusage
Being new to Linux though, I just found out that Linux takes up a lof of memory and puts it in cached.
Code:
root@Client1:~# free -m
total used free shared buffers cached
Mem: 927 799 128 0 15 754
-/+ buffers/cache: 28 898
Swap: 99 0 99
So the first command will actually output that the memory usage is 87%, when in reality is not. Its actually thinking that the memory usage is high because its also counting the cached memory, as used memory.
How can I modify the first command not to consider cached memory, as used memory?
Thanks
I want to know the approximate maximum memory usage by my process. If I start the process using "time -v <myprocess>", I get the output after it terminates. This works fine in RedHat Enterprise Linux, but not in Centos. There does not seem to be an option "-v" for time. Do I miss anything ? What is the equivalent in Centos to know the peak memory usage by a process ?
I don't know if anyone can help with this question, but I have an old Samsung R40 Laptop which used to run Windows XP. The specs show that it will not upgrade to Windows 7,8 or any other OS beyond XP. Yesterday I wiped the HDD clean and installed Linux Mint 17.1 Cinnamon which looks good and runs a little slowly but without problems. The Laptop is in good condition therefore I thought I would upgrade it by adding more memory to speed it up. The Memory installed is 2x512mbs PC2-3200S-333 DDR2 200pin, unfortunately I have not been able to obtain any. I would like to double the memory to 2x1gb (2056mbs). If anyone knows for certain where I can get this memory (or Compatible) in the UK or Europe I would be most grateful.
Thanks,
gael.
I recently installed elementaryOS and everything was working fine until I changed the drivers in the Additional Drivers section.
I then tried changing back to the drivers previously used and others but to no avail. I can see the menu bar at the top and run applications, but the whole desktop just appears black.
Here is some info.
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 310] (rev a2)
*-display
description: VGA compatible controller
product: GT218 [GeForce 310]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:44 memory:fa000000-faffffff memory:d0000000-dfffffff memory:ce000000-cfffffff ioport:ec00(size=128) memory:fbe80000-fbefffff
[1]+ Done lspci | grep --color=auto VGA
How can I fix this issue?
I have this question which give me a file.tar.gz which include a calculator file and want to extract and run it
in the output it wants to show
1)cpu avg usage
2)total time taken to run
3)memory and I/O usage
can anyone help???
Hi Y'all,
Greetings from Snowy NC.
First post with first Linux issue.
Attempting to load Linux .iso distros (both dnlds and commercial (from mags & bought sampler cd pkg online) to see which one I want to go with.
My ACER M3011 desktop athlon 64 x2 w/2GB Mem, dsk =320GB had Vista but I can't restore any longer so I'll go Linux.
After much online research dnlded & installed Zorin Lite w/o issues. However, when attempting to boot 32bit or 64 bit versions of MINT 17.1 or DEEPIN 14.2, recvd NOT ENOUGH MEMORY FOR IMAGE msg. Installed 4 more GB ( the BIOS sees it; total 6). Same NOT ENOUGH MEMORY msg. I have searched all the threads for similar issues w/o finding any. I would appreciate suggestions on where to start.
Thank you, Robert Hall
UPDATE;; After finding suggestions on other forums have tried the trick of adding the mem=1024m, and mem=1G, and mem=4G
during the boot process. Get a whole bunch further into the kernal boot now, but always hangs at the "[7.360454] random:
nonblocking pool is initialized" line.
TIA
RH
I am new to LINUX and am trying to install Fedora 20 on an ACER Aspire Z5600, the specs are as follows : Pentium Dual Core 64-bit 2.7 GHz processor, 3 GB RAM and well over 100 GB of free HDD space.
When it starts I get the message: not enough memory to load image.
Not sure what the problem is.
I'm currently reading Brian Wards book: How Linux Works: What Every Superuser Should Know 2nd edition and I'm confused about step 3 in the context of the other steps:
1. The CPU (the actual hardware) interrupts the current process based on an internal timer, switches into kernel mode, and hands control back to the kernel.
2. The kernel records the current state of the CPU and memory, which will be essential to resuming the process that was just interrupted.
3. The kernel performs any tasks that might have come up during the preceding time slice (such as collecting data from input and output, or I/O, operations).
4. The kernel is now ready to let another process run. The kernel analyzes the list of processes that are ready to run and chooses one.
5. The kernel prepares the memory for this new process, and then prepares the CPU.
6. The kernel tells the CPU how long the time slice for the new process will last.
7. The kernel switches the CPU into user mode and hands control of the CPU to the process.
What does he mean preceding time slice as surely the tasks have been completed during the time slice in steps 1-2?
Hi Experts:
I'm new to Linux,recently i was confused with the words as below:
"To achieve sharing,the process A mmaps the executable file of process B into into the virtual address space of process A. As the Linux loader maps the executable files into the process when executing them,the two processes share the memory image of the mapped file"
questions:
1,What are the "executable files",are they ELF files?
2,How to do "mmaps"?if process A and process B share the same code segment, ,where is process A's own code segment?
Thank you in advance.