× 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.



Hi,

you can't control CGI processing from the Apache because processing
continues even if the Apache is Timeout.

One way to capture long running processes is to make a log file where
you record program name and processing time.

You should be aware of processing time may be affected by many things
such as "cold start" of the Apache server, disk wait, cpu wait etc. So a
program that normally runs in microseconds may use several seconds to
complete from time to time.





On Wed, Nov 2, 2011 at 1:21 PM, Raul A. Jager W. <raul@xxxxxxxxxx> wrote:

I will like to limit the time (or CPU) allowed for each CGI request, in
order to cause the bad programs to fail. Once I know wich programs are
using to much CPU I can concentrate on them to optimize.

Is there a directive in the Apache configuration to limit the time?
I found one for PHP in Linux, but I don't know if I can use it for RPG
(CGIDEV) or NetData.

TIA
Raúl

--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.