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

sporadic "no space left on device" errors in API calls #808

Closed
rahulbot opened this issue Sep 24, 2021 · 4 comments
Closed

sporadic "no space left on device" errors in API calls #808

rahulbot opened this issue Sep 24, 2021 · 4 comments
Assignees
Labels

Comments

@rahulbot
Copy link
Contributor

I sporadically get "no space left on device" errors when making storyList calls via the API. An example from today:

"
mediacloud.error.MCException: (’Error - got a HTTP status code of 500 with the message “Internal Server Error”, body: {“error”:“Error(s): Caught exception in MediaWords::Controller::Api::V2::Stories->list \“Traceback (most recent call last):\n File \“/opt/mediacloud/src/common/python/mediawords/db/copy/copy_from.py\“, line 67, in end\n self.__temp_file_buffer.seek(0)\nOSError: [Errno 28] No space left on device\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \“/opt/mediacloud/src/common/python/mediawords/db/handler.py\“, line 729, in get_temporary_ids_table\n copy.end()\n File \“/opt/mediacloud/src/common/python/mediawords/db/copy/copy_from.py\“, line 73, in end\n raise McCopyFromException(\‘COPY FROM query failed: %s\’ % str(ex))\nmediawords.db.copy.copy_from.McCopyFromException: COPY FROM query failed: [Errno 28] No space left on device\“”}’, 500)
"

@rahulbot rahulbot added the bug label Sep 24, 2021
@rahulbot
Copy link
Contributor Author

Emily reports seeing this as well now :-(

@pypt
Copy link
Contributor

pypt commented Sep 24, 2021 via email

@rahulbot
Copy link
Contributor Author

Happening more often to me now :-(

@pypt
Copy link
Contributor

pypt commented Sep 24, 2021

We ran out of disk space on tarbell, turned out that it's a problem with creating a cache file for a library that does Chinese language tokenization, so moved to: #809

@pypt pypt closed this as completed Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants