From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 9 10:20:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C89D48FC for ; Thu, 9 Jan 2014 10:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8B287134F for ; Thu, 9 Jan 2014 10:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s09AK1PX084356 for ; Thu, 9 Jan 2014 10:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s09AK1Zr084355; Thu, 9 Jan 2014 10:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 9 Jan 2014 10:20:01 GMT Resent-Message-Id: <201401091020.s09AK1Zr084355@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Yerenkow Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D4D2859 for ; Thu, 9 Jan 2014 10:15:22 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69A89131B for ; Thu, 9 Jan 2014 10:15:22 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s09AFMJ1006441 for ; Thu, 9 Jan 2014 10:15:22 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s09AFMGG006434; Thu, 9 Jan 2014 10:15:22 GMT (envelope-from nobody) Message-Id: <201401091015.s09AFMGG006434@oldred.freebsd.org> Date: Thu, 9 Jan 2014 10:15:22 GMT From: Alexander Yerenkow To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: gnu/185603: csh eats memory X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2014 10:20:01 -0000 >Number: 185603 >Category: gnu >Synopsis: csh eats memory >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 09 10:20:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Alexander Yerenkow >Release: 9.2-STABLE >Organization: >Environment: FreeBSD r259673 9.2-STABLE FreeBSD 9.2-STABLE #0 r259676: Sat Dec 21 12:16:42 EET 2013 root@testf9s:/usr/obj/zbuilder/src/src-stable-9-clone/sys/GENERIC amd64 >Description: csh launching eats more and more memory each time. #first times - mem is low, but when I launch 4-5 csh-es in tmux, each time i relogin (with csh default shell) I see this: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 99711 root 1 52 0 105M 70600K pause 2 0:01 4.98% csh 99717 root 1 52 0 173M 127M pause 3 0:02 7.96% csh 99724 root 1 52 0 305M 228M pause 2 0:03 7.96% csh After this, I killed all cshes, changed default shell to /bin/sh: # ps ax | grep csh | grep -v grep # Again launch csh: 99782 root 1 52 0 313M 235M pause 1 0:03 17.97% csh I have plenny of ram - about 1.5Gb of free ram in normal state, and I don't have swap at all. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: