General :: How Increasing RAM Affects Kernel Parameters
Nov 16, 2010
We just doubled the RAM on our RHEL 4 production servers...Oracle from 16gb to 32gb and Apache/JBoss from 8 to 32 gb. I am trying to figure out how to get the biggest bang from the increased RAM. Should kernel.shmmax be upped to be 50% of the 32gb....from its current 8gb? I need to create the largest possible SGA and was unable to do so, apparently because the kernel.shmmax value had gone unchanged.
And for the JBoss web servers, also RHEL 4, and particular kernel changes which can take advantage of the increased RAM and provide an immediate performance improvement?
View 7 Replies
ADVERTISEMENT
Feb 8, 2010
How do i find out the exact kernel parameters (from the grub config file) when the boot loader is corrupt. Seems like a catch 22 that I need the exact boot parameters when I cant get to a prompt to read the grub.conf file to being with.
View 2 Replies
View Related
Feb 8, 2011
I have a strange problem with RHEL4.7, with kernel 2.6.9-78.
I cannot set any kernel parameters by editing sysctl.conf file and run sysctl -p, everytime the old value appears, while it was possible before.
I tried to edit files under /proc by using vi when trying to save it gives me: E667: Fsync failed!
While echo 1>/proc/sys/net/ipv4/ip_forward also cannot edit the file.
Also I mounted proc device on another mount point:
# mount -t proc proc /mnt
View 1 Replies
View Related
Feb 4, 2010
Bottom line first: Is there a GUI or otherwise friendly tool to modify the kernel parameters? One that will give help on a highlighted parameters?
Now as to my reason for this question:
In preparing for an Informix installation, I may need to change some kernel parameters. I could follow the advice of G�rard BIGOT from a couple of years ago at this URL. However, messing with the kernel this way, by directly editing /etc/sysctl.conf, is a bit scary. I have already backed up the current one and started editing according the Informix machine notes. However, I have commented out my new settings. [:Chicken]
The scariest aspect of this is that the notes recommend settings to kernel parameters that I do not find in /proc/sys/kernel. for example, it recommends setting SHMMIN to 1 but when I can /proc/sys.kernel/shmmin, there is no such file. (I did find shmmax.) Similarly for the very logical shmseg (max number of shared memory segments) - not found. I am afraid to add these into sysctl.conf if the equivalent pseudo-files don't exist.
Additional question: Where [on-line] do I find all kernel parameters documented? This is so that I am more certain of what I am doing instead of relying on my memory. For example, I don't recall the names of the parameters that control Kernel-Asynchronous I/O (KAIO) events.
View 3 Replies
View Related
Jun 18, 2010
Ubuntu 10.04 Gnome IBM Thinkpad 600e.I am trying to get sound going in my 600e which has the wrong chips in the sound card. I found some notes from 2008 that said in one of the steps to add the following to my kernel boot parameters: noapci nolapci notsc acpi=off pnpbios=off pci=noacpi
It said to hit the Esc key when I see the Grub Count on boot up to get into the kernel boot parameter's editor. However, I am not seeing any Grub Count and pressing the Esc key every second during boot up doesn't seem to get me there either. I have been searching for how to edit the boot parameters but no luck so far.
View 3 Replies
View Related
Apr 27, 2011
We're using 10.10-server. We are trying to make grub boot changes permanent. I've already looked at thread [URL]. We updated /etc/default/grub, and update-grub propagates those changes into /boot/grub/grub.cfg, but not into menu.lst. It appears to use menu.lst as the source at boot, so our change doesn't show up as a linux parm.
View 3 Replies
View Related
Sep 8, 2010
I have installed grub2 on a flash drive to boot some os's that I want to carry around. But in grub.cfg when i put this:
Code: menuentry "BackTrack Persistent" {
set gfxpayload=1024x768
linux/backtrack/boot/vmlinuz BOOT=casper boot=casper persistent rw quiet
initrd/backtrack/boot/initrd.gz
} it does exactaly the same thing as this
[Code]....
I'm thinking of filing a bug report but I want to make sure i'm not doing something wrong first.
View 4 Replies
View Related
Aug 28, 2009
I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.
But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )
View 1 Replies
View Related
Jan 16, 2010
insmod: error inserting 'kernel.ko': -1 Invalid parametersI am getting this error when i am try to insert kernel.ko into kernelMy systemfedora 12 with gcc 4.4.2insmod kernel.koinsmod: error inserting 'kernel.ko': -1 Invalid parametersmy program
__________________kernel.c________________________ ___________
#include <linux/module.h> /* Needed by all modules */
#include <linux/kernel.h> /* Needed for KERN_INFO */
[code].....
View 4 Replies
View Related
Sep 1, 2010
i have an hp pavilion dv7 and am using f13 64bit. my laptop has a built in woofer underneath that i have never been able to get to work. after the latest kernel update today my laptop now has woofer sound. there must be some new support for my laptops audio card. the problem is that it is a little overbearing. how can i a) disable this feature b) tweak the parameters like crossover frequency or gain? edit: i checked the changelog for 2.6.34 and couldn't find any info on any new audio support features.
View 5 Replies
View Related
Oct 23, 2010
I would like to create an unattended install ubuntu 10.10 cd. I have followed the ubuntu [URL].. on creating the preseed file, however, I can't find any useful tutorial on how to set the kernel parameters to perform an unattended install using my preseed file.
View 1 Replies
View Related
Nov 16, 2010
I saw this forum post and I want to try it out so I went here and copied and pasted the following text into a file called test.patch.
Code:
---
Documentation/kernel-parameters.txt | 2
drivers/tty/tty_io.c | 1
include/linux/sched.h | 19 ++++
init/Kconfig | 12 +++
kernel/fork.c | 5 +
kernel/sched.c | 25 ++++--
kernel/sched_autogroup.c | 140 ++++++++++++++++++++++++++++++++++++
[Code]....
1 out of 1 hunk FAILED -- saving rejects to file linux-2.6/Documentation/kernel-parameters.txt.rej I'm not so good with patching so I am sure it is probably something easy.
View 7 Replies
View Related
Nov 7, 2010
I recently reinstalled Ubuntu 10.10 in virtual box 3.2.8 on Windows 7. I did a clean install, did the major updates, checked for updates after via the terminal and then installed the guest add-ons, re-booted and nothing, it keeps telling me it cant enable desktop affects.
View 5 Replies
View Related
Jul 28, 2010
As I have a opt/sybase folder in Linxs I want to increase the size of this folder how can I increase it? For example the size we mention at the time of installation Sybase is 2gb now I want to increase by 4gb how can I increase it.
View 2 Replies
View Related
Jun 16, 2011
I have a laptop with Ubuntu 11.04 on it. It has a built in graphics processor. I am not sure of the specs on it, but I was able to run DVDs easily on it when I had Windows XP as the OS. I am now trying to load and edit video, but am having difficulties. My questions about that are in another thread. My question here is this: What affects video on a computer more, the GPU or the CPU? I have received advice pertaining to the video card, but was under the impression that the CPU had more to do with the computers ability to handle video, especially getting into the hi-def range. I recently rebuilt my desktop with a much newer processor, but with the same PCI Express video card. My old rig could not handle even 720p, but the AMD dual core I installed can play 1080p no problem. Different CPU same video card.
View 3 Replies
View Related
May 19, 2010
The sound on backtrack 4 is too low, I am running a live cd but cant seem to find the volume nob
View 1 Replies
View Related
Mar 17, 2011
In my office we sometimes have servers that hit the max_connections limit. As we sometimes have scripts that take up that 1 extra 'superuser' slot for MySQLD, we'd like to raise that. Google really hasn't turned up much on this, is there a way to raise the number of slots?
View 1 Replies
View Related
Feb 26, 2011
I am using ubuntu lucid.as a desktop and don't run a server. The editor I use is vim so increasing font by edit > profile preferences. What I need to know is how to increase the size in console ie. when I use Ctrl +Alt + F1 to F6. On running xrandr I get this :
[Code]...
I know that,the graphical user interface ( using X windows , I think ) sits on top of the base system ie F1 to F6. In the Fs , xrandr replies "Can't open display ". The question is am I right in thinking that "gui" is totally independant of the base ( is that the correct word ?). I have read that messing about with resolution can wreck a monitor ( I'm using a laptop) , is there a safe way to proceed?
View 5 Replies
View Related
Jun 21, 2010
ecently I tried to increase the size of my swap partition using GParted, but it wouldn't let me. I wondering if there was another way? Currently it's 795 MB but I want it to be 1GB
View 3 Replies
View Related
Apr 9, 2010
I want to set proxy for debian lenny, I went to sys/pref/net proxy, but still APTITUDE does not use this setting. Is it even possibile to set up proxy for global usage?
View 2 Replies
View Related
Nov 2, 2010
I've been scouring the internet for an answer to this problem. I am using Squeeze and have properly configured Grub2 to set my console screen resolution to 1024x768x32 (as per updating /etc/default/grub to contain 'GRUB_GFXMODE=1024x768x32' and updating /etc/grub.d/00_header to contain 'set gfxpayload=keep') and everything works wonderfully. My resolution is set as it should be. However upon installing Xorg (aptitude install xorg ratpoison), my console resolution gets changed to what appears to be 1280x1024.
I thought that this was due to xrandr, however when I issue:
# xrandr -s 1024x768
only the X resolution is changed. When I then CTRL-ALT-F1 back to the console, the resolution is still at 1280x1024 (I am aware that xrandr only affects X, but I assumed that because my console resolution was correct before installing X there might have been some correlation).
I would like for my console resolution to stay at 1024x768 as per Grub2's configuration and for X's resolution to be at 1280x1024.
PS I also noticed that prior to installing Xorg, my CPU boots up without any screen blanking (only for a second or so). However, after installing Xorg, during the boot process the screen does blank briefly. It is at that time that the resolution gets changed to the 1280x1024 setting.
View 5 Replies
View Related
May 26, 2011
I just preupgraded from Fedora 14 to 15 on my Toshiba NB205 netbook (the preupgrade went smoothly by the way).
Immediately upon logging in, I discovered catastrophically poor quality of font rendering in every terminal window program I tried, (and I checked plenty like LilyTerm, Sakura, gnome-terminal, etc) and in web-browsers.
The symptoms are the same for all applications: the glyphs are very thin, anorectic, and very ugly.
The described behavior is desktop independent: same in Gnome (3 and the fallback mode), fluxbox, Openbox.
View 14 Replies
View Related
May 26, 2010
Several days ago I posted a query about the effects of upgrading from 8.10 to 9.04 in regards to Thunderbird/Firefox emails and settings. I wondered if I would lose all of my emails, addresses, bookmarks if I make this upgrade. So far there have been no responses. Maybe it is such a dumb question that no one cares to take the time to respond. I understand that I can save addresses as ldif files and I can save bookmarks and re-import them, and I can save my profile (which should contain all of my old emails), but I've never gotten the profile thing to work properly.
View 2 Replies
View Related
Jul 4, 2010
Quite often sites limit download speed per ip address or identified user.
Is it possible to use a tool such as wget in order to overcome this limitation?
View 4 Replies
View Related
May 10, 2011
My requirement. We have a linux File server which was connected to SAN (IBM DS4700)now I need to increase my capacity by 50GB I've added the 50GB through the IBM storage manager to the File server, but it doesn't showing on my linux file server
bellow the detail of my drives
/dev/mapper/mpath0p6 1.6G 287M 1.2G 20% /
/dev/mapper/mpath0p7 837M 240M 554M 31% /var
/dev/mapper/mpath0p3 4.1G 2.5G 1.4G 65% /usr
/dev/mapper/mpath0p2 5.1G 1.7G 3.2G 36% /home
/dev/mapper/mpath0p1 200M 24M 166M 13% /boot
tmpfs 2.1G 0 2.1G 0% /dev/shm
/dev/mapper/mpath0p8 356G 303G 36G 90% /filesrv
I need to add the 50GB on to the "mpath0p8".
View 2 Replies
View Related
Sep 3, 2010
There's some bug or other error in the updates I've just installed. I run Update Manager very frequently (almost daily). The last time I ran it was 2 days ago, so this bug can only have been released into updates today or yesterday. I ran it this evening and there were quite a lot of new updates (around 50mb in total), and I installed them all without really checking to see what they were - but as I'm new to Linux I don't exactly have any weird or rare software running on my laptop, so they only would have been for Ubuntu itself or some very common programs.
After installing it required a reboot. Upon booting up again, the volume icon has turned to 'Mute All' and I am unable to turn my laptop off. Telling it to shut down simply causes the screen to go black for a couple of seconds and then return to the login screen. I also notice that the Suspend/Hibernate options have disappeared, and I now only have the option to Log Out, Restart or Shut Down. {As I'm new to Linux I have no idea how best to proceed, or even how to officially 'report' this if indeed it is a bug contained in one of the updates.}
View 1 Replies
View Related
Jan 12, 2011
How to use CHMOD in linux? When I try to delete a file/folder, permission is denied. What exact params must I give for chmod here? This is what I need to do. Execute a command ./build.mips , but I get permission denied error.
kirti@sgf:/disk/go$./build.mips
-bash: ./build.mips: Permission denied
View 3 Replies
View Related
Apr 5, 2010
My grandson got a little free time on my login screen. When I got back I found the right half of the screen was covered with a cascade of zoomed copies of the regular login display. Each layer of the cascade larger that the previous as one moved right across the screen. When I reboot it is still there. I have tried various hotkey combinations in the hopes that I could change this, but with no result. I have looked for files which might have such a pattern saved. I found a file /usr/share/gnome-session/session-properties.ui with a promising name and inside was a series of 'child' entries, but removing all but the first child entry changed nothing. how to fix it?
View 4 Replies
View Related
Aug 2, 2010
I have a file in the form below, and wish to replace each start line with an increasing number. So instead of:
Code:
start
content content
start
content content
start
[Code]....
After several searches and a bit of messing around, it's clear I'm missing something, so was wondering if anyone could offer any insight?
View 17 Replies
View Related
Mar 21, 2011
I've a script that it's invoked with n-variable parameters. Here's an examples:
Code:
./myprogram.sh inputdir FIELD1 FIELD2 ... FIELDN outputfile In the script I would like to get the FIELD names that were passed.
View 4 Replies
View Related