iBotPeaches Posted October 4, 2012 Report Posted October 4, 2012 Someone asked me for the Phantom Mappack. So I searched for it on our site, and it didn't even pop up in the results. So I went to Google and searched "iBotModz Phantom Mappack" and it came right up. Point being, our search system sucked. We now run Sphinx. A full-text no limit char search engine. The delta cache is updated every 5 minutes, and the frozen cache (for edited posts) is updated nightly at 4am. This reduces the load on mySQL and makes searching faster.
Rogue Modder Posted October 4, 2012 Report Posted October 4, 2012 oo, Very nice. Forum searching has always sucked, nice to see something that isn't shit.
fattwam Posted October 5, 2012 Report Posted October 5, 2012 Iv been thinking of implementing Sphinx.
iBotPeaches Posted October 5, 2012 Author Report Posted October 5, 2012 On a roll today. APC doesn't like talking to mod_ruid2. The shared cache /dirs doesn't give the APC the ability to associate those /dir among users, so it re-creates another 32M cache for each child of apache. If every user is allowed 3 apache process, thats a lot of wasted memory. APC didn't have support for it, so I dropped it in favour for xcache. xcache seems to handling well with a static 48MB dir size and 2MB for vars. Will have to monitor it along with sphinx for the next couple of weeks, but this method should keep all my sites on low use and a tad bit faster.
iBotPeaches Posted October 5, 2012 Author Report Posted October 5, 2012 Ah fixed a bad cache problem. Seems the ETag filled on general php output requests causes the browser to send the ETag back during request then matches the cache instead of asking for new data. So fixed that. You'll have to wait till the cache manually dies out before it fixes itself. Which will take 1-2 hours.
Recommended Posts