Re: SWS-2.1 (Apache) question?
- From: "Neil Rieck" <n.rieck@xxxxxxxxxxxx>
- Date: Thu, 18 May 2006 20:08:02 -0400
"Paul Sture" <paul.sture.nospam@xxxxxxxxxx> wrote in message
news:1cfa2$446d009f$50db5015$18497@xxxxxxxxxxxxxxxxxx
Neil Rieck wrote:[...snip...]
I have _an_ answer, but don't know if it is entirely what you want.
SWS 2.1 here, on VMS V8.2, and I get those processes running at 6, with a
base priority of 4.
No CGIs to play with here, but if I download a PDF (over my LAN) I see
that the APACHE$SWS000n process which has clocked up the I/Os drops back
to priority 4 for a while, then climbs back to 6.
Googling for "apache process priority" came up with the link below, which
suggests that the priority of processes on OS X is determined by the
priority of the parent process.
http://forums.macosxhints.com/showthread.php?t=5877
Accordingly, I have just submitted APACHE$STARTUP to a batch queue with a
base priority of 3 and hey presto, all the APACHE* processes start with a
base priority of 3.
You just solved my problem. I did a coldstart of Apache from my own account
and it started up with a base priority of 4 (because our system is always
active, I've only been doing graceful restarts of Apache after changing the
server configuration parameter file).
Previously, Apache is started at boot by the STARTUP task which runs at
priority 10 on my system (don't ask, I think this has been there since the
VAX days but no one can remember why). This makes me wonder what other
things are running at too high a priority.
Neil Rieck
Kitchener/Waterloo/Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/links/cool_openvms.html
http://www3.sympatico.ca/n.rieck/links/openvms_demos.html
.
- Follow-Ups:
- Re: SWS-2.1 (Apache) question?
- From: Neil Rieck
- Re: SWS-2.1 (Apache) question?
- From: Paul Sture
- Re: SWS-2.1 (Apache) question?
- References:
- SWS-2.1 (Apache) question?
- From: Neil Rieck
- Re: SWS-2.1 (Apache) question?
- From: Paul Sture
- SWS-2.1 (Apache) question?
- Prev by Date: Re: Results of my straw poll.
- Next by Date: Re: TCPIP Configuration -TCPIP-E-BIND_NO_ZONEXFR, zone transfer was unsuccessful
- Previous by thread: Re: SWS-2.1 (Apache) question?
- Next by thread: Re: SWS-2.1 (Apache) question?
- Index(es):
Relevant Pages
|