Performance question – update.

Stephen Hoffman reacted on my post on performance and agreed the site is slow. He included data on what is actually requested (if that tool exists on non-Apple systems, it’s worth a look) and that shows that loading the images  on the main page takes considerable time – especially where data is to be retrieved over the Internet and the contacted site does not respond. So I checked whether the sites are still worth to be presented and if not, I disabled the load of the image.

The main bulk still is PHP code, and it cannot easily be accellarated. I know of software that actually stores compiled code and uses it when accessed, but it isn’t available on OpenVMS – yet. Second, it may need to be incorprated into the PHP engine, making it even harder to use.

Allowing greated working sets for the PHP engine may help. It means the webserver’s quota need to be re-examined.

One other thing – not really performance related but as annoying as a slow-loading site: It may happen you get the message:

ERROR 502 –  External agent did not respond (or not acceptably).

This is a known issue, caused by a bug in the C Runtime library, that I have signalled to HP, and awaits the right solution: PATH cannot be extended beyond the size when initally set by the C ‘getenv’ function.

WASD uses getenv to get the current value of the PATH variable, and sets it to a new value with setenv. But if that new value exceeds the length of PATH, setenv fails because of this bug.

Just reload the page in these cases. This time, PATH is not set on getenv and setenv will succeed with the new value.

I know of a workaround I can build into WASD (Just redo the setenv if it fails), but I still have to make that update….