Operating System - Linux
1829101 Members
2609 Online
109986 Solutions
New Discussion

DL380G6 with bnx2 on Debian-AMD64 delays on connect via SSH or MySQL

 
Salvador Diaz
Occasional Contributor

DL380G6 with bnx2 on Debian-AMD64 delays on connect via SSH or MySQL

Hello, we just bought two DL380 G6 (with bnx2 network cards) and I just installed Lenny 5.03 for AMD64 on both of them. They've 8GB on RAM so I needed the 64bit dist. There were no problems at installing the cards, the installer asks for the firmware so I inserted the flash drive, finds it and loads it correctly, configures it and even downloads updates. I'm using this file: firmware-bnx2_0.14+lenny2_all.deb, which I got from the hp website, linked from this install guide: http://h20195.www2.hp.com/v2/GetPDF.aspx/c00802520.pdf.

However I am having an annoying problem. I have not installed anything beyond the Debian base system except for the OpenSSH server, and the MySQL server, so I don't have any firewalls. The problem is that everytime I connect to the server via SSH or MySQL, the server takes about 10-15 secs to respond, after the connection is made communications are fast, but the problem is this 10 seconds delay, because an application (which will be on the other DL380G6) cannot wait for 10 seconds for each connection to MySQL since it's likely that it connects a dozen or hundred times per second.

As informative facts:

* The server respond PINGS correctly, this means that there is no delay here.
* I can connect from this server to another one via SSH or MySQL with no delay. But if I connect from the other server to this one, the delay appears. Even using crossover cables and of course, no routers or switches or any other network interfaces up.

I'd appreaciate any information or ideas that might help me to solve this annoying issue. Thanks in advance.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: DL380G6 with bnx2 on Debian-AMD64 delays on connect via SSH or MySQL

Shalom,

Source of the problem could be this:

Put an /etc/hosts entry for the system using its primary ip address. Since files is often used first for name resolution, this often fixes that problem.

If that does not work, check the dns servers in /etc/resolv.conf . One of them may be working slowly or not playing well with Linux.

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
Salvador Diaz
Occasional Contributor

Re: DL380G6 with bnx2 on Debian-AMD64 delays on connect via SSH or MySQL

Thank you Steven. That was the problem, this server was not allowed to reach the DNS server so I disabled any DNS use on MySQL and SSH. That worked.