Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Too many open files #40

Open
anmolbabu opened this issue May 19, 2016 · 4 comments
Open

Too many open files #40

anmolbabu opened this issue May 19, 2016 · 4 comments

Comments

@anmolbabu
Copy link

Hi,

I faced the issue of too many open files while using go-python, the stack trace is as in:

http://paste.fedoraproject.org/368271/63639845/

Please provide your valuable suggestions.

Thanks,
Anmol

@sbinet
Copy link
Owner

sbinet commented May 19, 2016

I see you've vendored sbinet/go-python.
could you tell me at which revision you've vendored it?

that said, it won't tell me much as it seems this is the function being called that does the file opening (i.e. a user function) so presumably that should be matched by another user-function doing the closing.

the only place where sbinet/go-python does an explicit open is in PyRun_SimpleFile.

sbinet added a commit that referenced this issue May 19, 2016
@sbinet
Copy link
Owner

sbinet commented May 19, 2016

can you test with 4941be0 ?

@anmolbabu
Copy link
Author

I tried the fix above, but I still see the same issue as in http://paste.fedoraproject.org/368726/63709890/
And a wrapper around go-python that we use is as in : http://paste.fedoraproject.org/368727/63710081/

@sbinet
Copy link
Owner

sbinet commented May 20, 2016

Ok.
Then please provide a minimal, reproducible test case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants