July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Apache failed to start with the “No space left on device” error.

Apache failed to start with the “No space left on device” error. Error:- [error] (28)No space left on device: Cannot create SSLMutex Configuration Failed

These errors means that there is no available IPC (inter-process communication) resources in the system, such as semaphores or shared memory segments. You need to check IPC resources which are used […]

Avoid hackers hacking linux

Avoid hackers hacking linux

Apply Latest OS Patches

All Linux servers running Red Hat are patched at least twice a year.

Configure SSH (server) Settings: Protocol 2 # Default LogLevel INFO # Default PermitRootLogin no HostbasedAuthentication no # Default IgnoreRhosts yes # Default AllowTcpForwarding no PermitTunnel no # Default Banner /etc/issue

Description:

The settings are […]

Enabling GZIP compression : Jboss

Enabling GZIP compression for your web application is a good way to accelerate your web site. This can reduce the size of data being transferred and, consequently, speed your application.

Enabling compression on the web server will make data be transferred in compressed form. The browser will decompress the data on the fly, making the […]

kills all pids matching the search word

kills all pids matching the search word

ps -ef | awk ‘/apache/ && !/awk/ {print $2}’ | xargs -r kill -9

Zombie Process

Zombies don’t just appear in scary movies anymore, sometimes they also appear on your Linux systems; but don’t fret they are mostly harmless.

What is a Zombie Process?

Before we get started I wanted to first cover what exactly a Zombie process is.

Linux and Unix both have the ability for a process to create […]

Dealing with a large active log

Dealing with a large active log

When the log size gets to say 1GB we want to back it up in another directory and empty the current log file.

Therefore basically we are doing:

cp SystemOut.log <some dir with large space> cat /dev/null > SystemOut.log