- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LP Spooler is slow
Operating System - HP-UX
1820487
Members
2063
Online
109624
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО07-06-2006 01:04 AM
тАО07-06-2006 01:04 AM
LP Spooler is slow
Whith HPUX 10.20, when we send a file on network HP Laser printer with lp command, data arrive after 7 secondes on the printer.
The same printer is very fast with a cups print server (with samba).
I think there is a probleme with LP scheduler.
When I restart the scheduler (with the "lpsched" command), there is 2 lpsched process:
/#ps -fe | grep lpsched root 27031 19977 1 14:56:19 ttyr6 0:00 grep lpsched
lp 26522 26521 0 14:49:21 ? 0:00 lpsched
lp 26521 1 0 14:49:21 ? 0:00 lpsched
/#
Is it normal ???
Can anyone help us ??
The same printer is very fast with a cups print server (with samba).
I think there is a probleme with LP scheduler.
When I restart the scheduler (with the "lpsched" command), there is 2 lpsched process:
/#ps -fe | grep lpsched root 27031 19977 1 14:56:19 ttyr6 0:00 grep lpsched
lp 26522 26521 0 14:49:21 ? 0:00 lpsched
lp 26521 1 0 14:49:21 ? 0:00 lpsched
/#
Is it normal ???
Can anyone help us ??
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2006 02:01 AM
тАО07-06-2006 02:01 AM
Re: LP Spooler is slow
Well, if data start arriving at the printer after 7 seconds that doesn't seem very slow to me. Without knowing more, it's difficult to say if this is bad or good. You may have a very elaborate filter program in place. It would also help to know if this is a Remote or Network printer.
In any event, it is perfectly normal to see multiple lpsched processes because everytime lp is invoked, lpsched fork()'s a new process. In your ps listing note that one lpsched has PPID = 1 (init); it is the actual daemon; the other lpsched is a child process of this one. These child lpsched processes are normally short lived.
In any event, it is perfectly normal to see multiple lpsched processes because everytime lp is invoked, lpsched fork()'s a new process. In your ps listing note that one lpsched has PPID = 1 (init); it is the actual daemon; the other lpsched is a child process of this one. These child lpsched processes are normally short lived.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2006 02:22 AM
тАО07-06-2006 02:22 AM
Re: LP Spooler is slow
Let's start by measuring when the data actually arrives. Unless this is an ancient dot matrix or giant green-bar paper line printer, modern printers do not pop out paper or even start the rollers moving as soon as data arrives. Instead, the printer stores the incoming data until a complete page is received. If this is not a plain ASCII page but consists of special fonts and graphics, the amount of data can be significant (megabytes) just for the first page. And of course, really old technology printers may take several seconds (minutes?) to process and format the image before the paper actually moves.
Now many printers have an activity light, something that flashes when data starts arriving. If you have this indicator, use it to determine whether the data is delayed. There is nothing in the lp spooler that can delay or slow down data transfers. If the printer is connected with a serial or parallel cable (which is extremely slow), I would immediately replace the connection with a network adapter such as the HP JetDirect card.
You can bypass the lp spooler by sending data direct to the printer but the details very much depend on which of the 3 different connection methods you are using (direct connect as in serial or parallel, remote printing to some server or non-HP LAN adapter, oe HP JetDirect LAN adapter).
You may find that the delay is in the printer, not in the spooler, and completely normal. Most laser printers require not only a formatting period but many require a warmup if they have been idle for several minutes.
Bill Hassell, sysadmin
Now many printers have an activity light, something that flashes when data starts arriving. If you have this indicator, use it to determine whether the data is delayed. There is nothing in the lp spooler that can delay or slow down data transfers. If the printer is connected with a serial or parallel cable (which is extremely slow), I would immediately replace the connection with a network adapter such as the HP JetDirect card.
You can bypass the lp spooler by sending data direct to the printer but the details very much depend on which of the 3 different connection methods you are using (direct connect as in serial or parallel, remote printing to some server or non-HP LAN adapter, oe HP JetDirect LAN adapter).
You may find that the delay is in the printer, not in the spooler, and completely normal. Most laser printers require not only a formatting period but many require a warmup if they have been idle for several minutes.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP