From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,86671e357ab201a6 X-Google-Attributes: gidf678f,public X-Google-Thread: 111308,86671e357ab201a6 X-Google-Attributes: gid111308,public X-Google-ArrivalTime: 1994-03-13 13:15:12 PST Xref: gmd.de comp.unix.osf.misc:1074 comp.client-server:2844 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!bloom-beacon.mit.edu!paperboy.osf.org!weisman From: weisman@osf.org (Dave Weisman) Newsgroups: comp.unix.osf.misc,comp.client-server Subject: Re: DCE-RPC: "Virtual time alarm" on server site Date: 13 Mar 1994 21:15:12 GMT Organization: Open Software Foundation Distribution: world Message-ID: References: <2lv8rq$b7g@irz212.inf.tu-dresden.de> NNTP-Posting-Host: bubba.osf.org 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