https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221294
--- Comment #3 from papow...@astart.com --- After reporting this problem, I got several suggestions. Here is the one that appeared to reduce the problem. The following was added to /etc/sysctl.conf: # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212128 # # On FreeBSD-11 and on older versions using AIO VirtualBox can lose # disk access when the disk is heavily loaded. # # The symptoms are either the guest locking up with the guest's system # "disk" showing continuous access while the host system shows no # disk activity or by a crash on the guest. # # This can be fixed by adjusting the AIO sysctls to allow added # capacity before disk requests are lost. # # While I have no fix and this issue has existed for a long time, I # suggest that pkg-message have an added warning Here is a first-cut # that could use some word-smithing: # # If AIO is enabled (always in FreeBSD-11.0 and newer), guests may # lose disk access. This can be mitigated by adjusting AIO sysctls # as follows: # # Current 11.0 Settings: # vfs.aio.max_buf_aio: 16 # vfs.aio.max_aio_queue_per_proc: 256 # vfs.aio.max_aio_per_proc: 32 # vfs.aio.aiod_lifetime: 30000 # vfs.aio.num_buf_aio: 0 # vfs.aio.num_queue_count: 0 # vfs.aio.max_aio_queue: 1024 # vfs.aio.target_aio_procs: 4 # vfs.aio.num_aio_procs: 0 # vfs.aio.max_aio_procs: 32 # vfs.aio.unsafe_warningcnt: 1 # vfs.aio.enable_unsafe: 0 # Set: # default # vfs.aio.aiod_lifetime=30000 # (30000) # vfs.aio.max_aio_procs=4 # (32) # vfs.aio.max_aio_queue=65536 # (1024) # vfs.aio.max_aio_queue_per_proc=65536 # (256) # vfs.aio.max_aio_per_proc=8192 # (32) # vfs.aio.max_buf_aio=8192 # (16) # # Alternative: # # From my sysctl.conf Default # vfs.aio.aiod_lifetime=30000 # (30000) # vfs.aio.max_aio_procs=4 # (32) # vfs.aio.max_aio_queue=8192 # (1024) # vfs.aio.max_aio_queue_per_proc=1024 # (256) # vfs.aio.max_aio_per_proc=128 # (32) # vfs.aio.max_buf_aio=64 # (16) # vfs.aio.aiod_lifetime=30000 vfs.aio.max_aio_procs=4 vfs.aio.max_aio_queue=8192 vfs.aio.max_aio_queue_per_proc=1024 vfs.aio.max_aio_per_proc=128 vfs.aio.max_buf_aio=64 -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-emulation@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"