Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm using a virtual machine to do the work.
I given the volume capacity to be 32MB. According to "cat /proc/meminfo", i have approximately of 1.4GB for the memory available. It is more than enough to be mounted.
However, whenever it mounted, it will automatically unmounted as it cannot allocate memory (as seen on below pic). I tried to adjust the heap size but the result is still the same.
Please take a look at the pic
I solved the problem. Assign more memory to the virtual machine even though it is already more than sufficient to hold the volume capacity
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
As you can see in the picture why is the last three column is empty
It doesn't have buff/cache because that's (Block IOs) write/read cache which makes sense to have in RAM because RAM is much faster than a block device but your swap is stored on a block device, not RAM, and then you might as well read or write the data to it's actual location.
Available = free + unneeded cache and since cache doesn't exist at all in swap, available also doesn't.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I use atop cmd to check memory usage.
on the screenshot use can I see I have 1gb total, and 300mb free.
how do I found out what consumes other ~700mb?
I tried to use atop cmd, but that doesn't give me much information.
a memory leak occurs when a process doesn't give memory back that it doesn't need anymore
so first run top and type > key to sort by memory utilization or virtual memory utilization
you should review how much swap you are using in /proc/meminfo then check the inactive(anon) if it has high value that is bigger than the swap memory then make your swap is greater than it
finally, run free -m to see the memory details
if you find cache is high run the following command
echo 3 > /proc/sys/vm/drop_caches; sync
then run free -m again to see the changes
I think glances utility is better suited for this purpose. It is more user friendly and provides various options for real time server stats. For more information about the utility, see this page.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
1.What are the memory segments needed when executing a process?
Is it connected to virtual memory?
2. What are the open file descriptors that exist in all Unix processes?
thanks in advance
Memory Segments: Text, Data, BSS, Heap and Stack
File Descriptors: Standard Input (0), Standard Output (1) and Standard Error (2) and... they do not necessarily exists in ALL Unix processes (you can close them).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have 6 very big directorys and once a day I would like to check size each of this directories for my monitoring. Now I'm using du -s command but it take many time and significantly slows my server. Is any different better way to do this?
Depending on circumstances you could put those directories on seperate partitions, the "used" size of which you can check very quickly with df.
This, of course, means that the directories are limited to the size of their respective partitions, which could be a pain. Hence the "depending on circumstances".
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Recently i installed Ubuntu 13.04 and allocated 20 GB for it. The system got installed space less than 10 GB. Now, can i shrink it to 10 GB without formatting it?
Thats to say, i don't want to have large empty space in the partition.
You could use the resize2fs command.
However, I would suggest to backup the most important files (on e.g. an USB key) before doing that (e.g. /etc/ and some of /home/ )
See also this question...
BTW, 20GB for the system partition is not that much.....