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?
9 More Discussions You Might Find Interesting
1. SCO
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
2. Post Here to Contact Site Administrators and Moderators
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
3. HP-UX
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
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Dummies Questions & Answers
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. Solaris
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
7. Infrastructure Monitoring
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
8. Linux
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
9. AIX
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
LEARN ABOUT CENTOS
ssl_ctx_flush_sessions
SSL_CTX_flush_sessions(3) OpenSSL SSL_CTX_flush_sessions(3)
NAME
SSL_CTX_flush_sessions, SSL_flush_sessions - remove expired sessions
SYNOPSIS
#include <openssl/ssl.h>
void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm);
void SSL_flush_sessions(SSL_CTX *ctx, long tm);
DESCRIPTION
SSL_CTX_flush_sessions() causes a run through the session cache of ctx to remove sessions expired at time tm.
SSL_flush_sessions() is a synonym for SSL_CTX_flush_sessions().
NOTES
If enabled, the internal session cache will collect all sessions established up to the specified maximum number (see
SSL_CTX_sess_set_cache_size()). As sessions will not be reused ones they are expired, they should be removed from the cache to save
resources. This can either be done
automatically whenever 255 new sessions were established (see SSL_CTX_set_session_cache_mode(3)) or manually by calling
SSL_CTX_flush_sessions().
The parameter tm specifies the time which should be used for the expiration test, in most cases the actual time given by time(0) will be
used.
SSL_CTX_flush_sessions() will only check sessions stored in the internal cache. When a session is found and removed, the remove_session_cb
is however called to synchronize with the external cache (see SSL_CTX_sess_set_get_cb(3)).
RETURN VALUES
SEE ALSO
ssl(3), SSL_CTX_set_session_cache_mode(3), SSL_CTX_set_timeout(3), SSL_CTX_sess_set_get_cb(3)
1.0.1e 2013-02-11 SSL_CTX_flush_sessions(3)