@@ -416,21 +416,21 @@ Options
416
416
417
417
.. option:: --syncdelay <value>
418
418
419
- :program:`mongod` writes data very quickly to the journal, and lazily to the
420
- data files. :option:`--syncdelay` controls how much time can pass before
421
- MongoDB flushes data to the datafiles via an :term:`fsync`
422
- operation. The default setting is 60 seconds. We recommend almost
423
- always using the default setting of 60.
419
+ :program:`mongod` writes data very quickly to the journal, and
420
+ lazily to the data files. :option:`--syncdelay` controls how much
421
+ time can pass before MongoDB flushes data to the datafiles via an
422
+ :term:`fsync` operation. The default setting is 60 seconds. In
423
+ almost every situation you should not set this value and use the
424
+ default setting.
424
425
425
- The serverStatus command reports the background flush thread's
426
- status via the backgroundFlushing field.
426
+ The :dbcommand:` serverStatus` command reports the background flush
427
+ thread's status via the :data:`~serverStatus. backgroundFlushing` field.
427
428
428
- .. note ::
429
+ .. warning ::
429
430
430
- If :option:`--syncdelay` is ``0``, :program:`mongod` flushes all
431
- operations to disk immediately, which has a significant impact
432
- on performance. Run with :setting:`journal` enabled, which is the
433
- default for 64-bit MongoDB builds.
431
+ If you set :option:`--syncdelay` to ``0``, MongoDB will not
432
+ sync the memory mapped files to disk. Do not set this value on
433
+ production systems.
434
434
435
435
.. option:: --sysinfo
436
436
0 commit comments