Linux server is slow


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Linux server is slow
# 1  
Old 10-02-2008
Linux server is slow

Hello,

I am using Redhat redhat 4 update 4 kernal 2.6. My server is some time suddenly running slow.
The averge cpu load goes up to 50 to 60. (There is only two CPU and usually, the averge load
is between 1 to 2.5) That time, i see, there are several sessions connected.
Normally, we have 150 to 160 session. But when the server is slow, the total number of sessions
goes up to 400. At that time, it is taking long time to connect into the database. Even,
connecting into linux box is taking long time.

Our application server is showing this error message in log file.

ERROR] [2008-10-02 13:09:31] [JDBCExceptionReporter] The data source returned null from getConnection(user,password).
org.hibernate.exception.GenericJDBCException: Cannot open connection

Any one is phasing this problem??? Any direction to pursue this issue?
# 2  
Old 10-02-2008
hi,

i think netstat -an would be a nice and simple method to see whether the server has reach its maximum port caused by application forking.

and for the serious part - a NIDS or NIPS should be placed in front of all servers network.

HTH.
# 3  
Old 10-14-2008
hi ,

1. Please check with updates
2. Check with log file
3. JDBC connection is a problem better reonfig to JDBC connection
4. restart the JDBC service

kumar
# 4  
Old 11-04-2008
Looks like connection error to me. What database are you connecting to? And is it local or remote? Check the max number of the allowed connections on the database listener you might be exceeding it under high load.
# 5  
Old 11-04-2008
What database are you using? What is the max number of database connection you set in the server?
# 6  
Old 11-05-2008
Hi All


Please give server model then can I give the best commands for u. other way’s I can’t do

Why update one kernel 2.6 before working fine right.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

AIX server running very slow

Hello, All the commands on AIX are running very slow. Below is few stats but I didn't find any issue in cpu or memory reosurces vmstat System configuration: lcpu=4 mem=6144MB ent=1.00 kthr memory page faults cpu ----- -----------... (2 Replies)
Discussion started by: Vishal_dba
2 Replies

2. Linux

some sites are loading very slow on my centos proxy server

Hello everyone, I've installed squid proxy server in Linux centos machine for users.actually problem is when users browse some websites eg : WordPress.org, gravatar.com it loads very slow compare to others sites .my line is 4mbps and only 6 users for it.I've bypassed squid for myself via... (3 Replies)
Discussion started by: afybiz
3 Replies

3. Infrastructure Monitoring

99% performance wa, slow server.

There is a big problem with the server (VPS based on OpenVZ, CentOS 5, 3GB RAM). The problem is the following. The first 15-20 minutes after starting the server is operating normally, the load average is less than or about 1.0, but then begins to increase sharply% wa, then hovers around 95-99%.... (2 Replies)
Discussion started by: draiphod
2 Replies

4. Solaris

Miniroot download slow from WANBoot server

I recently configured a WANBoot server on a Ldom 2.0 running Solaris10u9 with ZFS root. When i start the installation form the client with Ok Boot net - install , it takes at least 20-25 minutes just to download the miniroot on the client .. i read there was a bug on T servers firmware... (2 Replies)
Discussion started by: fugitive
2 Replies

5. UNIX for Dummies Questions & Answers

Server getting hanged becomming very slow

Hi guyes our linux server is very slow today and load average is more than 16 .I m new in linux request you to kindly help resolving the issue. Where can i find the log for the cause. # lsb_release -a LSB Version: ... (2 Replies)
Discussion started by: pinga123
2 Replies

6. UNIX for Dummies Questions & Answers

Remote server mount slow - NFS

Hi, Following my last post I've mounted the remote server on my local server. However copying files from this mounted server is increadbily slow. If I copy files using rcp it's very fast so I assume there must be a setting somewhere? Any help appreicated. Thanks (2 Replies)
Discussion started by: AngryBunny
2 Replies

7. HP-UX

Server become too slow

Hi, Since last week our server become too slow when we try to run application on it. When we run top command, it show as below: So it's nothing to do with heavy utilization, right? Can you give some opinion on what actually had happended? Thank you very much... :b: (4 Replies)
Discussion started by: yeazas
4 Replies

8. Post Here to Contact Site Administrators and Moderators

It seems last 20 min Server was very very Slow

Hi Guys, Since last 20-30 min Server was Too slow ..even few of times i got Database connection error. Thanks Sanjay Tripathi (0 Replies)
Discussion started by: SanjayLinux
0 Replies

9. SCO

Server running slow

Hi, Wonder is someone can help. I've got a server SCO_SV 3.2v5.0.7 PentIII that is located at a different site and is running slow and has been for a week. I've been speaking to a third party who say nothing is wrong with it but its still running slow. The 3rd party advise it could be a... (2 Replies)
Discussion started by: tez
2 Replies
Login or Register to Ask a Question