[erlang-questions] run_erl and fsync

Damienuk Davis damienuk@REDACTED
Thu Jul 26 08:10:47 CEST 2012


Hi all,

In one of my projects I used run_erl to launch Erlang VM in daemon mode, rotate logs, etc.
But I discovered unexpected performance problem running production application with run_erl. Application caused high iowait.
After some investigation I found that run_erl does fsync on every log entry, causing disk IO load. Do we need fsync on every log entry.
Appreciate your valuable comments.

Thanks
Damien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120725/62b2ff37/attachment.htm>


More information about the erlang-questions mailing list