|
date: Mon, 19 Sep 2011 08:40:16 -0700 (PDT)Sorry, yes. Two single-threaded jobs. I have two sites using the CGI program, so that's probably why there are two 35% jobs. There are others with the same name running under the same subsystem, but not at a level approaching these two.
from: Nathan Andelin<nandelin@xxxxxxxxx>
subject: Re: Batch Immediate CGI =/= Interactive monster?
> From: Luke GerhardtThat's odd, the vast majority of CGI jobs in the world are single threaded. Did you write a multi-threaded CGI job? Or, are you referring to 2 single threaded jobs?
> I've got a CGI job with two threads
This user doesn't even use the CGI system at all. He was using two 5250 **interactive* *emulation sessions. The concern from management was that the CGI jobs are crushing the system and causing this user's slowness issue.> Yesterday, a user?complained of a 7 minute wait changing between two open sessionsThat normally occurs when the client can't make a connection to the HTTP server, usually because other users have tied up all the connections, possibly because the HTTP server is maintaining persistent connections, according to the configuration directives used.
The CGI process runs an auto-refreshing display of production orders, allows the user to mark them as produced, and to print shipping labels. It's native RPG file I/O with some prototyped calls and client-side javascript. Most of the time it is waiting for a js timer to elapse to tell it to reload the screen.>??each running at around 35%This makes me suspect that you're actually talking about 2 jobs, as opposed to a single job running 2 threads. The 35% is based on what the job is doing, and you haven't given us any indication of what it might be doing. Serving a huge report? Downloading huge files? Running un-optimized queries against a huge database?
As an Amazon Associate we earn from qualifying purchases.
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.