Having too many connections could affect performance ?

 
Thread Tools Search this Thread
# 1  
Old 02-08-2017
Having too many connections could affect performance ?

Good evening, i need your help please

I will try to describe the scenario briefly: In a Telecom Production system application receives a certain files called CDRs(call detail records) to be processed by doing some operating systems operations and then database operations like creating indexes and uploading to a Central Database-

The applications server and database is quite obsolete OSF1 and oracle 9i.

Many times the applications turn very slow to process so performance is overheated. Of course There would be many causes for overheated performance, and it is premature to identify the problem at first glance.

So Could you tell me if below theories could affect Performance ?
  1. I run netstat command and displays more than 102 connections some of them established state, some of them time wait, etc. So the question is having many connections could affect the performance of the application?
    If I killed and restart connections would be a good idea to improve performance?
  2. Having one or more Filesystem backups could affect Performance too ?

I appreciate your answers in advanced or if u have any other reason that could impact its performance let me know. Thanks

Last edited by rbatte1; 02-09-2017 at 05:19 AM.. Reason: Converted textual list to formatted numbered list and corrected spellings
# 2  
Old 02-09-2017
With what you have told us, the application could be a huge bottleneck, the application server could be a huge bottleneck, the database server could be a huge bottleneck, the database application could be a huge bottleneck, or any combination of the above could be a bottleneck.

Running a filesystem backup while running applications that are using files on that filesystem is VERY likely to affect performance of those applications and of the backup software.

We have seen examples in this forum of text processing code that invokes several processes to produce output for each line read from a file containing a few thousand lines that literally ran for more than 10 hours. When that code was replaced by a single awk script with the output fed into sort, the script ran in less than 10 seconds and produced exactly the same output. Could your application code have a similar issues?

To figure out where you need to look, you first need to know what are your major stumbling blocks. Are you swapping processes in and out a lot? (Need more memory?) Are your disks thrashing? (Put files on different filesystems on different disks/controllers?) Are your CPUs running at 100%? (Badly written code or too many users on your system?) Is your network dropping packets? (Loose connections, faulty routes to servers, failing hardware, etc.?) ... ... ...
# 3  
Old 02-11-2017
Thanks you very much for your Analisis and contribution to my concerns. but what do you mean when you say your major stumbling blocks ? i didnt get it.

---------- Post updated at 06:40 PM ---------- Previous update was at 06:18 PM ----------

sorry i know what you meant, i ve got it. thanks

---------- Post updated at 06:53 PM ---------- Previous update was at 06:40 PM ----------

which administrative commands can i use besides top for finding the stumbling blocks you mention and taking account the OS is obsolete ?

Thanks for your help
# 4  
Old 02-12-2017
Quote:
Originally Posted by alexcol
So Could you tell me if below theories could affect Performance ?
  1. I run netstat command and displays more than 102 connections some of them established state, some of them time wait, etc. So the question is having many connections could affect the performance of the application?
    If I killed and restart connections would be a good idea to improve performance?
  2. Having one or more Filesystem backups could affect Performance too ?
Many network connections might affect performance, but right now it isn't even established if you have "many" of them. Connections in the stated of "TIME_WAITING" will not contribute to the load at all and your suggested solution of killing and restarting connections would definitely not help at all.

Running filesystem backups could very well degrade performance but if that is the case or not we can't say.

Quote:
Originally Posted by alexcol
T
which administrative commands can i use besides top for finding the stumbling blocks you mention and taking account the OS is obsolete ?
You might want to read this little introduction to performance tuning i wrote. Most of the tools mentioned there should work for you and most of the concepts explained there should apply to your server.

I hope this helps.

bakunin
# 5  
Old 02-13-2017
For OSF1 I found this resource
You might want to tune the following
Quote:
somaxconn=1024
tcbhashsize=1024
maxuprc=256
But it takes memory. You should have 2GB RAM at least.

Last edited by MadeInGermany; 02-13-2017 at 05:45 PM..

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Will it affect my AIX LPAR security, when i set up email alerts on AIX server. System Admin 77 AIX 5 02-12-2014 08:52 PM
Bash script affect load average capilla Shell Programming and Scripting 3 06-11-2013 05:56 AM
Does changing default password parms affect existing accounts in /etc/shadow? msdjunk Solaris 2 04-15-2011 12:11 PM
Will moving data from one filesystem to another affect current software installation mehimadri Shell Programming and Scripting 1 10-13-2009 11:11 AM
affect a exploded a string into an array ripat Shell Programming and Scripting 8 06-11-2009 10:37 AM
Will creating symbolic links affect users Chains Solaris 2 10-20-2008 11:26 AM
.profile - changes don't affect the login myle UNIX for Dummies Questions & Answers 8 03-10-2008 07:41 AM
Will Password change affect authorized_keys? oracleuser Solaris 2 01-28-2008 04:26 PM
affect variable kamel.seg Shell Programming and Scripting 7 01-02-2008 10:37 AM
Announcing collectl - new performance linux performance monitor MarkSeger News, Links, Events and Announcements 0 10-26-2007 07:14 PM
making new default gateway take affect BG_JrAdmin Solaris 1 04-20-2007 05:58 PM
changig uid and the affect it will have d__browne UNIX for Advanced & Expert Users 2 03-29-2006 11:06 AM