From owner-freebsd-questions Thu Jan 6 12: 4:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (Postfix) with ESMTP id 575FC155D7; Thu, 6 Jan 2000 12:04:18 -0800 (PST) (envelope-from anwsmh@IPAustralia.Gov.AU) Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.9.3/8.9.3) id HAA05778; Fri, 7 Jan 2000 07:04:15 +1100 (EST) (envelope-from anwsmh@IPAustralia.Gov.AU) Received: from wf-156.aipo.gov.au(192.168.1.156) by pericles.IPAustralia.gov.au via smap (V2.0) id xma005776; Fri, 7 Jan 00 07:04:03 +1100 Received: from localhost (anwsmh@localhost) by stan.aipo.gov.au (8.9.3/8.9.3) with ESMTP id HAA00364; Fri, 7 Jan 2000 07:04:01 +1100 (EST) (envelope-from anwsmh@IPAustralia.Gov.AU) X-Authentication-Warning: stan.aipo.gov.au: anwsmh owned process doing -bs Date: Fri, 7 Jan 2000 07:04:00 +1100 (EST) From: Stanley Hopcroft X-Sender: anwsmh@stan.aipo.gov.au To: isp@freebsd.org Cc: questions@freebsd.org Subject: read() fails (called from apache 1.3.9) on FreeBSD 3.2-RELEASE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Ladies and Gentlemen, I am writing to ask your help with an intermittent problem with I think the read() system call in FreeBSD 3.2-RELEASE. Apache 1.3.9 reports ap_bgets() returned length -1 when it reads large (order 1 MB) RFC 1867 file uploads from a fill-out form (NB apache does not use CGI to read the form. This apache proxys the request to a server that processes the form). My reading of the apache code is that ap_bgets() (defined in src/main/buff.c) ultimately uses the system call read(). The problem host is a Dell 4300 with one 450Mhz CPU, 1 GB of memory, and I think the load average is no more than 0.1. The kernel defines 256 users. What should I do ? Thank you, Yours sincerely Network Specialist IP Australia +61 2 6283 3189 +61 2 6281 1353 FAX To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message