LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-18-2011, 03:06 PM   #1
newbie01.linux
LQ Newbie
 
Registered: Oct 2009
Posts: 15

Rep: Reputation: 0
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.
 
Old 03-20-2011, 03:27 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Somewhat less information, you did not mention the hardware, number of user session, number of oracle sessions, who did create the error message? Syslog? Oracle database software? When does this errror message occure?

You should check the man pages for
Code:
ulimit
Lsof
Sar
Iostat
Vmstat
Top
Also take a look at
Code:
/var/log/message
Also take a look at the oracle database instance alert.log


These will help you determining the reason for your problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To setup remote access server on Red Hat Enterprise Linux Server release 5.1 bagra Linux - Newbie 5 10-19-2011 07:04 PM
Red Hat Enterprise Linux Server release 5.3 (Tikanga) htb.support Linux - Newbie 3 08-25-2010 02:05 PM
How do I extract war file under Linux Red Hat Enterprise server 5.0? edgarosy Linux - Newbie 6 04-16-2010 05:04 PM
Red Hat Enterprise Linux 3 web server? Superfrk Linux - Enterprise 1 06-27-2004 01:11 AM


All times are GMT -5. The time now is 07:18 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration