Sponsored Content
Operating Systems Linux Red Hat HELP - Resource/Performance Monitoring Script - Red Hat Enterprise Linux Server Post 302506140 by newbie_01 on Friday 18th of March 2011 04:10:27 PM
Old 03-18-2011
HELP - Resource/Performance Monitoring Script - Red Hat Enterprise Linux Server

Hi all,

-------------------------
Linux OS Version/Release:
-------------------------

Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

I have a server that hosts 30+ Oracle databases. Each database has its own set of scripts that shuts down the database and start the database. Things has been working "smoothly" in the last couple of months until this week.

My log in most cases shows errors like the ones below:

cannot fork [Resource temporarily unavailable]
Connection reset by peer

I am 100% sure that the scripts are not at fault since it has been working with no errors for months. I want to monitor the server for what resource or configurations I have to tweak to get around this problem if possible, am I exceeding my ulimit settings running out of process, out of memory/swap space etc?

I wish I could stay up 24x7 to monitor to monitor the server but I can't. Can anyone please advise if there is any monitoring script available somewhere that I can put in cron to temporarily monitor the server for resource issues, for example memory used/left, swap space used/left, ulimit-num-process used/left, nofiles used/left etc.

Any help/advise/suggestion will be much appreciated. Thanks in advance.
 

8 More Discussions You Might Find Interesting

1. Linux

Red Hat Enterprise Linux Version 3

Hello there guys, i'm new in this linux world and i'm having problems with telnet session. I enabled telnet login but it wont let me login as root. is there a file that i need to take a look to make sure that root could telnet to the system. Thanks a lot guys for your help. (2 Replies)
Discussion started by: josramon
2 Replies

2. News, Links, Events and Announcements

Red Hat Enterprise Linux - For Free!

CentOS 2 and 3 are a 100% compatible rebuild of the RHEL 2 and 3 versions, in full compliance with RedHat's redistribution requirements. It is for people who need an enterprise class OS without the cost of certification and support. Read more here. I've just installed it on a spare box and it... (0 Replies)
Discussion started by: zazzybob
0 Replies

3. Red Hat

Enterprise RED HAT Linux

The Adobe Flash Player does not work in my Enterprise Red Hat Linux. It instructs me to download the Flash Player which I have done. However, it does not install. Do I have a GUI in Red Hat that I can use or do I have to do it via command line. Would appreciate any help. Thanks, Anil (3 Replies)
Discussion started by: AnilAnand
3 Replies

4. Red Hat

Help with Linux Red Hat Enterprise 5.4

I installed Red Hat Enterprise Linux version 5.4 on a desktop in work. I am stuck on the following 1. I have to ensure that Syslogd options in the /etc/sysconfig/syslog file read SYSLOGD_OPTIONS="-r -m 0". After making this execute service syslog restart the syslog and make this change... (0 Replies)
Discussion started by: thomas.colgan
0 Replies

5. Red Hat

How to prepare for Red Hat Enterprise Linux Certifications?

Hi Everyone, I am working as a AIX System Administrator. I did few certifications related to my work. And i do have a very little working experience of Red Hat (Linux OS). i started learning RHEL, and would like to get the professional certifications from Red Hat. I was browsing redhat... (5 Replies)
Discussion started by: System Admin 77
5 Replies

6. Red Hat

To download mod_ssl for Red Hat Enterprise Linux Server release 5.6 Beta (Tikanga)

Hi, Anyone know how and where to download mod_ssl package into Red Hat Enterprise Linux Server release 5.6 Beta (Tikanga) ? could you also show what's the procedure to apply the mod_ssl into the server and how to apply the digital cert into apache server and so on. Thanks. (1 Reply)
Discussion started by: ckwan
1 Replies

7. Red Hat

Special characters automatically gets returned - Red Hat Enterprise Linux Server release 7.0

Dear experts, We are using Linux OS i.e Red Hat Enterprise Linux Server release 7.0 I log to the server using putty & default shell is Code: -bash4.2$ echo $SHELL /bin/bash special character automatically gets returned in my putty. Code: -bash-4.2$ ~ Also this... (0 Replies)
Discussion started by: dba1981
0 Replies

8. UNIX for Dummies Questions & Answers

Special characters automatically gets returned - Red Hat Enterprise Linux Server release 7.0

Dear experts, We are using Linux OS i.e Red Hat Enterprise Linux Server release 7.0 I log to the server using putty & default shell is -bash4.2$ echo $SHELL /bin/bash special character automatically gets returned in my putty. -bash-4.2$ ~ Also this special... (4 Replies)
Discussion started by: dba1981
4 Replies
OCF_HEARTBEAT_IDS(7)						OCF resource agents					      OCF_HEARTBEAT_IDS(7)

NAME
ocf_heartbeat_ids - Manages an Informix Dynamic Server (IDS) instance SYNOPSIS
ids [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
OCF resource agent to manage an IBM Informix Dynamic Server (IDS) instance as an High-Availability resource. SUPPORTED PARAMETERS
informixdir The value the environment variable INFORMIXDIR has after a typical installation of IDS. Or in other words: the path (without trailing '/') where IDS was installed to. If this parameter is unspecified the script will try to get the value from the shell environment. (optional, string, no default) informixserver The value the environment variable INFORMIXSERVER has after a typical installation of IDS. Or in other words: the name of the IDS server instance to manage. If this parameter is unspecified the script will try to get the value from the shell environment. (optional, string, no default) onconfig The value the environment variable ONCONFIG has after a typical installation of IDS. Or in other words: the name of the configuration file for the IDS instance specified in INFORMIXSERVER. The specified configuration file will be searched at '/etc/'. If this parameter is unspecified the script will try to get the value from the shell environment. (optional, string, no default) dbname This parameter defines which database to use in order to monitor the IDS instance. If this parameter is unspecified the script will use the 'sysmaster' database as a default. (optional, string, default sysmaster) sqltestquery SQL test query to run on the database specified by the parameter 'dbname' in order to monitor the IDS instance and determine if it's functional or not. If this parameter is unspecified the script will use 'SELECT COUNT(*) FROM systables;' as a default. (optional, string, default SELECT COUNT(*) FROM systables;) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 120. stop Stops the resource. Suggested minimum timeout: 120. status Performs a status check. Suggested minimum timeout: 60. monitor Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 10. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. methods Suggested minimum timeout: 5. usage Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a ids resource using the crm(8) shell: primitive p_ids ocf:heartbeat:ids op monitor depth="0" timeout="30" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/ids_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_IDS(7)
All times are GMT -4. The time now is 07:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy