Apache: How to improve performance on OpenVMS (558 Views)
Reply
Advisor
Carl Karcher
Posts: 22
Registered: ‎12-26-2003
Message 1 of 4 (558 Views)

Apache: How to improve performance on OpenVMS

After analyzing serious performance problems with Apache CSWS V2.2 on a fairly busy BL860C i2 OpenVMS 8.4 system, I've come to the following conclusions that might benefit others:

1. When file version numbers on log files in apache$specific:[000000] get to ;32767, the following entries will be seen in the system accounting file:

LOGIN FAILURE
-------------
Username: APACHE$WWW
...
Final status text: %RMS-E-CRE, ACP file create failed
...


                                                                    

When this occurs, there are significant delays when web clients load pages from the Apache server.

After using a utility to reset the version numbers on these log files, performance is restored. The difference was dramatic.

2. If there's the DCL command "SET DIRECTORY/VERSION_LIMIT=10" in apache$common:[000000]login.com, which may be there if you've upgraded from previous CSWS versions, the following entry is seen in the system accounting log:

LOGIN FAILURE
-------------
Username: APACHE$WWW
...
Final status text: %RMS-E-FLK, file currently locked by another user
...

 



This also results in delays when loading pages and unnecessary disk I/O. While this condition is not as frequent as the first, the "SET DIRECTORY/VERSION_LIMIT=10" command should be removed from login.com. I suspect you'll only have this command if you've upgraded from previous versions of CSWS.

Regular Advisor
Peter Barkas
Posts: 157
Registered: ‎03-14-2005
Message 2 of 4 (530 Views)

Re: Apache: How to improve performance on OpenVMS

Yes, agree with this, we implemented these changes 3 or 4 years ago and have had no problems since.

 

Login does as little as possible:

 

$ ! Login.Com for Apache HTTP (WWW) Server

$ !

$ set proc/parse=extend

$ exit

 

Overnight during low/no web site usage time:

 

$ pu apache_disk:[apache.specific.*]

$ ren/exc=*.dir apache_disk:[apache.specific.*]*.* ;1

Trusted Contributor
Jeremy Begg
Posts: 383
Registered: ‎01-20-2005
Message 3 of 4 (422 Views)

Re: Apache: How to improve performance on OpenVMS

Best way to improve webserver performance on OpenVMS is to run WASD instead of Apache! :-)

 

(Seriously, WASD is much more efficient and doesn't insist that every file being served is StreamLF. It also doesn't create thousands of log files unless you want it to.)

Honored Contributor
Willem Grooters
Posts: 2,038
Registered: ‎05-21-2003
Message 4 of 4 (352 Views)

Re: Apache: How to improve performance on OpenVMS

Doubled. I have found great impreovements on my (small-memory) VMS webserver by simply chnaging from Apache to WASD, Apart from that: WASD comes with a TREMENDOUSLY helpfool toolkit - buitlt-in.
Willem Grooters
OpenVMS Developer & System Manager
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.