W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 1996

Re: Runaway CgiResource Problem

From: Bruce Nelson (bnelson) <bnelson@www.css.filenet.com>
Date: Tue, 8 Oct 1996 23:45:12 -0700 (PDT)
To: www-jigsaw@w3.org
Cc: abaird@w3.org
Message-Id: <Pine.A32.3.91.961008233206.23190A-100000@www.css.filenet.com>
The plot thickens...

It seems that the runaway is tied to how the CgiResource is set
up... if for example my interpreter is set to /usr/local/bin/perl
and my command is /usr/local/Jigsaw/Jigsaw/WWW/test.pl, (the script
is as follows) 


  print "Content-Type: text/html\n\n";
  print "Hello cruel World";

I get some very intresting results depending on the value of 

if "generates-form" = true I get the runaway script problem as described 

if "generates-form" = false and content-type = text/html then a C application
works fine - no runaway but if I use the interpreter set to 
/usr/local/bin/perl and I set the command to test.pl I get the contents of my
script instead of its output, example:


  print "Content-Type: text/html\n\n";   
  print "Hello cruel World";

instead of Hello cruel World. very strange -- 

 On Tue, 8 Oct 1996, Bruce Nelson wrote:

> I seem to have stumbled across a problem with CgiResouce.
> CGI applications are running ok but after about 10-15
> seconds my CPU starts getting taken over by the java process
> running Jigsaw. I can stop it with Admin/Exit if I hurry but after
> a short time the process locks up. I have tried to trace it but it
> seems that trace does nothing either. This problem happens with
> any CGI (CgiResource) application (PERL, C, Shell) the behavior is
> the same. You can access other documents run the CGI again
> or whatever until the java process locks up at the CPUs. I have 
> tested this problem out and seems to occur with AIX (IBM) Java
> 102B (JITC)and 1.02C.(JITC) or without JITC enabled. The server
> this is running on is a IBM G30 (two-way) with AIX 4.1.4 We have
> had pretty good susess with Jigsaw Alpha 1. using Java 1.02B(JITC).
> Thanks
> Bruce Nelson
> -------------------------------------------------
> Bruce Nelson
> Webmaster - FileNet Corporation
> bnelson@css.filenet.com
Received on Wednesday, 9 October 1996 02:53:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:30 UTC