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
[-- Attachment #1 --] On 10 Jun 2021, at 1:50, Daniel Dowse wrote: > On Wed, 9 Jun 2021 21:48:04 +0200 > Niels Kobschätzki <niels@kobschaetzki.net> wrote: > >> Hi, >> >> I have a weird problem on an old machine (FBSD 11.2, Apache 2.4, php 7.1 - >> please don’t ask): I am trying to upload files via a simple php-script. I am >> using mod_proxy_fcgi for connecting Apache to php-fpm. When I try to upload a >> file of a size between 63 and 64 KByte it works fine. As soon as the file 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’t get any new information out of that: [Thu Jun 10 09:14:58.652992 2021] [proxy:trace2] [pid 4186:tid 34504614656] proxy_util.c(2155): [client this.is.my.ip:62429] *: using default reverse proxy worker for fcgi://127.0.0.1:9000/usr/local/www/apache22/data/www.somedomain.de/path/general.php (no keepalive), referer: https://subw.somedomain.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/general.html [Thu Jun 10 09:14:58.653070 2021] [proxy_fcgi:debug] [pid 4186:tid 34504614656] 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.somedomain.de/path/general.html [Thu Jun 10 09:14:58.653109 2021] [proxy_fcgi:debug] [pid 4186:tid 34504614656] mod_proxy_fcgi.c(1028): [client this.is.my.ip:62429] AH01078: serving 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.html [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 fcgi://127.0.0.1:9000/usr/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.653249 2021] [proxy:debug] [pid 4186:tid 34504614656] proxy_util.c(2588): [client this.is.my.ip:62429] AH00947: connected /usr/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 34504614656] 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 34504614656] (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 between 63kb and 64kb is max) work. Niels [-- Attachment #2 --] 0 *H 010 + 0 *H [00ΠD1ᄊڏ5Bn$0 *H 010 UIT10UBergamo10UPonte San Pietro10U Actalis S.p.A.1,0*U#Actalis Client Authentication CA G30 210122070634Z 220122070634Z0!10Uniels@kobschaetzki.net0"0 *H 0 S= \f]rfA07dIm'/۲]9-bfy穌kKU7SK\jxuB<uEy*wg8Dy=Hh4IiVZcfɶUȱ|`0z{x>CVOn0})֬+S%yk&^ŋa#I>$b!/}-MﺺMt,$<C3_a 00U0 0U#0S} 2.2w0~+r0p0;+0/http://cacert.actalis.it/certs/actalis-autclig301+0%http://ocsp09.actalis.it/VA/AUTHCL-G30!U0niels@kobschaetzki.net0GU @0>0<+0200+$https://www.actalis.it/area-download0U%0++0HUA0?0=;97http://crl09.actalis.it/Repository/AUTHCL-G3/getLastCRL0U }hL!ھv0U0 *H ɘ*te;NfSpX 1K. QB{@69b@|w6o8ͦi6EB68\)!/nڑcsLOTHisvF@"{uvhjH =uB nYxbP-Xj[ޢn,QBR$,z_|? I60ESMpǣ@.ߣF"n Z2g2<WW3ECX1 md&eҶӪu뀬B;6I7sjt)ꑟo*+H; 8ٺ|FM*.[^HFZu 0ފ>aqMf<BN)ڪ/gc*Ro{y"yjE;aa~)cWe1h1 ͯ&""3\Bʎy?a0+Nl^fK,p/iy0m0U>=QCk0 *H 0k10 UIT10UMilan1#0!U Actalis S.p.A./033585209671'0%UActalis Authentication Root CA0 200706084547Z 300922112202Z010 UIT10UBergamo10UPonte San Pietro10U Actalis S.p.A.1,0*U#Actalis Client Authentication CA G30"0 *H 0 懖BU?"`_CIy/PF:Qaq)Z|z%PpD_p"P!PkV%)LlR^TN;pN/a`٥dy!l^$cCGZ .Ky: +=C+ߺbmٌG+eH%U3m4)|Զ4'cto,.ptT55Ԅ dYL:z/a+&QxQLupr4:3oHFN$i0pMJ}GSjuȵ4cg,KԬ"дӲR/2ly`!,fw` N&w&`lpSY\qd&EGx UWPCN y4]ELW;B($qH_,,)ŚI:C"&Z롽KE|ˆy3;~1Hx@gM֎1/ 00U00U#0R؈:ȟxf{8p60A+50301+0%http://ocsp05.actalis.it/VA/AUTH-ROOT0EU >0<0:U 0200+$https://www.actalis.it/area-download0U%0++0U00ldap://ldap05.actalis.it/cn%3dActalis%20Authentication%20Root%20CA,o%3dActalis%20S.p.A.%2f03358520967,c%3dIT?certificateRevocationList;binary0=;97http://crl05.actalis.it/Repository/AUTH-ROOT/getLastCRL0US} 2.2w0U0 *H &Y tUB;aWǦH"eZ)p|)Te{^fa?]1%x<,vlk1 w.}_oLf͛ݪј/~2XpޞŹ9ILvu9ۆSCnԎ)Ju# Zޘ(=/_.&B))">LIȲtޣ-!MPԲ>z7Hލo5QnfHͪT_7GfIVrGw{ R ZA#&}ZL=`\ۖI$:^Q5Wq7pԡ%w7!;3|ĹLD36/IT$KY}G/bl#=(ҜjPh2`tB#'%of~E x1219050010 UIT10UBergamo10UPonte San Pietro10U Actalis S.p.A.1,0*U#Actalis Client Authentication CA G3D1ᄊڏ5Bn$0 + y0 *H 1 *H 0# *H 1/L+IN-mϵ08 *H 1+0)0 `He0 *H 0*H 0 *H V{o;HЙ-{-R H{56,fB']ѼeDU Q4t[R!Ew?&˩҂C>0/ɐH_in ko)Ea:<1NpyyfDZ+ydGVs$B,Xbom0M-XqBϝ:J"TM>cbknhae4糝a bMClNX=QqXh]N>smaXy5&q50s
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2627438C-5CE0-490A-8542-59AA560361D3>
