From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: dominic christopher Newsgroups: gmane.os.tru64.managers Subject: SUMMARY:dt related errorlog fills up FS Date: Fri, 06 Jun 2003 23:12:46 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030607061246.74540.qmail@web41703.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054966269 18450 80.91.224.249 (7 Jun 2003 06:11:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2003 06:11:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sat Jun 07 08:11:08 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19OWux-0004nR-00 for ; Sat, 07 Jun 2003 08:11:08 +0200 Original-Received: (qmail 2405 invoked by uid 5); 7 Jun 2003 06:13:19 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2396 invoked by uid 49493); 7 Jun 2003 06:13:18 -0000 Original-Received: from dominicfree@yahoo.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-0.7/5.0):. Processed in 0.487085 secs); 07 Jun 2003 06:13:18 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 7 Jun 2003 06:13:18 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HG300BUCLA5TL@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 07 Jun 2003 02:13:17 -0400 (EDT) Original-Received: from web41703.mail.yahoo.com (web41703.mail.yahoo.com [66.218.93.120]) by emroute3.ornl.gov (PMDF V6.2 #30669) with SMTP id <0HG30054AL9AP0@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 07 Jun 2003 02:12:47 -0400 (EDT) Original-Received: from [219.65.21.24] by web41703.mail.yahoo.com via HTTP; Fri, 06 Jun 2003 23:12:46 -0700 (PDT) Original-To: tru64managers Xref: main.gmane.org gmane.os.tru64.managers:4463 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4463 Sincere thanks to Dr Tom Blinn and Andy Cohen for their help with this issue . The Problem: All of a sudden the /usr file system on a ES40 with tru64 4.0F and patchkit 7 , reached 101% and kept rising ,the server was crawling and apps slowed down . An initial investigation revealed that a dt (desktop) process gone haywire was logging errors to its errorlog file in the .dt subirectry. Nulling this file did not help , and only on killing the CDE desktop did the logging stop. I reproduce Dr Blinns suggestions as below : The "dt" subsystem is used extensively in CDE. The fact that the log was in a single user's directory (at least, that's what I *think* you wrote) says that something in that one user's CDE context was going wrong. "select" is a standard C library call, and is used in "polling" for I/O operations so that a program can manage multiple I/O streams without blocking, e.g., deal with multiple network links. Error code 22 is #define EINVAL 22 /* Invalid argument */ which suggests that some part of the "dt" ("dt" stands for, if I remember correctly, "desktop", as in "Common Desktop Environment") subsystem got into trouble, and wound up in an error loop where it kept trying to call "select" with a bad argument and failed to see that it was getting an error code from which it never recovered. This is an ugly bug, but it's a bug, and if you have a support contract, you should report it. There were LOTS of processes running on the system, you just did not know about most of them. If there are users logged in, they can have MANY processes, most of which are sitting idle most of the time, and with CDE, the "dt" subsystem is always there. There is probably no way to disable the logging. It's there so that you can find and fix such errors. Of course, when it goes wrong, it can be a problem in itself. If you managed to remove the log file and replace it with a symlink to /dev/null or with a directory instead of a simple file (as just two examples), it is likely that whatever CDE component is trying to append error messages to the log file would either append to /dev/null (with the symlink) or fail completely (with the directory). But this is not really a good idea. Another approach is to move the user directories off of /usr to a file system that's less likely to cause operational problems if it fills up completely. That's a good idea in general. Tom Andy Cohen said : you might be able to user 'fuser' to determine what process is writing to that file . Other associates suggested , this situation can arise when the system date/time is changed in multiuser mode , on a CDE system . The sysadmin informs me that he did indeed change the time on this system , and also on 2 more DS20E's which had CDE running , so it could be a random bug . sincere regards & thanks Dominic __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com