Skip to content
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

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

@anmolbabu anmolbabu commented May 19, 2016

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 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
Updates #40.
@sbinet
Copy link
Owner

@sbinet sbinet commented May 19, 2016

can you test with 4941be0 ?

@anmolbabu
Copy link
Author

@anmolbabu anmolbabu commented May 20, 2016

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 sbinet commented May 20, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.