-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sometimes the app has FD leak, when the APP use fileLock #1440
Comments
it seems this issue only can be seen in 2.0.x, master branch has fixed this. |
@qclzdh how is the |
@elfenpiff Sorry for incomplete code, TEST_NAME could be any string, as long as they are same in APP_A and APP_B. I do the test with following definition
|
@elfenpiff
|
@qclzdh Thanks for the test it was very helpful to reproduce the bug. Now the question is, is it important for you that we release a bug fix 2.0 release or can you work with master? If you could work with master I would create only a PR which fixes the issue and whenever we release a 2.0.3 this fix would be added. |
Signed-off-by: Christian Eltzschig <[email protected]>
Signed-off-by: Christian Eltzschig <[email protected]>
@elfenpiff Thanks, master is fine~ |
…construction Signed-off-by: Christian Eltzschig <[email protected]>
…release-2.0 Iox #1440 fix file lock leak in release 2.0
Fixed on master with the new builder pattern and on release 2.0.3 |
Required information
Operating system:
E.g. Ubuntu 18.04 LTS
Compiler version:
E.g. GCC 7.4.0
Observed result or behaviour:
There are some FD leakage, it could easily reach to the max opened FDs of a process in Linux platform.
Expected result or behaviour:
no FD leakage.
Conditions where it occurred / Performed steps:
APP_A
APP_B
and start APP_A first, then start APP_B.
You will see this issue.
The text was updated successfully, but these errors were encountered: