Debian Configuration :: Limiting Resource Usage
Sep 10, 2015
Got a few more questions from the Debian Security Howto.
Section "4.11.2 Limiting resource usage: the limits.conf file" page 44
Code: Select allnano /etc/security/limits.conf
At the bottom I get...
Code: Select all#<domain>Â Â Â <type>Â <item>Â Â Â Â Â <value>
#
#*        soft  core      0
#root      hard  core      100000
#*        hard  rss       10000
[code]...
Do I have to uncomment these lines for them to take effect?
View 2 Replies
ADVERTISEMENT
Apr 3, 2011
How can i limit disk space usage for one user? Like.. User john123, you can only use 100mb of my harddisk. User jake155, you can only use 250mb of my harddisk.
View 1 Replies
View Related
Oct 12, 2010
I have a multi-threaded process running and I have to limit the cpu time used by each of the threads. If 1 of the threads uses the whole of configured CPU time, the other thread should sleep and not consume CPU time in that cycle. 1 thread has higher preference over the other. How can i implement it my CPP code?
View 1 Replies
View Related
Feb 15, 2010
I need to monitor resource of my server. I have found munin and sysstat, Does munin use systat? or they are different package?because in some documents I have found on net,for installing munin, systat is needed !!for example on RedHat based distor, sysstat package is needed! but on debian is not needed!
View 1 Replies
View Related
May 17, 2010
I am currently developing a program that i need to compare to other similar programs, mainly to provide a cost v. benefits analysis for myself and coworkers. does anyone know of a program that can accurately provide this information? or, otherwise, an idea of how to start coding?I have seen in research papers before that quickness was actually evaluated in seconds/microseconds taken for processes to finish- is this legitimate?
View 3 Replies
View Related
Mar 14, 2010
Can anybody suggest what are the resource usage requirements for xubuntu + kdevelop memory wise and processor.
as i am looking for installing in this system xubuntu + kdevelop on a system p4+ 256MB ddr1
do you think this will smooth
View 1 Replies
View Related
Jun 19, 2015
Just made a strange discovery, visiting the website: [URL] .... with iceweasel within university's network makes my computer almost unusable. htop's output indicates:
USER: 'root' CPU: '98%' Command: '/usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch'
What this meant to be and/or how this could be circumnavigated?
View 0 Replies
View Related
Apr 13, 2011
I just installed Debian 6.0 IA64 on my HP zx6000 and it pegs the CPU's when doing absolutely nothing but sitting at the desktop. I searched around on Google and found that there is a bug report: 537572. I was just wondering what the status was on that. Is there currently a fix or workaround?
zx6000 specs: 2 x 1.50GHz Intel Itanium 2 (Madison 6MB), 8GB of PC2100 ECC, 73GB 10kRPM SCSI, NVIDIA Quadro4 900 XGL 128MB.
View 8 Replies
View Related
Jun 15, 2011
I'm currently running my own postfix server which is the MX for my domain. This is hosted in my house at the moment on the end of an ADSL line with a static IP. However, I'm trying to go totally mobile so I can kill the ADSL and the line rental and switch to 3G. Does anyone know a solution which allows me to accept (or ask for delivery) of SMTP when temporarily connected and queues it externally? Sort of like a hosted mail queue which pumps SMTP onto my laptop only when I ask it to.
View 2 Replies
View Related
Jun 17, 2015
Since according to liquorix.net the kernel
Code: Select alluname -a
Linux t 4.0-5.dmz.3-liquorix-amd64 #1 ZEN SMP PREEMPT Debian 4.0-12 (2015-06-14) x86_64 GNU/Linux
incorporates Zen Interactive Tuning and this
[URL] .... wrote:Tunes the kernel for responsiveness at the cost of throughput and power usage.
View 2 Replies
View Related
Apr 28, 2010
I usually use "top" command to check the resource usage , it is very good and simple method to know the status ( loading , CPU , memory usage ), but we have many servers so we can't check the servers frequently , so we can't find the problem before the problem happens
Any method / script that I can implement to send us a alert mail if the resource usage reach a specific level , for example , if the CPU usage reach 90% , then send us a alert mail.
View 1 Replies
View Related
Jul 10, 2010
I am trying to use TOMCAT 7 from eclipse Helios and I seem to not to be able to see Tomcat's browser visual menu.
I receive the following message: description The requested resource (/) is not available.
I have started Tomcat from the shell(UBUNTU 10.04) and it works.
View 3 Replies
View Related
Jun 25, 2010
I have configured dhcp3-server on my debian box and I'm wanting to offer dhcp on one of the vlan interfaces. The dhcp is functioning but when I test applying it to a different vlan, the original PC can still get an IP. For example: eth1 has vlan100 and vlan200. Our managed switch has the ports configured such the pc1 is on vlan100 and pc2 is on vlan2. This works fine and I can inter-route between vlans with static IPs. Our dhcp config is currently set as:
ping-check true;
ddns-update-style none;
default-lease-time 21600;
max-lease-time 86400;
INTERFACES="vlan100";
authoritative;
[code]....
View 2 Replies
View Related
Jun 11, 2011
I try to play a DVD but get the error
Could not read from resource
View 6 Replies
View Related
May 22, 2011
I can not watch a DVD video using Movie Player. It gives the message: An Error Ocurred Can not read from resource. What does it want me to do ? Buy a new DVD player ? I have no trouble with this drive in another distribution on the same computer, or playing audio CDs in this very Debian OS. So I don't think there is anything wrong with the DVD drive. VLC won't do anything either.
View 4 Replies
View Related
Mar 31, 2015
Using debian testing.
Pulseaudio got installed by default here during installtion. Since I don't want it I first ran "systemctl disable pulseaudio", "pulseaudio --kill", then without rebooting I use mpd with alsa alone and it worked fine.
But then i rebooted, and now all applications, mpd, mpv, chromium etc just says that alsa returns with "Device or resource busy", tried rebooting again with no effect.
The soundcard appears as card 1 according to the output of "aplay -l", and defined that card 1is suposed to be default with this in "/etc/asound.conf":
Code: Select allpcm.!default {
  type hw
  card 1
}
ctl.!default {
  type hw
  card 1
}
It occurred to me that there might be an issue with permissions to the soundcard so I ran "ls -l /dev/snd"
Code: Select alldrwxr-xr-x 2 root root    80 Mar 31 03:27 by-path
crw-rw----+ 1 root audio 116, 8 Mar 31 03:27 controlC0
crw-rw----+ 1 root audio 116, 2 Mar 31 03:27 controlC1
crw-rw----+ 1 root audio 116, 12 Mar 31 03:27 hwC0D0
crw-rw----+ 1 root audio 116, 7 Mar 31 03:27 hwC1D0
[Code] ....
My user is a part of the audio group:
Code: Select alluid=1000(roberth) gid=1000(roberth) groups=1000(roberth),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev),111(scanner)
As far as I can tell, that looks fine unless I am missing something?
View 1 Replies
View Related
Dec 26, 2010
I installed mdadm fine and all and proceeded to run:mdadm --create --verbose /dev/md0 --level=stripe --raid-devices=2 /dev/sda /dev/sdbWith sda being my primary hard drive, and sdb being the secondary.I get this error message upon running the command"mdadm: chunk size defaults to 64Kmdadm: Cannot open /dev/sda: Device or resource busymdadm: create aborted"I don't know what's wrong!
mdstat says:
"Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] [faulty]
unused devices: <none>"
View 1 Replies
View Related
Jul 14, 2011
I am working in a office where only one internet connection available. I have configured 5 other client machines to use internet through squid proxy server. Now I want to restrict the total data usage/transfer (upload+download) to say 1 GB during a calender month. How can I achieve this setting.
View 1 Replies
View Related
Jul 14, 2011
I am working in a office where only one internet connection available. I have configured 5 other client machines to use internet through squid proxy server. Now I want to restrict the total data usage/transfer (upload+download) to say 1 GB during a calender month. How can I achieve this setting.
View 1 Replies
View Related
Jun 16, 2010
I've upgraded my squeeze box to linux kernel 2.6.32-5. But it shows mounting "here is the uuid of / " on /root failed: Device or resource busy while booting.Here is the menuentry of linux kernel 2.6.32-5.
[code]....
View 9 Replies
View Related
Mar 15, 2010
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
View 14 Replies
View Related
Dec 10, 2010
I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:
Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on
[code]....
View 5 Replies
View Related
Nov 15, 2010
Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
View 2 Replies
View Related
Oct 30, 2010
I'd been using Directadmin on my Debian 5.0 machine earlier . I had 1GB ram and a lot of memory was used up. Sometimes even the OS crashed as the programs couldn't allocate memory. I increased my RAM to 3GB but still the RAM usage sometimes just flow up to 1GB although normally DirectAdmin doesn't use more than 200MB . Restarting the server fixes the issue but then it climbs up again and comes down to a 200-400MB again by itself. Cached Memory was also being too much and sometimes even Swap Partition gets used up .Just to be sure that it's not the Bugged OS, today I installed the latest Debian 5.0.6 Net-inst on my machine . I allocated just 128MB of ram to it because it was just a testing machine. I installed it without the swap partition since I thought I will make a swap-file if it is required. I did not even update the OS rather I just installed Openssh-server and everything else was default as in Debian 5.0.6 . When server started, only 20MB ram was being used .
I just logged into my server afer about 5 hours and saw 112 MB ram being used out of which 91MB was cached. I haven't installed anything so why is this happening ?Why is this happening when I just installed the default Operating System and didn't even run an apt-get update on it.I think my previous operating system with Directadmin was also having similar issues.
View 9 Replies
View Related
Mar 27, 2011
I just installed Debian 6.0 on an older box, the CPU is an AMD K6-2 (with 3D Now) 500MHz, with 512Mb of on-board memory.
I installed this with the LXDE as the desktop environment and it includes a CPU usage graph (colored green) on the LXDE panel, by default. Based on my past experience with Linux, LXDE runs faster on this hardware than XFCE or Gnome.
When I use a web browser on this system, whether it is Iceweasel or Chromium, the CPU usage spikes up to 100%.
I believe Gnash may have something to do with this. I removed gnash which also removed browser-plugin-gnash and went to the same sites afterwards, the CPU usage then dropped considerably.
I realize that the CPU is somewhat slow (compared to today's processors), but why would Gnash (and probably by extension, Adobe Flash Player as well) use up all the CPU resources?
The installed video card is an nVIDIA GeForce 2 MX400 (PCI) with 32Mb of on-board video memory. I have another video card that could be used, a 3dfx Voodoo3 2000 PCI with 16Mb of on-board video memory. which I believe is also supported by xorg. The monitor is a Sceptre X9G-Naga III LCD, 19", resolution is 1024x768 (the maximum listed in the settings).
View 6 Replies
View Related
Sep 12, 2010
Howto optimize RAM and CPU usage under Lenny?
View 11 Replies
View Related
Mar 12, 2011
I've installed my debian sid about one month ago (first xfce, next gnome) but noticed that it's kind of really slow. The upgrades take ages, launching (and using) firefox takes so much time,... In comparaison to my ubuntu, archlinux (on the same computer) or previous installation of debian there is clearly a problem somewhere.Today I tried to do a "top" sorted by mem usage : 3.5% xulrunner-stub, 2.1% dropbox, 1.4% aptitude (doing upgrade), 1.4% clementine,... nothing terriblebut still I've 2.7Gb or RAM used (more than 50%)
$ free -m
total used free shared buffers cached
Mem: 3967 26851282 0 79 1938
[code]....
View 4 Replies
View Related
Mar 16, 2011
I use a Debian Squeeze system running off a flash drive, i.e. based on a custom Live image running in persistent mode. It runs great and I am grateful for the existence of Debian . However, I have a question. A lot of the machines I use this pen drive on are quite old, often with 512 MB RAM and old processors. I specifically built my system using XFCE and lightweight apps off an initial live image using the standard-x11 package list (basically just Xorg with drivers and the base system). At first things ran very well, blazing fast even on the oldest systems and could comfortably run Firefox along with LibreOffice side by side (I need LO as all of my colleagues use Word docs, often with track changes, which Abiword can't handle properly). However, over time, I've found that memory usage has risen, tot he point where Firefox is now automatically killed on the older systems every time I start LibreOffice.how does one figure out why memory usage is going up? I've checked for inessential services and turned them off with "insserv -r". I've used only lightweight apps, as mentioned before. Are there other general tips on reducing memory usage?
View 4 Replies
View Related
Aug 5, 2015
Gnome-shell uses high percent of CPU (more than 90%) on Xorg. I have debian jessie on a Asus N53 ( Core i7 and Nvidia GT550 with nvidia optimus). I also installed bumblebee but nothing changed.
View 0 Replies
View Related
Feb 21, 2011
I have 2 ISP where give me IP Public with ISP A (/29) and ISP B (/28). So, I connect this two ISP to unmanaged switch. And from that switch, I take one cable connected to eth0 on the server. (Note : My server have 2 dev ethernet, eth0 and eth1). eth1 will go to the Switch which will go to the LAN.
My Question is : 1. Is this possible to make bandwith control on the gateway server with mode separating International bandwith and local bandwith (my country bandwith)? ie, for my Mail Server I will give the "intl bandwith" only 512 kpbs and for local bandwith with 1Mbps. What a software can I use for this model ?
2. Which model I should to used, with NAT or with Bridging router? That's all for now..
View 5 Replies
View Related