[CRIU] EMFILE during open() after successful restore
Pavel Emelyanov
xemul at parallels.com
Thu Jul 23 04:59:18 PDT 2015
On 07/23/2015 03:21 AM, CRIU criu wrote:
> Hi,
>
> I'm facing an issue with open()ing a file after a successful restore. It
> fails with "Too many open files" error. I've tested with a LD_PRELOAD wrapper
> library overriding open()/close() lib calls to verify that the process doesn't
> open too many files and that there is no FD leakage.
Do you play with android binder device? Quick kernel grep shows that
it reports EMFILE from some of its operation(s).
> As long as the app runs before cr-dump, open() works fine, but fails once
> restored. Is anybody else facing this problem? What file should I start
> looking in order to fix this? Thanks!
Do you restore on the same node, or on another? The issue may be either
in rlimits restore or in different sysctl fs.nr_open value.
-- Pavel
More information about the CRIU
mailing list