From: "Mireau, Devin" <DMireau () caiso ! com>
To: tru64-unix-managers
Subject: SUMMARY: how many threads is a particular user using?
Date: Tue, 01 Feb 2000 16:36:58 +0000 [thread overview]
Message-ID: <96079336919145.tru64-unix-managers.marc@archive.invalid> (raw)
Thanks to Nikola Milutinovic & Udo de Boer who referred me to the 'ps'
switch that will display all threads for a user using the following:
ps -m -A -o pid,tty,user,command
I was then able to grep for a particular user and pipe it through 'wc' to
see how many for that user.
thanks a lot,
Devin Mireau
> -----Original Message-----
>
> Greetings managers,
>
> Does anyone know of a way to tell how many threads a particular user has
> running? I want to determine if we actually hit a real ceiling regarding
> the kernel parameter "maxuthreads" or if the application had some problems
> and eventually reached this maximum value due to an application error.
> Here is some of the output from kernel.log.
>
> Jan 30 06:00:03 SYSTEMNAME vmunix: thread_create() failed for pid 11964:
> maxuthreads (=1560) exceeded for uid 305.
> Jan 30 06:01:02 SYSTEMNAME vmunix: thread_create() failed for pid 12129:
> maxuthreads (=1560) exceeded for uid 305.
> Jan 30 06:01:02 SYSTEMNAME vmunix: WARNING -- process concurrency may be
> reduced for process 12083, uid 305:
> Jan 30 06:01:02 SYSTEMNAME vmunix: number of blocked threads exceeds
> maxuthreads quothread_create() failed for pid 12087: maxuthreads (=1560)
> exceeded for uid 305.
>
> Thanks in advance. I will summarize,
>
> Devin
reply other threads:[~2000-02-01 16:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox