Date: Thu, 14 Sep 2023 07:03:39 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: freebsd-current@freebsd.org Subject: Re: Continually count the number of open files Message-ID: <20230914070339.dc311c4f9638b8443528bc0f@dec.sakura.ne.jp> In-Reply-To: <D5D15568-BC32-40A1-A169-5E2E9C1E8557@iitbombay.org> References: <291ad2de-ba0e-4bdf-786a-19614eacec49@gmail.com> <592123F4-E610-446E-82B4-ACC519C0BA3E@iitbombay.org> <a94a93f4-927c-a1d2-00af-83b83f171182@gmail.com> <D5D15568-BC32-40A1-A169-5E2E9C1E8557@iitbombay.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 Sep 2023 11:52:19 -0700 Bakul Shah <bakul@iitbombay.org> wrote: > On Sep 12, 2023, at 11:59 PM, Graham Perrin <grahamperrin@gmail.com> wrote: > > > > (I'm a tcsh user, I can easily 'sh' before running the command.) > > You can switch to zsh. Most of csh/tcsh + sh + many more features. > > > baloo is not used in 273669. > > It certainly feels like an inotify like use or a file-descr leak. > The bug reporter can try "procstat fd <pid>" on running processes > to see which one has all those open files. Another thing worth > trying is to run under ktrace -di to see which syscalls were made. Additional note. For emergency I heve a line below in ~/.tcshrc.mine and a flag file ~/.Use_zsh. This way, you can switch back to tcsh by deleting the flag file whenever you want. No need to update master.passwd entry, as the login shell itself is still tcsh and zsh is `exec`'ed from tcsh. if ( -X zsh && -f ~/.Use_zsh ) exec zsh -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230914070339.dc311c4f9638b8443528bc0f>