Ubuntu :: Updating Limits.conf Without Reboot?
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
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
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
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
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
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
Apr 3, 2011
I'm trying to set up samba. I am editing the smb.conf.master file, and then using the testparm -s "smb.conf.master > smb.conf" command to make the smb.conf file. I am running this command as root. However, the smb.conf is not updating with the changes I am making. Does anyone know why? It just stays the same no matter what I change. The only way to change it is to edit the smb.conf file itself.
View 1 Replies
View Related
Apr 9, 2010
I have installed Kubuntu 8.04.2 on a USB stick with persistence to keep any changes I make after a reboot and it works fine. I then installed the 185 Nvidia driver to give me higher resolutions and it works fine.
But each time I reboot, my updated xorg.conf is replaced with the default xorg.conf that ships with that version of Kubuntu and a backup is made of my updated xorg.conf (the correct one) which looks like xorg.conf.20100409135913. I have to put the backup xorg.conf back in place to get my Nvidia driver to work with the correct screen resolutions again. Otherwise my screen resolution is too low.
What could be causing this behavor? I'm sure it not the persistence feature of the USB stick failing since a backup is made of my original xorg.conf.
I might add more information. The xorg.conf that gets changed after a reboot says "This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database." #
View 11 Replies
View Related
Jan 4, 2010
I'm having problems with my resolv.conf file. Every time I reboot my computer it goes blank and I have to re-type it before I can get on the network. How do I prevent it from being overwritten?
View 6 Replies
View Related
Aug 22, 2010
It appears that /etc/resolv.conf back to default everytime I reboot my computer.I've added these 2 lines to resolve some DNS issue.Quote:
nameserver 8.8.8.8
nameserver 8.8.4.4[URL]Your advise to make /etc/resolv.conf untouchable even after reboot would be highly appreciated.
View 1 Replies
View Related
Jan 20, 2011
Every time my workstation reboots I have to manually redo my resolv.conf file because some of the servers I manage use apparently different nameservers than what my system is registering at boot. Is there a way to make sure my resolv.conf file says static?
View 3 Replies
View Related
Dec 1, 2009
my rounter causes puppy to write an improper dns entry in resolv.conf. Consequently I have to manually write it, then I have to place a command on it to make sure it doesn't get rewritten on boot, or after a couple of hours use. I had this problem with xubuntu as well.
[URL]
I solved this problem in ubuntu by using the chattr command.
[URL]
Puppy won't let me do this. When I use the chattr +i /etc/resolv.conf, it gives me this error. chattr: Inappropriate ioctl for device while reading flags on /etc/resolv.conf I tried chmod 444 but it had no effect on reboot. resolv.conf was rewritten again. How can I make sure this file does not get rewritten. Why won't chattr work?
View 11 Replies
View Related
Mar 19, 2009
Before reboot,
$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 172.20.10.22
search mycomp.local myhost.com
After reboot, the search path in resolv.conf is overwritten by the hostname.
$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 172.20.10.22
search penguin
View 3 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
Apr 21, 2011
I have a 3dsp pci wifi card, and the last kernel it supports is Ubuntu 10.04 2.6.32-(21-24) I want to update but dont want to accidentally update the kernal.
View 3 Replies
View Related
Mar 20, 2010
Today I noticed, that despite a 1kb/s limit upload being set i was seeding at an unlimited bandwidth, it had been running for 3 hours wasting about 300mb.
I had never seen this before, however 10gb mysteriously disappeared from my 25 quota last month as i dont mind seeding things at 1kb to help people get the missing bits. My 25gb costs me $100 with the larger package being $160 so i dont have much choice but to be stingy.
View 3 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
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
Jul 25, 2010
phpmyadmin files are in usr/share/phpmyadmin but i cant find anything in my apache2.conf or httpd.conf files that point to that directory.How do I find the route taken from the Server root "ServerRoot "/etc/apache2"" to the phpmy admin files.
View 5 Replies
View Related
Feb 6, 2011
so when they log on to their profile in kde, they have a max of "x" hrs per day, but not necessarily on any set schedule. can it be done?
View 5 Replies
View Related
May 22, 2011
I have used nVidia my entire linux life (about 5 years clean and sober from M$). Recently, I have switched over to an ATI Radeon HD 5550 card. After many trial and error setups, I finally got the resolutions and screens set properly with a xrandr command, which I have now added to a shell script in ~/.kde4/Autostart. It has worked for me for a while now, but I really would like to get it set in the xorg.conf.d files so that I don't have to wait that extra few seconds after login for the screens to fix themselves.
Is there an easy way to take what xrandr does and export it to the xorg.conf.d files? If my video card recognizes my default monitor as DFP2 and the tv that I only sometimes use with this computer as DFP1, how can I ensure that the login screen for openSUSE/KDE4 appears on my default screen (an issue that drove me nuts a few months ago when I tried Ubuntu to see what all the fuss was about)?
My xrandr command that I use to fix it all is:
xrandr --output DFP2 --auto --pos 0x0 --primary --output DFP1 --auto --right-of
I am using the proprietary Radeon driver from the ioda repository. DFP2 is a monitor which has a optimum resolution of 1920x1200, and DFP1 is an 1080p HDTV. I can not reverse the output plugs for the screens even though my monitor is an HDMI monitor because I use the actual HDMI port on the video card to output audio to the television and the other plug is a DVI that I convert to HDMI for the monitor.
View 1 Replies
View Related
Apr 9, 2011
I recently installed Ubuntu 10.10 (64bit) on my laptop (Toshiba satellite L300 64bit) and have since had horrible issues with the machine overheating. When the system is idle, the temp is decent, a bit warm maybe. If I start browsing the Internet, temp goes way up. I cant watch more than 1 and a half minutes of a ..... video without the system's temp exceeding acceptable limits, and shutting itself down. I have tried both the 32 bit and 64bit versions of ubuntu 10.10, as well as a 64bit version of 10.4. same overheating issues with all of these.
I am 99.999999 percent sure that it is an issue with my laptop's cooling fan, as although it appears to be spinning, it is so quiet that I would think it was off completely if I were to not tilt the laptop back and check to see if it is spinning. Also, the speed of the fan does not change, regardless of the machines temp. Even before it shuts off because of extremely high temps, the fan is still running at that same speed. I am currently downloading fedora 14, a different linux distro, to see if there is any difference.
View 9 Replies
View Related
Jun 16, 2011
how to check the print quota status on print server?
View 1 Replies
View Related
Dec 19, 2010
I'm using Slackware with NFS share and I've been wondering why I had problems with access to some folders and I finally figured out that NFS limits group membership only to 16. Is there a simple way to circumvent this in Slackware?
View 7 Replies
View Related
Aug 9, 2011
I am having two kids, that should not be able to use our computer more than one hour daily each. Is there an elegant way to automatically force a log-off after a certain time has passed?
View 2 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