Re: Runaway CgiResource Problem

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) 
---

  #!/usr/local/bin/perl

  print "Content-Type: text/html\n\n";
  print "Hello cruel World";
  exit(0);

---
I get some very intresting results depending on the value of 
"generates-form".

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

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:

  #!/usr/local/bin/perl

  print "Content-Type: text/html\n\n";   
  print "Hello cruel World";
  exit(0);

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