Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've considered putting more swap. Actually the total swap currently is a combination of my original swap (2xmem) and an additional file of swap (1gig)
The system guard program shows that swap is never being used during the time of the install, or the boot of the database software. The "free" command posted in the original command shows that the swap used at that time is zero. swap is continually zero, and is zero presently on the same computer.
I think zero swap is normal usually, until heavy memory usage, in that swap would only be used if determined if needed (i.e. more efficient regular memory is all full.) However during the error message, I see that swap is not used significantly, but I get the error message below (the one I'm trying to determine why it occurred and is block the db server from starting) during the database startup (in the log file):
os_create_region: can't allocate 37445632 bytes
The current normal memory used before the install, plus the number above, is greater than the regular memory. But no swap was attempted. During the time of the error message, swap was zero.
I've read up on swapon (man), and the swapon -s currently states the following:
Filename Type Size Used Priority
/dev/ide/host0/bus0/target0/lun0/part5 partition 130748 0 -1
/dev/ide/host0/bus0/target0/lun0/part3 partition 8032492 0 -2
I'm not sure why Priority is -1 and -2.
Mostly, just wondering why the error message os_create_region occurred, if I have plenty of swap. same result on the db startup.
Since mem is 510 meg of 515 meg, wouldn't the computer start swapping about that time? All I saw was it bumping up against the 515meg limit, and then freeing up about 5 meg, and approaching the limit again. kept doing this.
" All I saw was it bumping up against the 515meg limit, and then freeing up about 5 meg, and approaching the limit again. kept doing this."
Yes. I think that your computer is acing like it is looking for more memory and it cannot find it in either RAM or swap.
"However during the error message, I see that swap is not used significantly"
Maybe the error occurs because even though you have set up a lot of swap space there is some logic error to where only a small portion of your swap space is being used. Are you sure that the swap file is being recognized as being part of swap space? I don't know whether the kernel swap logic can accomodate a mixture of partition swap space and file swap space. Also file swap is slower than partition swapping. I suggest that you rearrange things so that you have a large swap partition and no swap file. That may solve the problem either by fixing the swap logic or speeding up swap.