How to load-balance SQL Server 2008 for high-usage ASP.NET applications?

If it’s high availability you need, then Windows/SQL Server Clustering or SQL Server Database Mirroring offer solutions. Clustering does require a lot of planning and familiarisation if you’ve never done it before, but it will be transparent to the application. Load balancing is possible with SQL Server, but it’s not for the faint hearted. It’s … Read more

Linux; What is stripe_cache_size and what does it do?

from my understanding the stipe_cache_size is the number of stripe entries in the stripe cache. The stripe entries varies from systems to system but it is mostly controlled by the page size(default of 4096 bytes on linux systems)(https://github.com/torvalds/linux/blob/master/drivers/md/raid5.c#L73 , this file have all the logic of the stripe cache if you’d like to dig deeper) … Read more

Tomcat 8 org.apache.catalina.webresources.Cache.getResource

You have few errors: Should be <Resources> (plural) FileResourceSet could be defined in <Resources><PreResource> section if needed and etc… not well documented yet: The Context Container This works fine for me with Tomcat 8.0.15 & Liferay Portal 6.2.1 GA2 (which has a lot of static files + JDBC pool): <?xml version=’1.0′ encoding=’utf-8′?> <Context> <WatchedResource>WEB-INF/web.xml</WatchedResource> <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource> … Read more

How to solve “ExpiresActive not allowed here” error message in .htaccess file?

On a general note, the simplest way to deal with issues like this is referring to the manual. http://httpd.apache.org/docs/1.3/mod/mod_expires.html#expiresactive Syntax: ExpiresActive On|Off Context: server config, virtual host, directory, .htaccess Override: Indexes Status: Extension Module: mod_expires The two fields of interest it Context and Override. As we can see its OK to use ExpiresActive in an … Read more

Windows Server 2008 R2 64-bit memory leak

Well, I see ~3.2 gigabytes of Driver Locked memory, which immediately stands out as suspicious. This kind of memory, Driver Locked memory, is memory that has been locked by a kernel-mode driver. Typically for the purpose of transferring small amounts of data, usually for short periods of time. So if you have a large chunk … Read more

Managing battery relearn cycles on LSI and similar RAID controllers

Just recently I read an article by one of Godaddy’s engineers about this very topic: Learning to Deal with Learning On their hardware (Dell PERC cards) battery learning cycle happens every 90 days, but no way to know when exactly it’ll happen, ie during peak or off-peak hours. They talked about different solutions: Outright disable … Read more