Actually, it looks like i was chasing the wrong issue... It wasn't https 
after all.

Everything seems to be working after changing this line in apache 
default.conf:

WSGIDaemonProcess web2py user=www-data group=www-data processes=1 threads=1


to:

WSGIDaemonProcess web2py user=www-data group=www-data processes=5 threads=15



Is there any reason not to change this default setting from one-step 
deployment?  Can I likely set these values higher based on my hardware?

Thanks again,
Dave

On Wednesday, 29 July 2015 02:52:20 UTC-6, Niphlod wrote:
>
> uhm, you left out some pretty specific details.... what resources has the 
> server web2py is deployed on ? moreover, what's the size of the file ? and 
> what code are you using to handle the upload? are you using the default 
> 'upload' Field or is it in conjunction with a 'blob' one to store the file 
> on the database ?
>
> On Wednesday, July 29, 2015 at 4:59:29 AM UTC+2, Dave wrote:
>>
>>
>> I have this same behavior on multiple web2py servers.  If a large file is 
>> being uploaded using a SQLFORM or downloaded using the default download 
>> controller, over HTTPS, the entire web server becomes unresponsive until 
>> the transfer is completed or cancelled.  However, I have no issues 
>> uploading/downloading the same file over HTTP, which can also take several 
>> minutes to complete, but the web server is still responsive during those 
>> transfers.
>>
>> I am using the one-step deployment with Apache and a wildcard certificate 
>> (RapidSSL).  Would switching to nginx or cherokee give better performance 
>> for https file transfers, or is this likely an issue with the SSL 
>> certificate format?  Or if the file transfers over HTTPS are too CPU 
>> intensive, am i better off setting up multiple servers and a load balancer?
>>
>> Thanks!
>> Dave R
>>
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to