Sponsored Content
Special Forums UNIX and Linux Applications Having too many connections could affect performance ? Post 302991504 by bakunin on Sunday 12th of February 2017 03:42:32 AM
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
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

changig uid and the affect it will have

Hello, I have 2 sun servers. We are running Oracle apps. We have to apply patches to both servers whenever a patch needs to be applied for Oracle. We use the same username eg. applmgr on both servers. We have a shared patch area which we can run the patch from on both boxes. the uid for... (2 Replies)
Discussion started by: d__browne
2 Replies

2. Solaris

making new default gateway take affect

How do you make the changes take affect when you change the subnet masks or default router without rebooting? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

3. Shell Programming and Scripting

affect variable

hi , i want to store variable but i get always error when i excute this command ligne : var = awk '{print $1}' file1 echo $var how can i store the var? thanks (7 Replies)
Discussion started by: kamel.seg
7 Replies

4. Solaris

Will Password change affect authorized_keys?

Hello gurus, I have question. I have enabled ssh on the servers. I am planning to change the oracle user's(os user) password. If I change the password will it affect the authorized_keys? Do I need to regenerate it. Thanks, (2 Replies)
Discussion started by: oracleuser
2 Replies

5. UNIX for Dummies Questions & Answers

.profile - changes don't affect the login

I have modified the .profile in my profile and I don't see any effect. Why the changes don't have effect? I tried both on the account at a server where I have limited permissions as user and to my local pc (as user). Is it the .profile overridden by some other file? It looks weird because I... (8 Replies)
Discussion started by: myle
8 Replies

6. Solaris

Will creating symbolic links affect users

Hi, I have a quick question with regards to creating symbolic links. Would creating a symbolic link from one directory to a file in another cause any issues for users that are currently logged into the box. I don't believe it will unless they are using the file in question, but I would like... (2 Replies)
Discussion started by: Chains
2 Replies

7. Shell Programming and Scripting

affect a exploded a string into an array

I would like to affect an exploded string into an array. one:two::fourinto an array: a => one a => two a => a => four Quite simple in other languages with functions like explode() or split(). The best I could come up with was this: until do token=${string%%:*} # takes the... (8 Replies)
Discussion started by: ripat
8 Replies

8. Shell Programming and Scripting

Bash script affect load average

Hello I have created next scritpt to do the next: chekp if host is alive. When the host down, launch telnet other equip to do checks. When execute the script the load average of the machines increase. For example: Before launch script top - 11:14:56 up 14 days, 18:06, 3 users, load... (3 Replies)
Discussion started by: capilla
3 Replies
PMUSECONTEXT(3) 					     Library Functions Manual						   PMUSECONTEXT(3)

NAME
pmUseContext - change current PMAPI context C SYNOPSIS
#include <pcp/pmapi.h> int pmUseContext(int handle); cc ... -lpcp DESCRIPTION
An application using the Performance Metrics Application Programming Interface (PMAPI) may manipulate several concurrent contexts, each associated with a source of performance metrics, e.g. pmcd(1) on some host, or an archive log of performance metrics as created by pmlog- ger(1). Calling pmUseContext causes the current PMAPI context to be set to the context identified by handle. The value of handle must be one returned from an earlier call to pmNewContext(3) or pmDupContext(3). Below the PMAPI, all contexts used by an application are saved in their most recently modified state, so pmUseContext restores the context to the state it was in the last time the context was used, not the state of the context when it was established. SEE ALSO
PMAPI(3), pmDestroyContext(3), pmDupContext(3), pmNewContext(3) and pmWhichContext(3). DIAGNOSTICS
PM_ERR_NOCONTEXT handle does not identify a valid PMAPI context Performance Co-Pilot PCP PMUSECONTEXT(3)
All times are GMT -4. The time now is 04:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy