made swap too small

Sesso sesso at djsesso.com
Tue Jul 15 14:23:27 MST 2014


No, the rule is usually to have half as much swap as your ram. So. 1G would have been enough. Swap is to free up space when ram is full. It moves the memory that isn't being used by applications but still in ram. It's very slow compared to ram since it's hard drive space. 

Sent from my iPhone

> On Jul 15, 2014, at 2:16 PM, Michael Havens <bmike1 at gmail.com> wrote:
> 
> I figured the less ram you had the more swap you'd need. or else what is swap for? isn't it to free space in ram?
> 
> :-)~MIKE~(-:
> 
> 
>> On Tue, Jul 15, 2014 at 12:55 PM, Sesso <sesso at djsesso.com> wrote:
>> It looks fine to me. You only have 2G of ram so it's ok.
>> 
>> Sent from my iPhone
>> 
>> > On Jul 15, 2014, at 12:50 PM, Michael Havens <bmike1 at gmail.com> wrote:
>> >
>> > I think I made my swap partition too small. It is only 2 gig. This is what free says:
>> > $ free
>> >                 total           used            free           shared    buffers      cached
>> > Mem:       1653812    1512472     141340      32440     156544     427816
>> > -/+ buffers/cache:     928112     725700
>> > Swap:      1638396          0    1638396
>> >
>> > The only reason swap is at 0 usage is I just turned it back on ()I was trying to modify things with gparted. I think I am going to need to use gparted from a live disk.
>> >
>> > Here is what I'm thinking:
>> >
>> > first- here is what fdisk says:
>> >    Device Boot      Start         End      Blocks   Id  System
>> > /dev/sda1   *           1        1530    12289693   83  Linux
>> > /dev/sda3            1530        6375    38917462   83  Linux
>> > /dev/sda2            6375       30402   192996877    5  Extended
>> > /dev/sda5            6375        6579     1638630   82  Linux swap
>> > /dev/sda6            6579       12953    51199155   83  Linux
>> > /dev/sda7           12953       23838    87433762   83  Linux
>> > /dev/sda8           23838       30402    52725330   83  Linux
>> >
>> > Now I think I'll shrink sda8 and put the new swap in that newly created space. Afterwards I'll delete sda5 and grow sda6 to encompass the newly freed space.
>> > What do you think..... am I wasting my time?
>> > about 15 minutes after first running free it now says:
>> >
>> >                 total              used     free
>> > Swap:      1638396       1404    1636992
>> >
>> > I only have two things running on my xfce desktop. the terminal emulator and chromium with three tabs open on it
>> > :-)~MIKE~(-:
>> > ---------------------------------------------------
>> > PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> > To subscribe, unsubscribe, or to change your mail settings:
>> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140715/35fb58cd/attachment.html>


More information about the PLUG-discuss mailing list