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



Does QTMHHTTP have at least *USE authority to QTMHHTP1? Are they fairly current on PTF's? Have you started the server with option -vv to get a trace?

That trace will also give you some idea of where the initial slowness is coming from (basically, is it the HTTP server or the CGI program). 3-5 minutes is crazy slow. I first started running a production site on a 50S and it wasn't anywhere near that slow for the first call. What you describe below sounds like memory getting swapped out. Setting up a memory pool for the HTTP server will fix that (somewhere between 768mb and 1gb is probably good). I also would back off on the number of CGI jobs being started up. 20 is a lot and I don't see that many on the HTTP server that handles our busiest site at its peak time (every page on the site does at least one CGI call). I think you may also need to bump up the max number of threads if you're expecting that many simultaneous requests.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Wednesday, April 09, 2008 6:32 AM
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] Could not swap to user profile QTMHHTP1

Hi all,

I am working with a customer that is having some crazy bad performance
problems with Apache and simple CGI programs (i.e. we have narrowed it
down to a CGI program that ONLY writes a small result to stdout and
contains zero business logic and/or file access). They are getting
3-5 minutes response time on the first call to the RPG CGI program,
and the same amount of time of lag if the web service hasn't been used
in awhile (not sure how long that span is yet). Subsequent calls
immediately after are performant.

So, to attempt to address the issue I had them add the following to
their config:

MaxCgiJobs 50
StartCGI 20 QTMHHTP1

Now when they try to start the Apache server instance they get this
message in their job log: "Error while starting CGI job. Could not
swap to user profile qtmhhtp1."

I am working on getting more details from them (six hours timezone difference).

Any ideas before I put a call into IBM support?

Aaron Bartell
http://mowyourlawn.com
--
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 ...

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.