![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Converting Binary decimal coded values to Ascii Values | gaur.deepti | UNIX for Advanced & Expert Users | 3 | 04-02-2008 01:33 PM |
| kernel parameter values | mhbd | UNIX for Dummies Questions & Answers | 1 | 03-21-2008 07:50 AM |
| max number of slabs per kernel module (kernel 2.6.17, suse) | Brendan Kennedy | SuSE | 4 | 01-23-2008 09:40 AM |
| kernel values related to mmap | tobsinte | High Level Programming | 4 | 07-20-2007 07:15 AM |
| Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU | dave043 | Linux | 2 | 05-10-2007 02:57 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I'm getting fork failed errors. I was told I needed to upgrade my swap space but also need to change some values for some parameters in the kernel and add 2 new parameters. I not sure of the correct way of doing this.
Thanks in Advance |
|
||||
|
in Linux it is pretty easy:
this example will give you extra 32MB of swap space than you already have(use free command to see existing swap spce) # dd if=/dev/zero of=/example/moreswap bs=1024 count=32768. this makes an empty 32 MB file you can use for swap space. # mkswap /example/moreswap you have now turned "moreswap" empty file into 32MB of additional swap space. Now to use it: #swapon /example/moreswap check to see how much is available by running the 'free' command. you will see you have 32MB more than you had before. If you want this to be persistent across boots, edit the /etc/rc.d/rc.local file. add these lines to the bottom of the file: swapon /example/moreswap To disable: # swapoff /example/moreswap To remove: # rm /moreswap in solaris instead of this you can use(you should confirm it by some other way) # mkfile 32m /example/moreswap # swap -a /example/moreswap if you want this to be persistent across boots, add following lines to your filesystem table /example/moreswap - - swap - no - hope this will help you |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|