-
Notifications
You must be signed in to change notification settings - Fork 165
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
tmp/suds getting full of *.px files #117
Comments
Hi! Check out our fork where this issue is solved: #108 |
I hope this can help you. |
Hey this post says "the branch has conflicts" - should I assume to wait for this to be resolved before using?
@qitia from this post do you recommend adding the fix as mentioned: In the post the last comment mentions moving away from suds ? Is that something happening with this library? Or will there be an update that handles this cache "bloating" (as ive seen it called) ? |
hey @datacubed , what I recommend is try below method, with remove_suds_cache set to true. This will help you clear the cache folder on app's exist.
I hope this can help. |
There's an internal Our fork makes this instance use a dummy in-memory cache (basically a |
I recently ran into this issue so I took a look at the solutions people have posted here. I found them problematic because of various issues, including 1.) deleting the /tmp/suds directory at exit, which I imagine would cause problems if you have lots of programs running simultaneously, and 2.) waiting for #108 to get merged, which might not happen soon. The core issue is that suds-jurko 0.6 defines a mangle() function in its reader class that is broken in newer versions of python. The old one does this: I wrote some code to monkeypatch suds 0.6 into behaving correctly:
(It's entirely possible the above code could be simplified - I just know that what I've written works.) IMO a better solution than #108 or trying to fix the broken reader code would be to just use a version of suds that's actually maintained, like suds-community. Or switch to zeep. But others have already suggested both these options in other issues. |
moved to suds-community since 13.0.11.1 |
Hi all, just chiming in to say I'm still getting this issue just in different form. I'm using Example:
No idea what's causing this, but it's clearly the Using Any amount of help would be excellent. |
As a follow up to the above, updating to the |
I'm not sure if this an issue or not, so I apology now if I'm in the wrong place.
Our server hit us with a "ran out of disk space", and when looking around found the tmp/suds folder being quite a few GBs inside.
Once the *.px files were deleted, everything returned to normal.
I know usually /tmp/ is cleared on reboot - but we try not to reboot our servers too often. Is it possible for me to avoid this via a function in the API, or do I just need to write a command that clears the tmp/suds director after we've used the Bing API.
Cheers
The text was updated successfully, but these errors were encountered: