Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Too many open fd #79

Closed
refs opened this issue Aug 4, 2020 · 7 comments · Fixed by owncloud/ocis-ocs#29
Closed

Too many open fd #79

refs opened this issue Aug 4, 2020 · 7 comments · Fixed by owncloud/ocis-ocs#29
Labels
bug Something isn't working

Comments

@refs
Copy link
Member

refs commented Aug 4, 2020

Hitting a limit of open fd:

image

@refs refs added the bug Something isn't working label Aug 4, 2020
@refs
Copy link
Member Author

refs commented Aug 4, 2020

each run adds the same delta to the list of open files: ∆=14

@refs
Copy link
Member Author

refs commented Aug 4, 2020

test being run:

make test-acceptance-api \
TEST_SERVER_URL=https://localhost:9200 \
TEST_OCIS=true \
OCIS_REVA_DATA_ROOT=/var/tmp/reva/ \
SKELETON_DIR=apps/testing/data/apiSkeleton \
BEHAT_FEATURE=tests/acceptance/features/apiShareManagementBasic/createShare.feature

@refs
Copy link
Member Author

refs commented Aug 4, 2020

delta command: lsof -p [accounts-pid] | wc -l

@PVince81
Copy link
Contributor

PVince81 commented Aug 4, 2020

as discovered, it's network connections that are left open between ocis-accounts and ocis-ocs after updating an account

@PVince81
Copy link
Contributor

PVince81 commented Aug 4, 2020

fix is here: owncloud/ocis-ocs#29

@individual-it
Copy link
Member

looks similar to owncloud/ocis#268

@PVince81
Copy link
Contributor

PVince81 commented Aug 4, 2020

I think this was brand new code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants