[SLUG] Weird application "hang" or slowdown - not sure which

From: Bill Glidden (bill@thegliddenfamily.com)
Date: Wed Feb 21 2007 - 15:42:00 EST


I have a POS application which runs on several linux machines all on a
network. Everything has been good until this past weekend.

This system is in a building that has an internal network on 192.168.0. The
POS application was using this network for its connectivity to the database
server. This past weekend, I put these 6 terminals and the database server
on their own subnet which is 192.168.10, in anticipation of adding another
12 terminals. I thought this might be good for performance reasons. The
switch that these terminals and server are connected to is connected to a
linksys router which is in turn connected to the 192.168.0 network. Pretty
much, everything works as expected.

 

The other change I made, at the suggestion of my friend the Unix guru, was
to add "bg,rw,soft" to the NFS mount entry on each POS terminal (they mount
a file-system on the database server from which they read/write some data
to/from regular files).

 

But, ever since these changes, the POS application will sometimes
temporarily freeze up. After 1-2 minutes, it continues on as if nothing
wrong had happened. It looks to me like this occurs whenever the application
is accessing either the NFS-mounted disk or the database (which, of course,
uses the network).

 

I'm at a bit of a loss to understand why my changes would have this effect.
I'm going to go to the customer tonight and attach a debugger to one of the
application processes when it freezes up to see if I can narrow down a
little better where it hangs up. But even if it's hung up in some call
related to the network, I still don't know why doing what I did would have
this effect.

 

If anyone has any ideas I'm all eyes/ears. Thanks.

 

Bill

 

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:33:35 EDT