Ubuntu :: /etc/sysctl.conf - Make A Change To This File?
Apr 20, 2011How do I make a change to this file? More specifically this is what I am trying to do.
Add the following line to /etc/sysctl.conf
vm.swappiness=10
How do I make a change to this file? More specifically this is what I am trying to do.
Add the following line to /etc/sysctl.conf
vm.swappiness=10
im trying change my etc/sysctl.conf file but it won't let me as its read only. how to i change this?
View 2 Replies View RelatedOn a production Centos 5.3 system, I want to raise the hard & soft limits of open file handles from 1024 -> 8192 (not a "biggie", I'd think) Right now, "sysctl -a | grep file" shows fs.file-max=463144 (a default, I'd guess) I'm guessing file-max is the maximum number of open file handles on the system, vs the per-user limits seen with "ulimit -Hn" and "ulimit -Sn". Right? If so, I shouldn't think I'd have to touch this on a server with few users.
Also, after doing a lot of reading, I still don't understand the mentions of needing to also add: "session required pam_limits.so" to /etc/pam.d/loginor adding "session required /lib/security/$ISA/pam_limits.so" to /etc/pam.d/system-auth Maybe I've gotten off into the deep weeds in goggling about raising file handle limits.
Due to a change in how programs in Linux are allowed to use memory, before using SheepShaver you need to set a variable in the file /etc/sysctl.conf Add this line: vm.mmap_min_addr = 0 but when i add the line in my text editor it says i cant save
View 8 Replies View RelatedI made some change to my sysctl.conf file and it they doesn't seem to load at boot? Each time I boot I need to send a sudo sysctl -p command to load the new parameter!
View 1 Replies View RelatedLike in the subject. Does anyone knows how to do it without restart
View 1 Replies View RelatedMy sysctl.conf in /etc isn't loaded at boot, it does however get parsed with the command # sysctl -p I believe this problem started when I got the 3.0.0 kernel just a few days ago. Does everyone has this problem? Then it's probably a bug.
My system:
Debian Testing (Wheezy)
3.0.0-1-amd64
up2date
How can I find the size of units in sysctl.conf e.g whatis the size of the shmmax variable i.e. is it byte kb , Mb etc....???
View 8 Replies View RelatedLast week I attempted to get "up to speed" with my Comcast cable connection... Ubuntu 9.10, Dell Vostro 400 desktop, Firefox 3.6.13... Comcast says I should have 12 Mbps connection... if I get 1.0 Mbps, I'm doing good... they just tested everything, and said everything is fine on their end. They use [URL] and connects to a server in Chicago, 60 miles away. That gets fantastic speeds, and it's a durn shame the internet doesn't store all its files there!! I use [URL] for my tests, and it uses a server in Dallas TX.
I go to my girlfriends house, and her AT&T DSL line has d/l speeds of 4.5 Mbps or better!!! She's running XP Pro on a Dell machine. So, started digging on the web and thru the forums, and found this:
[URL]
But, like ALL too many things, it's dated... it's from 2008... I've set my settings to what is there, and disabled ipv6 in Firefox. Hey, now, I'm sometimes up to 1.4 Mbps!! Also found this, but no date...
[URL]
Reading forums, I see that folks have said there is a network connection problem with 9.10... and then I see that others are saying the same thing about 10.04 and 10.10!! I have 10.10 on my laptop and had to fight to get its Atheos card to be recognized. Running some tests [URL] gives me weird results: Download 2.64 Mbps, Upload 4.12 Mbps. NOT what it should be. Similar results from testmy.net.
Dunno exactly what info is needed... Speedguide.net gives me results below, but I've tried changing numbers (says my RWIN is low) and nothing changes:
--------------------------------
TCP options string = 020405b40402080adf1dca100000000001030306
MTU = 1500
MTU is fully optimized for broadband.
[code]....
So, today, find, once again, that I'm d'ling in the range of 90/KB/s (719 Kbps)... disgustingly slow. I go on my HP laptop and run the test, and it says 1.6 Mbps. So, desktop directly connected to router is not even 1 Mbps, and wireless connection is faster? Neither of which is close to what I should be getting...
Does anybody have experience with linux tuning. I`m realy interesting about sysctl.conf tuning settings for batch(3d rendering, phisycs simulations, etc.) servers. Does anybody has an experience with linux tuning - I mean memory and CPU settings for heavy loaded systems. What kind of settings You have in Your clusters ? I`m working with Red Hat Enterprise 5 x86_64.
View 2 Replies View RelatedI need to create a startup file. As far as I've been able to find out the best locations to do this are the /etc/init and /etc/init.d directories. Two questions about that:
1) Can I just make blahblah.conf file in one of these directories and then it will be automatically read at boot-time or do I need to create a line that directs to the right file and location in again some other file?
2) Does it matter which of the directories (init of init.d) directories I use, ie., what's the difference?
I just made a minor change to the smb.conf file, is there a way to force the samba service to read that change without restarting samba completely?
View 6 Replies View RelatedBeen working hard on trying to get my Radeon 5870 to run in Debian Lenny (x64). I've installed the xserver-radeon, radeonhd & ati packages through the synaptics manager, but my xorg config file is completely without information:
Section "InputDevice"
Identifier"Generic Keyboard"
Driver"kbd"
Option"XkbRules""xorg"
[Code]....
I Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file
View 2 Replies View RelatedI need to change the some configuration in httpd.conf file with out affect any current status of http service.
View 3 Replies View Relatedwhen I opened /etc/updatedb.conf it says there in the file that one should make ones own updatedb.local. But how, exactly? Presumably I create /etc/updatedb.local but what do I put into that? With all those $-signs I'm pretty much lost. Could anyone post his/her example of a PRUNE_FS statement or point me to some reference where I can read up on this
View 10 Replies View RelatedI changed the 'Title' of a mp3 file using mp3info code...
Where comes this "Title" that Nautilus displays?
How can I change it?
I've just done a fresh install of Lubuntu 10.10 on an older Sony Vaio laptop. Having learned the hard way about editing xorg files, I wanted to create a backup of the xorg.conf file so that I dont have to do another install when I screw everything up. In a terminal, I typed
[Code]....
accidentally I do something wrong with my server and the httpd folder missing and I need it to setup my mail server and anyone can help me what can I do without reinstalling my Cent OS? Here is the error msg :
[root@mydomain etc]# service httpd stop
Stopping httpd: [FAILED]
[root@mydomain etc]# service httpd restart
[code]....
When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.
I get an error indicating that the make utility cannot execute the java compile command (javac).
The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file
I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.
I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6
My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu
However, I can manually compile using javac.
I can compile calling javac from within a bash script.
I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe
But I cannot compile java code from the makefile. Any reasons why I might be getting this error?
I have installed XAMPP on my ubuntu machine, I typed nautilus in the command line and from there I tried to change the httpd.conf file from "/opt/lampp/etc" but it does not allow me to change the contents of the file. Error attached with this post.
View 5 Replies View RelatedI want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.
I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.
I've just installed the latest ubuntu (10.10) on vmware workstation and noticed the resolution is not 96 dpi so my fonts look a bit unsharp
I wanted to change that and noticed I don't have an /etc/X11/xorg.conf? So my question is of course...where should I put the "Option..." line to change it to 96 dpi?
I've had Ubuntu 11.04 installed on my desktop since it's release. Up until an hour ago, it was working fine. I clicked on an update from the update manager, now booting into a graphical mode is completely broken, (the start-up load hangs at 'Check Battery State ... [0k]'). I restarted my computer, and booted into safe mode, and launched the terminal. This all works fine. I then typed :
Code: sudo gdm start into the command prompt, hoping that I would be able to start things manually. Instead, it spat out this: Code:
gdm-binary[230]: WARNING: Unable to load file '/etc/gdm/custom.conf'. No such file or directory.
gdm-binary[230]: WARNING: Unable to find users : no seat-id found.
gdm-binary[230]: WARNING: Gdm Display: display lasted 0.070467 seconds
The last line was printed about 8 times, with slightly different times, before it gave up and failed. Some information which might help, I have Gnome 2, Unity and KDE (not sure which version), installed. My graphics card is the GTX 275, and I have driver the Nvidia driver 275.21. So yeah, I think the update has gone and moved custom.conf somewhere, but I have no idea on how to fix it. I have a graphics programming assignment due on Friday and I would be eternally grateful if I could get this fixed well before then.
running 10.04 beta 1 and cannot manage U1 account through preference pane. Tried remove/reinstall and delete .conf no change.
View 7 Replies View RelatedI want to change color depth, but there's no xorg.conf file to edit... what to do? btw, shouldn't there be a simple gui for that? Like for changing resolution
View 5 Replies View RelatedI need to add an option to my xorg.conf to enable "backing store", like this:
Section "Device"
Identifier "Miserable Old SVGA"
Driver "miserable"
Option"BackingStore""True"
EndSection
But I don't have an xorg.conf file in Natty. There are several conf files in /usr/share/X11/xorg.conf.d/, but I'm not sure which one to add it too (I can't find the Device section in any of them). I guess I don't even know if the "BackingStore" option is valid in the latext Xserver.
i have a Fedroa12 installed as a VM, and my problem is that i can't change the resolution higher than 800x600 .
i am trying to do that with an Xorg.conf file. here is what i did:
1. telinit 3
2. Xorg -configure (root user)
3. cp /root/xorg.conf.new /etc/X11/xorg.conf
4. inside xorg.conf i have added the following:
under the "screen" section i have added:
DefaultDepth 24 then under the "SubSection" of Depth 24, i have added:
Modes "1680x1050" "1028X768" "800x600"
but then whenever i am try to start the X, it fails with the following message: no screen found...
since i am doing it for studying only, how to configure properly the xorg.conf file ?
I have the same problem as described in [URL]. Apparently the solution is to add
PHP Code:
Option "AccelMethod" "EXA" to xorg.conf.
However my system apart from this works fine without xorg.conf. Is there a way to change the AccelMethod without an xorg.conf?
I am using Ubuntu 9.10 Desktop Version and the entries did in /etc/resolve.conf all the time it is cleaning as and when i am restarting my systems. How to make is permanent solution to keep all the entries done in /etc/resolve.conf
View 1 Replies View Related