Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How can be found slow connection reason to database on other computer in local network?

We have on our computers + Apache + MySql +Ubuntu. My computer connected to other local network computer. My computer use Database from other computer.

Thank you in advance

share|improve this question

3 Answers 3

First, use iperf to test network. If no problems, then the case in database.

jperf screen in Ubuntu: enter image description here

share|improve this answer
    
does iperf has ui? –  John Mar 1 '11 at 13:01
    
Yes, code.google.com/p/xjperf –  ooshro Mar 1 '11 at 13:02
    
I install program on ubuntu, but I dont see any ui –  John Mar 1 '11 at 13:12
    
check my screanshot –  ooshro Mar 1 '11 at 13:24
    
iperf always be taking my bucket. loldiagnostics. –  mfinni Mar 1 '11 at 13:52

Maybe the slow connection reason is due to a resolution name problem.

Try to connect using only ip address.

share|improve this answer

I would start by running a simple ping and then a trace route between the machines (may be tracepath in ubuntu) and check what your latency is ... if that looks good try running the same query on the database machine and check how long it takes. If everything looks good there its probably worth using wireshark to see what is really going on network wise

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.