From owner-freebsd-questions@freebsd.org Sun Apr 14 16:38:28 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5927157A3FC for ; Sun, 14 Apr 2019 16:38:28 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mx3.webtent.net (mx3.webtent.net [208.38.145.5]) by mx1.freebsd.org (Postfix) with ESMTP id 10F6D7029A for ; Sun, 14 Apr 2019 16:38:26 +0000 (UTC) (envelope-from robert@webtent.org) Received: from localhost (localhost [127.0.0.1]) by mx3.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTP id 52064D82F3 for ; Sun, 14 Apr 2019 12:36:24 -0400 (EDT) Received: from mx3.webtent.net ([127.0.0.1]) by localhost (mx3.webtent.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 98942-01 for ; Sun, 14 Apr 2019 12:36:21 -0400 (EDT) Received: from [192.168.1.113] (unknown [96.254.71.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@mx3.webtent.net) by mx3.webtent.net (WebTent ESMTP Postfix Internet Mail Exchange) with ESMTPSA id D8EC1D8295 for ; Sun, 14 Apr 2019 12:36:20 -0400 (EDT) To: FreeBSD From: Robert Fitzpatrick Subject: Apache 2.4 timeout Message-ID: <9f6c499b-de53-9ae1-9c3d-326cb4e76e36@webtent.org> Date: Sun, 14 Apr 2019 12:36:21 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 PostboxApp/6.1.13 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: WebTent Mailguard 1.0.4_3 X-Rspamd-Queue-Id: 10F6D7029A X-Spamd-Bar: - X-Spamd-Result: default: False [-1.95 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.38.145.0/26]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[mx1.webtent.net,mx2.webtent.net,mx3.webtent.net]; DKIM_TRACE(0.00)[webtent.org:+]; DMARC_POLICY_ALLOW(-0.50)[webtent.org,reject]; RCVD_IN_DNSWL_MED(-0.20)[5.145.38.208.list.dnswl.org : 127.0.5.2]; NEURAL_HAM_SHORT(-0.68)[-0.682,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.16)[ip: (-0.39), ipnet: 208.38.128.0/18(-0.19), asn: 16724(-0.16), country: US(-0.06)]; ASN(0.00)[asn:16724, ipnet:208.38.128.0/18, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[webtent.org:s=201611]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FORGED_MUA_MOZILLA_MAIL_MSGID_UNKNOWN(2.50)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Apr 2019 16:38:29 -0000 I have a strange problem with a jQuery project on FreeBSD 11.2-p9 running Apache 2.4.39. The issue is easily duplicated by spinning up a new VM, install Apache and this file upload project: https://github.com/blueimp/jQuery-File-Upload/ The issue is the file upload give 'Unknown error' when uploading any file that exceeds exactly 22 seconds. After I download the project demo, I adjusted these settings in the demo app to allow a large mp4 video to be uploaded... acceptFileTypes: /(\.|\/)(gif|jpe?g|png|mp4)$/i, maxFileSize: 999000000, My tested example was a mp4 video file just over 200MB in size and gives the error after about 80% and exactly 22 seconds into the download. I did find this 'RequestReadTimeout' setting in Apache and set higher header and body settings: # RequestReadTimeout header=20-40,MinRate=500 body=20,MinRate=500 RequestReadTimeout header=60-120,MinRate=500 body=60,MinRate=500 But same result after an Apache restart. Can anyone suggest what is needed to get this project working? I have downloaded the project to another CentOS7 server where is works fine. -- Robert