From owner-freebsd-bugs Sat Feb 14 16:10:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16412 for freebsd-bugs-outgoing; Sat, 14 Feb 1998 16:10:03 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16386; Sat, 14 Feb 1998 16:10:01 -0800 (PST) (envelope-from gnats) Received: from sasquatch.dannyland.org (sasquatch.dannyland.org [207.229.158.70]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15537 for ; Sat, 14 Feb 1998 16:05:16 -0800 (PST) (envelope-from dannyman@sasquatch.dannyland.org) Received: (from dannyman@localhost) by sasquatch.dannyland.org (8.8.8/8.8.5) id NAA09135; Sat, 14 Feb 1998 13:31:59 -0600 (CST) Message-Id: <199802141931.NAA09135@sasquatch.dannyland.org> Date: Sat, 14 Feb 1998 13:31:59 -0600 (CST) From: Dannyman Reply-To: dannyman@sasquatch.dannyland.org To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: dannyman@sasquatch.dannyland.org X-Send-Pr-Version: 3.2 Subject: bin/5747: ld.so error message Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5747 >Category: bin >Synopsis: ld.so error message >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 14 16:10:01 PST 1998 >Last-Modified: >Originator: Dannyman >Organization: >Release: FreeBSD 2.2.5-STABLE i386 >Environment: >Description: While a user was running a script for sending a large number of email messages to his customers, the system ran across limits on the number of files it could hold open; Feb 13 18:23:11 sasquatch syslogd: /dev/console: Too many open files in system: Too many open files in system Feb 13 18:23:11 sasquatch syslogd: /var/run/utmp: Too many open files in system Feb 13 18:23:11 sasquatch syslogd: /var/run/utmp: Too many open files in system Feb 13 18:23:11 sasquatch /kernel: file: table is full Feb 13 18:23:11 sasquatch syslogd: /var/run/utmp: Too many open files in system Feb 13 18:23:11 sasquatch last message repeated 3 times Feb 13 18:23:11 sasquatch /kernel: file: table is full Feb 13 18:23:11 sasquatch last message repeated 8 times As a result, the user's script returned an error when opening a pipe to sendmail; ld.so failed: Can't find shared library "libutil.so.2.2" After receiving a message from this user, I investigated the trouble and figured out that it wasn't that libutil wasn't found, but more likely that it could not be opened. >How-To-Repeat: >Fix: I'm not sure how ld's algorithm pans out, but it may be more helpful if it could return a more accurate error message under any condition where the shared library is present, but can not be opened. Any competent sysadmin should be able to second-guess such an error though by consulting /var/log/messages, so I wouldn't worry too much. :) You guys are great! dannyman >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message