Problem with the bigs files

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
Hello dear sir



I have a big problem when i upload 1 big file ( several hours).

The upload did not end because after a while, we are disconnected from the file host.



Have you a solution ?





Thank you
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Try adding the following line after session_name($Config->sessionName); in includes/master.inc.php:

Code:
session_set_cookie_params(60*60*24);
This should keep the session open for 24 hours.
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
adam said:
Try adding the following line after session_name($Config->sessionName); in includes/master.inc.php:

Code:
session_set_cookie_params(60*60*24);
This should keep the session open for 24 hours.
(60*60*24)24 it is for 24 hours ? If yes, I can increase the value?


Thank you, I try
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
I do not have the disconnect problem but for a 700 MB file, I have another problem.
When I get to + - 50%, there is an error and the upload restarts :roll: :roll:

for the littles files, no problem
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Can you check the settings detailed on this post:

http://forum.mfscripts.com/viewtopic.php?f=20&t=572
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
adam said:
Try adding the following line after session_name($Config->sessionName); in includes/master.inc.php:

Code:
session_set_cookie_params(60*60*24);
This should keep the session open for 24 hours.
It changes nothing. Same as before
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
yetisharemods said:
Also check the PHP settings

max_execution_time = 84600
max_input_nesting_level = 84600
max_input_time = 84600
It changes nothing. Same as before
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
adam said:
Can you check the settings detailed on this post:

http://forum.mfscripts.com/viewtopic.php?f=20&t=572
with check_host.php

I have:

PHP5 or more: Passed
Linux Operating System: Passed
PHP Session Support: Passed
PHP GD extension: Passed
PHP FreeType support: Passed
PHP JSON support: Passed
PHP Safe Mode OFF: Passed
PHP Memory Limit: Passed
PHP FTP support: Passed
PHP Curl Support: Passed
MySQL Connection Support: Passed
Apache ModRewrite Support: Possible Error - info
TMP Folder Size (3.94 GB): Notice - info
The maximum available storage within your tmp folder is 3.94 GB. PHP uses this folder for holding files while they are being uploaded by the user. If you plan to run our File Hosting Script, you'll need to increase this above the maximum file size you are permitting on your site. Please contact your host to do this.
How to Increase TMP Folder Size?
I know nothing about linux and I'm on a vps server. I have WHM


Thank you for your help
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
yetisharemods said:
What is the maximum file size you allow to be uploaded?
750 Mo max

I have tried to upload a file that night 608 MB and 1 h after disconnection and a message: Please login to upload :evil:
With littles files, it's work fine.

I tried with another script and no problem.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
If you want me to take a look for you, send me temp ftp access and admin login details via the contact form above. I'll run some tests today to try and fix it.
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
adam said:
If you want me to take a look for you, send me temp ftp access and admin login details via the contact form above. I'll run some tests today to try and fix it.
I have tried 3 times and each time this error:

ERROR: There was a server problem when attempting the upload, please try again later.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
It could be any number of things, for one your tmp folder is really small to allow for large files.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
See the notice on the check_host.php script:

TMP Folder Size (3.94 GB): Notice - info

You need to increase this to 20GB+ if you want to allow for larger files. Otherwise it'll quickly fill up with temp uploads. It might not be the cause of these issues but will need changing. You need to check all of these aswell:

http://forum.mfscripts.com/viewtopic.php?f=20&t=572
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
adam said:
See the notice on the check_host.php script:

TMP Folder Size (3.94 GB): Notice - info

You need to increase this to 20GB+ if you want to allow for larger files. Otherwise it'll quickly fill up with temp uploads. It might not be the cause of these issues but will need changing. You need to check all of these aswell:

http://forum.mfscripts.com/viewtopic.php?f=20&t=572
yes I checked and only the tmp is too small

But I do not know how to increase the tmp folder
 

tor-36182785

Member
YetiShare User
Jul 25, 2013
35
1
8
yetisharemods said:
How much space do you have on your vps?
You can find partition sizes by logging into root and running df -h
What operating system?
For space in the vps, see upload attachment
System centos 6.2 x86_64 kvm
 

Attachments