[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] ACGI Problems



Quentin,

Actually, this is only true to some extent on the Mac (not sure on others).
A CGI will still update the clock and allow the system to communicate with
the mouse (and probably other peripherals) while it's running.

On the original topic of problems with a CGI/ACGI causing system freezes,
changing it from an ACGI to a CGI on the Mac didn't do anything.  I ran the
script 3 times before my system froze.  These were also run far enough
apart that they didn't interfere with one another.

Anyone else have any ideas on what would cause a CGI/ACGI to freeze a Mac
after very few runs?

Thanks,

Dennis Little
dennis.j.little@lmco.com

At 10:09 AM -0500 2/26/99, Quentin Smith wrote:
>Actually, CGI completely halts your server until the script is done. ACGI
>lets the server continue on it's business until the script is done. AFAIK,
>the MacPerl CGI extension allows multiple requests, and therefore ACGI.
>
>-----BEGIN GEEK CODE BLOCK----
>Version: 3.12
>GCS d s:+ !a C++++ U*+++ P++++ L+ E-- W+++ N++ o+ K- w--- O? M++ V? PS PE-
>Y-- PGP++ t+ 5 X R tv++ b+++ D I- D? G! e h! r
>-----END GEEK CODE BLOCK-----
>
>----------
>>From: Bruce Van Allen <bva@cruzio.com>
>>To: mac-perl@iis.ee.ethz.ch
>>Subject: Re: [MacPerl] ACGI Problems
>>Date: Thu, Feb 25, 1999, 2:09 PM
>>
>
>> Richard Gordon wrote:
>>
>>>Using MacPerl ACGI's with NetPresenz and/or Apple Web Sharing, I keep
>>>running
>>>into problems with stallouts. The scenario is that I call the ACGI from
>>>a link
>>>and it opens a file, extracts a portion of it, and returns that to the
>>>browser.
>>
>>>That appears to work fine until I've run it 3-4 times in a row, then I
>>>eventually get a 502 bad gateway error even if it's just trying to
>>>retrieve the same chunk of text it already pulled in once before.
>>
>> and Dennis Little wrote:
>>>If you happen to find the solution to this one, let me know.  I've had a
>>>similar but worse problem of lockups running a VERY simple cgi/acgi (take
>>>information from the form and mail it to one address -- no additional
>>>parsing needed).  After between 2-5 runs, my machine locks up completely
>>>(no mouse movement, clock stopped, etc).
>>
>>
>> I remember discussion here related to CGI/ACGI on Mac servers a few months
>> ago. One important conclusion was this: don't run your scripts as ACGI;
>> Save with ".cgi" not ".acgi" as the suffix.
>>
>> HTH.
>>
>> - Bruce
>>
>> # ~~~~~~~~~~~~~~~~~~~
>> # Bruce Van Allen
>> # bva@cruzio.com
>> # ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> # Director
>> # WireService, an Internet service bureau
>> # Serving the educational and nonprofit sectors
>> # wire@wireservice.org
>> # http://wireservice.org
>> # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>>
>>
>> ***** Want to unsubscribe from this list?
>> ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch
>>
>>
>
>===== Want to unsubscribe from this list?
>===== Send mail with body "unsubscribe" to macperl-request@macperl.org




===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org