SYNCER(4)
π SYNCER(4) π
okay bestie, gather round, because today we're talking about syncer β the file system synchronizer kernel process β¨ it's a whole kernel thing, not a command you type, so don't go looking for it in your $PATH babe, it's already living inside your kernel rent-free π
πΈ SYNOPSIS πΈ
syncer
that's it. that's the whole synopsis. iconic minimalism honestly π
β¨ DESCRIPTION β¨
so the syncer kernel process is basically the responsible friend of the group chat π«Ά its whole job is protecting the integrity of disk volumes by flushing volatile cached file system data out to disk. like, it takes all that messy uncommitted data and actually writes it down so you don't lose it. no cap, it's doing the most for you and you don't even notice π
here's how it works: the kernel places all vnode(9)'s into a bunch of queues. the syncer process then works through those queues in a round-robin fashion, and usually it processes one queue per second. for every single vnode(9) sitting on the queue it's currently vibing with, syncer forces a write out to disk of its dirty buffers. periodt. π
the usual delay between the moment buffers get dirtied and the moment they get synced? that's controlled by these sysctl(8) tunable variables, bestie:
kern.filedelayβ default:30β time to delay syncing files πkern.dirdelayβ default:29β time to delay syncing directories πkern.metadelayβ default:28β time to delay syncing metadata π¦
π SEE ALSO π
π HISTORY π
the syncer process is a descendant of the βupdateβ command, which first appeared in Version 6 AT&T UNIX, and was usually started by /etc/rc back when the system went multi-user. a kernel initiated βupdateβ process? that first showed up in FreeBSD 2.0. so yeah, it's been the moment for literal decades π
π BUGS π
okay so listen. it is possible on some systems that async(2)happening at the same time as a crash may cause file system damage. like, not ideal!! π seefsck(8)if that ever happens to you bestie.
that's the whole page fr fr π§ hope this made sense and that your buffers stay squeaky clean β¨
sign-off vibes: this one's from Debian, dated July 14, 2000 π mwah, go forth and sync responsibly π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2000 Sheldon Hearn <sheldonh@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms