* DCE-RPC: "Virtual time alarm" on server site
@ 1994-03-13 14:44 Ronald Boettcher
1994-03-13 21:15 ` Dave Weisman
1994-03-17 23:14 ` PTHREADS for SVR4.2 Ashvini Nangia,2313,x8045,20757,
0 siblings, 2 replies; 3+ messages in thread
From: Ronald Boettcher @ 1994-03-13 14:44 UTC (permalink / raw)
Hi, everyone!
I have following problem in an application that uses the DCE-RPC:
In a remote procedure is called the system() library routine.
Sometimes (I guess in ca. 50% of the cases) the command spawned
by this system()-call will be cancelled (killed?!) and following message
appears on stderr:
sh: 99999 Virtual time alarm
(the '99999' is a placeholder for the pid which represents the
process spawned by system()). It goes without saying that the
command don't gives any results.
Can everybody say, what's wrong? How can I clear this obstacle?
(Maybe important:
a) the server holding this remote procedure serves as a client too
b) we have running DCE (DEC campus licence; it's an
older version - I guess v1.0) on Ultrix 4.3 and the hardware platform
is DECstation 5000)
Thanks in advance,
Ronald.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ronald Boettcher
Dresden University of Technology
Dpt. of computer science
institute for operating systems and computer communication
e-mail: rb1@irz.inf.tu-dresden.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DCE-RPC: "Virtual time alarm" on server site
1994-03-13 14:44 DCE-RPC: "Virtual time alarm" on server site Ronald Boettcher
@ 1994-03-13 21:15 ` Dave Weisman
1994-03-17 23:14 ` PTHREADS for SVR4.2 Ashvini Nangia,2313,x8045,20757,
1 sibling, 0 replies; 3+ messages in thread
From: Dave Weisman @ 1994-03-13 21:15 UTC (permalink / raw)
In article <2lv8rq$b7g@irz212.inf.tu-dresden.de> rb1@irz.inf.tu-dresden.de (Ronald Boettcher) writes:
I have following problem in an application that uses the DCE-RPC:
In a remote procedure is called the system() library routine.
Sometimes (I guess in ca. 50% of the cases) the command spawned
by this system()-call will be cancelled (killed?!) and following message
appears on stderr:
sh: 99999 Virtual time alarm
(the '99999' is a placeholder for the pid which represents the
process spawned by system()). It goes without saying that the
command don't gives any results.
The DCE threads system uses the virtual timer (i.e., setitimer/SIGVTALRM)
to know when it's time to preempt a CPU-bound thread.
In some flavors of Un*x the virtual timer is inherited over a fork().
You're seeing this, coupled with the fact that the child process (sh) is
not expecting this alarm.
b) we have running DCE (DEC campus licence; it's an
older version - I guess v1.0) on Ultrix 4.3 and the hardware platform
is DECstation 5000)
Long ago there was a bugfix in threads logic for system() which disables
the timer before calling the real OS system(), it's probably not in your
version.
Regards,
Dave
--
-- Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* PTHREADS for SVR4.2
1994-03-13 14:44 DCE-RPC: "Virtual time alarm" on server site Ronald Boettcher
1994-03-13 21:15 ` Dave Weisman
@ 1994-03-17 23:14 ` Ashvini Nangia,2313,x8045,20757,
1 sibling, 0 replies; 3+ messages in thread
From: Ashvini Nangia,2313,x8045,20757, @ 1994-03-17 23:14 UTC (permalink / raw)
Hi All,
We need a Pthread I/F (wrappers) on top of SVR4.2 ES/MP kernel threads
in order to port DCE. I would appreciate any pointers or information
on this subject. If someone already has a prototype for this
please let me know.
Thanks in advance,
Ash Nangia
Tandem Computers, Inc.
Austin, TX
voice: 512-244-8045
email: ash@mpd.tandem.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-03-17 23:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-13 14:44 DCE-RPC: "Virtual time alarm" on server site Ronald Boettcher
1994-03-13 21:15 ` Dave Weisman
1994-03-17 23:14 ` PTHREADS for SVR4.2 Ashvini Nangia,2313,x8045,20757,
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox