- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- L2000 slow to answer
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2003 11:19 PM
06-16-2003 11:19 PM
I'm having a problem with an L2000 regarding response times for networking services.
The situation is as follow: on this l2000 (hp-ux 11.11) we have our main database (oracle 8.1.7.4.0) and the web server (apache) used to interact with the users through some forms6i programs.
The problem is that, sometimes, the delays we experience during work sessions (for example, when calling a new form or the program has to show an error message) are awfully long, of the order of tens of seconds.
We checked with the Oracle guys the performance of the db and there is no problem with that (except when you ask for a very large dataset, all queries are processed within milliseconds).
After using other network services (telnet, ftp) for some time, i found the same problem: on connection there are sometimes when the machine answers after a lot of time.
This is not the case with ssh, however (could it be a problem with inetd? but that wouldn't explain apache's behaviour, since it's a separate service and is not run from inetd), as the connection is immediate.
As i said, our hp-ux is 11.11 with all the patches recommended by HP.
Any ideas on how to solve the problem?
Thanks,
Alberto
P.S. If needed, i can attach the complete list of complete patches.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2003 11:35 PM
06-16-2003 11:35 PM
Solutionlanadmin -x #
put in the number of the nic card.
If its supposed to be 100 BaseT Full Duplex and its not, check your switch settings.
Autonegotiate on Cisco and other switches makees HP NIC's unhappy. Have the sysadmin check it anyway, and hard code it to the settings you want explicitly without any auto negotiate.
Then boot your box and run lanadmin again.
You may find you are at half duplex.
If so, hard code your settings in /etc/rc.config.d/hpbtlanconf
Again, best idea is to boot and run lanadmin again.
About half the time people report these symptons, these steps fix it, more than half if Cisco built the switch.
Does Glance show network bottlenecks?
Are there entries in /etc/var/adm/syslog/syslog.log
The oracle alert log.
The apache error_log
I'm atttaching background performance data collection scripts. Crank them next time the problem comes up, you'll get great data and narrow things down.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 12:53 AM
06-17-2003 12:53 AM
Re: L2000 slow to answer
You can also do the change on-line before changing your appropriate /etc/rc.config.d file.
# lanadmin -x 0 (gives details)
# lanadmin -X 0 100FD (makes changes, allow 11 seconds for the change.
Regards
Michael
"When I have trouble spelling, it's called fat finger syndrome."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 02:17 AM
06-17-2003 02:17 AM
Re: L2000 slow to answer
From what i've found the cause of the problem is the local Cisco switch.
Just trying to harras the network admin at the moment to take a look.
If not i'll do it for him ;)
Cheers
George
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 02:29 AM
06-17-2003 02:29 AM
Re: L2000 slow to answer
For Michael, i tried to use the commands you specified, but this is wat i get:
l2000:/tmp>lanadmin -x 0
Current Config = 100 Half-Duplex AUTONEG
l2000:/tmp>lanadmin -X 0 100FD
Invalid PPA Number entry
(I'll set the parameter in the appropriate file, i was just interested in the output here).
Thanks,
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:13 AM
06-17-2003 03:13 AM
Re: L2000 slow to answer
you were exactly right: i hard coded the switch, rebooted the l2000 and poff! 100 HD :-(
Now i'm rebooting again after setting 100FD in the config file.
I hope it works.
Thanks
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:17 AM
06-17-2003 03:17 AM
Re: L2000 slow to answer
Your difficulty with the lanadmin command (bad PPA number) can be fixed by examing lanscan output to determine the proper instance (or PPA) number of your card and substituting that number for the 0 you used in the lanadmin command.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:22 AM
06-17-2003 03:22 AM
Re: L2000 slow to answer
However, unless you are transmitting or receiving thousands of packets during these transactions, I would not expect many seconds of delays. Instead, it sounds like your DNS server is having problems (overloaded? erratic response time?). You can verify this by running nslookup when the system seems slow. An unresponsive DNS server will delay the lookup by about 20 seconds before going to the next server (or falling back to /etc/hosts). If this is the case, change /etc/nsswitch.conf to resolve using /etc/hosts first:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns
Now put all the important IP addresses in the /etc/host file and see if the problem goes away. If it does, the current DNS server needs replacing or some serious maintenance. DNS is a critical service for most networks and you would be surprised at the volume of requests that take place. For instance, commercial network backup programs will use gethostbyname for EVERY file that is copied! Other programs (like telnet and rlogin daemons) ask for IP-to-name reverse lookup as a security measure. SSH probably work quickly because it uses keys to validate the connection rather than a DNS server.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:27 AM
06-17-2003 03:27 AM
Re: L2000 slow to answer
You want to monitor the DBWR process within top and note its utilization during these periods. In general, DBWR writes occur only when more data needs to be read into the SGA and there is too little free space in the database buffers.
The SGA supports communication between server and background processes and tracks resources shared by users (such as cache buffers, database and log buffers, locks, and dictionary caches. For each instance there is an SGA which can be defined within the INIT.ORA file.
Note memory consumption and increase the SGA. If you can't, add more RAM so you can. There is also the UGA or User Global Area which is apart of either the large pool or the shared pool. Look at v$sesstat and v$statname for these metrics and increase the large pool or shared pool to obtain better user performance.
From HP, use 'sar -b' in conjunction with sizing kernel parameters 'dbc_min' and 'dbc_max.' You want 100% hits within the cache.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:50 AM
06-17-2003 03:50 AM
Re: L2000 slow to answer
First of all, i managed to get the nic on 100 FD manual.
Secondly, for Pete Randall, i figured it out by looking at the comments in the /etc/rc.config.d/hpbtlanconf file. (by the way, "Mariani" is my family name)
For Bill, the fact is we are sending thousands of packets per second, since we (we as in 3 programmers) use the forms6i tools on remote X servers (Reflection X) on our PCs, not as client-server, and that generates a lot of traffic.
Our DNS works well, too (although i have to put up with a w2kAS machine for that).
For Michael Steele, while not the case at the moment, the information you provided is most interesting and i'll make sure to look into that asap.
Thank you all, guys.
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 03:54 AM
06-17-2003 03:54 AM
Re: L2000 slow to answer
Pete
Pete