From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,2daeec2dc2720267 X-Google-Attributes: gidf678f,public From: ling@redash.qut.edu.au Subject: CPU-bound child processes with NCSA httpd 1.5 on OSF1 Date: 1996/02/23 Message-ID: <4giu58$s0l@stork.qut.edu.au>#1/1 X-Deja-AN: 140692815 distribution: world content-type: text/plain; charset=US-ASCII organization: Queensland University of Technology mime-version: 1.0 newsgroups: comp.unix.osf.misc 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.