Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Ong Guan Sin <cceonggs@nus.sg>
To: brian@hercules.cb.att.com
Subject: Re: Q: Cannot kill LOGIN processes by superuser
Date: 1995/06/12	[thread overview]
Message-ID: <3rh891$noo@nuscc.nus.sg> (raw)
In-Reply-To: D9x00z.C8r@nntpa.cb.att.com

brian@hercules.cb.att.com (Brian Bebeau) wrote:
>
[sniped]
>This is more likely the case. A process that goes to sleep with a priority
>less than PZERO (usually defined in /usr/include/sys/param.h or some such
>place) will simply queue up signals but not respond to them until the 
>priority is restored to greater than PZERO. This usually happens in device
>drivers, as the poster above stated. If a process is in a critical section
>and needs some system resource that isn't available, it'll go to sleep
>with the lower priority. I've seen this happen most often waiting for a
>tape device to become free. The only way I've seen to get rid of such
>processes so far is to simply reboot.

After thorough investigation into the system, I have found the culprit: a
"pine" process, which is already holding exclusive lock over the user's
mailbox, was waiting for something to happen, probably some system resource.
And those "login" processes stuck at the point of checking mailbox status (any
new mail). I am pretty sure the login processes are waiting for the mailbox to
be available as their WCHANs (waiting channels) are similar and pointing to the
mailbox's in-core inode location. One thing I still cannot figure is what is
the "pine" process waiting for. I know its WCHAN, which is completely different
(and different range) from the previous WCHANs, but just could not figure what
it represents. Can anyone advise on what are the things a WCHAN value can
represent, or what is the way to relate a WCHAN value to the resources it
represents? I managed to solve the unable to login situation, by moving the
mailbox around (producing different inode location), but those processes
("pine" and "login") are still dangling.

>As far as the original poster's problem goes, *what* user id are you trying
>to use? And what are the processes running with that id? It sounds like
>you may be trying to give someone a userid that's already used by
>something, not necessarily a user. Generally speaking, it's not a good
>idea to give users an id below 100. Ids below 100 are recommended to be used
>only by system processes, like root, sys, uucp, etc. More information
>would be helpful.

The user id is 2323, so I suppose has nothing to do with what you said. But can
I ask, what would be the consequences if user ids below 100 are given to users?

>
>-- 
>===============================================================================
>Brian Bebeau			|  IBS at AT&T Network Systems
>brian@hercules.cb.att.com  	|
>

--
01010101010101010101010101010101010101010101010101010101010101010101010101
1  Ong Guan Sin                       E-Mail: cceonggs@nus.sg            0
0  Computer Centre                            ongnsn@singnet.com.sg      1
1  National University of Singapore   Voice : +65 7726420(O) 4680954(R)  0
01010101010101010101010101010101010101010101010101010101010101010101010101




  reply	other threads:[~1995-06-12  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-08  4:00 Q: Cannot kill LOGIN processes by superuser Ong Guan Sin
1995-06-08  4:00 ` Jeff Prichard
1995-06-08  4:00   ` Robert Owen Thomas
1995-06-09  4:00     ` Brian Bebeau
1995-06-12  4:00       ` Ong Guan Sin [this message]
1995-06-12  4:00         ` Ong Guan Sin
1995-06-09  4:00   ` Ong Guan Sin
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