Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2021 09:20:47 +0200
From:      "Niels =?utf-8?q?Kobsch=C3=A4tzki?=" <niels@kobschaetzki.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Weird problem with Apache and php
Message-ID:  <2627438C-5CE0-490A-8542-59AA560361D3@kobschaetzki.net>
In-Reply-To: <20210610015004.45e58f794a80327651facaab@daemonbytes.net>
References:  <FACFB856-BF42-42AE-953F-F801F17EED88@kobschaetzki.net> <20210610015004.45e58f794a80327651facaab@daemonbytes.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an S/MIME signed message (RFC 5652 and 5751).

--=_MailMate_0C0C0EF0-7FE4-4BB7-A76B-96E5091D05B3_=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On 10 Jun 2021, at 1:50, Daniel Dowse wrote:

> On Wed, 9 Jun 2021 21:48:04 +0200
> Niels Kobsch=C3=A4tzki <niels@kobschaetzki.net> wrote:
>
>> Hi,
>>
>> I have a weird problem on an old machine (FBSD 11.2, Apache 2.4, php 7=
=2E1 -
>> please don=E2=80=99t ask): I am trying to upload files via a simple ph=
p-script. I am
>> using mod_proxy_fcgi for connecting Apache to php-fpm. When I try to u=
pload a
>> file of a size between 63 and 64 KByte it works fine. As soon as the f=
ile is
>> 1 Byte bigger the following happens: [snip]
>
> Hi niels,
>
> i would suggest to look at mod_reqtimeout and continue with loglevel
> debug/trace.

I tried it and didn=E2=80=99t get any new information out of that:

[Thu Jun 10 09:14:58.652992 2021] [proxy:trace2] [pid 4186:tid 3450461465=
6] proxy_util.c(2155): [client this.is.my.ip:62429] *: using default reve=
rse proxy worker for fcgi://127.0.0.1:9000/usr/local/www/apache22/data/ww=
w.somedomain.de/path/general.php (no keepalive), referer: https://subw.so=
medomain.de/path/general.html
[Thu Jun 10 09:14:58.653035 2021] [proxy:debug] [pid 4186:tid 34504614656=
] mod_proxy.c(1247): [client this.is.my.ip:62429] AH01143: Running scheme=
 fcgi handler (attempt 0), referer: https://subw.somedomain.de/path/gener=
al.html
[Thu Jun 10 09:14:58.653070 2021] [proxy_fcgi:debug] [pid 4186:tid 345046=
14656] mod_proxy_fcgi.c(1019): [client this.is.my.ip:62429] AH01076: url:=
 fcgi://127.0.0.1:9000/usr/local/www/apache22/data/www.somedomain.de/path=
/general.php proxyname: (null) proxyport: 0, referer: https://subw.somedo=
main.de/path/general.html
[Thu Jun 10 09:14:58.653109 2021] [proxy_fcgi:debug] [pid 4186:tid 345046=
14656] mod_proxy_fcgi.c(1028): [client this.is.my.ip:62429] AH01078: serv=
ing URL fcgi://127.0.0.1:9000/usr/local/www/apache22/data/www.somedomain.=
de/path/general.php, referer: https://subw.somedomain.de/path/general.htm=
l
[Thu Jun 10 09:14:58.653160 2021] [proxy:debug] [pid 4186:tid 34504614656=
] proxy_util.c(2325): AH00942: FCGI: has acquired connection for (*)
[Thu Jun 10 09:14:58.653204 2021] [proxy:debug] [pid 4186:tid 34504614656=
] proxy_util.c(2379): [client this.is.my.ip:62429] AH00944: connecting fc=
gi://127.0.0.1:9000/usr/local/www/apache22/data/www.somedomain.de/path/ge=
neral.php to 127.0.0.1:9000, referer: https://subw.somedomain.de/path/gen=
eral.html
[Thu Jun 10 09:14:58.653249 2021] [proxy:debug] [pid 4186:tid 34504614656=
] proxy_util.c(2588): [client this.is.my.ip:62429] AH00947: connected /us=
r/local/www/apache22/data/www.somedomain.de/path/general.php to 127.0.0.1=
:9000, referer: https://subw.somedomain.de/path/general.html
[Thu Jun 10 09:14:58.653306 2021] [proxy:trace2] [pid 4186:tid 3450461465=
6] proxy_util.c(3022): FCGI: fam 2 socket created to connect to *
[Thu Jun 10 09:14:58.653552 2021] [proxy:debug] [pid 4186:tid 34504614656=
] proxy_util.c(3054): AH02824: FCGI: connection established with 127.0.0.=
1:9000 (*)
[Thu Jun 10 09:15:18.299256 2021] [proxy_fcgi:error] [pid 4186:tid 345046=
14656] (54)Connection reset by peer: [client this.is.my.ip:62429] AH01075=
: Error dispatching request to : (reading input brigade), referer: https:=
//subw.somedomain.de/path/general.html
[Thu Jun 10 09:15:18.299303 2021] [proxy:debug] [pid 4186:tid 34504614656=
] proxy_util.c(2340): AH00943: FCGI: has released connection for (*)

We are talking about uploading currently relatively small files with less=
 than 500kb that even do not work. Only very small files (somewhere betwe=
en 63kb and 64kb is max) work.

Niels
--=_MailMate_0C0C0EF0-7FE4-4BB7-A76B-96E5091D05B3_=
Content-Description: S/MIME digital signature
Content-Disposition: attachment; filename=smime.p7s
Content-Type: application/pkcs7-signature; name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIINWzCCBeYw
ggPOoAMCAQICEEQx7762+9qPNbtCbq4eJM4wDQYJKoZIhvcNAQELBQAwgYExCzAJBgNVBAYTAklU
MRAwDgYDVQQIDAdCZXJnYW1vMRkwFwYDVQQHDBBQb250ZSBTYW4gUGlldHJvMRcwFQYDVQQKDA5B
Y3RhbGlzIFMucC5BLjEsMCoGA1UEAwwjQWN0YWxpcyBDbGllbnQgQXV0aGVudGljYXRpb24gQ0Eg
RzMwHhcNMjEwMTIyMDcwNjM0WhcNMjIwMTIyMDcwNjM0WjAhMR8wHQYDVQQDDBZuaWVsc0Brb2Jz
Y2hhZXR6a2kubmV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoYTdU+qtPQ1cZl1y
E+gYZqBBMOvuN2QDEoWIqPsEiUmcBW0nEIX9LxHbstzO0etdOfEELWIGjQKav7uimGbqeeepjPxr
t/dLVTdTSwW4XJHoiO9qeOUdA3VC8jy5gnV/lstFswyheQi1p8KN5yp3wA5nOKZEeT1IkGjjNBVJ
8NDcaa5WWqK8Y2axAcm2FvEVVQHIsXzyYDB6e514HuU+QwRWT26juzB9iwIprAXWrCtTJXmwa8Tp
FCbT4xxeEsXhwMWLC2EjpROTxkmtfz4ktaKIYiEZmq2BL32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b3DQEJDzErMCkwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3
DQMCAgIAgDANBgkqhkiG9w0BAQUFAASCAQBWwbTFwHtvtjtI4Rm70JktAeG7/3stEAVSAEiIe5k1
4DYsj4ZmQvInXf3r0bzQZZz2RFUJUTSdr4wW73RbUiEO7NMIAUV3Px4m2sup0oJDPjAvvv4cyZBI
zg/aXwRpDIS45eVuDiC+A7Vrb7fQ2RUBKUVhHzo8MRmX305w0nnPeeX0vKNmx7Ermsl5ZEfSVnMk
6fZCLIrRWB5im+xvjW2aME0t86/4WJxxAkILz50ZOkoiVE2MPsr2Y2JrEG5oYWU057Od0OTUYQkJ
r7tiTZZD14gVnGxO0hhYPd3/UXHtqlho4uiIXU7bPotzBm1hWJ159DUmHhBxHZUFlzUwuapzAAAA
AAAA
--=_MailMate_0C0C0EF0-7FE4-4BB7-A76B-96E5091D05B3_=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2627438C-5CE0-490A-8542-59AA560361D3>