View Full Version : Attachment upload
w00fy
02-16-2019, 02:06 PM
Hello,
I am running vb 4.2.2 and having an issue attaching files larger than 60mb.
Attachments are stored in the file system.
my values are set at.
PHP 5.6.40
PHP Max Post Size 100 MB
PHP Maximum Upload Size 200 MB
PHP Memory Limit 500.00
The file I'm trying to attach is 85MB it get to about 51% then.
This site cant be reached The connection was reset.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_RESET
My host thinks it's because of the php version being to low, but I'm pretty sure I was able to upload more than this before they switch me to a new server so webuzo could be installed.
Anyone have any suggestion?
Thank you
snakes1100
02-16-2019, 02:21 PM
Did you verify the attachment type in the admincp allows the type of file you’re uploading to be that large?
Did you check the log files on the server?
w00fy
02-16-2019, 02:38 PM
Did you verify the attachment type in the admincp allows the type of file you?re uploading to be that large?
Did you check the log files on the server?
Hi snakes,
yes it's a zip and set to zip 238.42 MB
I just tried to upload again to get a fresh error log..this is it.
[Sat Feb 16 11:34:47.059119 2019] [proxy_fcgi:error] [pid 4181] (32)Broken pipe: [client my ip address:43944] AH01075: Error dispatching request to : (sending stdin), referer: https://legitfta.com/forum/newattachment.php?values[f]=116&contenttypeid=1&poststarttime=1550334467&posthash=88b9cccb84401761ec2fbf107e730db2
snakes1100
02-16-2019, 04:49 PM
You running php-fpm?
You'll need to up the timeouts for php-fpm
w00fy
02-16-2019, 07:32 PM
In the regular php I set it to
max_execution_time = 600 ; Maximum execution time of each script, in seconds
max_input_time = 600 ; Maximum amount of time each script may spend parsing request data
made no difference
not sure where to find php-fpm to edit
snakes1100
02-16-2019, 07:41 PM
No, in php-fpm.conf
--------------- Added 1550353408 at 1550353408 ---------------
You might need to adjust max children for php-fpm as well
w00fy
02-16-2019, 07:45 PM
where would I find this file to edit please.
snakes1100
02-16-2019, 07:49 PM
what mpm are you using worker, prefork or event
w00fy
02-16-2019, 07:50 PM
what mpm are you using worker, prefork or event
That is total over my head, sorry no idea what any of those terms mean.
snakes1100
02-16-2019, 07:51 PM
That depends on the server you're using, what panel you may be using etc.
If mlocate is installed: cmd: updatedb then run locate php-fpm.conf
or
find / -name php-fpm.conf -print
If this is cpanel, it controls php-fpm differently as well as plesk doing its thing.
--------------- Added 1550353986 at 1550353986 ---------------
[root@server src]# httpd -t -D DUMP_MODULES | grep mpm
mpm_prefork_module (shared)
w00fy
02-16-2019, 07:56 PM
I'm on a vps using webuzo as my control panel
snakes1100
02-16-2019, 07:59 PM
No idea on that CP.
Run the cmd's i gave you in SSH
w00fy
02-16-2019, 08:17 PM
I cant login from ssh
snakes1100
02-17-2019, 07:48 AM
Id suggest you look in the CP & see if it has a ssh terminal or settings for php-fpm & apache.
Try to rebuild apache with the prefork mpm if you can.
--------------- Added 1550397072 at 1550397072 ---------------
According to the webuzo demo, it shows you can enable & disable ssh, did you see if ssh is enabled?
http://demo.webuzo.com/enduser/index.php?act=ssh_access
w00fy
02-17-2019, 01:38 PM
Id suggest you look in the CP & see if it has a ssh terminal or settings for php-fpm & apache.
Try to rebuild apache with the prefork mpm if you can.
--------------- Added 1550397072 at 1550397072 ---------------
According to the webuzo demo, it shows you can enable & disable ssh, did you see if ssh is enabled?
http://demo.webuzo.com/enduser/index.php?act=ssh_access
Okay did the ssh and used the find command..this is what i got.
# find / -name php-fpm.conf -print
/var/softaculous/apps/php54/php-fpm.conf
/var/softaculous/apps/php53/php-fpm.conf
/var/softaculous/apps/php72/php-fpm.conf
/var/softaculous/apps/php55/php-fpm.conf
/var/softaculous/apps/php70/php-fpm.conf
/var/softaculous/apps/php56/php-fpm.conf
/var/softaculous/apps/php73/php-fpm.conf
/var/softaculous/apps/php71/php-fpm.conf
/usr/local/emps/etc/php-fpm.conf
/usr/local/webuzo/conf/webuzo/emps/php-fpm.conf
/usr/local/webuzo/conf/webuzo/php-fpm.conf
/usr/local/apps/backup/php56_20190216070304/etc/php-fpm.conf
/usr/local/apps/php56/etc/php-fpm.conf
snakes1100
02-17-2019, 07:42 PM
Its most likely using this one.
/usr/local/webuzo/conf/webuzo/php-fpm.conf
But do this cmd:
ps aux | grep php
The master php-fpm process should show what one its using.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.