RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
What config to use for bigger files?

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Timmy



Joined: 10 Feb 2010
Posts: 146

PostPosted: Nov 18, 2011 9:48 am    Post subject: What config to use for bigger files? Reply with quote

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 Smile
Back to top
View user's profile Send private message
glumbo



Joined: 11 Mar 2011
Posts: 204
Location: US

PostPosted: Nov 18, 2011 9:59 am    Post subject: Reply with quote

The script doesn't use PHP settings. Change the timeout value in httpd.conf. The default is 60 seconds
Back to top
View user's profile Send private message Send e-mail
Timmy



Joined: 10 Feb 2010
Posts: 146

PostPosted: Nov 18, 2011 10:04 am    Post subject: Reply with quote

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
View user's profile Send private message
glumbo



Joined: 11 Mar 2011
Posts: 204
Location: US

PostPosted: Nov 18, 2011 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Timmy



Joined: 10 Feb 2010
Posts: 146

PostPosted: Nov 18, 2011 10:41 am    Post subject: Reply with quote

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
View user's profile Send private message
nyan



Joined: 28 Oct 2010
Posts: 121

PostPosted: Nov 18, 2011 6:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Timmy



Joined: 10 Feb 2010
Posts: 146

PostPosted: Nov 19, 2011 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
hostlife



Joined: 13 Aug 2011
Posts: 93

PostPosted: Nov 19, 2011 2:35 am    Post subject: Reply with quote

ServerLimit 600
MaxClients 600

These are your apache connections limits. Increase your request timed out times
Back to top
View user's profile Send private message
Timmy



Joined: 10 Feb 2010
Posts: 146

PostPosted: Nov 19, 2011 3:01 am    Post subject: Reply with quote

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
View user's profile Send private message
glumbo



Joined: 11 Mar 2011
Posts: 204
Location: US

PostPosted: Nov 19, 2011 6:18 am    Post subject: Reply with quote

Yes. Change timeout to 600 or higher
Back to top
View user's profile Send private message Send e-mail
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Nov 28, 2011 1:54 pm    Post subject: Reply with quote

throwing in my 2 cents

turn off keep alive - should help
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group