[
https://issues.apache.org/jira/browse/MESOS-8428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16321277#comment-16321277
]
Chun-Hung Hsiao commented on MESOS-8428:
----------------------------------------
The opened fds seems related to the agent's v1 http api endpoint.
Test without fd leakage:
https://github.com/apache/mesos/blob/master/src/tests/storage_local_resource_provider_tests.cpp#L178
Test with leakage:
https://github.com/apache/mesos/blob/master/src/tests/storage_local_resource_provider_tests.cpp#L355
Suspicious `http::post`:
https://github.com/apache/mesos/blob/master/src/slave/container_daemon.cpp#L209
which is used by:
https://github.com/apache/mesos/blob/master/src/resource_provider/storage/provider.cpp#L1796
> SLRP recovery tests leak file descriptors.
> ------------------------------------------
>
> Key: MESOS-8428
> URL: https://issues.apache.org/jira/browse/MESOS-8428
> Project: Mesos
> Issue Type: Bug
> Reporter: Chun-Hung Hsiao
> Assignee: Chun-Hung Hsiao
> Labels: mesosphere, storage
>
> The {{CreateDestroyVolumeRecovery}} (formerly {{NewVolumeRecovery}}) and
> {{PublishResourcesRecovery}} (formerly {{LaunchTaskRecovery}}) tests leak
> fds. When running them in repetition, either the following error will
> manifest:
> {noformat}
> rocess_posix.hpp:257] CHECK_SOME(pipe): Too many open files
> {noformat}
> or the plugin container will exit possibly due to no fd.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)