Link checking goes berserk

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
User avatar
kgish
Rank I - Novice
Rank I - Novice
Posts: 11
Joined: Sat Apr 02, 2005 3:34 am
Location: Gouda, The Netherlands
Contact:

Link checking goes berserk

Post by kgish » Tue Apr 05, 2005 2:45 am

While validating a web page with many internal links, I soon noticed that my web server slowly but surely became unreachable.

Upon further investigation, I discovered that CSE was going wild with link checking, thereby flooding my poor apache setup with tons of GET-requests, whereby my server started swapping wildly.

Perhaps it would be a good idea to set a (configurable) limit on the number of outstanding link checks before continuing with the others.

Curious what you think.
"The heart has its reasons of which reason knows nothing." - Blaise Pascal, Pensées

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3417
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Link checking goes berserk

Post by Albert Wiersch » Tue Apr 05, 2005 5:14 am

kgish wrote:Perhaps it would be a good idea to set a (configurable) limit on the number of outstanding link checks before continuing with the others.

Curious what you think.
Hello,

You can set the maximum number of simultaneous link check requests in the Network tab of the Validator Engine Options. I think that will do what you want and slow down the link check. :-)
Image
Albert Wiersch

User avatar
kgish
Rank I - Novice
Rank I - Novice
Posts: 11
Joined: Sat Apr 02, 2005 3:34 am
Location: Gouda, The Netherlands
Contact:

Post by kgish » Tue Apr 05, 2005 7:39 am

Yeps, that did the trick thanks. I guess I should have looked better. But is there a way to turn it off completely?
"The heart has its reasons of which reason knows nothing." - Blaise Pascal, Pensées

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3417
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Post by Albert Wiersch » Tue Apr 05, 2005 7:47 am

kgish wrote:Yeps, that did the trick thanks. I guess I should have looked better. But is there a way to turn it off completely?
Sure. You can turn off link checking in the Batch Wizard by unchecking the Enable link checking option in the Links tab of the Batch Wizard Options.
Image
Albert Wiersch

User avatar
kgish
Rank I - Novice
Rank I - Novice
Posts: 11
Joined: Sat Apr 02, 2005 3:34 am
Location: Gouda, The Netherlands
Contact:

Post by kgish » Tue Apr 05, 2005 2:13 pm

Yes, but if this is disabled in the batch wizard, does that mean it is also disabled in the regular validations also?
"The heart has its reasons of which reason knows nothing." - Blaise Pascal, Pensées

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3417
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Post by Albert Wiersch » Tue Apr 05, 2005 2:25 pm

kgish wrote:Yes, but if this is disabled in the batch wizard, does that mean it is also disabled in the regular validations also?
No. That is a different setting (in the Editor Options). Or you can manually control the editor link checking by turning off the auto-link checking option when you validate a document in the editor. You can then press the Check Links button to check the links in the Links tab of the Results Window to check the links only when you want to.
Image
Albert Wiersch

Post Reply