[wsgi:info] [pid 8691:tid 139935800280832] [remote 2806:10be:a:1253:c80c:b395:242c:5334:4326] mod_wsgi (pid=8691, process='MyProject', application=''): Loading WSGI script '/home/axel/MyProjectProject/MyProject/MyProject/wsgi.py'.
[core:notice] [pid 7681:tid 139935929101248] AH00051: child pid 8642 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[wsgi:info] [pid 8718:tid 139935929101248] mod_wsgi (pid=8718): Attach interpreter ''.
[wsgi:info] [pid 8718:tid 139935929101248] mod_wsgi (pid=8718): Adding '/home/axel/MyProjectProject/MyProject' to path.
[wsgi:error] [pid 7891:tid 139935646435072] [client 2806:10be:a:1253:c80c:b395:242c:5334:4326] Truncated or oversized response headers received from daemon process 'MyProject': /home/axel/MyProjectProject/MyProject/MyProject/wsgi.py, referer: https://MyProject.net/es/login/
I check a few solutions for this in serverfault or Stack Overflow and I add some new things for my Apache conf like 'WSGIApplicationGroup %{GLOBAL}' or 'processes=5 threads=15 display-name=%{GROUP} user=www-data group=www-data' in WSGIDaemonProcess but nothing works (of course I restart Apache service every time I change something).
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/html
ServerAlias MyProject.net
ServerAlias www.MyProject.net
LogLevel info ssl:warn
Alias /res /home/axel/MyProjectProject/MyProject/res
<Directory /home/axel/MyProjectProject/MyProject/res>
Require all granted
</Directory>
Alias /media /home/axel/MyProjectProject/MyProject/media
<Directory /home/axel/MyProjectProject/MyProject/media>
Require all granted
</Directory>
<Directory /home/axel/MyProjectProject/MyProject/MyProject>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
<Directory /home/axel/MyProjectProject>
<Files metrics.csv>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess MyProject python-home=/home/axel/MyProjectProject/MyProjectVenv python-path=/home/axel/MyProjectProject/MyProject processes=5 threads=15 display-name=%{GROUP} user=www-data group=www-data
WSGIApplicationGroup %{GLOBAL}
#WSGIProcessGroup %{GLOBAL}
WSGIProcessGroup MyProject
WSGIScriptAlias / /home/axel/MyProjectProject/MyProject/MyProject/wsgi.py
RewriteEngine on
</VirtualHost>
</IfModule>
This is the list of dependency in Django:
Package Version
------------------- ---------
certifi 2018.4.16
chardet 3.0.4
coreapi 2.3.3
coreschema 0.0.4
Django 2.0.5
django-filter 1.1.0
django-rest-swagger 2.2.0
django-rosetta 0.8.1
djangorestframework 3.8.2
html5lib 1.0.1
httplib2 0.11.3
idna 2.7
itypes 1.1.0
Jinja2 2.10
lxml 4.2.5
MarkupSafe 1.0
microsofttranslator 0.8
openapi-codec 1.3.2
Pillow 5.1.0
pip 18.1
pkg-resources 0.0.0
polib 1.1.0
psycopg2-binary 2.7.4
PyPDF2 1.26.0
python-docx 0.8.7
pytz 2018.5
reportlab 3.5.6
requests 2.19.1
setuptools 39.0.1
simplejson 3.16.0
six 1.11.0
uritemplate 3.0.0
urllib3 1.23
webencodings 0.5.1
xhtml2pdf 0.2.2
XlsxWriter 3.0.1
I'm not using PHP or anything, is just Django, PostgreSQL and javascript
--
You received this message because you are subscribed to the Google Groups "modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/89f4f197-da11-4559-bb0e-4b27d68d3299n%40googlegroups.com.
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2022-06-23T12:51:37
Do you think that could be the reason?
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/86b7060a-f14f-4180-9c0c-066734c4c655n%40googlegroups.com.
On 25 Aug 2022, at 8:46 am, Jose Luis Arrioja <jose...@utopia-software.com> wrote:
Did it only happen the once, or is it reproducible?If you are asking me, the problem is persistent?, yes, I no longer have access to my project, if it is about updating packages command, the server admin tells me that command execute daily.About the memory, I don't know, because I don't see anything like 'Out of memory allocated' in the Apache logs recently:
<Captura de Pantalla 2022-08-24 a la(s) 5.36.27 p. m..png>
To view this discussion on the web visit https://groups.google.com/d/msgid/modwsgi/434302b5-53bd-4436-ad3f-9ced50ea5990n%40googlegroups.com.