December 10th, 2011
I tried to edit resource allocation settings and got the following error using Vmware Infrastructure client:
A specified parameter was not correct spec.sharesinfo.shares
To fix the problem and edit resource allocation you should edit values directly from the virtual machine
Login in as Administrator into Vmware Virtual Center using Vmware Infrastructure client. Select the virtual machine you want to modify. Edit Settings. Click Resources tab. Modify the required resource values as required.… Read the rest of this entry »
November 13th, 2011
At LKJ.NET blog we usually cover new technologies that allow to scale your web site to new heights. A few weeks ago I spot a new and promising star in the universe – G-WAN web server daemon/software. From the benchmarks it claims to be the fastest web server daemon available on the planet easily beating Nginx and Lighhtpd with a large margin (3-4 times usually). It can easily saturate 10G network up link by serving static content and is ideal for Web 2.0 noSQL stores and similar technologies where phenomenal high speed and low latency is a must.
G-WAN is … Read the rest of this entry »
September 5th, 2011
For those who are having problems installing curl-loader under Centos platforms please read this guide.
This guide applies to Centos 5.5 and 5.6 versions, 64-bit platforms.
Install the following packages:
yum install libevent libevent-devel
Download curl-loader from: http://sourceforge.net/projects/curl-loader/
replace in Makefile
Run with root user:
If you are getting the following error:
curl-loader: error while loading shared libraries: libcares.so.2: cannot open shared object file: No such file or directory
you are missing c-ares package..you can try to install from Centos yum repository:
yum install c-ares
or download source from: http://c-ares.haxx.se/
and curl-loader … Read the rest of this entry »
August 31st, 2011
Sorry guys, I’ve been a bit busy lately working on Vmware migrations and doing a horizontally scalable web platform. I will have new technical posts published shortly that will include Linux Virtual Server (LVS) configs and UCARP fail-over as well as load balancing and SSL acceleration using Nginx.… Read the rest of this entry »
July 7th, 2011
By default httperf on Linux compiles with 1024 open descriptors and that can be a problem when you plan to test high bandwidth and many concurrent connection web servers.
For safety you can edit /etc/security/limits.conf however you will also need to change the following file before you compile httperf software:
and find the following line:
/* Number of descriptors that can fit in an `fd_set’. */
#define __FD_SETSIZE 1024
and replace it to
#define __FD_SETSIZE 65535
Now you can compile httperf.
The original string that’s displayed when you run httperf without editing typesizes.h definition file:
httperf: maximum number of
… Read the rest of this entry »
June 29th, 2011
I haven’t disappeared folks – I’ve been playing around with Linux Virtual Server (LVS) in the last days and it’s been actually a great experience. Please expect LVS Layer 4 load balancing posts very shortly.
I am currently using Centos 5.6 version with built in IPVS module, but will be compiling custom kernel for best performance. Please hold on – I will have new posts shortly.… Read the rest of this entry »
June 12th, 2011
To speed up your desktop or laptop hard drive performance it’s recommended once in a while to perform a hard disk defragmentation. Of course you can install expensive SSD drive and forget about the “slow” SATA drives, however disk defragmentation offers free performance boost for existing hard drives.
You can run hard drive defragmentation from a command line or graphical interface.
For Windows XP in graphical mode run:
Start -All programs -Accessories -System tools -Disk defragmenter
Select the disk and click Analyze option. The disk blocks, files and directories will be evaluated and the program will … Read the rest of this entry »
June 7th, 2011
My friend’s PC got infected with Windows XP Recovery virus and he asked my help to get rid of it. This virus is quite annoying – it hides all files, cleans desktop and program menu and offers you to buy software that will repair your PC. What a joke.
The following popup appeared:
I tried downloading PC Tools, that did detect this malware, but asked me to register and buy a full version to remove this virus. No, I didn’t want to buy anything and started some searching again. After a few searches I found Malwarebytes Anti-Malware software that offers … Read the rest of this entry »
May 29th, 2011
I’ve been consulting owners of very large blogs for a few years now and the last client was a very popular tech blog owner who’s web site has over 3.000.000 monthly visitors.
The server hardware specification:
4 CPU Intel E5640 (16 cores in total)
1TB SATA HDD
This WordPress powered blog runs on LAMP platform with Nginx (my favorite!) front-end server, Apache and MySQL on one physical server. The problem was IO load – the IO time wait as reported by “iostat” utility was sometimes over 26%. The average server load was over 8 all the time, while … Read the rest of this entry »
May 19th, 2011
When you publish a new content on your blog, you need to notify Update service sites that your blog has new and fresh content available. At first it may sound a bit complicated process to set-up, but it’s easily done with WordPress built-in feature called “Update services”. A lot of folks refer to it as “blog ping” service.
So why do you need to notify these blog update service sites about fresh content?
To get more feed readers, web visitors and increase your blog popularity. Many folks have signed up with these Update services sites and are automatically receiving notifications … Read the rest of this entry »