Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I will reconfigure the Linux 2.1 O/S and I have question about the SWAP file. From what I know, Oracle suggest to have the SWAP space has to be at least 400m or twice of the amount of the physical RAM (whichever is greater), in my case, I have 2G ram on the server, so I should have 4G for the SWAP file, right ????
I am not Linux admin, I did configure Linux 7.3 professional before to run 9i database and everything works fine, my company make me do this again even I am not system admin here, is there anything I need to watch out for this configuration for Linux as well as installing Oracle???
nah, ignore that. that advice is *REALLY* outdated. if you have a huge server with a high load then a couple of gigs might be useful. but 4gb will just get wasted, if you don't hav a high load on the machine it'll possibly never get touched with 2gb of ram in the first place.
btw... linux 7.3 and linux 2.1* don't exist.... maybe you mean redhat 7.3?
Yeah, that's/was "true". It's recommended to have at least twice the amount of RAM as Swap. I really don't think it's necessary IMHO. I use Linux as my desktop. In this machine I'm now, it has only 256 of physical RAM. It's a 2GHZ processor, and I've blackbox, selpheed, Mozilla, Xmule, xmms running too and I still have 190 Megas of free RAM, so indeed the Swap is never used. I think, that you not really need even Swap if you have a nice amount of RAM (comparing your RAM with mine, makes me feel back to my 386...ghehe). Swap in Linux is more kept for slower machines I believe, when let's say, we had those powerful 486 with 16 or even 8 megas of RAM, swap was indeed a must have. With those new machines, I seriously doubt it
I wish that I could remember where I read about swap requirements. But in that artical is explained how much swap you needed compared to the physical memory and the amount of users accessing the system. Depending on how many users you have I think that one to two gigs would do.
and yes I am going to configure Linux Redhat Advance Server 2.1 for my company and I am not Linux Admin ) . I am an Oracle DBA but the network admin guys at my company chicken out since they only know Windozzzzzz.
I know just a little on Linux admin so that I need some good advises.
So you think it I have 2G SWAP file (just to be on the safe side, since I have a lot space on this server), is it going to good???
any thing else you guys would advise I need to watch out when I install Linux Redhat Advance Server 2.1??? I install Linux Redhat Professional 7.3 before, is Linux Redhat Advance Server pretty much the same ????
Originally posted by ashley75 So you think it I have 2G SWAP file (just to be on the safe side, since I have a lot space on this server), is it going to good???
Whether 2GB of swap is sufficient or not will depend on several factors such as number of users, size of queries, amount of cached data. I would recommend getting some baseline statistics from an existing server if you have that luxury.
What is the difference between swap PARTITION and swap file according to the following thread?
A partition dedicated only for swap versus a file that is used as swap. When you partition your drive, you set the filesystem type for that partition. If you look, there is an option called "swap". If you selected that, you have just told the OS to use that particular partition as swap.
You can also have a swap file. Just 'dd' out a file to a certain size that you want and run a couple commands to make it used as swap.
The reason why a swap partition is preferred over a swap file is because of performance reasons. With a swap file, there is filesystem overhead amongst other things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.