SYNCER(4)
π SYNCER(4) β syncer π
okay so welcome to the Kernel Interfaces Manual corner, bestie β this is the tea on syncer, and it's honestly giving unsung hero energy. π«Ά
β¨ NAME β¨
syncerβ file system synchronizer kernel process π
πΈ SYNOPSIS πΈ
syncer
π¦ DESCRIPTION π¦
So the syncer kernel process is out here helping protect the integrity of disk volumes by flushing volatile cached file system data to disk. No cap, that's the whole gig. β¨
The kernel places all the vnode(9)'s into a number of queues. The syncer process works through those queues in a round-robin fashion, usually processing one queue per second. For each vnode(9) on that queue, the syncer process forces a write out to disk of its dirty buffers. πΎ
The usual delay between the time buffers are dirtied and the time they are synced is controlled by the following sysctl(8) tunable variables:
kern.filedelayβ default30; time to delay syncing files πkern.dirdelayβ default29; time to delay syncing directories πkern.metadelayβ default28; time to delay syncing metadata π¦
π SEE ALSO π
π HISTORY π
The syncer process is a descendant of the update command, which appeared in Version 6 AT&T UNIX, and was usually started by /etc/rc when the system went multi-user. A kernel initiated update process first appeared in FreeBSD 2.0. Iconic lineage, fr fr. π
π BUGS π
β οΈ okay so heads up: it is possible on some systems that async(2)occurring simultaneously with a crash may cause file system damage. Seefsck(8). π
xoxo, this SYNCER(4) page is from Debian, dated July 14, 2000 π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2000 Sheldon Hearn <sheldonh@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms