× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> From: "Richard B Baird"
> what happens if I change the program(s) and recompile?
> do I need to end the RPs so that the new program will
> be re-loaded?

I think so.

> This particular app will be a little different than - it is 10
> or so cgi programs, that will be hit by as many as 300 users,
> all of them only using it for a couple days at month end.  the
> rest of the time it'll be idle.

> so, if I use named AGs, I would definately want to stop/restart
> the server after they're done each month - so that the jobs won't
> remain loaded and idle all month long... right?

When a CGI program is idle, OS/400 may page the memory it uses to disk to
free RAM for other threads.  Later, when called, there is an initial
performance hit when moved back into memory.  Afterwards it runs fast again.

However, some shops end and restart the HTTP server nightly to clear
resources used by "active" but idle cgi programs.

> this is where I get really confused about AGs.  if they are all
> named as the same activation group, what are the ramifications?
> as each program is called (in the same RP) it is added to the
> same AG?  Is there another way to end an AG in this scenario
> that will "unload" all programs in the AG?

I've tested several ways to reclaim resources "active" in the RP jobs.  None
of my tests worked.  Any files opened by cgi programs were still open, for
example.  WRKJOB on the RP job shows that.  The only way I know of to
reclaim its resources is to end it.

If someone has come up with a technique other than ending the job, please
let us know.

Nathan M. Andelin
www.relational-data.com




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.