General :: Instruction Cpu Works At Limits.conf?
Dec 2, 2009
i need to limit summary working time at system. I tried use limits.conf for this. If only two lines would be thereQuote:TestUser soft cpu 10estUser hard cpu 20 So user TestUser can login at system at any time, work any time period, and when summary time of all its logins reaches 20 mins all his proceses would be killed?p.s. if i am wrong in method whith which i try set time limit for user,
View 8 Replies
ADVERTISEMENT
Feb 9, 2011
I have the following inside /etc/security/limits.conf(I have specified root separately because * will not include it.)
user2 - core unlimited
* - core 0
root - core 0
[code]....
View 2 Replies
View Related
Jan 30, 2011
I would like to limit any process from using more than 500 MB of RAM. AFAIK this is done using RSS in /etc/security/limits.conf but the process called gnome-panel apparently is using 618436 kB of VmRSS. How can this be ?
/etc/security/limits.conf
* hard rss 512000
username@debian:~$ cat /proc/3002/status
Name: gnome-panel
[code]...
View 2 Replies
View Related
Sep 18, 2009
I've set limits in limits.conf but they don't seem to be having an effect (the easiest to test is maxlogins). Do I need to do something to enable the limits?:wqEDIT: old postI know you can have file system quotas, is there any way to set a similar quota for CPU usage for particular users so that they can't hog all the system resources (either intentionally or accidentally)?A preliminary Google search is suggesting it's not possible, but I can't believe thatOk, limits.conf and pam... I used bad search terms apparently. Now I just need to figure out how to use this stuff, but that shouldn't be an issue.
View 2 Replies
View Related
Aug 25, 2011
I have some init scripts that launch some daemons that I wrote. I want Linux to generate a coredump anytime something crashes. I activated coredumps in /etc/security/limits.conf by adding the next line:
* hard core 100000 After rebooting, I run ulimit -a and I can see that coredumps are not activated: > root@computer:~# ulimit -a > core file size (blocks, -c) 0 First, I checked if there is any file script on my system that deactivates coredumps (greping ulimit -c 0 ), but I didn't find anything so far.
Then, I created a bogus c program..to double check if it's working, and I can confirm that it's not. The program is this
[Code]...
View 1 Replies
View Related
Dec 16, 2010
I have changed and added some lines to /etc/security/limits.conf. At this time I can not reboot the system. Which service limits.conf belong to so that I can restart that service.
View 4 Replies
View Related
Jan 4, 2011
We want to know following :
1) What is the difference between rtprio and priority in limits.conf?
2) How to apply changes in values of limits in limits.conf?
3) What is the value system takes if it is not set in limits.conf?
4) What is the max/ideal value of each parameter especially priority?
View 1 Replies
View Related
Jul 31, 2011
I'm running a server using Debian 5, on which a few people log on to over SSH using a user account with limited permissions. Basically I want to make sure they can't run things like fork loops as a lot of bad stuff would happen were the server to hard reboot.So, how can I test what something like this will do:
Code:
:(){ :|:& };:
in a controlled environment, ie. so that I can kill it without rebooting?
View 7 Replies
View Related
Jul 28, 2011
Installed new wireless modem and router. how to connect it to my Ubuntu operating system. So far I can only find a place to enter information but don't know where to find it. It asks for "SSID"-"Mode Infrastructure"-"BSSID"- "Device Mac Address "Cloned Mac Address" and "MTU Automatic". where to find this information or if I am even in the right window to setup this new modem.
View 2 Replies
View Related
Sep 7, 2009
I'm using FC10 and few WM (Fluxbox, E17, LXDE) this WM's have no spetial application (applet) to set/change keyboard layout.
I edited my xorg.conf:
Quote:
In older release (FC9) with this config and alt+shift combination keyboard layot are changed, but not in FC10
View 6 Replies
View Related
Dec 28, 2010
I am using Kubuntu 10.04 (+KDS 4) in a virtual machine (64 bit). Kubuntu 10.04 runs fine, but does not have an xorg.conf file anymore where I can set "backingstore true". How do I configure (which system file to edit?) my machine so that backingstore works in absence of an xorg.conf?
View 4 Replies
View Related
Sep 29, 2010
We are trying to migrate from a centos server to ubuntu server, but we have some problems with an application called Topincs [url].
The installation is quite simple and I did it several time (but with ubuntu it's the first time).
Probably there are some parameters to set that I don't know, but even if the installation works fine and I can see the home page, the application doesn't work because RewriteRules aren't applied.
First I tried to ensure that mod_rewrite works fine and I found a weird situation: rewriterules work if they are in .htaccess but don't work if they are directly in http.conf.
View 4 Replies
View Related
Jun 16, 2011
how to check the print quota status on print server?
View 1 Replies
View Related
Mar 12, 2011
i realised that although before when i had windows7 my relative download speed was around 5.0 MB/s ( i have a 50MB virgin connection)now with ubuntu 10.10 im limited to only 2.8MB/s or somewhere around there.
First i tested my wireless speed on another laptop (with windows 7) on the same network and the speed was as i said around 5.0MB/s sometimes even more. So i thought it was only chrome that i was using at that point.However, this download speed limitation appears in jdownloader as well as in firefox and i guess the whole system.
SO im wondering if there is any way to set up the speed limit on the system and if there is, how should do i go ahead with this change,through the terminal or through preferences?
View 14 Replies
View Related
Apr 28, 2010
How i change the limits of e-mail sizes on the server. I have an e-mail server installed with CentOS3.
View 4 Replies
View Related
Mar 23, 2010
My foray into Linux is one of hopeful necessity:I have a friend who doesn't have any comp & whose son is leaving for the military. I have an old pc I was planning to recycle but instead would like to see if it can be put back into use.She has wireless service in her apt building which she would like to access. I don't know if the versions of Linux that are light duty enough to operate on such a low end machine still suwifi networking... (I will have to download it at home to a mac, burn it to cd & install from there)? Is it possible to install a wireless card into an old P3/128mb ram (IBM 6564/GL300) and get it working?
View 4 Replies
View Related
Feb 15, 2010
I just picked up an AcerAspireOne AOA150-1777 netbook that I've loaded slackware 13 onto. I'm using fluxbox as my window manager. Screen resolutions look good, running at 1024x600, as I set in xorg.conf. My question is, some applications, (gimp/firefox are good examples) open windows that are too big for the screen. I was wondering if there was a way I can set apps to use the limits of my screen size.
View 2 Replies
View Related
Aug 13, 2010
What limits a file to have some maximum size depending on the Operating System? I do not exactly understand this. If you have the storage space, what else can be the limitation? You should be able to store as much data as you want the way you want (even in a single file) unless you run out of storage space.
View 5 Replies
View Related
Dec 5, 2009
My friend and I were discussing partitioning and we disagreed on repartitioning when the drive was full. How full is too full before partitioning will mess up your file system? I've partitioned before but it was only after the OS was installed, so only about %5 of the drive is being used. I read that 90% or more is too much. My friend claims it doesn't matter, and you can repartition even if the drive is 95%+ full.
View 1 Replies
View Related
Aug 3, 2010
I had some trouble with the netinst CD and I had to install lenny with the 6DVDs instead. My internet connection only works after I edit the interfaces and resolv.conf files manually. So my question is: can I do that from the netinst CD before it actually needs the connection to install everything? (otherwise I'll just need to use the DVDs.
View 4 Replies
View Related
Apr 6, 2010
clarify me with ulimit output and memory limit?
ulimit -a output:
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) 1572864
[code]...
View 2 Replies
View Related
May 30, 2010
I burned the Slackware 13.1 DVD disk, and installed on a desktop, and it worked really great. Now, I would like to install 13.1 on my laptop, but my DVD-rom doesn't work. So is there any instruction for me to upgrade from slackware 12.1 (currently running)to slackware 13.1 directly, like what states in "Slackware 13.0 to 13.1 Upgrade HOWTO" ? Alternatively, is there any way that I can install slackware 13.1 from the ISO image file on my Windows partition? or I just following the instructions off this website, [URL]
View 1 Replies
View Related
Aug 17, 2011
my firefox has been crashing since yesterday and when i tried to run yum update it gives me error: illegal instruction (core dumped)
View 7 Replies
View Related
Feb 5, 2010
Is there a way to show or count how many CPU instructions a particular process is using or uses?
In my work we develop a web application and I'm responsible of maintaining the web server.
The app lets you handle data online so each client that uses the web application has a folder associated to it, where his data is stored. (/var/www/html/test) for example.
The idea is to get how many CPU instructions the httpd process for that particular folder is having. Is there a way to do this?
View 10 Replies
View Related
Jan 6, 2011
I'm reading "Understanding the Linux Kernel" and came upon this assembly instruction:
movl $(__KERNEL_CS << 16), %eax
I am curious as to what "<<" means/does. I tried to gooogle, but google doesn't search for "<<".
View 7 Replies
View Related
Nov 3, 2010
I am getting Illegal instruction error commands like yum:
I have centos 5.3
View 3 Replies
View Related
Dec 15, 2009
i want to build server ; for blocking porn site and adult content through my netbook.can someone please give me instruction for building that server using netbook?
View 3 Replies
View Related
Jun 24, 2011
All I want to do is fade some text in and out via the opacity attribute, and change the text when it hits zero. My script changes the text on time, but ignores the formatting effects. I'm not worried at this stage about the else statement in the startFadeEffect() function. I just want the fade effect to work here the way it should.
[Code]...
View 14 Replies
View Related
Apr 16, 2011
I running ubuntu 10.04, but im having problems and i'd like to upgrade to 11.04. If i get a live CD for 11.04 can i reach my backup program from there and restore my music collection?
View 3 Replies
View Related
Jun 1, 2009
I've been scanning the apache2 docs for the past few days and have not come up with an answer my following issue:
In my httpd.conf file, at the very end, I have the line
Include conf/vhosts/vhost_*.conf
However, when I run apache checkconfig or try to start apache, it gives me the error:
httpd: Syntax error on line 993 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf/vhosts/vhost_1.conf: Permission denied
It appears as if the Include line is correct - in terms of it grabbing the first virtual host conf file. However, I'm confused on the permissions. the /etc/httpd folder is owned by root:root, as are the subfolders. As a test, I chown'd the conf/vhost folder combination and all the vhost files to apache:apache to see if that made a difference, and it appeared to make no difference at all. The log files don't contain anything (assumed because apache isn't starting). If I place the contents of the vhosts in a singular vhosts.conf it works - with the permissions set to root:root. I'd like to avoid having to use one vhosts conf for the configuration I'm trying to achieve - as it would make my life a lot easier.
View 3 Replies
View Related