@OhMaley Hello, I finally have the logs for the new Storage Analytics bug.
[2024-07-07 14:00:00,261: WARNING/MainProcess] Soft time limit (43200s) exceeded for analytics.tasks.create_storage_analytics_snapshot[...]
[2024-07-07 14:00:00,692: ERROR/ForkPoolWorker-2] Task analytics.tasks.create_storage_analytics_snapshot[...] raised unexpected: SoftTimeLimitExceeded()
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/celery/app/trace.py", line 382, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/celery/app/trace.py", line 641, in __protected_call__
return self.run(*args, **kwargs)
File "/app/src/apps/analytics/tasks.py", line 236, in create_storage_analytics_snapshot
submissiondetails_usage = users_submissions_details.filter(
File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 379, in aggregate
return query.get_aggregation(self.db, kwargs)
File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/query.py", line 489, in get_aggregation
result = compiler.execute_sql(SINGLE)
File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1142, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.8/encodings/utf_8.py", line 15, in decode
def decode(input, errors='strict'):
File "/usr/local/lib/python3.8/site-packages/billiard/pool.py", line 227, in soft_timeout_sighandler
raise SoftTimeLimitExceeded()
billiard.exceptions.SoftTimeLimitExceeded: SoftTimeLimitExceeded()
@OhMaley Hello, I finally have the logs for the new Storage Analytics bug.
Looks like an easy fix.