Skip to content

Perflogs on NFS get corrupted when updated by multiple reframe processes #3521

@vkarak

Description

@vkarak

The scenario can happen when even two reframe processes on different nodes try to append to the same perflog file multiple hundrends of lines at the same time. This can be triggered easier when perflog_compat=True with multiple performance variables being logged in separate lines. The result is that multiple NULL characters are inserted in the log file and some lines are also corrupted.

The problem is that NFS does not guaranteed atomic appends, so to fix this we need to support locking.

Metadata

Metadata

Assignees

Type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions