Operating System - HP-UX
1832308 Members
2367 Online
110041 Solutions
New Discussion

Network/CPU utilization sanity check???

 
SOLVED
Go to solution
Alan Meyer_4
Respected Contributor

Network/CPU utilization sanity check???

I have an internal customer whose application seems to bog down and lose communication connections whenever the CPU utilization get's over 75%. I've been telling him that it sounds like an application problem to me since there are plenty of CPU cycles left over.

Just today he called and said that beginning last night at 2300 hours, he was experiencing the problem again. I began to look into what was listed in the syslog beginning then and have discovered that since 2300 hours last night, roughly 30,000 files have been deleted via a ftp connection. This roughly close to 1 file deleted per second.

Am I off base in saying that there in lies the CPU/communication problem?
" I may not be certified, but I am certifiable... "
4 REPLIES 4
Mark Nieuwboer
Esteemed Contributor
Solution

Re: Network/CPU utilization sanity check???

Hi Alan,

I would say yes.
The ftp connections is causing the 75% cpu utility but thats not the problem. The problem is 30.000 delete commands trough ftp. This is causing many threads on the system and the network. But do you have some measureware data, there you can see how many threads and network probing there is.

grtz. Mark
Steven E. Protter
Exalted Contributor

Re: Network/CPU utilization sanity check???

Shalom,

You are right its not the ftp per say causing the problem.

Some things to look at:
A directory in ftp with many files in it. the cpu is involved in providing ls output to the ftp client

The application is clearly doing to many files. The cpu is waiting for i/o to update the lists afer deletes, this is a caused by a poorly designed appliction in my opinon. I'm pretty much behind your concept here.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: Network/CPU utilization sanity check???

You can verify that the network is OK by running lanadmin and looking at the stats. If you haven't cleared the stats recently, you'll need to calculate ratios since a few errors and retries are normal over weeks of networking.

You need to characterize "lose communication connections" a bit more clearly. Are these telnet or ssh sessions or custom ports used by other computers? If so, do the applications require very tight timing (response) requirements? Is the CPU utilization purely CPU or si there a lot of disk activity? And most important, does sar -v 1 show more than 1 digit of po (page out) activity? 2 digits (or more) indicate a severe lack of RAM so that paging (swapping) is taking place. This will drastically reduce performance for processes that are paged out.


Bill Hassell, sysadmin
Alan Meyer_4
Respected Contributor

Re: Network/CPU utilization sanity check???

Thanks for your help guys, I'm now off to gather more data.
" I may not be certified, but I am certifiable... "