This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).
We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:
Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,
Post an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.
IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.
ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.
IBM has evaluated the priority of this enhancement proposal relative to other future product content and determined that this RFE will not be pursued for a future product release
as rembak-timeout also affects the time a (large) printjob is allowed to need for printing I would suggest to differ between the timeout rembak uses to contact the remote queue and (if it is reachable) the timeout the actual request to the remote queue is allowed to take in account. Maybe a simple "ping" to the remote device and then fastly aborting if it is not reachable would help!?
.We have recreated the lpstat delay issue locally when the remote printer is down.
We were able to recreate the delay of 90 seconds and exploring the approaches to fine tune the delay either through a new command line option or an environment variable.
1) If the lpstat command is executed over command line do we see the same issue?
Yes. We can reproduce this hang, when one of the printers is turned off.
1.1) If it works over command line , then it might be specific to JPS.
no, not specific to JPS
2) Is the rembak able to contact printer?
If the printer is turned off (which could happen, since there would be dozens of printers and some of them might be turned off by users), the printer of course can't be contacted.
2.1) If rembak was able to contact printer is the printer taking time to respond ?
n/a
3) What is the frequency of the issue ( how frequently do we observe this issue)?
Very often, especially when printers are turned off.
4) Does this issue occur everytime the printer is down ?
Yes, we think so. Additionally, we recently had a case, when a printer was turned on and was pingable, but seemed to be in an undefined/hung state. lpstat was hanging then too.
In our opinion lpstat (if used by other scripts or tools, e.g JPS) should return immediately, independently in which state some of the printers are. For example, 'enq -sAW' works this way.
.Can you provide information on the below queries:
1) If the lpstat command is executed over command line do we see the same issue?
1.1) If it works over command line , then it might be specific to JPS.
2) Is the rembak able to contact printer?
2.1) If rembak was able to contact printer is the printer taking time to respond ?
3) What is the frequency of the issue ( how frequently do we observe this issue)?
4) Does this issue occur everytime the printer is down ?
.Waiting for the iptraces from the customer to understand the cause for the network glitches. Also parallely exploring the lpstat command.
We are exploring if 'rembak' can be modified to take time in secs<60 and need to check if there are any
other limitations for the existing default '90' seconds. We will update once we have more information.
For SysV print commands, it is universal to hang when printers are down, not just an AIX thing. The assumption was that everyone would want to know when a printer is non-responsive.
You may want to add -i to the lpstat commandline to “ignore waiting for a response”, or try lpq or qchk (BSD printing) instead.