• Resolved tbclark3

    (@tbclark3)


    I am consistently getting an “internal server error” when attempting to upload a large jpg (33 mb, 600 dpi). There are no errors in the logs even with php debugging enabled. This WP instance is running in a docker container. I own the server, and there are no practical limits on resources (512 GB of RAM, 32 processors, 64 threads). I have tried several different images that are roughly the same size. Each time the image uploads successfully, then says “processing” for a minute or so, followed by the error. It looks like it is encountering a limit, but it shouldn’t be. The PHP execution time limit is 15 minutes. I’m stumped and would appreciate a clue as to where to look.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    Install plugin https://downloads.www.ads-software.com/plugin/php-info-wp.1.0.3.zip and look at all parm with max in the name.
    Maybe it is max_input_time ?

    Thread Starter tbclark3

    (@tbclark3)

    Thanks for your prompt suggestion and for maintaining an excellent program! I couldn’t find anything wrong with my configuration, but I did find workarounds. For several of the images that initially failed, I opened them in gimp and re-exported them, and they were accepted. For the two largest images, I had to reduce the resolution from 600 to 300 dpi.

    Thread Starter tbclark3

    (@tbclark3)

    In case anybody else runs into this issue, the problem was with the following directive in mod_security:

    SecRule MULTIPART_UNMATCHED_BOUNDARY “!@eq 0” \
    “id:’200003′,phase:2,t:none,log,deny,status:44,msg:’Multipart parser detected a possible unmatched boundary.'”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘internal server error on large file’ is closed to new replies.