| View previous topic :: View next topic |
| Author |
Message |
Timmy
Joined: 10 Feb 2010 Posts: 146
|
Posted: Nov 18, 2011 9:48 am Post subject: What config to use for bigger files? |
|
|
Hello guys,
Can someone help me?
Is possible to upload 4.6GB files with this script?
I cant upload bigger files...
The max filesize that I uploaded was 3.6GB
I changed my php.ini first to:
post_max_size 10240M
upload_max_filesize 10240M
But got problems with all my websites that I have in the server... login problems for example...
Then I tried and worked for file 3.6GB but with 4.6GB the upload bar stops:
post_max_size 5120M
upload_max_filesize 5120M
What do you suggest?
Do I need to edit any config also?
helppppppp  |
|
| Back to top |
|
 |
glumbo
Joined: 11 Mar 2011 Posts: 204 Location: US
|
Posted: Nov 18, 2011 9:59 am Post subject: |
|
|
| The script doesn't use PHP settings. Change the timeout value in httpd.conf. The default is 60 seconds |
|
| Back to top |
|
 |
Timmy
Joined: 10 Feb 2010 Posts: 146
|
Posted: Nov 18, 2011 10:04 am Post subject: |
|
|
I change the values here:
WHM Main >> Service Configuration >> PHP Configuration Editor
What is that? max_execution_time ?
Already have 60, but dont work for 4.6GB files
What value to use in memory_limit ? |
|
| Back to top |
|
 |
glumbo
Joined: 11 Mar 2011 Posts: 204 Location: US
|
Posted: Nov 18, 2011 10:30 am Post subject: |
|
|
| It's in httpd.conf. I don't know where it is in WHM. You need to set it higher than 60 |
|
| Back to top |
|
 |
Timmy
Joined: 10 Feb 2010 Posts: 146
|
Posted: Nov 18, 2011 10:41 am Post subject: |
|
|
You are talking about max_execution_time right?
What value do you suggest?
I tried 300 but download was very very slowwww... |
|
| Back to top |
|
 |
nyan
Joined: 28 Oct 2010 Posts: 121
|
Posted: Nov 18, 2011 6:29 pm Post subject: |
|
|
Sure is hard to understand `THIS SCRIPT DOES NOT USE PHP`
edit the `connection timeout` setting to 600 or so for your filehosting domain in either httpd.conf apache2.conf or via whm. |
|
| Back to top |
|
 |
Timmy
Joined: 10 Feb 2010 Posts: 146
|
Posted: Nov 19, 2011 1:34 am Post subject: |
|
|
Thank you for your reply nyan...
Is this?
| Quote: | WHM Main >> Service Configuration >> Apache Configuration >> Global Configuration
 |
By changing 300 to 600?
Btw, I have this values at:
| Quote: | WHM Main >> Service Configuration >> Apache Configuration >> Include Editor >> Pre Main Include >> All Versions:
ServerLimit 600
MaxClients 600
#MinSpareServers 10
#MaxSpareServers 30
StartServers 20
MaxRequestsPerChild 0
Timeout 50
KeepAlive On
KeepAliveTimeout 5
MaxKeepAliveRequests 150 |
Where do I change? The first one or second one? |
|
| Back to top |
|
 |
hostlife
Joined: 13 Aug 2011 Posts: 93
|
Posted: Nov 19, 2011 2:35 am Post subject: |
|
|
ServerLimit 600
MaxClients 600
These are your apache connections limits. Increase your request timed out times |
|
| Back to top |
|
 |
Timmy
Joined: 10 Feb 2010 Posts: 146
|
Posted: Nov 19, 2011 3:01 am Post subject: |
|
|
Thank you for your reply hostlife!
But where do I change? Here?
WHM Main >> Service Configuration >> Apache Configuration >> Include Editor >> Pre Main Include >> All Versions
And what values do you suggest?
The upload bar don't stop always in the same percentage... sometimes freezes at 57%, other times on 95%, 97%, ... weird. |
|
| Back to top |
|
 |
glumbo
Joined: 11 Mar 2011 Posts: 204 Location: US
|
Posted: Nov 19, 2011 6:18 am Post subject: |
|
|
| Yes. Change timeout to 600 or higher |
|
| Back to top |
|
 |
GMC
Joined: 15 Aug 2009 Posts: 172
|
Posted: Nov 28, 2011 1:54 pm Post subject: |
|
|
throwing in my 2 cents
turn off keep alive - should help |
|
| Back to top |
|
 |
|