Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 57991 invoked by uid 500); 14 Jul 2000 17:41:56 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 57940 invoked from network); 14 Jul 2000 17:41:54 -0000 Sender: greg@raleigh.ibm.com Message-ID: <396F509E.B2297631@raleigh.ibm.com> Date: Fri, 14 Jul 2000 13:40:46 -0400 From: Greg Ames X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14-15mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: "new-httpd@apache.org" Subject: logging APR errors Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I got the following while trying to get mod_file_cache working on Linux: [Tue Jul 04 17:13:59 2000] [error] [client 127.0.0.1] (22)Invalid argument: mod_file_cache: iol_sendfile failed. Can you tell what failed without running a debugger? This doesn't even point me to the failing file. But that part is easy - you know it's Linux, so iol_sendfile always invokes ap_sendfile. If you go there, you will see 7 syscalls or APR calls for the current Linux flavor. So which one failed? Unfortunately, most of these 7 are network related which means they could fail in production. There's gotta be a better way. I have some thoughts but would like to hear other opinions first. Thanks, Greg