[Flask] (no subject)
mazzei.stephen.a at gmail.com
Mon Dec 18 22:29:38 EST 2017
So I am running into an interesting error and not sure how to go about
this. When running my application on my local laptop, the application runs
smooth, but dies on the test virtual machine. My laptop is a 4 core, 8Gb
machine, the test VM is 2 core 8GB.
>From what I can tell, is on one of the pages I am pulling back about 2000
records to be displayed. On my laptop, this is fine, but it looks like this
causes the VM to fail with an error code of 500 in the Apache logs.
[Mon Dec 18 15:55:34.130217 2017] [core:error] [pid 2649] [client
22.214.171.124:58877] Premature end of script headers: wsgi, referer:
[Mon Dec 18 15:55:34.131654 2017] [:error] [pid 2602] [remote
126.96.36.199:6748] mod_wsgi (pid=2602): Exception occurred processing WSGI
[Mon Dec 18 15:55:34.131725 2017] [:error] [pid 2602] [remote
188.8.131.52:6748] IOError: failed to write data
I'm not to sure where to go from here, or really what I need to do. I
supplied the wsgi and my Apache config below. Any help would be really
[root at vm]# cat wsgi
from usermanagement_app import usermanagement_app as application
application.debug = True
WSGIDaemonProcess usermanagement user=apache group=apache
WSGIScriptAlias /webtools/usermanagement /data/www/flask/
AuthLDAPURL blah blah blah
AuthName "Please enter Intranet username and Intranet password"
Stephen A. Mazzei
Systems Administrator | AFDS, ASRC Federal Data Solutions - P&G HPC Account
| 513-634-9965 <(513)%20634-9965>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flask