swap

  1. rbranco

    Other HOWTO share labeled swap between FreeBSD & Linux

    The Linux swap partition uses a 4096-byte header that holds the label & UUID. You can see the structure here. FreeBSD doesn't use a header at all. The problem is thus how to prevent FreeBSD from overwriting the header. It turns out there's a neat way to do just that with GEOM using the...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. epopen

    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...
  7. 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...
  8. grahamperrin

    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...
  9. 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?
  10. 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...
  11. 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)...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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.
  17. 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?
  18. poorandunlucky

    Solved kernel: swap_pager: out of swap space

    Nov 22 18:48:07 uninspiredhostname kernel: swap_pager: out of swap space Nov 22 18:48:07 uninspiredhostname kernel: swap_pager_getswapspace(number): fail Previous message repeated countless times. So I'm building stuff in Poudriere and this keeps happening... I thought it was a bad RAM block...
  19. Beeblebrox

    Solved GELI questions for swap

    I just placed an fstab entry as below, after doing a dd wipe on swap partition and seems to work, defaults to AES AFAIK. /dev/ada0p1.eli none swap sw,keylen=256,sectorsize=4096 0 0 The handbook states use of geli onetime -d -e 3des ada0p1 * Is 3DES more appropriate than AES for swap? * Do I...
  20. S

    ZFS 11.0p9 vs. 10.0p18 - Expected differences?

    All, Notably compression may be handled differently between the two, however wanted to know if anyone has reference or opinion as to whether one would expect these two issues that I've noticed: 1) difference in "consumption" and 2) constant creeping into swap space. * consumption * Noticed...
Back
Top