Re: Slowness on local install, just with some URLs

Thanks Jon,

I can confirm that slowness happens when validating by URI and by direct
input, so it's not a network issue.

What I don't agree with is that it happens with non-HTML5 documents. I can
validate HTML4.01 Transitional pages quickly, for example.

Jon, I wonder what difference is there between your slow installs and fast
installs. Why do you think your remotely-hosted dedicated server is quicker
than the others? Memory available? Apache tweaks, or maybe using another
web server?

I wonder what's the configuration of the official W3C validator server, I
mean, amount of memory, web server, linux distro, etc.

I installed the validator following this guide:

https://github.com/tlvince/w3c-validator-guide

Regards,
Jaime


2012/11/2 Jon Cram <jon@webignition.net>

>  I'm seeing the same on a two local installs of the validator.
>
> On Ubuntu Desktop 12.10, both 64bit (my main machine) and 32 bit (a CI
> server), validation takes a long, long time (longer than a minute). On both
> machines I can retrieve the page markup with curl very quickly, there's no
> network issue. The happens when validating by direct input, so it's not a
> problem with retrieving the page markup through the validator.
>
> On Ubuntu Server 12.04 on a remotely-hosted dedicated server I'm not
> getting the issue and the page validates just as quickly as it does at
> http://validator.w3.org.
>
> I tried playing around with the doctype. Only HTML5 documents validate
> quickly and this is explained by the fact that HTML5 validation is deferred
> to the validator.nu validator and hence does not use the w3c validator.
>
> With doctypes that the w3c validator handles and even for simple documents
> (just an empty head and body wrapped in an html element), validation takes
> a very, very long time.
>
> I have no idea why. But I can at least confirm that I'm seeing similar
> issues.
>
>
> On 01/11/12 21:39, Jaime Iniesta wrote:
>
> Hi, I'm having a weird issue with my local installations of the 1.3
> validator.
>
>  I'm validating this URL:
>
>  http://www.jedermann-gruppe.de/cms/der-verein
>
>  If I validate it on http://validator.w3.org it just takes 2 seconds to
> respond, but when I do it on my local installation, it takes about a minute.
>
>  Other URLs are fine, but all within this site are super slow. It does
> not seem a connectivity issue, as I can browse this site fine, ping, etc.
>
>  It does not happen on my local installation of validator.nu.
>
>  I've tried on 3 different servers, with ubuntu 32 bits and 64 bits, and
> different locations (a dedicated server and a pair of virtual boxes on my
> machine).
>
>  I can't find any error on the Apache logs, is there any other log to
> check? Please notice that the validation goes OK, it returns 7 HTML errors,
> it's just slow.
>
>  Can anyone with a local installation of the validator verify this?
>
>  How can I investigate / solve this?
>
>  Thanks!
>
>  Jaime
>
>
>

Received on Friday, 2 November 2012 09:20:30 UTC