I simply have the CGI (RPGLE) program, to which Apache passes control, write an entry to a log at program entry and exit using jobno/timestamp as a request id along with the url from the PATH_INFO environment variable that Apache generates for CGI requests.
Peter
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Raul A. Jager W.
Sent: Thursday, 3 November 2011 1:22 a.m.
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Time limit for CGIs
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.
#####################################################################################
This correspondence is for the named person's use only. It may contain confidential
or legally privileged information, or both. No confidentiality or privilege is waived
or lost by any mistransmission. If you receive this correspondence in error, please
immediately delete it from your system and notify the sender. You must not disclose,
copy or rely on any part of this correspondence if you are not the intended recipient.
Any views expressed in this message are those of the individual sender, except where
the sender expressly, and with authority, states them to be the views of Veda.
If you need assistance, please contact Veda on either :-
Australia 1300-762-207 or New Zealand +64 9 367 6200
As an Amazon Associate we earn from qualifying purchases.