How to view core.xx files in Linux? The core.xxx files are created on Linux servers and holds the current state of a process working memory when a process is crashed. To view the core.xx files in Linux, execute the command: root@host [~]# strings core.xxx It will list different state of a process on each line.
March 23rd, 2012 |
admin |
Error: VFS: Error -5 occurred while creating quota. VFS: find_free_dqentry(): Data block full but it shouldn’t. Explanation: The error message “find_free_dqentry(): Data block full but it shouldn’t” appears in the server logs when the files “aquota.user and aquota.group” are mostly corrupted. The ‘fixquotas’ cannot read these files and thus increases CPU usage while quota update [...]
January 25th, 2012 |
admin |
You can perform a full backup of your account/domain from cPanel >> “Backups” option under the Files section. The full cPanel backup is very useful when migrating an account from one server to another. 1) Login to cPanel at http://yourdomainname.tld:2082 click the “Backups” option as shown in the screen below 2) On the next screen, [...]
January 1st, 2012 |
admin |
MaxClients ————— The number of worker processes is limited by the parameter MaxClients. MaxClients = Total RAM dedicated to the web server / Max child process size. The default value of MaxClients is 150. If we have a server with 1gb of ram and child process take an average size of 20 mb. We can [...]
December 17th, 2011 |
admin |
Usually Perl and/or CGI scripts can go wild and eat up ALL system resources: this is dangerous stuff can be controlled by three directives. Apache comes with three directives to place limits on the the amount of CPU, memory and processes the server can use. i) RLimitCPU – restrict the strain of CPU usage. Example: [...]
December 17th, 2011 |
admin |
fuser command displays the PIDs of processes using the specified files or file systems. You can use fuser command to specifies a file on a mounted file system or a block device that is mounted. All processes accessing files on that file system are listed using -k option you can forcefully kill mounted file system. [...]
December 17th, 2011 |
admin |
Script utility to read a file line line version 2. This is simpler version of readline script, it also demonstrate how to process text data file line by line and then separate line in fields, so that you can process it according to your need. #!/bin/bash # # Shell script utility to read a file [...]
December 17th, 2011 |
admin |
#!/bin/bash # Shell script utility to read a file line line. # Once line is read it can be process in processLine() function # You can call script as follows, to read myfile.txt: # ./readline myfile.txt # Following example will read line from standard input device aka keyboard: # ./readline # ———————————————– # Copyright (c) [...]
December 16th, 2011 |
admin |
You’ll get this error when WordPress automatic update process, via svn or admin, fail or is incomplete. It leaves the file named “.maintenance” on your home or root directory, with info on maintenance. Sample content of .maintenance file: <?php $upgrading = 1282258195; ?> Just delete or rename that file and resume your update process, or [...]
December 14th, 2011 |
admin |
A signal is a message which can be sent to a running process. Signals can be initiated by programs, users, or administrators. For example, to the proper method of telling the Internet Daemon (inetd) to re-read its configuration file is to send it a SIGHUP signal. For example, if the current process ID (PID) of [...]