* Kill -9 will not stop process
@ 1994-11-25 6:35 Anthony
1994-11-25 13:22 ` Alan Lehotsky
1994-11-28 15:42 ` Macintyre L P
0 siblings, 2 replies; 3+ messages in thread
From: Anthony @ 1994-11-25 6:35 UTC (permalink / raw)
Dear all,
I am trying to port an ULTRIX program to OSF. The program basically
uses a packetfilter to send and receives packets from a PDP11.
I am getting unaligned error messages and it is not receiving packets
from the PDP11. I used kill -9 on the process but it refuses to
terminate. Has anyone else come across this problem before ?
Thank you
Anthony Lee These are my opinions and not SEQEB.
SEQEB
150 Charlotte Street
Brisbane
Qld 4000
Australia
voice:+61 7 223 4541
fax: +61 7 221 7556
email: AL012@svtstu.seqeb.gov.au
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kill -9 will not stop process
1994-11-25 6:35 Kill -9 will not stop process Anthony
@ 1994-11-25 13:22 ` Alan Lehotsky
1994-11-28 15:42 ` Macintyre L P
1 sibling, 0 replies; 3+ messages in thread
From: Alan Lehotsky @ 1994-11-25 13:22 UTC (permalink / raw)
In article <Czt8zv.4vv@un.seqeb.gov.au>,
Anthony <al012@svtstu.seqeb.gov.au> wrote:
>
>I am trying to port an ULTRIX program to OSF. The program basically
>uses a packetfilter to send and receives packets from a PDP11.
>I am getting unaligned error messages and it is not receiving packets
>from the PDP11. I used kill -9 on the process but it refuses to
>terminate. Has anyone else come across this problem before ?
>
Any process waiting in the kernel won't see the kill -9 until
it "comes out".
If the unaligned errors are always reporting the same
addresses, I'd fire up a new copy of the program, examine
where the unaligned accesses are coming from using YFD (Your
Favorite Debugger). If there's a correlation between the two
problems, you may discover that the data-structure you're
passing into the kernel is malformed. Fix that and "Bob's
your Uncle". [Or is that only an English idiom and not found
elsewhere in the Commonwealth?]
-- Al Lehotsky
======================================================================
Quality Software Management
8 Tucker Ave.
Lexington, MA 02173
lehotsky@tiac.net Voice: (617)862-5418 Fax: (617)674-1096
Software Process Improvement and Management Consulting
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kill -9 will not stop process
1994-11-25 6:35 Kill -9 will not stop process Anthony
1994-11-25 13:22 ` Alan Lehotsky
@ 1994-11-28 15:42 ` Macintyre L P
1 sibling, 0 replies; 3+ messages in thread
From: Macintyre L P @ 1994-11-28 15:42 UTC (permalink / raw)
In article <Czt8zv.4vv@un.seqeb.gov.au>, al012@svtstu.seqeb.gov.au (Anthony) writes:
|>Dear all,
|>
|>I am trying to port an ULTRIX program to OSF. The program basically
|>uses a packetfilter to send and receives packets from a PDP11.
|>I am getting unaligned error messages and it is not receiving packets
|>from the PDP11. I used kill -9 on the process but it refuses to
|>terminate. Has anyone else come across this problem before ?
--
Use the following option with the packetfilter, and you won't hang
ioctl(fd,BIOCSRTIMEOUT,&timeout);
If a read times out, it will return a status of 0, so you just queue
another. Finding the unaligned errors will be easier if the process doesn't
hang;-)
Lawrence
~
-------------------------------------------------------------------------------
lpz@nautique.epm.ornl.gov Lawrence MacIntyre
lpz@ornl.gov Oak Ridge National Laboratory 615.574.8696
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-11-28 15:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-25 6:35 Kill -9 will not stop process Anthony
1994-11-25 13:22 ` Alan Lehotsky
1994-11-28 15:42 ` Macintyre L P
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox