Hi Graham

Thanks for the rapid reply.

You will have to bear with me a bit as this is my first flask app... I've 
attached what I think you are asking for, plus a log file and my main 
app.py file. Probably a bit rough around the edges in places. The file 
attached is a zip file.

This is the only app running under httpd on this server by the way. And in 
checking the logs I noticed I have 4 PIDs, tending to indicate I have 4 
processes running. You'll probably see from my app that it really can only 
have one process running as I'm really only trying to do one thing, process 
images for upload to a DAM, and there is only one user doing this, me.

You will see the entries in the log file from yesterday morning showing an 
abort requested. I was the only user and had only one page open to run the 
app. You will see at 9.47 am the app reports there are 0 jobs running, and 
then 5 minutes later reports 1 job running 3 in the queue. That is 
accessing two global variables in app.py, phrasea_upload_runnables and 
upload_queue. What makes no sense at all is that both calls, 5 minutes 
apart should have been addressing the same variables with the same values. 
The PIDs on both those calls are the same.

One other thing I should mention. When we first ran into the performance 
issues caused by the huge directories, we tried running the app under 
nginx, which we never got working. nginx is installed but not running on 
the server. I included my nginx ini file which specifies 4 processes.

Thanks for taking the time to look this over.

Best regards,

Gary

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/0ad301ab-ff44-4b83-b261-4d9a2db0e33an%40googlegroups.com.

Attachment: phrasea_upload
Description: Zip archive

Reply via email to