Mar 032014
 

Article by me, first published on Openlogic.com

Whether you are a system administrator or a developer, sometimes you need to consider the use of memory in GNU/Linux processes and programs. Memory is a critical resource, and limited memory plus processes that use a lot of RAM can cause a situation where the kernel goes out of memory (OOM). In this state Linux activates an OOM killer kernel process that attempts to recover the system by terminating one or more low-priority processes. Which processes the system kills is unpredictable, so though the OOM killer may keep the server from going down, it can cause problems in the delivery of services that should stay running.

In this article we’ll look at three utilities that report information about the memory used on a GNU/Linux system. Each has strengths and weaknesses, with accuracy being their Achilles’ heel. I’ll use CentOS 6.4 as my demo system, but these programs are available on any Linux distribution.

Continue reading »

flattr this!

Feb 192014
 

Original article by http://blog.shineservers.com/

Sometime a process “hang” both if you are using Gnu/Linux on your desktop (maybe a game ?) or as server, in these cases the best thing to do it’s to terminate that process, that probably is using precious resources, the basic commands to do this from a terminal are kill and killall.

killall is a tool for ending running processes on your system based on name. In contrast, kill terminates processes based on process ID number or “PID.” kill and killallcan also send specific system signals to processes. Use killall and kill in conjunction with tools including ps to manage processes and end processes that have become stuck or unresponsive when necessary.

Continue reading »

flattr this!

Feb 102014
 

At the end of 90`s Mandrake Linux was the most popular distribution out there. Most thing that are today said about Ubuntu where first said about Mandrake. It was the number one distro from 1998 util 2004. User friendly, easy to use, easy to install, lot of preinstalled software, most popular by new users and Mandrake made at that point most users to change on Linux. All that is today said about Ubuntu. Yeah, Mandrake had also free shipping for DVDs back then. But soon the empire started to fall apart. In 2004 Mandrake had died. In 2005 Conectiva, the company who bought Mandrakesoft announced and released Mandriva and in 2006 they fired Gael Duval. Duval was the author of Mandrake. The new distribution, Mandriva, was nothing like good old Mandrake and it made lot of users to change their system. Fast forward to 2014 and let us have a look on the legacy of Mandrake Linux. Last stable release of Mandriva was in 2011 and it was not really stable. But in last 10 years Mandriva inspired many users and developers and new distributions popped out. One of them is Rosa Linux. Rosa Linux is a Russian Linux distribution.

Continue reading »

flattr this!

Jan 292014
 

Often one wants a shared access to files across machines. Traditionally one uses the network file system (nfs). The network file server works as follows: There is an nfs server that exports some directories in its filesystem hiearchy to various nfs clients that mount these directory over the network into their file system hierarchy. As a result, each of the clients shares the directories exported by the nfs server.

However a lot of times you just have to mount a directory from a server to your local computer and in these cases NFS it’s not so useful, sshfs it’s much better

Sshfs is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there’s nothing to do.  On the client side mounting the filesystem is as easy as logging into the server with ssh.

Continue reading »

flattr this!