Modifying the /proc filesystem file using the vi editor gives an error: Fsync failed

Solution Verified - Updated -

Issue

  • When attempting to modify the proc file system (procfs) file using the vi editor, an error message stating "Fsync failed" is displayed.
# vi /proc/sys/kernel/threads-max
3093136

:wq
"/proc/sys/kernel/threads-max"
"/proc/sys/kernel/threads-max" E667: Fsync failed
Press ENTER or type command to continue

Environment

  • Red Hat Enterprise Linux
  • Proc file system (procfs)
  • vi

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content