LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2014, 08:30 PM   #1
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Rep: Reputation: 174Reputation: 174
How to find the source of NX slowdowns?


I'm using the Nomachine version 3.5 NX client on my desktop system at home to connect to a FreeNX server at work. The connection is responsive most of the time, but my session hangs for 3 to 10 seconds now and then. Then it resumes normal activity, and all is well again for a while.

There doesn't seem to be any pattern to the slowdowns. I may go 10 or 15 minutes without a hang, then I might experience several hangs within a few minutes time, or even spaced just a few seconds apart.

I normally have a KDE desktop with a couple of Konsole sessions running over NX, along with two or three X3270 sessions. Rarely I'll have a git gui and an emacs graphical editor or two active. But mostly its just Konsole and x3270. There are no heavy graphics or multimedia. I'm not using the KDE desktop for anything other than hosting the Konsole and x3270 sessions.

The system running the FreeNX server is not running a demanding workload. The CPUs are 95% or more idle most of the time. There is an ssh and a vpn server running, but they not very active either. The biggest workload is a hercules emulator, but it's not very busy either.

My desktop at home is old and somewhat constrained in RAM, having only 4GB. Firefox is usually the biggest resource consumer. But again, top shows very little going on whenever these NX hangs occur.

What can I do to try to figure out where the delays are coming from?

Last edited by Z038; 07-23-2014 at 08:31 PM.
 
Old 07-24-2014, 07:31 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,127

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
I'd watch network by some app or a few apps to start.

The only way to rule out completely might be to create a local lan to simulate this exact setup. I'd assume it would work OK but you need to test or start at some place.
 
Old 07-24-2014, 08:15 PM   #3
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Original Poster
Rep: Reputation: 174Reputation: 174
The only one I'm even a little bit familiar with (which is not saying a lot) is iptraf. Even if I see a delay in the monitor, how do I go about identifying the cause?

Also, I think that iptraf can only see what is coming into or going out of the system it is running on. I guess I could run it on both sides, on the NX server and on my desktop. But the delay could be somewhere in between. What exactly should I monitor with it, and what do I look for to identify a delay?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird system slowdowns.... pilatus666 Mandriva 19 04-23-2007 02:50 AM
Weird I/O slowdowns after kernel upgrade Solra Bizna Linux - General 6 06-20-2005 01:31 PM
Weird internet slowdowns with Suse 9.0 DrD Linux - Networking 16 10-11-2004 10:22 PM
Slowdowns during file transfer xanas3712 Slackware 1 09-17-2004 10:01 AM
Redhat 9 weird slowdowns probably HD related. Sebast1aan Linux - General 6 09-05-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration