Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 10:15:22 GMT
From:      Alexander Yerenkow <yerenkow@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   gnu/185603: csh eats memory
Message-ID:  <201401091015.s09AFMGG006434@oldred.freebsd.org>
Resent-Message-ID: <201401091020.s09AK1Zr084355@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401091015.s09AFMGG006434>