Fastcgi external server on AIX memory
"Ed Kenny" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <000001c6017d$86dc92a0$0200a8c0@VALUED3253602F> |
Hi there,
I've run into a scenario where it seems fastcgi is carrying an instance of
the shared object on each port/external server invocation. Different port #s
are utilized for each CGI due to the AIX shared port issue. That's OK, but
the problem is that the shared object is about 150 Megs.
Can anyone give me a hint on how to truly share a fastcgi enabled shared
object in this environment, am I overlooking something simple?
The programmer that originally set this up is long gone. The typical
invocation in the C modules is like this:
#include "fcgi_stdio.h"
void main( int argc, char *argv[])
{
int count = 0;
while(FCGI_Accept() >= 0){
program_name( argc, argv);
}
}
int program_name( int argc, char *argv[] )
Or if that's not possible what's the best way to release the memory?
Any clues would be greatly appreciated.
Thanks
Ed
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/