- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lpsched and swapper problems
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
01-20-2005 10:40 PM
01-20-2005 10:40 PM
I am experiencing some nasty problems with our L-Class server (1 cpu) with 3Gb of memory, running 11i and oracle 8.1.7.4.
A week ago it was added a remote printer hosted in a win2000 box. The printer was using an lpd server from Esker Tun that did not work and it was changed for the standard Win lpd server. Then we were enable to print but after a while the printer got the disable status, after enabled it works for a while and gets disable or just get stuck until somebody does the disable/enable trick.
The PHCO_30431 was applied thinking something was really wrong with the lpsched. But things did not improved.
Now our dba is blaming the printing for slowing down the machine, increasing the load in the CPU. Another guy is telling me we are pushing to hard with 100 printers in the system.
I do not agree with them and I am trying to replace that remote lpd server for something decent. A point in their cause is that I have seen in the top list of processes the lpsched with more than 10% of load and a hell of acumulated time in the cpu. This happens once per day usually in the late night/early morning.
Also I have seen the process swapper permanently listed in the top with %CPU around 1.50 is this normal?
Do I need to patch my system to the latest level?
Thanks in advance for all your comments.
Solved! Go to Solution.
- Tags:
- lpsched
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 11:30 PM
01-20-2005 11:30 PM
Re: lpsched and swapper problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 12:11 AM
01-21-2005 12:11 AM
Re: lpsched and swapper problems
For printing, how many printers are defined on this server?? When this printer stops responding, do see something in log file (/var/adm/lp/log)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 02:44 AM
01-21-2005 02:44 AM
Re: lpsched and swapper problems
I am attaching a file executing vmstat -S 15 and the swapinfo. I do not have glance, but I hope sar and the other tools will help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 02:56 AM
01-21-2005 02:56 AM
Re: lpsched and swapper problems
It's not unusual to see swapper in the top list, but it usually show state 'sleep'. What is unusual is if it is running all the time.
What are your buffer cache settings, just as a matter of interest?
# kmtune -q dbc_min_pct
# kmtune -q dbc_max_pct
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 02:57 AM
01-21-2005 02:57 AM
Re: lpsched and swapper problems
We just experienced a pick load in the system around 13 o more.
About the printer we have 103 defined printers, 29 of them network printers. I can not see any error message in the /var/adm/lp/log file. The latest thing is that the jobs queue and the status of the printer says busy but nothing is printed out. So you disable and enable the printer and the first job is gone, so you have to do it manually for the rest of jobs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 03:02 AM
01-21-2005 03:02 AM
Re: lpsched and swapper problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 03:09 AM
01-21-2005 03:09 AM
Re: lpsched and swapper problems
You might want to run lanadmin (lan->display) and check you're not getting excessive errors or collisions. Just a thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 03:12 AM
01-21-2005 03:12 AM
Re: lpsched and swapper problems
The dbc_max_pct is 50 and
the dbc_min_pct is 5.
I read in other thread that dbs_max_pct should be 10 but I did not want to change them before being 100% sure. Moreover it means downtime, and I have to inform the users quite in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 03:24 AM
01-21-2005 03:24 AM
Re: lpsched and swapper problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 10:01 PM
01-23-2005 10:01 PM
Re: lpsched and swapper problems
Memory: 1317020K (428460K) real, 2375304K (1116396K) virtual, 33200K free Page3 1/22 TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND ? 5 397 lp 236 20 276K 284K run 564:09 64.14 64.03 lpsched
Before restating it with lpsched -v I had a look in /var/adm/lp/log and I found a lot of entries starting with FIFO:
FIFO: NCTS94: p enabled not busy /dev/null
FIFO: nippon_man_p1: p enabled not busy /dev/null
I am attaching the file so we have a better look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 01:25 AM
01-24-2005 01:25 AM
Re: lpsched and swapper problems
If possible, try to have primary swap and /var/spool/lp/request on different physical disks to avoid overloading the disk when a windows user prints out his 100MB power point presentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 02:44 AM
01-24-2005 02:44 AM
Re: lpsched and swapper problems
Note that WAN printing, whether direct to JetDirect or remote lpd servers, is subject to WAN difficulties (line turnaround time, retransmissions, etc) so you may also want to quantify the problems printers as to the type of link (and associated rotuters between HP-UX and the printers).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 03:40 AM
01-24-2005 03:40 AM
Re: lpsched and swapper problems
I am again having the problem with the printers being disabled. The load of the system it is normal (around 4) and nothing unusual seems to be consuming CPU. I believe these two problems are unrelated.
You are quite right about your comments with lpd servers. We suggest to users to buy hp printers or to buy the jetdirect cards. But as you may know some of them are reluctant to buy new hardware.
I wanted to know if there is a way to check if there is a comms problem or a lpd server problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2005 06:21 AM
01-24-2005 06:21 AM
SolutionEthereal is quite cool in thta it will format nettl output from HP-UX (along with many other formats). You'll probably need RFC 515 ( http://www.faqs.org/rfcs/rfc1179.html ) to find any protocol violations. Make sure that *ALL* of your remote printer server connections are marked as BSD (see SAM or lpadmin man page). Without BSD checked, the print job number will be too long (4 digits) for the remote servers.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 10:49 PM
01-25-2005 10:49 PM
Re: lpsched and swapper problems
I am going to download the Ethereal, which seems to be a nice tool to have around.
I am closing this thread. Thanks to all of you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2005 10:54 PM
01-25-2005 10:54 PM