mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #147] End of script output before headers: wsgi.py #123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vchrizz on GitHub (Nov 15, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/147
hi,
great project! works really well. just that i had to install apache2-mpm-prefork, else apache2 is eating up all ram, giving http500 errors if its not killed by the os.
besides that i see following messages in logs. its just notices but segfaults, so im unsure what to do about it, ignore it? actually im running debian/testing(jessie) but was getting the same messages on debian/stable(wheezy) too before upgrading.
/var/log/apache2/error.log:
[Fri Nov 15 14:02:42.165846 2013] [core:notice] [pid 3202:tid 139765969860416] AH00052: child pid 25487 exit signal Segmentation fault (11)
[Fri Nov 15 14:02:44.168478 2013] [core:notice] [pid 3202:tid 139765969860416] AH00052: child pid 25505 exit signal Segmentation fault (11)
[Fri Nov 15 14:03:41.223454 2013] [core:notice] [pid 3202:tid 139765969860416] AH00052: child pid 25526 exit signal Segmentation fault (11)
[Fri Nov 15 14:03:55.239019 2013] [core:notice] [pid 3202:tid 139765969860416] AH00052: child pid 25546 exit signal Segmentation fault (11)
[Fri Nov 15 14:05:17.325745 2013] [core:notice] [pid 3202:tid 139765969860416] AH00052: child pid 25566 exit signal Segmentation fault (11)
[Fri Nov 15 14:06:14.385470 2013] [core:notice] [pid 3202:tid 139765969860416] AH00052: child pid 25590 exit signal Segmentation fault (11)
/var/log/apache2/webvirtmgr-error_log:
[Fri Nov 15 14:02:43.733647 2013] [core:error] [pid 3208:tid 139765851744000] [client 1.2.3.4:49896] End of script output before headers: wsgi.py, referer: http://eleanor:8888/overview/1/
[Fri Nov 15 14:03:40.386321 2013] [core:error] [pid 3207:tid 139765868529408] [client 1.2.3.4:49897] End of script output before headers: wsgi.py, referer: http://eleanor:8888/overview/1/
[Fri Nov 15 14:03:54.888157 2013] [core:error] [pid 3208:tid 139765868529408] [client 1.2.3.4:49898] End of script output before headers: wsgi.py, referer: http://eleanor:8888/overview/1/
[Fri Nov 15 14:05:16.897018 2013] [core:error] [pid 3208:tid 139765843351296] [client 1.2.3.4:49900] End of script output before headers: wsgi.py, referer: http://eleanor:8888/overview/1/
[Fri Nov 15 14:05:16.897054 2013] [core:error] [pid 3207:tid 139765834958592] [client 1.2.3.4:49901] End of script output before headers: wsgi.py, referer: http://eleanor:8888/overview/1/
[Fri Nov 15 14:06:13.901109 2013] [core:error] [pid 3208:tid 139765752002304] [client 1.2.3.4:49923] End of script output before headers: wsgi.py, referer: http://eleanor:8888/overview/1/
@retspen commented on GitHub (Nov 17, 2013):
This problem only Ubuntu/Debian distro. I find this on https://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions
Apache Process Crashes
Q: Why when the mod_wsgi module is initially being loaded by Apache, do the Apache server processes crash with a 'segmentation fault'?
A: This is nearly always caused due to mod_python also being loaded by Apache at the same time as mod_wsgi and the Python installation not providing a shared library, or mod_python having originally being built against a static Python library. This is especially a problem with older Linux distributions before they started shipping with Python as a shared library.
@jansauerbrey commented on GitHub (Nov 18, 2013):
Hi,
I have the same problem with ubuntu 12.04.
I also remove mod_python (package: libapache2-mod-python) but nothing changed.
At the same time the following errors show up in the libvirt log:
2013-11-18 21:06:50.670+0000: 16090: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error
2013-11-18 21:06:52.982+0000: 16090: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error
2013-11-18 21:25:26.680+0000: 31465: error : virNetSocketReadWire:998 : Cannot recv data: Connection reset by peer
2013-11-18 21:25:28.958+0000: 31465: error : virNetSocketReadWire:1006 : End of file while reading data: Input/output error
Jan
@retspen commented on GitHub (Jan 30, 2014):
move to nginx and gunicorn + supervisor