Linux freezing randomly Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionLinux randomly freezing?Linux Mint 16 randomly freezing and freezes always after suspend wakeupDebian 8.2 computer freezing+crashing randomlyRandomly Linux freezing on Acer ExtensaAntergos linux keeps freezingLinux Mint randomly freezesWindows overrode a LVM pv metadataVirtualbox VMDK to bootable usb stick not workingLinux Mint 19 keeps freezingUbuntu 18.04 is freezing randomly

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

Cold is to Refrigerator as warm is to?

Estimated State payment too big --> money back; + 2018 Tax Reform

Can a zero nonce be safely used with AES-GCM if the key is random and never used again?

How does modal jazz use chord progressions?

Single author papers against my advisor's will?

How to rotate it perfectly?

Why does tar appear to skip file contents when output file is /dev/null?

Statistical model of ligand substitution

Can the prologue be the backstory of your main character?

How are presidential pardons supposed to be used?

Do we know why communications with Beresheet and NASA were lost during the attempted landing of the Moon lander?

Writing Thesis: Copying from published papers

Two different pronunciation of "понял"

Is there folklore associating late breastfeeding with low intelligence and/or gullibility?

Using "nakedly" instead of "with nothing on"

How to market an anarchic city as a tourism spot to people living in civilized areas?

What computer would be fastest for Mathematica Home Edition?

What did Darwin mean by 'squib' here?

How do I automatically answer y in bash script?

Blender game recording at the wrong time

Should you tell Jews they are breaking a commandment?

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

When is phishing education going too far?



Linux freezing randomly



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionLinux randomly freezing?Linux Mint 16 randomly freezing and freezes always after suspend wakeupDebian 8.2 computer freezing+crashing randomlyRandomly Linux freezing on Acer ExtensaAntergos linux keeps freezingLinux Mint randomly freezesWindows overrode a LVM pv metadataVirtualbox VMDK to bootable usb stick not workingLinux Mint 19 keeps freezingUbuntu 18.04 is freezing randomly



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















My Computer has been freezing a lot lately, and with no apparent reason.
It freezes even if my usage is 3% CPU and 9% RAM.



I was using Windows 8 until I installed Ubuntu 14.04.



It was really slow, and after some researching, I adopted the idea that Ubuntu 14.04 wasn't really that stable, so I decided I'd download a less resource-heavy distro, so I installed Arch Linux (which is what I'm using to type this now) with GNOME. I'm not having any of the problems I used to have in Ubuntu, except for this mostly annoying freeze that happens to be absolutely random ..



My Fan is working correctly, so it's not temperature, and my drivers are up-to-date (they're the same ones I used on Windows, which I had no problem at all with).



Note that: The Whole OS just freezes, and when I was once able to Alt+F2 (to get to the run-a-command dialog) and managed to type in a command (I was struggling with the keyboard to type) and hit Enter, I got the message: No enough memory .. ? Which is pretty unexpected because I'm using a minimal system (arch linux) with only one application running ..



Edit: Here's my /etc/fstab file



# 
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=2268132b-7cfa-4c55-b773-467c4f691e83 / ext4 rw,relatime,data=ordered 0 1

/dev/disk/by-uuid/2236F90308C55145 /mnt/2236F90308C55145 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0
/dev/disk/by-uuid/4FF142A03DACFA48 /mnt/4FF142A03DACFA48 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0


lsblk outputs ..



NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 69.9G 0 part /mnt/2236F90308C55145
├─sda2 8:2 0 59.2G 0 part /mnt/4FF142A03DACFA48
├─sda3 8:3 0 90.3G 0 part /
└─sda4 8:4 0 78.7G 0 part
sr0 11:0 1 1024M 0 rom









share|improve this question
























  • bbs.archlinux.org or #archlinux on Freenode is probably a better place to debug an issue like this

    – Nathan Wallace
    Sep 5 '14 at 18:21











  • Can you run 'lsblk' and include it in the post? I'll also tell you that while arch in a great distro (my preferred) it is not a beginner distro. Mint is a better starter distro.

    – Steven Walton
    Sep 5 '14 at 20:46






  • 1





    Just wanted to check, because you do need bash knowledge with arch. Anyway, your partitioning concerns me. First off, I don't see a swap at all, unless you have a 78.7G swap. You'll have memory problems without swap. Your root partition should really not be bigger than 25G, especially when staying minimal. I'd also find a better naming scheme for your home folders (weird set up too). If this solves it I'll write an answer so we can mark it as solved. If not, I'll continue to help, but we'll need more info.

    – Steven Walton
    Sep 5 '14 at 21:30






  • 1





    Should have 4G swap. And then you should be fine.

    – Steven Walton
    Sep 5 '14 at 23:27






  • 1





    @StevenWalton: This actually solved it ! Unfortunately, I had 4 primary partitions there already so I moved one's contents into another's, deleted the first and resized the other to fit all the contents while sparing 4.3G for swap space, then I added its UUID to /etc/fstab and used swapon -a to use it and (up until now) everything seems to be working correctly ! Post your answer so that I can accept it.

    – Amr Ayman
    Sep 6 '14 at 17:19

















2















My Computer has been freezing a lot lately, and with no apparent reason.
It freezes even if my usage is 3% CPU and 9% RAM.



I was using Windows 8 until I installed Ubuntu 14.04.



It was really slow, and after some researching, I adopted the idea that Ubuntu 14.04 wasn't really that stable, so I decided I'd download a less resource-heavy distro, so I installed Arch Linux (which is what I'm using to type this now) with GNOME. I'm not having any of the problems I used to have in Ubuntu, except for this mostly annoying freeze that happens to be absolutely random ..



My Fan is working correctly, so it's not temperature, and my drivers are up-to-date (they're the same ones I used on Windows, which I had no problem at all with).



Note that: The Whole OS just freezes, and when I was once able to Alt+F2 (to get to the run-a-command dialog) and managed to type in a command (I was struggling with the keyboard to type) and hit Enter, I got the message: No enough memory .. ? Which is pretty unexpected because I'm using a minimal system (arch linux) with only one application running ..



Edit: Here's my /etc/fstab file



# 
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=2268132b-7cfa-4c55-b773-467c4f691e83 / ext4 rw,relatime,data=ordered 0 1

/dev/disk/by-uuid/2236F90308C55145 /mnt/2236F90308C55145 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0
/dev/disk/by-uuid/4FF142A03DACFA48 /mnt/4FF142A03DACFA48 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0


lsblk outputs ..



NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 69.9G 0 part /mnt/2236F90308C55145
├─sda2 8:2 0 59.2G 0 part /mnt/4FF142A03DACFA48
├─sda3 8:3 0 90.3G 0 part /
└─sda4 8:4 0 78.7G 0 part
sr0 11:0 1 1024M 0 rom









share|improve this question
























  • bbs.archlinux.org or #archlinux on Freenode is probably a better place to debug an issue like this

    – Nathan Wallace
    Sep 5 '14 at 18:21











  • Can you run 'lsblk' and include it in the post? I'll also tell you that while arch in a great distro (my preferred) it is not a beginner distro. Mint is a better starter distro.

    – Steven Walton
    Sep 5 '14 at 20:46






  • 1





    Just wanted to check, because you do need bash knowledge with arch. Anyway, your partitioning concerns me. First off, I don't see a swap at all, unless you have a 78.7G swap. You'll have memory problems without swap. Your root partition should really not be bigger than 25G, especially when staying minimal. I'd also find a better naming scheme for your home folders (weird set up too). If this solves it I'll write an answer so we can mark it as solved. If not, I'll continue to help, but we'll need more info.

    – Steven Walton
    Sep 5 '14 at 21:30






  • 1





    Should have 4G swap. And then you should be fine.

    – Steven Walton
    Sep 5 '14 at 23:27






  • 1





    @StevenWalton: This actually solved it ! Unfortunately, I had 4 primary partitions there already so I moved one's contents into another's, deleted the first and resized the other to fit all the contents while sparing 4.3G for swap space, then I added its UUID to /etc/fstab and used swapon -a to use it and (up until now) everything seems to be working correctly ! Post your answer so that I can accept it.

    – Amr Ayman
    Sep 6 '14 at 17:19













2












2








2


2






My Computer has been freezing a lot lately, and with no apparent reason.
It freezes even if my usage is 3% CPU and 9% RAM.



I was using Windows 8 until I installed Ubuntu 14.04.



It was really slow, and after some researching, I adopted the idea that Ubuntu 14.04 wasn't really that stable, so I decided I'd download a less resource-heavy distro, so I installed Arch Linux (which is what I'm using to type this now) with GNOME. I'm not having any of the problems I used to have in Ubuntu, except for this mostly annoying freeze that happens to be absolutely random ..



My Fan is working correctly, so it's not temperature, and my drivers are up-to-date (they're the same ones I used on Windows, which I had no problem at all with).



Note that: The Whole OS just freezes, and when I was once able to Alt+F2 (to get to the run-a-command dialog) and managed to type in a command (I was struggling with the keyboard to type) and hit Enter, I got the message: No enough memory .. ? Which is pretty unexpected because I'm using a minimal system (arch linux) with only one application running ..



Edit: Here's my /etc/fstab file



# 
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=2268132b-7cfa-4c55-b773-467c4f691e83 / ext4 rw,relatime,data=ordered 0 1

/dev/disk/by-uuid/2236F90308C55145 /mnt/2236F90308C55145 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0
/dev/disk/by-uuid/4FF142A03DACFA48 /mnt/4FF142A03DACFA48 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0


lsblk outputs ..



NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 69.9G 0 part /mnt/2236F90308C55145
├─sda2 8:2 0 59.2G 0 part /mnt/4FF142A03DACFA48
├─sda3 8:3 0 90.3G 0 part /
└─sda4 8:4 0 78.7G 0 part
sr0 11:0 1 1024M 0 rom









share|improve this question
















My Computer has been freezing a lot lately, and with no apparent reason.
It freezes even if my usage is 3% CPU and 9% RAM.



I was using Windows 8 until I installed Ubuntu 14.04.



It was really slow, and after some researching, I adopted the idea that Ubuntu 14.04 wasn't really that stable, so I decided I'd download a less resource-heavy distro, so I installed Arch Linux (which is what I'm using to type this now) with GNOME. I'm not having any of the problems I used to have in Ubuntu, except for this mostly annoying freeze that happens to be absolutely random ..



My Fan is working correctly, so it's not temperature, and my drivers are up-to-date (they're the same ones I used on Windows, which I had no problem at all with).



Note that: The Whole OS just freezes, and when I was once able to Alt+F2 (to get to the run-a-command dialog) and managed to type in a command (I was struggling with the keyboard to type) and hit Enter, I got the message: No enough memory .. ? Which is pretty unexpected because I'm using a minimal system (arch linux) with only one application running ..



Edit: Here's my /etc/fstab file



# 
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=2268132b-7cfa-4c55-b773-467c4f691e83 / ext4 rw,relatime,data=ordered 0 1

/dev/disk/by-uuid/2236F90308C55145 /mnt/2236F90308C55145 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0
/dev/disk/by-uuid/4FF142A03DACFA48 /mnt/4FF142A03DACFA48 auto nosuid,nodev,nofail,x-gvfs-show,user 0 0


lsblk outputs ..



NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 69.9G 0 part /mnt/2236F90308C55145
├─sda2 8:2 0 59.2G 0 part /mnt/4FF142A03DACFA48
├─sda3 8:3 0 90.3G 0 part /
└─sda4 8:4 0 78.7G 0 part
sr0 11:0 1 1024M 0 rom






arch-linux windows freeze out-of-memory resources






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 16 hours ago









Rui F Ribeiro

42.1k1483142




42.1k1483142










asked Sep 5 '14 at 18:16









Amr AymanAmr Ayman

260414




260414












  • bbs.archlinux.org or #archlinux on Freenode is probably a better place to debug an issue like this

    – Nathan Wallace
    Sep 5 '14 at 18:21











  • Can you run 'lsblk' and include it in the post? I'll also tell you that while arch in a great distro (my preferred) it is not a beginner distro. Mint is a better starter distro.

    – Steven Walton
    Sep 5 '14 at 20:46






  • 1





    Just wanted to check, because you do need bash knowledge with arch. Anyway, your partitioning concerns me. First off, I don't see a swap at all, unless you have a 78.7G swap. You'll have memory problems without swap. Your root partition should really not be bigger than 25G, especially when staying minimal. I'd also find a better naming scheme for your home folders (weird set up too). If this solves it I'll write an answer so we can mark it as solved. If not, I'll continue to help, but we'll need more info.

    – Steven Walton
    Sep 5 '14 at 21:30






  • 1





    Should have 4G swap. And then you should be fine.

    – Steven Walton
    Sep 5 '14 at 23:27






  • 1





    @StevenWalton: This actually solved it ! Unfortunately, I had 4 primary partitions there already so I moved one's contents into another's, deleted the first and resized the other to fit all the contents while sparing 4.3G for swap space, then I added its UUID to /etc/fstab and used swapon -a to use it and (up until now) everything seems to be working correctly ! Post your answer so that I can accept it.

    – Amr Ayman
    Sep 6 '14 at 17:19

















  • bbs.archlinux.org or #archlinux on Freenode is probably a better place to debug an issue like this

    – Nathan Wallace
    Sep 5 '14 at 18:21











  • Can you run 'lsblk' and include it in the post? I'll also tell you that while arch in a great distro (my preferred) it is not a beginner distro. Mint is a better starter distro.

    – Steven Walton
    Sep 5 '14 at 20:46






  • 1





    Just wanted to check, because you do need bash knowledge with arch. Anyway, your partitioning concerns me. First off, I don't see a swap at all, unless you have a 78.7G swap. You'll have memory problems without swap. Your root partition should really not be bigger than 25G, especially when staying minimal. I'd also find a better naming scheme for your home folders (weird set up too). If this solves it I'll write an answer so we can mark it as solved. If not, I'll continue to help, but we'll need more info.

    – Steven Walton
    Sep 5 '14 at 21:30






  • 1





    Should have 4G swap. And then you should be fine.

    – Steven Walton
    Sep 5 '14 at 23:27






  • 1





    @StevenWalton: This actually solved it ! Unfortunately, I had 4 primary partitions there already so I moved one's contents into another's, deleted the first and resized the other to fit all the contents while sparing 4.3G for swap space, then I added its UUID to /etc/fstab and used swapon -a to use it and (up until now) everything seems to be working correctly ! Post your answer so that I can accept it.

    – Amr Ayman
    Sep 6 '14 at 17:19
















bbs.archlinux.org or #archlinux on Freenode is probably a better place to debug an issue like this

– Nathan Wallace
Sep 5 '14 at 18:21





bbs.archlinux.org or #archlinux on Freenode is probably a better place to debug an issue like this

– Nathan Wallace
Sep 5 '14 at 18:21













Can you run 'lsblk' and include it in the post? I'll also tell you that while arch in a great distro (my preferred) it is not a beginner distro. Mint is a better starter distro.

– Steven Walton
Sep 5 '14 at 20:46





Can you run 'lsblk' and include it in the post? I'll also tell you that while arch in a great distro (my preferred) it is not a beginner distro. Mint is a better starter distro.

– Steven Walton
Sep 5 '14 at 20:46




1




1





Just wanted to check, because you do need bash knowledge with arch. Anyway, your partitioning concerns me. First off, I don't see a swap at all, unless you have a 78.7G swap. You'll have memory problems without swap. Your root partition should really not be bigger than 25G, especially when staying minimal. I'd also find a better naming scheme for your home folders (weird set up too). If this solves it I'll write an answer so we can mark it as solved. If not, I'll continue to help, but we'll need more info.

– Steven Walton
Sep 5 '14 at 21:30





Just wanted to check, because you do need bash knowledge with arch. Anyway, your partitioning concerns me. First off, I don't see a swap at all, unless you have a 78.7G swap. You'll have memory problems without swap. Your root partition should really not be bigger than 25G, especially when staying minimal. I'd also find a better naming scheme for your home folders (weird set up too). If this solves it I'll write an answer so we can mark it as solved. If not, I'll continue to help, but we'll need more info.

– Steven Walton
Sep 5 '14 at 21:30




1




1





Should have 4G swap. And then you should be fine.

– Steven Walton
Sep 5 '14 at 23:27





Should have 4G swap. And then you should be fine.

– Steven Walton
Sep 5 '14 at 23:27




1




1





@StevenWalton: This actually solved it ! Unfortunately, I had 4 primary partitions there already so I moved one's contents into another's, deleted the first and resized the other to fit all the contents while sparing 4.3G for swap space, then I added its UUID to /etc/fstab and used swapon -a to use it and (up until now) everything seems to be working correctly ! Post your answer so that I can accept it.

– Amr Ayman
Sep 6 '14 at 17:19





@StevenWalton: This actually solved it ! Unfortunately, I had 4 primary partitions there already so I moved one's contents into another's, deleted the first and resized the other to fit all the contents while sparing 4.3G for swap space, then I added its UUID to /etc/fstab and used swapon -a to use it and (up until now) everything seems to be working correctly ! Post your answer so that I can accept it.

– Amr Ayman
Sep 6 '14 at 17:19










2 Answers
2






active

oldest

votes


















3














Your problem is that you don't have any swap space. Operating systems require a swap space so that they are able to free up ram space and store it on the hard drive.



What you are going to need to do is reformat your hard drive. Red Hat has a suggest swap size chart here. Load up the arch live cd and repartition and swapon /dev/sdaX. If you need a reference see the Arch Wiki Beginner's Guide.



I'll suggest a partition like the following one.



NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 100M 0 part /boot
├─sda2 8:2 0 20G 0 part /
├─sda3 8:3 0 4G 0 part [SWAP]
└─sda4 8:4 0 rest 0 part /home


This is just suggested, you can do everything in a single partition and not worry about much (but this is the basic format that most people use). If you are keeping your root partition separate then remember to keep it around 20-25G. This is a security thing, because users should be installing programs into their own folders. You won't run out of space, I promise. Pacman and yaourt will take care of this for you.






share|improve this answer






























    2














    Here are some points which may help you a bit to diagnose the problem:



    • Run free command to see memory usage

    • Run top and then hit M to sort by memory usage or P to sort by CPU usage to see which program uses your resources

    • Be sure that at /etc/fstab is a line to mount swap - you see swap usage after free

    • look at /var/log/messages or in case you are using systemd run journalctl and search for any warnings/errors.





    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f154016%2flinux-freezing-randomly%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      Your problem is that you don't have any swap space. Operating systems require a swap space so that they are able to free up ram space and store it on the hard drive.



      What you are going to need to do is reformat your hard drive. Red Hat has a suggest swap size chart here. Load up the arch live cd and repartition and swapon /dev/sdaX. If you need a reference see the Arch Wiki Beginner's Guide.



      I'll suggest a partition like the following one.



      NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
      sda 8:0 0 298.1G 0 disk
      ├─sda1 8:1 0 100M 0 part /boot
      ├─sda2 8:2 0 20G 0 part /
      ├─sda3 8:3 0 4G 0 part [SWAP]
      └─sda4 8:4 0 rest 0 part /home


      This is just suggested, you can do everything in a single partition and not worry about much (but this is the basic format that most people use). If you are keeping your root partition separate then remember to keep it around 20-25G. This is a security thing, because users should be installing programs into their own folders. You won't run out of space, I promise. Pacman and yaourt will take care of this for you.






      share|improve this answer



























        3














        Your problem is that you don't have any swap space. Operating systems require a swap space so that they are able to free up ram space and store it on the hard drive.



        What you are going to need to do is reformat your hard drive. Red Hat has a suggest swap size chart here. Load up the arch live cd and repartition and swapon /dev/sdaX. If you need a reference see the Arch Wiki Beginner's Guide.



        I'll suggest a partition like the following one.



        NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
        sda 8:0 0 298.1G 0 disk
        ├─sda1 8:1 0 100M 0 part /boot
        ├─sda2 8:2 0 20G 0 part /
        ├─sda3 8:3 0 4G 0 part [SWAP]
        └─sda4 8:4 0 rest 0 part /home


        This is just suggested, you can do everything in a single partition and not worry about much (but this is the basic format that most people use). If you are keeping your root partition separate then remember to keep it around 20-25G. This is a security thing, because users should be installing programs into their own folders. You won't run out of space, I promise. Pacman and yaourt will take care of this for you.






        share|improve this answer

























          3












          3








          3







          Your problem is that you don't have any swap space. Operating systems require a swap space so that they are able to free up ram space and store it on the hard drive.



          What you are going to need to do is reformat your hard drive. Red Hat has a suggest swap size chart here. Load up the arch live cd and repartition and swapon /dev/sdaX. If you need a reference see the Arch Wiki Beginner's Guide.



          I'll suggest a partition like the following one.



          NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
          sda 8:0 0 298.1G 0 disk
          ├─sda1 8:1 0 100M 0 part /boot
          ├─sda2 8:2 0 20G 0 part /
          ├─sda3 8:3 0 4G 0 part [SWAP]
          └─sda4 8:4 0 rest 0 part /home


          This is just suggested, you can do everything in a single partition and not worry about much (but this is the basic format that most people use). If you are keeping your root partition separate then remember to keep it around 20-25G. This is a security thing, because users should be installing programs into their own folders. You won't run out of space, I promise. Pacman and yaourt will take care of this for you.






          share|improve this answer













          Your problem is that you don't have any swap space. Operating systems require a swap space so that they are able to free up ram space and store it on the hard drive.



          What you are going to need to do is reformat your hard drive. Red Hat has a suggest swap size chart here. Load up the arch live cd and repartition and swapon /dev/sdaX. If you need a reference see the Arch Wiki Beginner's Guide.



          I'll suggest a partition like the following one.



          NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
          sda 8:0 0 298.1G 0 disk
          ├─sda1 8:1 0 100M 0 part /boot
          ├─sda2 8:2 0 20G 0 part /
          ├─sda3 8:3 0 4G 0 part [SWAP]
          └─sda4 8:4 0 rest 0 part /home


          This is just suggested, you can do everything in a single partition and not worry about much (but this is the basic format that most people use). If you are keeping your root partition separate then remember to keep it around 20-25G. This is a security thing, because users should be installing programs into their own folders. You won't run out of space, I promise. Pacman and yaourt will take care of this for you.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 6 '14 at 17:58









          Steven WaltonSteven Walton

          398112




          398112























              2














              Here are some points which may help you a bit to diagnose the problem:



              • Run free command to see memory usage

              • Run top and then hit M to sort by memory usage or P to sort by CPU usage to see which program uses your resources

              • Be sure that at /etc/fstab is a line to mount swap - you see swap usage after free

              • look at /var/log/messages or in case you are using systemd run journalctl and search for any warnings/errors.





              share|improve this answer



























                2














                Here are some points which may help you a bit to diagnose the problem:



                • Run free command to see memory usage

                • Run top and then hit M to sort by memory usage or P to sort by CPU usage to see which program uses your resources

                • Be sure that at /etc/fstab is a line to mount swap - you see swap usage after free

                • look at /var/log/messages or in case you are using systemd run journalctl and search for any warnings/errors.





                share|improve this answer

























                  2












                  2








                  2







                  Here are some points which may help you a bit to diagnose the problem:



                  • Run free command to see memory usage

                  • Run top and then hit M to sort by memory usage or P to sort by CPU usage to see which program uses your resources

                  • Be sure that at /etc/fstab is a line to mount swap - you see swap usage after free

                  • look at /var/log/messages or in case you are using systemd run journalctl and search for any warnings/errors.





                  share|improve this answer













                  Here are some points which may help you a bit to diagnose the problem:



                  • Run free command to see memory usage

                  • Run top and then hit M to sort by memory usage or P to sort by CPU usage to see which program uses your resources

                  • Be sure that at /etc/fstab is a line to mount swap - you see swap usage after free

                  • look at /var/log/messages or in case you are using systemd run journalctl and search for any warnings/errors.






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Sep 5 '14 at 18:44









                  jimmijjimmij

                  32.6k876110




                  32.6k876110



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f154016%2flinux-freezing-randomly%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      -arch-linux, freeze, out-of-memory, resources, windows

                      Popular posts from this blog

                      Word for a person who has no opinion about whether god existsWord for having a definite opinion while simultaneously withholding judgment?What's the opposite of “newcomer? Is ”veteran" OK?What do you call an “atheist” who might believe in an afterlife?What's a word for someone who wants to voice opinions but not have them challenged?Word for someone who dismisses contrary opinions as irrational?Somone who thinks they are overly special/out of the ordinaryIs there a word, phrase or idiom for “a person who is incapable of thinking about the future”?The belief that a god is human-likeA word for a non-famous person/thing you have heard a lot aboutAdjective for a person who enjoys taking care of their appearance

                      2017 IndyCar Series Contents Series news Teams and drivers Schedule Season summary Footnotes References External links Navigation menu"INDYCAR: Initial 2018 bodywork concepts unveiled"the original"IndyCar confirms switch to Performance Friction brakes in 2017""AJ Foyt Racing will switch to Chevy"the original"Carlos Munoz, Conor Daly will drive for AJ Foyt Racing""Zach Veach's Indy 500 Debut Confirmed with Foyt""No mass exodus from Honda after Ganassi switch""Ex-F1 driver Sato joins Andretti Autosport for 2017 IndyCar season""IndyCar's Ryan Hunter-Reay, sponsor DHL paired through 2020""hhgregg and Andretti Autosport announce partnership for key races in 2016""INDYCAR: Rossi re-signs with Andretti"the original"McLaren Formula 1 - Fernando Alonso to race at Indy 500 with McLaren, Honda and Andretti Autosport""Shank will finally take part in Indy 500 with Harvey, Andretti | MotorSportsTalk""Andretti adds Jack Harvey to Indy 500 field""Ganassi switches to Honda power for 2017""INDYCAR: Chilton returns to Ganassi"the original"IndyCar silly season: Who's going where in 2017?""INDYCAR: Kanaan, NTT Data return to Ganassi"the original"Kimball to remain at Ganassi for 2017""Coyne confirms Bourdais for 2017 IndyCar season""Davison to sub for Bourdais in Indy 500"the original"Gutierrez confirmed for Detroit IndyCar debut""Gutierrez returns with Coyne for rest of 2017 season""Vautier to drive for Coyne at Texas"the original"INDYCAR: Coyne confirms Jones for 2017"the original"Pippa Mann returns to Coyne for Indy 500""Karam, Dreyer & Reinbold teaming up again for Indianapolis 500""Pigot to return to Ed Carpenter Racing""Hildebrand confirmed as full-time Ed Carpenter driver""Veach to replace injured Hildebrand at Barber"the originalNew Team Harding Racing Enters Chaves for 101st Indianapolis 500"Juncos Racing Announces Entry in 101st Running of the Indianapolis 500 :: Juncos Racing""Juncos confirms Pigot for Indy 500""Saavedra confirmed in Juncos' second 500 entry"the original"Lazier confirms Indy 500 run after son's USF2000 debut"the original"Claman DeMelo to race for RLLR at Sonoma"the original"Rahal signs Servia and ace engineer for 2017""IndyCar: Aleshin returns with Schmidt"the original"Aleshin replaced by Saavedra for Toronto""Jack Harvey will pilot SPM No. 7 car at Watkins Glen, Sonoma""Jay Howard confirmed in Tony Stewart's supported SPM Indy entry""INDYCAR: Newgarden to wave the flag at Penske"the original"Pagenaud opts for No. 1 in 2017"the original"Penske confirms Newgarden for 2017""Montoya to stay with Team Penske in 2017""Target leaving IndyCar after 27 seasons with Chip Ganassi""Cavin: IndyCar could see complete driver/team shakeup in 2017""End of the road for KV Racing?""KV Racing confirms closure, equipment sold to Juncos""Juncos confirms IndyCar Series entry"the original"Juncos readies IndyCar program, aims for '17 500"the original"Harding Racing to add Texas, Pocono to schedule"the original"Sato signs with Andretti Autosport for 2017""INDYCAR: Aleshin in Doubt at SPM"the original"Long Beach notebook: JR Hildebrand breaks hand""Hildebrand cleared to return at Phoenix"the original"Bourdais to undergo surgery on multiple fractures""Aleshin loses Schmidt Peterson IndyCar ride""Saavedra in at SPM for Pocono, Gateway"the original"Bourdais to make return at Gateway"the original"The IndyCar Grand Prix no longer is sponsored by Angie's List""2017 IndyCar Series rulebook""2017 Verizon IndyCar Series Official Rulebook"Official websiteeeeee

                      What was this official D&D 3.5e Lovecraft-flavored rulebook?What was this set of RPG tools called?As a first-time DM should I let my players play complex character classes and roles?Nymph's Kiss and the RelationshipWhat was the name of this Cleric Prestige Class that shapes metal with its bare hands?Are the 3.5e Dragonlance books third party or official works?What's up with the domain Vile Darkness?What was this 80s book about RPGs?What was the name of this Werewolf band?What book had Rituals to “upgrade” animal companions to keep them viable at higher levels?What was this RPG that had rules for player-owned businesses?