vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Attachment upload (https://vborg.vbsupport.ru/showthread.php?t=327094)

w00fy 02-16-2019 02:06 PM

Attachment upload
 
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 can’t 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

Quote:

Originally Posted by snakes1100 (Post 2598501)
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&post hash=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 [DATE]1550353408[/DATE] at [TIME]1550353408[/TIME] ---------------

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

Quote:

Originally Posted by snakes1100 (Post 2598511)
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 [DATE]1550353986[/DATE] at [TIME]1550353986[/TIME] ---------------

[root@server src]# httpd -t -D DUMP_MODULES | grep mpm
mpm_prefork_module (shared)


All times are GMT. The time now is 06:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01072 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete