Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 13:46:28 -0700
From:      Don Lewis <Don.Lewis@tsc.tdk.com>
To:        Vivek Khera <khera@kciLink.com>, stable@FreeBSD.ORG
Subject:   Re: negative proccnt
Message-ID:  <200009142046.NAA26980@salsa.gv.tsc.tdk.com>
In-Reply-To: <14785.12095.673316.885249@onceler.kciLink.com>
References:   <14785.12095.673316.885249@onceler.kciLink.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 14,  4:04pm, Vivek Khera wrote:
} Subject: negative proccnt
} I'm getting these errors in my /var/log/messages file since yesterday:
} 
} Sep 14 15:57:45 truffula /kernel: negative proccnt for uid = 0
} Sep 14 15:58:12 truffula last message repeated 3 times
} Sep 14 16:00:23 truffula last message repeated 32 times
} Sep 14 16:02:21 truffula last message repeated 8 times
} 
} thousands upon thousands of them.

This is the second report of this problem that I've seen.  It's something
that shouldn't be happpening, and I don't see how it can.

I guess you should be glad that I was convinced to change this from a
panic() to a printf().

} Is there anything short of rebooting that can make this stop?
} Wouldn't it make sense for the kernel to zero out the proccnt if it
} falls negative after issuing the above warning?

It might cut down on the number of complaints, but not eliminate them.
Anyway, proccnt shouldn't even go to 0 for uid 0, since init is always
running.


Is there anything unusual running on this machine?  Also, your machine
seems to be going through a lot of processes, since this message could
only occur as a result of a fork(), exit(), or one of the setuid family
of syscalls.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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