fhg
Volume 8, Number 26 -- July 16, 2008

Admin Alert: A Client Access Mystery Solved. . . with No-Prizes!!!

Published: July 16, 2008

by Joe Hertvik

In April, I introduced Rick, an admin with a Client Access problem. His 9406-720 AS/400 would not accept more than 70 5250 client sessions. Try as I might, I was unable to solve Rick's issue. In desperation, I submitted the problem to my legions of readers (at least 50), offering a variation on a Marvel Comics' No-Prize to anyone who could solve it. Here's what happened.

Part One: The Deluge of Answers

Never in the history of Admin Alert (serving the Power i, iSeries, and AS/400 community since 2002) had I received so large a response to a single column. There were so many responses (50 in all) that it took Rick a full two months to get through all of them and discover his solution. Both Rick and I wanted to thank everyone who wrote in with tricks, techniques, or comments. It was a great display of camaraderie and well appreciated.

Part Two: The Problem in Detail

Rick's problem was that he had seemingly run into a limit on the number of IBM Client Access sessions that his OS/400 V4R4 machine could accept. After hitting the limit, users would open the Client Access software, start a 5250 session, and find they were unable to connect. Rick's Autoconfigure virtual devices system value (QAUTOVRT) was set to *NOMAX, which allowed his machine to create an unlimited number of QPADEVxxxx devices for his 5250 session users. To make matters worse, PC5250 wasn't even providing an informative error message to Rick's users. It just displayed a blank connection screen without a logon box, displaying a simple Line 23 message that no host connection could be made.

Times were bleak in that shop.

A Clue, and We Don't Mean the Board Game

But there were hints. Rick started noticing that the problem would appear after about 65 to 70 users had logged on to the system. Doing some basic detective work, he started counting the number of open Telnet sessions that were on the machine each time the AS/400 stopped accepting connections. According to Rick, the number varied somewhat. Non-connecting users would sometimes appear when 62 Telnet users were on the machine; sometimes they appeared when there were 68 users.

"Clue number one was that if the number varied, then it couldn't be a hard limit," wrote Rick. "So I began to look for any type of program limit, maybe some program was not allowing additional jobs to start or maybe it was even changing system values. But I did notice that the problem seemed to be most prevalent around lunch time."

Hungry for Answers…and a Bagel

Sensing that whatever was happening was specifically designed to keep him from eating his lunch, Rick took drastic action. He set the limit device session system value (QLMTDEVSSN) to one so that general user access was limited to one and only one device session for each user. He had reduced the problem by reducing the number of sessions on his system.

"That caused such an outcry from the users that I was almost tarred and feathered by an angry lynch mob," Rick said. "And finally I was able to eat my lunch in peace, but only twice before [the problem] came up again."

Hungry and driven to frustration, Rick was examining a job log associated with a hung session when he asked that user how his session came to be hung. The user replied that his PC locked up and he had to reboot it. When asked if this happened often, Rick felt a chill when the user replied.

"Yea, just about every day, especially when I get back from lunch."

Looking around, Rick found several other examples of users who washed down their lunch with a nice warm system reboot. A pattern was emerging.

Ding, Dong, the Switch is Dead

So Rick went for broke, and removed the one device per user limit (by changing the QLMTDEVSSN value back to zero) and instructed the users to open as many sessions as they wanted. He counted 64 open sessions, and waited for someone's PC to freeze up. But it wasn't just one PC that went cold. Three other PCs were locked up.

And the culprit wasn't his AS/400.

"It was a faulty switch losing network connectivity that froze the machines," exclaimed Rick. "After replacing the switch and ending the users' still active sessions, I looked at the QPADEVxxxx devices [on the machine] and found several that were varied off. BINGO."

Rick discovered that after deleting the non-active device descriptions, his users could log on again. It turned out that the AS/400 was having a problem cleaning up older, disconnected QPADEVxxxx device descriptions. Many of the QPADEVxxxx descriptions were varied off, which prevented users from getting a sign-on screen when the device was assigned to an incoming Telnet session. When the devices were varied on, the users started getting sign-on screens again, although the users would sometimes receive pop-up messages about damaged message queues associated with the device.

"A faulty switch exaggerated the issue, but I still have users who do not log off the system before they close the Client Access software on their PCs," said a happy, well-fed Rick. "I wrote a program to vary off unused sessions and delete the QPADEVxxxx device descriptions and message queues every night. And if need be, I can run the program during the day to clean up offending devices if I get a call about not being able to get a logon screen."

Like many problems, Rick's issue had multiple causes. Over the years, his AS/400 had accumulated a number of damaged and varied-off QPADEVxxxx devices that were limiting the number of users who could sign on. In addition, his faulty network switch exacerbated the problem by knocking more user sessions off each day during a high traffic period, when users logged on again after lunch. Once these two problems were corrected, life went back to normal, and Rick's AS/400 was once again able to break the artificial limit of 60 to 70 users. The last time he wrote me, Rick had counted a new high of 93 5250 sessions started on his machine.

And the No-Prizes Go To. . .

Although no one suggested that a faulty piece of network equipment might be exacerbating the issue, three readers did suggest that Rick examine his QPADEVxxxx devices and vary on all varied-off devices. In alphabetical order, these stalwart Client Access detective readers were:

  1. Bruce Battersby
  2. Doug Huddleston
  3. Richy Peebles

All three of you, please stand up and take a bow. And be sure to look for your No-Prize in next week's email. It will be sent from my secured Swiss No-Account directly to the world's best No-ISP who will quickly deliver it to No-Email address that belongs to you. To distinguish it from SPAM, the subject line will either read Oil falls below $100 a barrel, Weight Loss, or The best way to meet singles in your city.

In fact, since I'm feeling generous, I'm going to send Good Try No-Prizes to everyone who entered the contest, including the following people and people-ish names that I derived from the email addresses of the contestants:

  • Art Blose
  • Ben Chizary
  • Bill Cook
  • Bill Robbins
  • Bob Abbot
  • Bud Abbot
  • David Smith, or David Smi, or something like that (unclear name)
  • David Thane (multiple entries)
  • Doug Englander
  • Ernie McCormick
  • Faulkr (also featured in the movie, Meet the Parents)
  • Geert Braem
  • Gerald Zavitz (multiple submissions)
  • Hugo Hurley
  • J. Brown
  • J. D. Salinger
  • J. D. Shaughnessy
  • J. Deming
  • J. Green
  • J. Plamontre
  • Joe Rutledge
  • John Jones
  • John Kinnaird
  • Josef Torok
  • K. Reischl
  • Kevin, just Kevin
  • Larry Hegler (multiple submissions)
  • Louis Armstrong
  • M. Belle
  • M. Broeders
  • M. K. Jenaas
  • Matthew Karwowski
  • Michael Boyer
  • Michael Quigley
  • Mr. Green Jeans
  • Opn Honest
  • Paul Musselman
  • Pewald
  • Pinamount (multiple entries)
  • Quincy McGoo
  • Rich Grega
  • Richard Sherwood
  • Roger Henady
  • Steve, just Steve
  • Stuart, just Stuart
  • The emailer known only as Keppich
  • Tim Linday
  • William Brown

Thanks, everyone. We'll have to do this again sometime.


RELATED STORIES

Joe Hertvik: Admin Alert

Solve a Client Access Mystery, Win a No Prize



                     Post this story to del.icio.us
               Post this story to Digg
    Post this story to Slashdot


Sponsored By
COMMON

COMMON Focus 2008, our annual workshop conference,
returns with three days of intense, focused education.

October 5 - 8, 2008
San Francisco, California

COMMON Focus 2008 will be a smaller, more intimate event than a traditional
COMMON conference with a limited number of attendees--allowing attendees
more one-on-one interaction with the speakers and each other.

Building on the success of the inaugural COMMON Focus conference last year,
in-depth, all-day educational workshops will again be offered--both in lab and
lecture-style formats--in a wide range of topic areas. Attendees can attend
only one workshop per day, providing attendees the opportunity to focus
their educational needs on a specific topic each day.

COMMON Focus 2008 will kickoff on the evening of Sunday, October 5th,
with a Welcome Reception, where attendees and workshop instructors
can meet and network. A continental breakfast and lunch will be provided each day,
along with several breaks, giving attendees time to interact with each other.

COMMON Focus 2008 will also have a tabletop-style exhibition area, featuring
a limited number of exhibitors. Attendees will be able to view and
get hands-on demonstration on the latest i-related solutions available to them.

This innovative educational conference promises to be three days of intense learning.
It is an educational opportunity that you don't want to miss.

Learn more at
www.common.org/focus


Senior Technical Editor: Ted Holt
Technical Editor: Joe Hertvik
Contributing Technical Editors: Edwin Earley, Brian Kelly, Michael Sansoterra
Publisher and Advertising Director: Jenny Thomas
Advertising Sales Representative: Kim Reed
Contact the Editors: To contact anyone on the IT Jungle Team
Go to our contacts page and send us a message.

Sponsored Links

Vision Solutions:  System i Management Tips Blog - Free i5/OS Tips Each Week!
Aldon:  Get ITIL compliant with Aldon's Application Lifecycle Management solutions
COMMON:  Join us at the Focus 2008 workshop conference, October 5 - 8, in San Francisco, California


 

IT Jungle Store Top Book Picks

Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
Getting Started with PHP for i5/OS: List Price, $59.95
The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
The System i Pocket RPG & RPG IV Guide: List Price, $69.95
The iSeries Pocket Database Guide: List Price, $59.00
The iSeries Pocket Developers' Guide: List Price, $59.00
The iSeries Pocket SQL Guide: List Price, $59.00
The iSeries Pocket Query Guide: List Price, $49.00
The iSeries Pocket WebFacing Primer: List Price, $39.00
Migrating to WebSphere Express for iSeries: List Price, $49.00
iSeries Express Web Implementer's Guide: List Price, $59.00
Getting Started with WebSphere Development Studio for iSeries: List Price, $79.95
Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
Getting Started with WebSphere Express for iSeries: List Price, $49.00
WebFacing Application Design and Development Guide: List Price, $55.00
Can the AS/400 Survive IBM?: List Price, $49.00
The All-Everything Machine: List Price, $29.95
Chip Wars: List Price, $29.95


 
The Four Hundred
The i Upgrade Cycle Seems Par for the Course

The Power Systems JS12 and JS22 Blades Versus Other i Boxes

Gartner Revises HP's Server Sales Downward for Q1

Mad Dog 21/21: Mission Possible

IBM Tweaks Power System 595 Upgrades for System i 570 CBU Shops

The Linux Beacon
A Little More Info on Red Hat Enterprise MRG

IBM Sells 60 Teraflops Power6-Linux Super in Holland

Sun Updates MySQL Carrier-Grade Clustered Database

Mad Dog 21/21: Mission Possible

VMware Replaces Co-Founder Greene with Microsoft Hotshot

Four Hundred Stuff
Companies Slow to Kick Paper Habit, But E-Docs Making the ROI Case

ACL Brings Real-Time Audit to Bear at Siemens

IBM Ends WebFacing in Host Integration Suite, Adds EGL

BlueZone Updates Terminal Emulation for i OS

5250 Emulator for iPhone? Mochasoft is On It

Big Iron
Micro Focus Acquires Liant for COBOL and PL/I Tools

Top Mainframe Stories From Around the Web

Chats, Webinars, Seminars, Shows, and Other Happenings

System i PTF Guide
July 12, 2008: Volume 10, Number 28

July 5, 2008: Volume 10, Number 27

June 28, 2008: Volume 10, Number 26

June 21, 2008: Volume 10, Number 25

June 14, 2008: Volume 10, Number 24

June 7, 2008: Volume 10, Number 23

The Windows Observer
Micro-Hoo Now Undead

Microsoft Patches Security Flaws in Windows, SQL Server, and Exchange

Hyper-V Goes RTM as VMware Hiccups

Microsoft Unveils New 'Select Plus' Volume Licensing Program

VMware Replaces Co-Founder Greene with Microsoft Hotshot

The Unix Guardian
HP-UX 11i v3 Update 2 Pricing Revealed--Sort Of

Gartner Revises HP's Server Sales Downward for Q1

Sun Upgrades and Extends Thumper Array Lineup

As I See It: The Digital Leader

The Relational Database Market Grows Decently in 2007

Four Hundred Monitor
Four Hundred Monitor's
Full iSeries Events Calendar

THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
COMMON


Printer Friendly Version


TABLE OF CONTENTS
API Fun Time

Conditional Inserts with JDBC Prepared Statements

Admin Alert: A Client Access Mystery Solved…with No-Prizes!!!

Four Hundred Guru

BACK ISSUES

From the IT Jungle Forums
IFF ACTIVE Equivalent in CL

Printer Problem

Capture Sort File and Copy to Database File

SNMP Traps on i5OS

Java Messages

Copying recs from a subfile to a file and keeping highlights





 
Subscription Information:
You can unsubscribe, change your email address, or sign up for any of IT Jungle's free e-newsletters through our Web site at http://www.itjungle.com/sub/subscribe.html.

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.
Guild Companies, Inc., 50 Park Terrace East, Suite 8F, New York, NY 10034

Privacy Statement