LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   the system hang , (https://www.linuxquestions.org/questions/linux-newbie-8/the-system-hang-4175587719/)

sub315 08-22-2016 09:54 PM

the system hang ,
 
In my Redhat 6 server , I have installed a database on it and just use it .

I just found that when I connect database and write data to it , the system seems hang a few minutes , then it will be resumed , a few tiems a day .

I guess may be it used up the system resource that caused it hang , but I don't know what system resource eg. CPU , I/O , process id , memory or network traffic etc is used up , would advise how can I fix the case ?

thanks

JJJCR 08-23-2016 12:25 AM

What database are you using MySQL, Postgres or what?

What's the specs of the RedHat server?

Try using: iostat, systat to monitor disk I/O operation.

And since you're using RH if you have subscription, then you can check with RH Tech support.

sub315 08-23-2016 01:25 AM

Quote:

Originally Posted by JJJCR (Post 5594661)
What database are you using MySQL, Postgres or what?

What's the specs of the RedHat server?

Try using: iostat, systat to monitor disk I/O operation.

And since you're using RH if you have subscription, then you can check with RH Tech support.

Postgres , the specs is 4 core CPU , 128G ram , 3T HD

No subscription

TB0ne 08-23-2016 07:56 AM

Quote:

Originally Posted by sub315 (Post 5594625)
In my Redhat 6 server , I have installed a database on it and just use it .
I just found that when I connect database and write data to it , the system seems hang a few minutes , then it will be resumed , a few tiems a day .

I guess may be it used up the system resource that caused it hang , but I don't know what system resource eg. CPU , I/O , process id , memory or network traffic etc is used up , would advise how can I fix the case ?

As JJJCR said, you're not providing any details that would let us help you. Read the "Question Guidelines" and "How to ask a smart question" links in my posting signature. It could be any of LOTS of different things.

The easiest way would be for you to get Red Hat support to analyze an SOS report...you are PAYING FOR RHEL, RIGHT????

JJJCR 08-23-2016 08:22 PM

Quote:

Originally Posted by sub315 (Post 5594680)
Postgres , the specs is 4 core CPU , 128G ram , 3T HD

No subscription

No Subscription, then I guess it's quite difficult. What if the system just need an update? And the issue will just fade away. Unless you're smart enough and create your own kernel update, and also provides update for other components.

Good luck!

chrism01 08-24-2016 04:09 AM

Start by showing us some info eg 'top' cmd.
Also disk 'df -h'

BTW. without a subscription you can't support OR updates from RH - this is leaving all current bugs in the system, inc security ones...
You should REALLY get a subscription or switch to Centos, where at least you'll get updates.


All times are GMT -5. The time now is 01:34 PM.