Skip to content

Apache reload/restart user process threads, which dumps entire file contents into apache error.log. #50

@Bjarke42

Description

@Bjarke42

We are experiencing problems with apache reload or restarts user process threads with the result that it dumps the entire file contents into apache error.log. T

This is when a user is uploading via Web interface. In the mig.log i only see lots of activity on /wsgi-bin/uploadchunked.py with INFO type messages. I do not see any mentioning of the file being dumped into error.log in mig.log, nor do i see any mentioning of restart or alike in mig.log

The docker log does not contain any information about restarting anything.

We discovered this because of very high IO load on your migrid frontend server on its own disks. Everything related to migrid is normally accessed via network attached storage not locally.

The following is an example of error.log:

NameError: name 'AttributeError' is not defined Exception ignored in: <bound method FieldStorage.__del__ of FieldStorage(None, None, [MiniFieldStorage('path', '/'), MiniFieldStorage('output_format', 'json'), MiniFieldStorage('flags', 'fa'), MiniFieldStorage('_', '1714470641092')])> Traceback (most recent call last):
  File "/usr/lib64/python3.6/cgi.py", line 574, in __del__
NameError: name 'AttributeError' is not defined Exception ignored in: <bound method FieldStorage.__del__ of FieldStorage(None, None, [MiniFieldStorage('output_format', 'json'), MiniFieldStorage('action', 'put'), MiniFieldStorage('share_id', 'undefined'), MiniFieldStorage('_csrf', '80fa3717782c3f1ae37df3c44a04108b4ce45a002525d0be17f146111488e879'), FieldStorage('current_dir', None, './<directory>/'), FieldStorage('files[]', '<filename>', b'*?\t]F\xae\xa0

<very long binary data output into file>

Traceback (most recent call last):
  File "/usr/lib64/python3.6/cgi.py", line 574, in __del__
NameError: name 'AttributeError' is not defined Exception ignored in: <bound method FieldStorage.__del__ of FieldStorage(None, None, [MiniFieldStorage('path', '<directory>/'), MiniFieldStorage('output_format', 'json'), MiniFieldStorage('flags', 'fa'), MiniFieldStorage('_', '1714470641097')])> Traceback (most recent call last):
  File "/usr/lib64/python3.6/cgi.py", line 574, in __del__
NameError: name 'AttributeError' is not defined

@jonasbardino found the following apache mod-wsgi could be related problems: Python issue, django and mod_wsgi

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions