Bug 35166 - File Access fails when using Linux Tool cpulimit
Summary: File Access fails when using Linux Tool cpulimit
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: io-layer (show other bugs)
Version: 4.0.0
Hardware: Other Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-10-22 11:03 UTC by Wolfgang Thomas
Modified: 2015-10-22 11:03 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:


Description Wolfgang Thomas 2015-10-22 11:03:33 UTC
I have an application which is a mixture of processes running unmanaged code (C++) and one process running managed code (C#, mono 4.x). The application runs stable on Linux.
Now trying to determine the behavior in case of CPU shortage the Linux tool cpulimit is used to limit the CPU access for the individual processes. All processes behave graceful, however when cpulimit is applied to the mono process, mono exits after the application throws an exception indicating that a file could not be found. This exception can be a System.IO.FileNotFoundException, or a System.Exception: Logger configuration not found, or System.DllNotFoundException. It is not complaining about one specific file, but it appears that there are general file access problems. The files are definitely there and this effect only occurs when applying the cpulimit tool to the mono process.

Now one could argue "so what" and this was my first reaction too, however ignoring this strange effect might ignore a problem in mono.

Has anyone ever seen similar issues that using cpulimit, or directly sending SIGSTOP and SIGCONT, to a mono process under Linux caused problems with file system access or other system calls?

Note You need to log in before you can comment on or make changes to this bug.