Unix Programming - RPC causes linux system to hang hard

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > January 2006 > RPC causes linux system to hang hard





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RPC causes linux system to hang hard
Andrew Falanga

2006-01-13, 10:41 pm

Hi,

I'm working on some code that is "quite old" in present day IT terms.
The code was originally designed for HP-UX and I'm currently working on
porting to Linux.

The program uses RPC to make NFS transactions happen on a remote host.
When run in HP-UX, the code runs start to finish ok. However, in Linux
the code (which writes an arbitrary length of data, specified on the
command line, to a file on the remote host an arbitrary number of times,
also specified on the command line) will usually hang hard on one of the
RPC calls.

To add to the difficulty in tracking down this problem, it doesn't hang
on the same call all the time; sometimes on the write calls, other times
on the read calls and it almost never hangs at the same place in the
iterations.

Symptoms on my Linux system include, extremely sluggish network
performance and, if the program is left to run without terminating with
ctrl-c, my linux system becomes completely unresponsive after ~30 minutes.

These particular RPC routines are using UDP as the trasport. I need to
have some pointers of things to look for. Any suggestions are welcome.

---------------------------------------------
Andrew R. Falanga (a non-HP employee)
Hewlett-Packard Company
11311 Chinden Blvd.
Boise, Idaho
---------------------------------------------
Please note: The e-mail address is purposely
mangled. I do not wish my account at HP to
become a spam haven.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com