03-sep-2013

Maintenance
Nothing weird.
Only that the number of spam messages decreased:

PMAS statistics for August                                                                                                          
Total messages    :   2198 = 100.0 o/o                                                                                              
DNS Blacklisted   :    695 =  31.6 o/o (Files: 31)                                                                                  
Relay attempts    :     27 =   1.2 o/o (Files: 24)                                                                                  
Accepted by PMAS  :   1476 =  67.1 o/o (Files: 31)                                                                                  
  Handled by explicit rule                                                                                                          
         Rejected :    796 =  53.9 o/o (processed),  36.2 o/o (all)                                                                 
         Accepted :    300 =  20.3 o/o (processed),  13.6 o/o (all)                                                                 
  Handled by content                                                                                                                
        Discarded :    133 =   9.0 o/o (processed),   6.0 o/o (all)                                                                 
     Quarantained :    213 =  14.4 o/o (processed),   9.6 o/o (all)                                                                 
        Delivered :     34 =   2.3 o/o (processed),   1.5 o/o (all)

not even a lot of relay attempts.

29-Aug-2013

Two updates
VERY simple, VERY important: Licenses….
Ten days ago, my VMS hobbyist licenses would expire and I requested new ones a week in advance. Within a day, I got the new ones, valid until 1-Sep-2014. These were installed well in time, so nothing stops me using the system for another year. The other important license is not a requirement to run the system – I can do almost all without. But since removing spam is not the most exciting work, it would be nice if the spam filter (that does a VERY GOOD job in keeping the system clear) would run. So I asked for a renewal some time ago, but things were hectic at Process.com. This can happen,of course, no big deal since tonight I received the new PAK from Hunter Goatley – and installed it. One day before it expires….

Content management
There is a lot of work to be done outside the system and all what’s related, so work on the web content is slow in progress. The original set of images would exceed the capacity of the disk – by many Gbs, so I had to convert all images to a higher compression rate: one at a time as the software I intended to use could not be installed….:( . But now it takes just over 2 Gb which is well within range. I already created an (uncommented) album, and at the moment I’m halfway the preparation of comments for the final one.
I will have to move all images to another disk, and find a way to prevent a lot of changes in the blog. I may even re-write the whole lot into a VWCMS site.
Time will tell.

01-Aug-2013

Just the ordinary
The usual monthly job has run without surprises. Well, a good one:
PMAS statistics for July
Total messages    :   2627 = 100.0 o/o
DNS Blacklisted   :    552 =  21.0 o/o (Files: 31)
Relay attempts    :     15 =    .5 o/o (Files:  9)
Accepted by PMAS  :   2060 =  78.4 o/o (Files: 30)
  Handled by explicit rule
         Rejected :   1377 =  66.8 o/o (processed),  52.4 o/o (all)
         Accepted :    304 =  14.7 o/o (processed),  11.5 o/o (all)
  Handled by content
        Discarded :    121 =   5.8 o/o (processed),   4.6 o/o (all)
     Quarantained :    228 =  11.0 o/o (processed),   8.6 o/o (all)
        Delivered :     30 =   1.4 o/o (processed),   1.1 o/o (all)

I noted the decease of mail as well. Must be the seaonal holidays…

Some time this month I have to renew my licences – they terminate within 3 weeks!.

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….

Performance question

I got a comment from a visitor from the Far East, that the site is very slow, and he wondered if is was on his side, or mine.

There is no indication of “slow”, so I would like ‘slow’ to be quantisized, and in comparison to what?  It could well be a matter of perception and expectation.

No, this site isn’t lightning fast. PHP is memory hungy, being an interpreted language, and creating a process and setting up the environment takes time. And this box holds just 512 Mb ofmemory where I should have 1Gb – at least, as it the recommendation. A linux box with Apache, with this amount of memory and the same load, wouldn’t be either.

Besides that: it’s not the only PHP job that runs. And to prevent starvation (causing the whole system to hang) access is limited to a small number of concurrent accesses from one site, and when many accesses occur, the excess may be slowed down or queued – or, if things get really nasty, it may happen that connections are dropped with a 503 Server Busy error.

I do have to take precautions to prevent the site being overwhenelmed with too many abusive accesses. If you may be slowed down, it might be others causing the delay.

Apart the load of PHP, there’s more that runs on this machine: the spam filter, and, of course, the database. Add the occasional abusive access (FTP, SMTP), it doesn’t help performance either…

So it is not “fast”. And it won’t be either. If you really want to read the content, you’ll have to exercise a little patience. I hope it’s worthwhile.

(If anyone can help me out with 2Gb memory for a DS10 (EV67, 667 Mhz) for a fair price (don’t forget I’m just a hoobyist :)) I would be quite happy)

By the way: There IS a solution bit it will take quite some time to have it installed: Mark Daniel has created a VMS-native CMS program that keeps all in one big file. But I want to store my daat in a database. Less fast, less efficient, but I don’t have to extract all data and store it in  that single textfile…And spare time is rare…

Rest assured: it could be worse. Several months ago I helped Michelle Popejoy on her WordPress site – her hosting provider runs an emulated DS10 with 1 Gb of memory, and has SWS (Apache) installed and the site was slow – even slower than mine. So I installed both SWS and WASD on a spare PWS500 with 256 Mb memory – similar to the one I ran this site on before, but with just one single, internal disk. SWS works – but it took ages for the WordPress homepage to appear, and the system pages massively during the processing

I also installed WASD on that machine and after some problems with configuration (and chnages in the code of the PHP engine and WASD) I could run her site, which reacted much faster (and with far less paging than SWS).

Shameless plug for WASD? Yes – but not without reason 🙂