Operating System - HP-UX
1843946 Members
2282 Online
110226 Solutions
New Discussion

Performance issue, when IP Changes

 
Nagendra_6
Occasional Contributor

Performance issue, when IP Changes

Hi,
The Perfomance of a Apache server is slow when bound to a static IP on the server. However if the same apache server is Bound to a different IP ( Say IP2 ) The performance is normal.

I am suspecting there could be some issue with the IP. How can i debug on this issue. Can you please help ...

Tks, Nag
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Performance issue, when IP Changes

Collect performance data.

Maybe a networking problem.'

See attached hpux script.

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
Dave Olker
Neighborhood Moderator

Re: Performance issue, when IP Changes

Hi,

The types of things I'd be looking at are:

lanadmin statistics for the interface of IP1 and IP2 - compare statistics

netstat statistics when using IP1 vs. IP2 - compare statistics

apache log files when bound to different IP addresses

possibly even collect network traces when apache is bound to IP1 vs. IP2 and see if the traces reveal errors, retransmissions, or pauses in network traffic

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Con O'Kelly
Honored Contributor

Re: Performance issue, when IP Changes

Hi

I'd agree with Dave that your issue may well be network related. Possibly there is already a high volume of network traffic through one of the interfaces which is slowing response from the http server.

Use the lanadmin menu mode to display statistics on each interface.
If you have glance installed you can quickly check traffic on each interface, collisions, errors etc (use the 'l' option in glance).

Cheers
Con
Brian Hackley
Honored Contributor

Re: Performance issue, when IP Changes

Hi,

You didn't say if the IP1 and IP2 were on different network cards, or virtual IP's on the same network card, or a static IP that you changed on the network card e.g. via ifconfig, SAM or by editing netconf file.
You also didn't tell us if the IP1 and IP2 were in the same IP subnet.

If they are on different network cards, then I would at at typical networking e.g. lanadmin -g ppa, lanadmin -x ppa, netstat -in for network errors, correct duplex, and that each network card is on a unique IP subnet.

Otherwise, you might want to check for a duplicate IP address out there when the apache server is on IP2. Remove the IP1 address if it is already on the system, and have other hosts or the HP try to ping, arp or otherwise get a response from IP1. If you get a response, see if you can telnet, ssh, or otherwise log in and identify it. Or, find out the MAC address of that system e.g. arp IP1. Run lanscan to see if it is one of your network card MAC's.

Also the nettl subsystem will usually detect duplicate IP's. You have to format it first:
nettl -f /var/adm/nettl.LOG000 > /tmp/log.out and see if any errors are logged: "Hardware address" then the mac of the duplicate IP, "trying to be our address" followed by the IP.

Hope that helps,
-> Brian Hackley
Ask me about telecommuting!
Ted Buis
Honored Contributor

Re: Performance issue, when IP Changes

Try something simple like ping or nslookup on each. I would think that would give you a clue.
Mom 6