Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
3answers
197 views

Is there any way to tell exactly what files a command is accessing?

I'm working on a piece of software that requires me to know what files and resources any certain launched process are accessing. I'm not planning on attempting to track what every single script, ...
2
votes
2answers
132 views

Linux freezing randomly

My Computer has been freezing a lot lately, and with no apparent reason.It freezes even if my usage is 3% CPU and 9% RAM. I was using Windows 8 until I decided I'd try to move on to linux, so I ...
1
vote
0answers
28 views

Openvz resource management

I have a couple of nodes ( which are not mine ) running one openvz kernel version -2.6.32-042stab092.2 specifications : processor model name : E5-2620 0 @ 2.00GHz Number of Processors : 24 RAM : 48G ...
0
votes
0answers
16 views

how to find where buffers/cache are and how to clean them up? [duplicate]

I want to create 20gb ram disk for ANSYS to work in yet on free -g I see: And personally I have not created any ram drives yet. So I wonder how to maximize avaliable ram: how to locate what is using ...
0
votes
0answers
17 views

Performance implications of enabling sadc to collect system activity information

I would like to enable sadc to collect system activity information so that I could use sar. What are the performance implications of enabling this? The server in question has very little system ...
8
votes
1answer
314 views

How to limit the total resources (memory) of a process and its children

There are plenty of questions and answers about constraining the resources of a single process, e.g. RLIMIT_AS can be used to constrain the maximum memory allocated by a process that can be seen as ...
4
votes
1answer
272 views

Does 'ulimit -m' not work on (modern) Linux?

This article claims that the -m flag to ulimit does nothing in modern Linux. I can find nothing else to corroborate this claim. Is it accurate? You may try to limit the memory usage of a process ...
3
votes
5answers
269 views

How can I force a script to use more resources?

I'm running a very time-consuming script which takes many hours to end. Watching top I see that it's only taking 5% of the CPU at best, usually around 3%. Is there any way to force the script to use ...
1
vote
1answer
524 views

Worker MPM or Prefork?

I understand that there is a comparison topic between the two modules but this is different. I was contacting cPanel support in order to help me freeing up some memory usage on the VPS. They found ...
0
votes
0answers
61 views

Is Linux bad at handling misbehaving programs? [duplicate]

This is really not a duplicate, because my main question is how to get able to use the system again once it started swapping (maybe I can raise the priority of what handles ctrl-alt-F1, or something ...
9
votes
2answers
1k views

How to prevent fork bomb?

To prevent fork bomb I followed this http://www.linuxhowtos.org/Tips%20and%20Tricks/ulimit.htm ulimit -a reflects the new settings but when I run (as root in bash) :(){ :|:&};: the VM still goes ...
1
vote
1answer
2k views

ulimit & rlimit in Linux, are they the same thing?

I see people use the terms ulimit & rlimit interchangeably, can I say they are referring to the same thing?
0
votes
1answer
1k views

Limit CPU and memory usage for PHP-FPM and Nginx processes in CentOS

I want to limit CPU and memory usage for PHP-FPM and Nginx processes in CentOS. I came across following tools cpulimit cggroups memory resource locater which will more efficient and how can I ...
24
votes
1answer
667 views

Why does it take up to several minutes to clean a listening TCP port after a program dies?

If I kill a program that is listening on a TCP port, it takes up to several minutes until the port is reclaimed by the system and usable again. I've seen several Q/A mentioning this phenomenon, but ...
0
votes
3answers
258 views

Is there a difference in resource use/requirements between Ubuntu and Debian versions of Linux Mint (under the same DE)?

I intend to use Linux Mint on a RAM/1GB laptop. I'm used with Xfce and LXDE and I see that both Linux Mint 14 Nadia and Linux Mint Debian have Xfce versions. Is there a reason to prefer one to the ...
2
votes
1answer
145 views

To check which resource is being accessed by which process

I have some process running on my system. I need to list out which of the process at a moment has acquired/is using one or more of these in my system: Ethernet Camera USB Bluetooth WiFi File System ...
2
votes
2answers
142 views

How to constrain the resources an application can use on a linux web server

This is the situation: I have a PHP/MySQL web application that does some PDF processing and thumbnail creation. This is done by using some 3rd party command line software on the server. Both kinds of ...
8
votes
2answers
20k views

What do top's %MEM and VSZ mean?

I'm working on an embedded Linux system (128MB RAM) without any swap partition. Below is its top output: Mem: 37824K used, 88564K free, 0K shrd, 0K buff, 23468K cached CPU: 0% usr 0% sys 0% nic ...
2
votes
1answer
170 views

How to find what's hogging what resources? [closed]

I've found lots of similar questions, but nothing that's exactly right. I'm trying to figure out what's making one server run slower than another. I'm hoping for something that would say something ...
0
votes
3answers
156 views

Is more or find more resource intensive in finding the number of times an item lists in a file?

I recently read How to find the total number of occurrences of text and files with find command, which asked about a way to find the number of times text "abc" appears in a file. The answer there ...
9
votes
4answers
577 views

Where can I find the historical source code of the Linux sources

I want to do research on the evolution of Linux. Therefore it would be nice if I could download the sources of Linux at several moments in time (from 1991 till now). Is there a site where one can ...
0
votes
1answer
249 views

Is there more, less, or equal overhead for elisp, as for a bash script, to call awk, ps, etc?

Hopefully the question explains itself well enough. I'm referring to exta time and system resources involved for one vs. the other... I tend to think it would be the same, but I want to go beyond just ...
1
vote
1answer
383 views

Generate resource usage report

I'm looking for load/usage data for a server in terms of CPU/RAM/network/Disk from OS perspective. The OS is RHEL5. I know sar is able to report system activity info, but the only commands I know ...
7
votes
2answers
4k views

How to check, which limit was exceeded? (Process terminated because of ulimit. )

Let's assume process runs in ulimited environment : ( ulimit ... -v ... -t ... -x 0 ... ./program ) Program is terminated. There might be many reasons : memory/time/file limit exceeded ; just ...
18
votes
6answers
1k views

Is there a way to limit overall CPU consumption?

My laptop (an HP with an i3 chip) overheats like crazy every time I run a resource heavy process (like a large compilation, extracting large tarballs or ... playing Flash). I am currently looking ...
4
votes
2answers
1k views

Is there a way to find all X resources an application uses?

I'm looking for a way to automatically list all X resources that are used in an application. To give you an example, for xterm I'd expect a list similar to the following but with all the resources ...
2
votes
3answers
955 views

.Xresources settings in effect

Is there some way to inspect which .Xresources settings are in effect at the moment (unlike xrdb -query)? For example, I'm on a host which doesn't seem to respect *reverseVideo: true, but I don't know ...