The tag has no wiki summary.

learn more… | top users | synonyms

23
votes
1answer
580 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 ...
16
votes
6answers
903 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 ...
9
votes
4answers
463 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 ...
9
votes
2answers
409 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 ...
7
votes
2answers
13k 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 ...
6
votes
2answers
3k 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 ...
4
votes
2answers
768 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 ...
3
votes
5answers
171 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 ...
2
votes
3answers
797 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 ...
2
votes
2answers
119 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 ...
2
votes
1answer
119 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
1answer
157 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 ...
1
vote
1answer
86 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 ...
1
vote
1answer
312 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 ...
0
votes
3answers
125 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 ...
0
votes
3answers
215 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 ...
0
votes
1answer
900 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
705 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 ...
0
votes
1answer
230 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 ...
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 ...