From owner-freebsd-questions@FreeBSD.ORG Mon Sep 24 12:37:24 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49E5516A421 for ; Mon, 24 Sep 2007 12:37:24 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from sarevok.dnr.servegame.org (b83183.upc-b.chello.nl [212.83.83.183]) by mx1.freebsd.org (Postfix) with ESMTP id 9B36013C448 for ; Mon, 24 Sep 2007 12:37:23 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (unknown [66.230.99.27]) by sarevok.dnr.servegame.org (Postfix) with ESMTP id 6F68EBD02; Mon, 24 Sep 2007 14:37:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 500F31CDEE; Mon, 24 Sep 2007 04:37:18 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Mon, 24 Sep 2007 14:37:14 +0200 User-Agent: KMail/1.9.7 References: <200709221052.41399.david@vizion2000.net> <20070922190041.GK7562@dan.emsphone.com> <200709240409.56605.david@vizion2000.net> In-Reply-To: <200709240409.56605.david@vizion2000.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709241437.16163.fbsd.questions@rachie.is-a-geek.net> Cc: Dan Nelson , David Southwell Subject: Re: stdout -determining size of?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2007 12:37:24 -0000 On Monday 24 September 2007 13:09:56 David Southwell wrote: > On Saturday 22 September 2007 12:00:41 Dan Nelson wrote: > > In the last episode (Sep 22), David Southwell said: > > > How is the the size of stdout controlled. > > > > > > My query comes about because I had a shell running for ages with > > > unlimited history and found it had gobbled uyp all the space available > > > to stdout!!! > > > > Could you provide the error message that made you think that stdout has > > a limit? "stdout" could be anything: tty, socket, pipe, file, etc. If > > you have redirected stdout from a script to a file, like "ls > ls.txt", > > then it's possible that you filled up a filesystem. > > Here is what made me ask the question: > ------------------------------ > Weekly output report: > > Cleaning up kernel database files: > > Rebuilding locate database: > locate.code: stdout: No space left on device Locate uses environment variable TMPDIR or /tmp if unset to build it's database. KDE uses /tmp/kde-$USER for some light-weight temporary files, I'm 99% sure Konsole's history is memory only, which is why I've set it to 1000 lines rather then the default unlimited (Settings -> History), because it can consume a very large ammount of memory. I'm thinking you ran outof swap or /tmp was full and then clearing Konsole's history is either a coincidence or Konsole stores history in /tmp/kde-$USER (allthough it doesn't on my machine). -- Mel