Swap additions
Dear friends, I have Debin Linux (1.3.1) and when I installed I setup a 128MB swap partition. Unfortunately, mirror.pl requires heaps of memory when mirroring large ftp sites and as I was initializing time stamps it ran out of memory. I would like to add a swap file so that I can initiate the mirror and set the time stamps and then if I do not require the extra swap and have HDD space shortage I can always remove the swap file. In IRIX the swap command can be used but I am not sure what is the proper way to do it on Debian Linux. Could some of you guys show me a step by step procedure on how to setup an additional 128MB swap file? Or alternatively where I can find this info. Thank you. Dave -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Swap additions
David M [EMAIL PROTECTED] writes: Could some of you guys show me a step by step procedure on how to setup an additional 128MB swap file? Or alternatively where I can find this info. Check out man mkswap. -- Rob -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Swap additions
David M writes: Dear friends, I have Debin Linux (1.3.1) and when I installed I setup a 128MB swap partition. Unfortunately, mirror.pl requires heaps of memory when mirroring large ftp sites and as I was initializing time stamps it ran out of memory. I would like to add a swap file so that I can initiate the mirror and set the time stamps and then if I do not require the extra swap and have HDD space shortage I can always remove the swap file. In IRIX the swap command can be used but I am not sure what is the proper way to do it on Debian Linux. Could some of you guys show me a step by step procedure on how to setup an additional 128MB swap file? Or alternatively where I can find this info. The manpage for 'mkswap' tells you how to :) Andrew -- Dehydration - 34%, Recollection of previous evening - 2%, embarrassment factor - 91%. Advise repair schedule:- off line for 36 hours, re-boot startup disk, and replace head - wow, what a night! -- Kryten in Red Dwarf `The Last Day' Andrew Howell Perth, Western Australia [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Swap additions
Actually, if you put use_files=true in your mirror defaults file or the parameter file for the mirror job, mirror will create temporary dbm files instead of building so much in memory. This seems to run faster. If you have trouble with a mirror run, the tmp files don't always get deleted but you can easily delete them yourself. I have tested this on slow machines with 8mb ram and it is definitely faster. On Wed, 13 Aug 1997, David M wrote: Dear friends, I have Debin Linux (1.3.1) and when I installed I setup a 128MB swap partition. Unfortunately, mirror.pl requires heaps of memory when mirroring large ftp sites and as I was initializing time stamps it ran out of memory. I would like to add a swap file so that I can initiate the mirror and set the time stamps and then if I do not require the extra swap and have HDD space shortage I can always remove the swap file. In IRIX the swap command can be used but I am not sure what is the proper way to do it on Debian Linux. Could some of you guys show me a step by step procedure on how to setup an additional 128MB swap file? Or alternatively where I can find this info. Thank you. Dave +--+ + Paul Wade Greenbush Technologies Corporation + + mailto:[EMAIL PROTECTED] http://www.greenbush.com/ + +--+ + http://www.greenbush.com/cds.html Fresh Debian GNU/Linux CD products + +--+ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .