RE: Perl hangs on OpenVMS

2000-07-03 Thread Craig A. Berry
At 10:13 AM +0200 7/3/00, [EMAIL PROTECTED] wrote: >2) I applied the fix below, suggested by Craig A Berry. It seems not to have >helped. > --- vms.c;-1Tue May 30 17:12:56 2000 > +++ vms.c Sun Jul 2 09:55:46 2000 > @@ -3852,7 +3852,7 @@ >*/ >

RE: Perl hangs on OpenVMS

2000-07-03 Thread anders . wallin
in > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Monday, July 03, 2000 10:14 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Perl hangs on OpenVMS >

RE: Perl hangs on OpenVMS

2000-07-03 Thread anders . wallin
Found it I have located the offending code in the module VMS.C, specifically the routine vms_image_init. I include a piece of the code and a printout of the results. 1) The "printf" statement was added by me. 2) I applied the fix below, suggested by Craig A Berry. It seems not to have helpe

RE: Perl hangs on OpenVMS

2000-07-02 Thread Craig A. Berry
At 11:12 PM -0400 6/30/00, Dan Sugalski wrote: >> > >>> The current thinking is the rightslist is too long on the node having a >>> problem. There's a bug in the image init code that'll loop forever if >>> that's the case, and it'll spend a significant amount of time in $GETJPI >> > while it

RE: Perl hangs on OpenVMS

2000-07-02 Thread anders . wallin
Here comes an ANAL/SYS (/CHAN) from both the good and the bad nodes for the same Perl script. PERL SCRIPT: #!/bin/perl -w $i = 0; while ($i < 1) { print "Print some nonsense"; } GOOD NODE SDA> SHOQ PROC/ID=2AC09058 Process index:

RE: Perl hangs on OpenVMS

2000-07-02 Thread anders . wallin
age- > From: Dan Sugalski [SMTP:[EMAIL PROTECTED]] > Sent: Friday, June 30, 2000 9:52 PM > To: Jordan Henderson; '[EMAIL PROTECTED]' > Subject: RE: Perl hangs on OpenVMS > > At 03:44 PM 6/30/00 -0400, Jordan Henderson wrote: > >That's kind of the po

RE: Perl hangs on OpenVMS

2000-06-30 Thread Dan Sugalski
At 05:01 PM 6/30/00 -0700, Peter Prymmer wrote: >On Fri, 30 Jun 2000, Dan Sugalski wrote: > > > At 03:02 PM 6/30/00 -0500, Craig A. Berry wrote: > > >At 6:47 PM +0200 6/30/00, [EMAIL PROTECTED] wrote: > > >>MON MODES > > >> With Perl running, 83% kernel mode, 16% user mode > > >>

RE: Perl hangs on OpenVMS

2000-06-30 Thread Peter Prymmer
On Fri, 30 Jun 2000, Dan Sugalski wrote: > At 03:02 PM 6/30/00 -0500, Craig A. Berry wrote: > >At 6:47 PM +0200 6/30/00, [EMAIL PROTECTED] wrote: > >>MON MODES > >> With Perl running, 83% kernel mode, 16% user mode > >> Without Perl running, 11% user mode, 86% idle time > > > >H

RE: Perl hangs on OpenVMS

2000-06-30 Thread tscheresky
7;; Jordan Henderson; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Perl hangs on OpenVMS The 83% kernel time is certainly a clue. I might begin to suspect some problem with logicals or symbols. I second Dan's call for a list of logicals and symbols on a system where it

RE: Perl hangs on OpenVMS

2000-06-30 Thread BAZLEY, Sebastian
Just a thought: what happens if you give an invalid flag to perl/miniperl? This might help narrow down *when* the looping is occurring. I've just tried "perl -q", and this gives: Unrecognised switch: -q (-h will show valid options) %SYSTEM-F-NOLOGNAM, no logical name match I'm not sure if the

RE: Perl hangs on OpenVMS

2000-06-30 Thread Peter Prymmer
[EMAIL PROTECTED] wrote Fri, 30 Jun 2000: > My Perl is not built to pre-load the ENV array. > > The logicals that are set up are defined in a startup procedure. The same > procedure is called from both the functioning and the non functioning node > in my cluster. I think this is the root of t

RE: Perl hangs on OpenVMS

2000-06-30 Thread Jordan Henderson
lto:[EMAIL PROTECTED]] Sent: Friday, June 30, 2000 12:47 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Perl hangs on OpenVMS SHOW PROC/CONT/ID It jumps around quite a lot. SHOW PROC/CONT/ID + v Solid almost all o

RE: Perl hangs on OpenVMS

2000-06-30 Thread Dan Sugalski
At 03:02 PM 6/30/00 -0500, Craig A. Berry wrote: >At 6:47 PM +0200 6/30/00, [EMAIL PROTECTED] wrote: >>MON MODES >> With Perl running, 83% kernel mode, 16% user mode >> Without Perl running, 11% user mode, 86% idle time > >Hmm. Perl doesn't do anything in kernel mode itself, I don

Re: Perl hangs on OpenVMS

2000-06-30 Thread LBOHAN
in the $sda sh proc/chan out put you gave, your terminal device is of the FTAn: variety. can you tell us a bit about how you're logged into this system? via a decw$term? is the process spinning, burnning cpu cycles, with little or no buffered or direct i/o? 0080

RE: Perl hangs on OpenVMS

2000-06-30 Thread Craig A. Berry
At 6:47 PM +0200 6/30/00, [EMAIL PROTECTED] wrote: >MON MODES > With Perl running, 83% kernel mode, 16% user mode > Without Perl running, 11% user mode, 86% idle time Hmm. Perl doesn't do anything in kernel mode itself, I don't think, so this would point to getting stuck in some RTL

RE: Perl hangs on OpenVMS

2000-06-30 Thread Peter Prymmer
[EMAIL PROTECTED] wrote Fri, 30 Jun 2000: I have been experiencing outrageous email trouble. Please forgive duplicate messages - this is a modification of another message that you may or may not have seen already. > My Perl is not built to pre-load the ENV array. > > The logicals that are se

RE: Perl hangs on OpenVMS

2000-06-30 Thread Peter Prymmer
(Apologies to those who receive two copies of this message - I have been experiencing severe email trouble recently.) [EMAIL PROTECTED] wrote Fri, 30 Jun 2000: > My Perl is not built to pre-load the ENV array. > > The logicals that are set up are defined in a startup procedure. The same > proc

RE: Perl hangs on OpenVMS

2000-06-30 Thread anders . wallin
Friday, June 30, 2000 6:58 PM > To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Perl hangs on OpenVMS > > Just a thought: what happens if you give an invalid flag to perl/miniperl? > > This might help narrow down

RE: Perl hangs on OpenVMS

2000-06-30 Thread Dan Sugalski
Okay, this is getting bizarre. I can't see anything in the code that should make it hang the way it is, especially since we know the binary's good. Can you get me the output of SHOW LOG * and SHOW SYM * from both the bad and the good nodes of the cluster? (To the list if they're small, private

RE: Perl hangs on OpenVMS

2000-06-30 Thread anders . wallin
00F0 FTA82: > -Original Message- > From: Jordan Henderson [SMTP:[EMAIL PROTECTED]] > Sent: Friday, June 30, 2000 6:30 PM > To: '[EMAIL PROTECTED]'; Jordan Henderson; > [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject:

RE: Perl hangs on OpenVMS

2000-06-30 Thread Jordan Henderson
[EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Perl hangs on OpenVMS My Perl is not built to pre-load the ENV array. The logicals that are set up are defined in a startup procedure. The same procedure is called from both the functioning an

RE: Perl hangs on OpenVMS

2000-06-30 Thread David P. Drake
Anders, If you have access, check sys$update:vmsinstal.history for recent software updates. Do a diff on sys$manager:sylogin.com and sys$login:login.com for changes. You can see where I'm going with this, you will have to find out what's changed to determine the problem. Dave. David P. Drak

RE: Perl hangs on OpenVMS

2000-06-30 Thread anders . wallin
ther languages work just as usual. - AW - > -Original Message- > From: Jordan Henderson [SMTP:[EMAIL PROTECTED]] > Sent: Friday, June 30, 2000 5:43 PM > To: 'BAZLEY, Sebastian'; 'Dan Sugalski'; '[EMAIL PROTECTED]'; > [EMAIL PROTECTED] > Subject:

RE: Perl hangs on OpenVMS

2000-06-30 Thread Jordan Henderson
Friday, June 30, 2000 11:33 AM To: 'Dan Sugalski'; '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: Perl hangs on OpenVMS > -Original Message- > From: Dan Sugalski [mailto:[EMAIL PROTECTED]] > Sent: 30 June 2000 16:01 > To: BAZLEY, Sebastian; '[EMA

RE: Perl hangs on OpenVMS

2000-06-30 Thread BAZLEY, Sebastian
ot; (LNM$PROCESS_TABLE) > PERL> > > >>Does a PERL "-V" get you anything? > Same thing. Perl -V also hangs. > > Regards > > Anders Wallin > > > -Original Message- > > From: Dan Sugalski [SMTP:[EMAIL PROTECTED]]

RE: Perl hangs on OpenVMS

2000-06-30 Thread BAZLEY, Sebastian
> -Original Message- > From: Dan Sugalski [mailto:[EMAIL PROTECTED]] > Sent: 30 June 2000 16:01 > To: BAZLEY, Sebastian; '[EMAIL PROTECTED]'; [EMAIL PROTECTED] > Subject: RE: Perl hangs on OpenVMS > > > At 03:55 PM 6/30/00 +0100, BAZLEY, Sebastian wrote

Re: Perl hangs on OpenVMS

2000-06-30 Thread Dan Sugalski
At 04:12 PM 6/30/00 +0200, [EMAIL PROTECTED] wrote: >Hi Dan ! > >Answer to your questions: [Snip] H. Well, that all looks OK. Try a SHOW LOGICAL .* and see if anything pops up. Dan --"it's like this"-

RE: Perl hangs on OpenVMS

2000-06-30 Thread Dan Sugalski
At 03:55 PM 6/30/00 +0100, BAZLEY, Sebastian wrote: >Could there be a problem with the PERLSHR logical? > >Silly question, but presumably > >$ DIR garbage.pl > >works (i.e. reports a missing file) ? If it hangs doing a -v then there's something else really wrong. The question now is "what"?

Re: Perl hangs on OpenVMS

2000-06-30 Thread Dan Sugalski
At 09:53 AM 6/30/00 +0200, [EMAIL PROTECTED] wrote: > > SUMMARY: > > The distribution worked beautifully for several months > > but then someone did something with this node that caused > > Perl to "hang". > > > > For example the following example will only eat CPU and > >