swap

  1. J

    UFS device busy trying to remove partition

    The situation is the following: # lsblk DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT da0 0:92 36G GPT - - <FREE> -:- 33M - - - da0p3 0:95 1.0G freebsd-swap gpt/swapfs - <FREE> -:- 37G -...
  2. BaronBS

    Solved Swap not mounting during boot

    I just notice that my swap (encrypted, created during install with zfs auto install option) isn't decrypting or mounting at all. beastie@BattleStar-Lat54 --> ~ Ψ cat /etc/fstab < 21:36 > <...
  3. SoBe

    Solved RESOLVED: USB based Swap

    Is there a way to configure a usb based swap and plug it into my pfSense system and edit the folder pointing to /etc/fstab for the usb swap and use that? I have a 128GB ssd but the software didn’t configure a swap. My compex WiFi card is crashing and going into system panic when it runs full...
  4. rbranco

    Other HOWTO share labeled swap between FreeBSD & Linux

    EDIT: Now it's possible to do it in -CURRENT. Just run `echo geom_label_load='"YES"' >> /boot/loader.conf` as root, reboot and use whatever GEOM detects as swap in /dev/swaplinux. On -STABLE you have to apply the diff in https://github.com/freebsd/freebsd-src/pull/1205 like this: cd /tmp...
  5. rwv37

    Replace a drive having a partition in a ZFS pool - how do I deal with the REST of the drive?

    I have a 13.2-RELEASE-p4 machine with four hard drives. They are all partitioned just like this one: # gpart show ada0 => 40 35156656048 ada0 GPT (16T) 40 532480 1 efi (260M) 532520 2008 - free - (1.0M) 534528 33554432 2...
  6. A

    Tracking memory spikes causing process issues

    Hi, I'm running on FreeBSD 12.2 running a group of python processes under supervisor. We have now twice run into an issue where processes have been caused to enter either T or I status causing access to them to be no longer possible. In both circumstances, kill commands to the processes were...
  7. Del.Mar

    ZFS Extend swap space

    Hi mates! How to grow swap partition with zroot? /etc/fstab root@tank:/home # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p1 /boot/efi msdosfs rw 2 2 /dev/ada0p3 none swap sw 0 0 df -h...
  8. K

    FreeBSD on ZFS without Boot and Swap.

    Hi! First of all, I am complete newbie in FreeBSD. I would like to install FreeBSD on ZFS. Modern installer have everything to install FreeBSD on ZFS without any problems, but I have a one "Ideafix", if you know what I mean. I want to remove Boot and Swap partitions from ZFS pool(RAIDZ1) and...
  9. epopen

    Solved Troubleshoot of "a thread waited too long to allocate a page"

    Hi All. I got a system problem since FreeBSD 13 as follows (Prior 12, I have no impression about the issue). Jan 30 11:22:47 test kernel: [116123] pid 50340 (mysqld), jid 1, uid 88, was killed: a thread waited too long to allocate a page Jan 30 11:22:47 test kernel: [116134] pid 32665...
  10. rafael_grether

    Solved Swap - Is it still really necessary?

    Hello guys, I have some conceptual questions. First of all, on average servers, would swap really be necessary? Or does FreeBSD already handle memory pressure so well that it doesn't need to be swapped? I don't know why, but FreeBSD Server Instances on Amazon EC2 have no swap. On NAS devices...
  11. Cath O'Deray

    FreeBSD-provided disk images: problems with UFS, fsck_ufs (fsck_ffs(8)); partition sizes …

    Why not ZFS by default? Images are compressed before distribution. I assume that compression is very effective for: non-used space (free, never used) in file systems non-used swap space. Why is there so little free space in the file system for the base OS? Why is so little of the disk given...
  12. s0undsp4c3

    Solved New freebsd-swap space with 400GB but htop shows 66.0G

    Hi daemons, I created a new partition: sudo gpart add -t freebsd-swap -i 2 ada 2 sudo swapon /dev/ada2p2 It works great but, the whole partition is of 400G but, htop only shows `66.0G` Why is that?
  13. gladiola

    Solved Planning ZFS encrypted swap and clearing it later

    My main questions are: - What is the best way to clear a ZFS encrypted swap if it fills up? - If we allocate swap space at the rate of twice the available RAM, then how will we have enough memory to clear the swap? It seems like, during a situation where we intervene to maintenance or clear...
  14. DarkFreeBSD

    SWAP resizing help

    Hi, I don't know if I'm in the right place. I need your advice and your know-how. I would like to reduce my partition from 924G to 916G and increase the swap from 8G to 16G. root @ Firewall: / # gpart show => 63 1953525105 ada0 MBR (932G) 63 1953525105 1 freebsd [active] (932G)...
  15. M

    FreeBSD and the state of Suspend-to-Disk / Hibernation (STD/S4OS)?

    The FreeBSD Wiki says: The FreeBSD Manual explains Suspend/Resume and mentions S4BIOS and S4OS, but doesn't tell any more. So I assume this is still valid, no Suspend-to-Disk (STD/S4OS) available in FreeBSD? I have already tried, acpiconf -s 4 seemingly puts my laptop into hibernation, but...
  16. C

    Logging for process swap in/out....

    I had a virtual machine with limited RAM(4GB RAM+4GB swap partition,and 90M swap used). When I connect to it,some service might suffer tremendous lag for initial response(about 7-8sec). But once I got initial response,the following activity seems just fine. So I suspect that some process had...
  17. Dogers

    Solved Swap on ZFS has been disabled after hardware upgrade.

    Greetings to everyone. Here is my problem : I just upgraded my workstation, from AMD FX 6300 to AMD Opteron 6380, everything runs fine on my FreeBSD 12.0 p10, except that my swap completely disappear. It is a real problem since I have only 8GB of ram for now on ZFS. Before I used to have 32GB...
  18. 0w8States

    swap size on ZFS with high amount of RAM

    Hi! I'm doing my first install of FreeBSD and really looking forward to getting started with FreeBSD. I've recently purchase a copy of 'Absolute FreeBSD' and I'm working my way through the chapters. While I've previously used FreeBSD inside VirtualBox, this time I'm doing my first physcial...
  19. Abdelilah

    vm.swappiness to 0

    Hello everyone, Is there an option under FreeBSD that enables us to use swap under this exact circumstances (retrieved from a general OS forum) : * vm.swappiness = 0 The kernel will swap only to avoid an out of memory condition, when free memory will be below vm.min_free_kbytes limit. Thanks.
  20. i-bsd

    swap_pager: out of swap space (ZFS auto-installed after about an hour of browsing the web)

    Can somebody explain this to me? I have a very high-end system with tonnes of memory. Installed FreeBSD 11.1 using ZFS-auto. How can I stop this from happening?
Back
Top