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

Re: [MacPerl-WebCGI] macperl hang up



At 08:50 -0700 08/03/1999, Tom Deus wrote:
>Howdy.
>
>I've been running MacPerl 5 on a G3 Server (system8.5) with ASIP 6.1 
>server software, and recently my CGI scripts have begun to hang up. 
>I really haven't changed anything, and the scripts that hang up are 
>random each time.  They'll work for hours and then one will randomly 
>freeze.  The only way to unfreeze them seems to be rebooting the 
>server.  Any ideas on what's happening?
>
>Tom Deus

This scenario comes up on a pretty regular basis and I don't think 
that anyone has ever offered a definitive explanation for what is 
going on. I've never run cgi on ASIP server, but have encountered 
exactly the same kind of behavior using NetPresenz and Apple Web 
Sharing and have seen posts outlining the same kind of problem from 
people using other Mac servers.

I got too frustrated to pursue this and just deal with Apache or 
Netscape servers now, but my theories are that:

1. The Event Manager is getting winded and/or
2. Open Transport is not up to the task and/or
3. There is a memory leak somewhere and/or
4. MacPerl's cgi scheme is not robust enough to pull things off reliably.

My only suggestion is to go into the individual cgi applets and bump 
the default memory allocation from 200k (or whatever it's set at) to 
a larger value. It might not hurt to also reinstall MacPerl and raise 
it's memory to whatever the maximum practical amount is for your 
server (after allowing for the possibility that all of your applets 
could be open at once).

Since this behavior is unpredictable, it's hard to actually pin the 
cause down, but you might (or might not) get somewhere by running AE 
Capture and OTSessionWatcher to see if you can determine what 
triggers it. Good luck and let me know if you ever figure this out.


Richard Gordon
--------------------
Gordon Consulting & Design
Database Design/Scripting Languages
mailto:richard@richardgordon.net
http://www.richardgordon.net
770.971.6887 (voice)
770.216.1829 (fax)

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