Sponsored Content
Operating Systems Linux Red Hat VM becomes slow every 3-4 days Post 302883368 by solaris_1977 on Monday 13th of January 2014 02:37:16 PM
Old 01-13-2014
VM becomes slow every 3-4 days

Hi,
I have RHEL 6.1 on VM, where Big data is installed. Every 3-4 days, its web interface become very slow and I had to reboot this VM. I was checking with "top" and that shows that free memory is less. Can this be a reason for slowness ? No big load on CPU.
Code:
[root@server-01 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          7873       7753        120          0          2        276
-/+ buffers/cache:       7474        399
Swap:        10063       4403       5660
[root@server-01 ~]# vmstat 1 2
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 3  0 4509316 120036   2644 283144   24   15    34    51   24    6  2  1 96  1  0
 4  0 4509296 119912   2644 283304   32    0    32     0 1686 6463  2  0 98  0  0
[root@server-01 ~]#
[root@server-01 ~]# ps aux | awk '{print $2, $4, $11}' | sort -k2r | head -n 10
PID %MEM COMMAND
1913 3.3 /usr/java/jdk1.6.0_31/bin/java
4232 3.3 /usr/java/jdk1.6.0_31/bin/java
2333 2.0 java
3397 1.8 /usr/java/jdk1.6.0_31/bin/java
1784 1.6 postgres:
4230 1.5 /usr/java/jdk1.6.0_31/bin/java
22477 1.3 /usr/java/jdk1.6.0_31/bin/java
3058 1.3 /usr/java/jdk1.6.0_31/bin/java
3995 1.3 /usr/java/jdk1.6.0_31/bin/java
[root@server-01 ~]# top
top - 11:33:32 up 3 days, 23:49,  2 users,  load average: 1.59, 0.51, 0.59
Tasks: 218 total,   1 running, 217 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.5%us,  1.0%sy,  0.0%ni, 24.6%id, 69.7%wa,  0.0%hi,  0.2%si,  0.0%st
Mem:   8062732k total,  7956004k used,   106728k free,     1860k buffers
Swap: 10305528k total,  4508972k used,  5796556k free,   259976k cached

Not sure, if I need to limit heap size or edit sysctl file. Please suggest.
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Slow

The site has gone slow for quite some time... Can you do somethin abt it (2 Replies)
Discussion started by: DPAI
2 Replies

2. SCO

Slow cd response

Hi All We have one SCO Server here and it never gives us any trouble. Until Now!! Well its not earth shattering but we have one user who is complaining of a very slow response time when changing to his Home Directory. Other users who have similar profiles are OK. I have su'd to this user and I can... (0 Replies)
Discussion started by: JohnOB
0 Replies

3. Shell Programming and Scripting

ls latest 4 days or specify days of files in the directory

Hi, I would like to list latest 2 days, 3 days or 4 days,etc of files in the directory... how? is it using ls? (3 Replies)
Discussion started by: happyv
3 Replies

4. Solaris

ssh very slow

I'm facing a problem when trying to ssh to SUN servers with solaris OS,it takes a long time until prompted for password ..after connecting to the server everything work fine..how can I solve this issue??? (11 Replies)
Discussion started by: mm00123
11 Replies

5. SCO

Printer is slow

The syslog shows: FEB 5 17:42:07 NGXXXXX SYSLOG: SCOADM: LOCALHOST {SCO_NETWORKSPOOLER} {LPD} ERR OR SCO_OFACE_MSG_ERROR {ERROR {{SCO_OSA_ERR_PROCESSING_FAILURE {GENERAL FAILURE OCCURED IN PROCESSING THE REQUEST.}} {SCO_PRINTER_OSA_ERR_RLP_NOT_INSTALLED {THE TCP/IP RLP REMOTE PRINTING PACKAGE... (2 Replies)
Discussion started by: gagan8877
2 Replies

6. Shell Programming and Scripting

date for two days or 3 days ago

i need a script that can tell me the date 2 days ago or 3 days ago. please help (7 Replies)
Discussion started by: tomjones
7 Replies

7. Shell Programming and Scripting

Cron job running for some days and is not running for some days

Hi.. i have written a shell script and made this script to run on every day night 11: 55 pm using a cron job. This cron job running for some days and is not running for some day. but i need this script to run every day night. Please help me. Here is the cron tab entries, 55 23 * * *... (1 Reply)
Discussion started by: vidhyaS
1 Replies

8. Shell Programming and Scripting

Working out days of the week and processing file in 3 working days

Hi guys i need advice on the approach to this one...... I have a file say called Thisfile.20130524.txt i need to work out from the date 20130524 what day of the week that was and then process the file in 3 working days. (so not counting saturday or sunday....(will not worry about bank... (2 Replies)
Discussion started by: twinion
2 Replies

9. UNIX for Beginners Questions & Answers

How to find a file that's modified more than 2 days ago but less than 5 days ago?

How to find a file that's modified more than 2 days ago but was modified less than 5 days ago by use of any Linux utility ? (4 Replies)
Discussion started by: abdulbadii
4 Replies
GIT-CHECK-ATTR(1)                                                   Git Manual                                                   GIT-CHECK-ATTR(1)

NAME
git-check-attr - Display gitattributes information SYNOPSIS
git check-attr [-a | --all | attr...] [--] pathname... git check-attr --stdin [-z] [-a | --all | attr...] DESCRIPTION
For every pathname, this command will list if each attribute is unspecified, set, or unset as a gitattribute on that pathname. OPTIONS
-a, --all List all attributes that are associated with the specified paths. If this option is used, then unspecified attributes will not be included in the output. --cached Consider .gitattributes in the index only, ignoring the working tree. --stdin Read pathnames from the standard input, one per line, instead of from the command-line. -z The output format is modified to be machine-parseable. If --stdin is also given, input paths are separated with a NUL character instead of a linefeed character. -- Interpret all preceding arguments as attributes and all following arguments as path names. If none of --stdin, --all, or -- is used, the first argument will be treated as an attribute and the rest of the arguments as pathnames. OUTPUT
The output is of the form: <path> COLON SP <attribute> COLON SP <info> LF unless -z is in effect, in which case NUL is used as delimiter: <path> NUL <attribute> NUL <info> NUL <path> is the path of a file being queried, <attribute> is an attribute being queried and <info> can be either: unspecified when the attribute is not defined for the path. unset when the attribute is defined as false. set when the attribute is defined as true. <value> when a value has been assigned to the attribute. Buffering happens as documented under the GIT_FLUSH option in git(1). The caller is responsible for avoiding deadlocks caused by overfilling an input buffer or reading from an empty output buffer. EXAMPLES
In the examples, the following .gitattributes file is used: *.java diff=java -crlf myAttr NoMyAttr.java !myAttr README caveat=unspecified o Listing a single attribute: $ git check-attr diff org/example/MyClass.java org/example/MyClass.java: diff: java o Listing multiple attributes for a file: $ git check-attr crlf diff myAttr -- org/example/MyClass.java org/example/MyClass.java: crlf: unset org/example/MyClass.java: diff: java org/example/MyClass.java: myAttr: set o Listing all attributes for a file: $ git check-attr --all -- org/example/MyClass.java org/example/MyClass.java: diff: java org/example/MyClass.java: myAttr: set o Listing an attribute for multiple files: $ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java org/example/MyClass.java: myAttr: set org/example/NoMyAttr.java: myAttr: unspecified o Not all values are equally unambiguous: $ git check-attr caveat README README: caveat: unspecified SEE ALSO
gitattributes(5). GIT
Part of the git(1) suite Git 2.17.1 10/05/2018 GIT-CHECK-ATTR(1)
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy