[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: swapfiles & memory



On Thu, Jul 17, 2003 at 07:12:01AM +0700, Oki DZ wrote:
> Hi,
> 
> On every megabyte in swapspace, how much does it take the space in the 
> memory (RAM)? Is the two times the amount of memory rule basically the 
> maximum? Problem is, I keep getting "Out of socket memory" error, and 
> usually the system crashes (I installed lkcd, though) in less than a week. 
> I have 450 meg. swap on a 129 meg. system; could that be the cause of the 
> socket memory error?
> 
> I think if there's really a limit on how much you can setup for your 
> swapfile, it would be better to have it so; say, when the system is 
> booting, the kernel calculates the allocated swapspace and provides some 
> warnings about the situation. I use 2.4.20, and as I have gathered from the 
> net, such socket memory errors are not supposed to happen.

No I don't think they should be happening either.

Please post more information.  Software used, versions, timing, etc.



Reply to: