sandip's story links

Tune2fs Command May Increase Linux Free Disk Space


Not all of the Linux distributions allow users to tweak file system parameters during Linux installation, such as file system Reserved Block Count. Debian Linux installer allows user to change file system Reserved Block Count at Linux installation stage.

Other Linux distributions, particularly Redhat Linux, only allow user to tune file system parameters at post-installation stage, via Linux file system utility tune2fs...

Troubleshooting NFS


This is intended as a step-by-step guide to what to do when things go wrong using NFS. Usually trouble first rears its head on the client end, so this diagnostic will begin there...

Watching nginx upstreams with collectd


Already happy with nginx in front of Apache for a number of sites, I decided it was time to start testing nginx/fastcgi on my personal server (the serial crash test dummy of my web operations). The only problem: I have yet to find a sensible method of grabbing useful runtime information from the PHP fastcgi process itself, and if you can’t sensibly watch it, you can’t sensibly deploy it.

Administering MySQL


In this lesson of the MySQL tutorial, you will learn...

1. To start up and shut down the MySQL Server
2. To view Information about the Server and Databases
3. To view and kill Threads
4. To clear System Caches
5. Various mysqladmin Options

php 5.2 to 5.3 migration


The new release of PHP 5.3 brought many important additions and changes to PHP. Although longly awaited, some of the changes are not backwards compatible. Thus, code that worked fine with 5.2 may produce warnings or fail in 5.3.

Quick research shows that most prominent applications had to be patched or changed, even though minimally, to work cleanly with 5.3. To help people to convert their web applications to 5.3, I present here a migration script that would allow you to inspect your applications for potential migration problems.

Varnish HTTP accelerator


A basic Varnish installation consist of Varnishing sitting in from of your web server (referred to as back-end), clients will interact solely with Varnish and never know there is a back-end web server (nor should they have access to the back end directly). When a request comes in to Varnish for a page that is being cached over a standard HTTP connection Varnish will either service this directly to the client (without sending a request to the back-end) from Varnish’s cache if exist or if not in cache will send a request to your web back-end over its TCP socket via an HTTP request...

Know when your drives are failing, with smartd


“Ka-chunk... ka-chunk... ka-chunk... tick... tick... tick... Ka-chunk... ka-chunk...” That's just not a sound you ever want to hear coming from a hard drive. It's the sound of a hard drive trying to move it's read/write heads into a position that they don't seem to want to go to or its trying to read a sector that just isn't there anymore. Of course, modern hard drives have come a long way and are amazingly reliable, but if you work with computers long enough, you're bound to have one fail on you.

Bad block HOWTO for smartmontools


This article describes what actions might be taken when smartmontools detects a bad block on a disk. It demonstrates how to identify the file associated with an unreadable disk sector, and how to force that sector to reallocate.

Tutorial on Software Programming


A collection of 30 free tutorial books by Herong Yang on latest programming technologies. Tutorials in all books are based on Herong's personal experience and ideal for developers to learn new programming technologies.

Troubleshooting Memory Usage


If you are using VPS with very limited memory resources, the link provides excellent reference material on troubleshooting memory issues with some of the know applications that can possibly consume high memory.

Syndicate content

Syndicate content