Results 1 to 8 of 8
Could anyone pls help me how to deal with this kind of error?
getgrnam failed for$Enabling swap space
This always appear everytime I boot my machine and its really bothering ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-13-2003 #1Just Joined!
- Join Date
- Nov 2003
- Posts
- 34
getgrnam failed for$Enabling swap space
Could anyone pls help me how to deal with this kind of error?
getgrnam failed for$Enabling swap space
This always appear everytime I boot my machine and its really bothering me.
Iam using RH 9.0 running in text mode. My machine has 2048 MB of swap. 2x of my RAM.
Thanks in advance.
- 11-14-2003 #2
lower your swap space i know some distros have a limit plus with a gig of ram id just use 1Gb swap.
- 11-14-2003 #3Just Joined!
- Join Date
- Nov 2003
- Posts
- 34
My server, used to be running without this error, only when my server was illegally shutdown.
Originally Posted by Ol Man
Should this be the real sol'n?
- 11-14-2003 #4Linux User
- Join Date
- Jun 2003
- Location
- Calgary, AB CANADA
- Posts
- 496
IIRC, the limit for swap space is 4GB (or at least is was back in RH6).
I agree with Ol Man that 1GB of swap is probably enough, but I don't see why using 2 would give you an error...
\"Everything should be made as simple as possible, but not simpler.\"
Albert Einstein
- 11-14-2003 #5
I really don't see the need for swap when you have so much ram either, only thing I can think of when its needed that much if you're going to do heavy rendering and stuff..
- 11-16-2003 #6Just Joined!
- Join Date
- Nov 2003
- Posts
- 34
I am running many services on this particular machine. Apache, ftp, Squid etc. Wouldn't my machine need much swap space? I have read some stuff that suggests 2x of your RAM (in my case I have 1GB of RAM) for your swap makes you machine more optimized.
Originally Posted by Kriss
Any comments? And isn't it possible that improper shutdown has caused this error?
- 11-17-2003 #7
You can have swap space, but it isnt really needed. When the 2x ram = swap space rule was generally used, was some years back when computers didnt have as much ram as today, it could be useful to have have 2x swapspace on computers that have 32/64 mb of ram, not when you have 1 gig of ram. I have 256 mb of ram, and 256 mb of swap space, and when I have had some compiling, setiathome and watching a video in mplayer it hasnt even touched my swap space.
I'm not saying that you don't need swap space, it can be useful but using 2 gig on swap is just a waste, and you also have the memory buffer that stores takes up some ram, but thats just a good thing.
Oh, and I think that its squid thats causing the problems, can you try to remove it from the startup script and reboot and check for any similar error messages?
Good luck
- 11-18-2003 #8Just Joined!
- Join Date
- Nov 2003
- Posts
- 34
Thank you guys for your help. Now, I know better.


Reply With Quote
