You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An incorrect worker type. The MyTardis front end for file uploads (development there is only one) should be set to the Gunicorn gevent worker. This allows for large stream file uploads, the default worker is designed for standard web content and will time out after 30 seconds by default. Please ensure that the environment variable GUNICORN_WORKER_CLASS=gevent is sent to the django application responsible for this type of process. You should be able to verify worker type from the startup logs.
The current version of MyTardis has reported that large file uploads using this method results in overly high process usage and has discouraged this method of upload for large file sets. Recommendation is to utilise a staging area with SCP or some other file transfer method and then a post upload worker to ingest files into permanent data location. It may be that running this on a development host has hit this current code limitation.
Adding a real life 3.2 GB .PvDatasets file fails about halfway through on my PC.
From the log:
I've asked Andrew for a list of recent file sizes generated by instrument users. A histogram should help us choose a suitable timeout.
The text was updated successfully, but these errors were encountered: