Project

General

Profile

Actions

Bug #3194

closed

Upload of large files (350MiB) fails after approx. 180MiB uwing v1.4.67 with PHP 8.1.2

Added by stadler about 1 year ago. Updated 4 months ago.

Status:
Invalid
Priority:
Normal
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

We have 2 (custom) embedded Linux systems:

1. ARM32 using lighttpd v1.4.55 and PHP 7.4.28 -> OK
2. ARM64 using lighttpd v1.4.67 and PHP 8.1.12 -> Upload stops

Both systems have and identical lighttpd.conf and php.ini (attached)

We need to upload files with a size of approx. 350MiB to /tmp/

System 1 works as expected, system-2 stops the upload after approx. 180MiB
Space om /tmp/ is not an issue, system-2 has even more available than system 1.
We have some other systems with even older versions, those work fine as well.

Any suggestion what this might be, or where to look/how to debug ?


Files

lighttpd.conf (11.3 KB) lighttpd.conf stadler, 2023-03-03 08:26
php.ini (69 KB) php.ini stadler, 2023-03-03 08:26

Related issues 1 (0 open1 closed)

Has duplicate Bug #3195: Upload of large files (350MiB) fails after approx. 180MiB using v1.4.69 with PHP 8.1.2 (re-created)DuplicateActions
Actions #1

Updated by gstrauss about 1 year ago

strace of lighttpd during the failure might be useful.

Have you tried with lighttpd 1.4.69?

Actions #2

Updated by gstrauss about 1 year ago

You did not attach the lighttpd config. You attached only the top-level lighttpd.conf file.
Please review How to get support and HowToReportABug

Actions #3

Updated by gstrauss about 1 year ago

include_shell "find /etc/lighttpd.d -maxdepth 1 -name '*.conf' -exec cat {} \;"
should be more simply
include "/etc/lighttpd.d/*.conf" since lighttpd 1.4.40 (#1221), released 6 1/2 years ago.

This should also be removed, as it was an ancient workaround for ancient bad pdf clients

$HTTP["url"] =~ "\.pdf$" {
  server.range-requests = "disable" 
}

Actions #4

Updated by gstrauss about 1 year ago

How is lighttpd configured and built on your system? Please share the ./configure command.

lighttpd 1.4.67 ignores --disable-lfs following an issue on an embedded system. See #3171

Actions #5

Updated by gstrauss about 1 year ago

  • Status changed from New to Need Feedback
Actions #6

Updated by gstrauss about 1 year ago

  • Status changed from Need Feedback to Missing Feedback
Actions #7

Updated by gstrauss about 1 year ago

  • Target version deleted (1.4.xx)
Actions #8

Updated by gstrauss about 1 year ago

  • Has duplicate Bug #3195: Upload of large files (350MiB) fails after approx. 180MiB using v1.4.69 with PHP 8.1.2 (re-created) added
Actions #9

Updated by gstrauss 4 months ago

  • Status changed from Missing Feedback to Invalid

User Error. See #3195

Actions

Also available in: Atom