By Soulskill from Slashdot's solid-state-detective-work department
An anonymous reader writes: Algolia is a buzzword-compliant ("Hosted Search API that delivers instant and relevant results")
start-up that uses a lot of open-source software (including various strains of Linux) and a lot of solid-state disk, and as such sometimes runs into problems with each of these. Their blog this week features a fascinating look at troubles that they faced with ext4 filesystems mysteriously flipping to read-only mode: not such a good thing for machines processing a search index, not just dishing it out.
"The NGINX daemon serving all the HTTP(S) communication of our API was up and ready to serve the search queries but the indexing process crashed. Since the indexing process is guarded by supervise, crashing in a loop would have been understandable but a complete crash was not. As it turned out the filesystem was in a read-only mode. All right, let's assume it was a cosmic ray :) The filesystem got fixed, files were restored from another healthy server and everything looked fine again. The next day another server ended with filesystem in read-only, two hours after another one and then next hour another one. Something was going on. After restoring the filesystem and the files, it was time for serious analysis since this was not a one time thing.
The rest of the story explains how they isolated the problem and worked around it; it turns out that the culprit was TRIM, or rather TRIM's interaction with certain SSDs: "The system was issuing a TRIM to erase empty blocks, the command got misinterpreted by the drive and the controller erased blocks it was not supposed to. Therefore our files ended-up with 512 bytes of zeroes, files smaller than 512 bytes were completely zeroed. When we were lucky enough, the misbehaving TRIM hit the super-block of the filesystem and caused a corruption."
< article continued at Slashdot
>Read Replies (0)
By timothy from Slashdot's first-three-are-free department
supplies a link to Music Business Worldwide (based on a re/code report
) that says Apple's new Apple Music service, after a trial period during which the company has refused to pay royalties, is expected to pay a bit more than 70 percent of its subscription revenue
out to the companies supplying it, rather than the 58 percent that some in the music industry had feared
. Notes journovampire: "If 13% of iOS device users in the world paid $9.99-per-month for Apple Music, it would generate more cash each year than the entire recorded music biz manages right now."Read Replies (0)
By samzenpus from Slashdot's around-the-world department
writes: Just days after offering a limited beta release of Skype for Web to customers in the U.S. and UK, Microsoft has made the beta available to users from all over the world. The expansion adds support for: Arabic, Bulgarian, Czech, Danish, English, German, Greek, Spanish, Estonian, Finnish, French, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Korean, Norwegian, Dutch, Polish, Portuguese (Brazil), Portuguese (Portugal), Romanian, Russian, Swedish, Turkish, Ukrainian, Chinese Simplified, and Chinese Traditional.Read Replies (0)