Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: weisman@osf.org (Dave Weisman)
Subject: Re: DCE-RPC: "Virtual time alarm" on server site
Date: 13 Mar 1994 21:15:12 GMT	[thread overview]
Message-ID: <WEISMAN.94Mar13161512@bubba.osf.org> (raw)
In-Reply-To: rb1@irz.inf.tu-dresden.de's message of 13 Mar 1994 15:44:10 +0100

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



  reply	other threads:[~1994-03-13 21:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-03-13 14:44 DCE-RPC: "Virtual time alarm" on server site Ronald Boettcher
1994-03-13 21:15 ` Dave Weisman [this message]
1994-03-17 23:14 ` PTHREADS for SVR4.2 Ashvini Nangia,2313,x8045,20757,
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