I'm blogging about Emacs, Drupal, php and exciting subjects

· Lars Nielsen

One 42 MB Sitemap Froze the Whole Crawl Queue for 60 Hours

My search engine has a worker that discovers sitemaps: for each host that's due, it fetches the declared sitemap, walks any child sitemaps, and records what it found. For 60-odd hours in September, that worker made no progress at all. Every cycle it picked up the same host, crashed, and started over on the same host again. Every other host waiting for a sitemap check sat behind it.

Read article One 42 MB Sitemap Froze the Whole Crawl Queue for 60 Hours
· Lars Nielsen

A Language Denylist That Almost Deleted the One Language It Existed to Protect

Expanding a content-cleanup list by language code should be one of the safer changes a search engine can make. A live check of what was actually in the data turned up three entries that looked exactly like real languages and weren't — one of them the exact language the entire system exists to prioritize.

Read article A Language Denylist That Almost Deleted the One Language It Existed to Protect
· Lars Nielsen

One Host's Backlog Was 6x Larger Than Any Other, and a Generic Query Choked On It

A query written to handle "a host's uncrawled pages" ran fine against every host in the corpus except one. That one host had six times as many uncrawled pages as the next largest, and a query shaped around the assumption of an ordinary-sized host turned a routine operation into a hundred-second stall.

Read article One Host's Backlog Was 6x Larger Than Any Other, and a Generic Query Choked On It
· Lars Nielsen

A Setup Step That Rewrote /etc/passwd and Took polkit, Wi-Fi and Logins With It

My from-scratch Linux build boots into a KDE Plasma desktop now, and for a while it booted into one with a strange set of problems. Wi-Fi scans in NetworkManager didn't work. Power management didn't work. Login sessions weren't being registered properly. Three subsystems with nothing obvious in common, all broken at once.

Read article A Setup Step That Rewrote /etc/passwd and Took polkit, Wi-Fi and Logins With It
Subscribe to Linkhub