Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* CPU-bound child processes with NCSA httpd 1.5 on OSF1
@ 1996-02-23  5:00 ling
  0 siblings, 0 replies; 2+ messages in thread
From: ling @ 1996-02-23  5:00 UTC (permalink / raw)


Hello OSF1 NCSA httpd 1.5 experts,

Re: CPU-bound child processes with NCSA httpd 1.5 on OSF1
    -----------------------------------------------------

I have the NCSA httpd 1.5 server running on an OSF1 (Digital Unix V3.2C)
box.  The standalone server starts with 1 parent process and 5 (max 20) 
child processes. 

I noticed that SOMETIMES (NOT ALWAYS) when a c cgi program get called
(e.g. the old imagemap program) or a form with a POST invocation method 
to a C CGI script is accessed, a child process will get CPU-bounded after 
the C program returns the results sucessfully.  Initially, a child 
process will indicate a 99.0% CPU usage, then after a few more program
invocations, 2 child processes will each shows 49.5% CPU usage, then 
3 child processes 33.0% and so on.  The odd thing is that invocation of 
the program does not cause this behaviour every time. 

Is the 1.5 code buggy or the C script or the CPU management of the host 
machine at fault?

Any solutions/hints/ideas will be gratefully received.


How-Hie Ling
(h.ling@qut.edu.au)
Queensland University of Technology,
Brisbane,   Queensland,   Australia.



^ permalink raw reply	[flat|nested] 2+ messages in thread
* CPU-bound child processes with NCSA httpd 1.5 on OSF1
@ 1996-02-19  5:00 ling
  0 siblings, 0 replies; 2+ messages in thread
From: ling @ 1996-02-19  5:00 UTC (permalink / raw)


Hello OSF1 NCSA httpd 1.5 experts,

Re: CPU-bound child processes with NCSA httpd 1.5 on OSF1
    -----------------------------------------------------

I have the NCSA httpd 1.5 server running on an OSF1 (Digital Unix V3.2C)
box.  The standalone server starts with 1 parent process and 5 (max 20) 
child processes. 

I noticed that SOMETIMES (NOT ALWAYS) a form with a POST invocation method 
to a C CGI script is accessed, a child process will get CPU-bounded after 
the C program returns the results of a textfile search.  Initially, a child 
process will indicate a 99.0% CPU usage, then after a while, 2 child 
processes will each shows 49.5% CPU usage, then 3 child processes 33.0% 
and so on.  The funny thing is that invocation of this form/c script 
does not cause this behaviour every time. 

Is the 1.5 code buggy or the C script or the CPU management at fault?
Any solutions/hints/ideas will be gratefully received.


How-Hie Ling
(h.ling@qut.edu.au)
Queensland University of Technology,
Brisbane,   Queensland,   Australia.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-02-23  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-23  5:00 CPU-bound child processes with NCSA httpd 1.5 on OSF1 ling
  -- strict thread matches above, loose matches on Subject: below --
1996-02-19  5:00 ling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox