|
From: "Leif Svalgaard" <leif@attglobal.net> > > It seems to me that running a CGI program in named activation group is akin > > to returning to a menu from a 5250 program without ever closing it's files > > or deallocating it's memory. > > Don't forget that (at least with the OPM) that that is the default behavior. "If many ILE RPG programs are activated (that is called at least once) system storage may be exhausted. Therefore, you should avoid having ILE programs that use large amounts of static storage run in the OPM default activation group, since the storage will not be reclaimed until the job ends." Quoted from ILE RPG Programming Guide. > > Will that scale as the number of interactive Jobs increase? > > I'm not quite sure what you mean? is a GCI-job interactive? No, I was just drawing a parallel between how CGI programs are called from an HTTP Server Job, and how 5250 programs are called from the command line. When the CGI program runs in a named activation group, the resources it allocates are scoped to the HTTP Server Job that called it. They are not reclaimed when the program ends. So the activation of a lot of CGI programs will exhaust RAM (CGI programs generally use a lot of memory, and other resources). As far as scalability is concerned, I suppose it depends on the amount of RAM the box has? Nathan M. Andelin www.relational-data.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.