- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- lpd "resource temporarily unavailable"
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-09-2006 02:39 AM
тАО03-09-2006 02:39 AM
lpd "resource temporarily unavailable"
We have several G4p's loaded the same and one today stopped printing.
It had only been up about 7 days.
When you did "lpstat -o" to check the print queues we saw "Server load too high". There were no hung print jobs in the /var/spool/lpd queues.
We tried bouncing lpd, but got "dfork failed- Resource temporarily unavailable".
Top, SAR, etc showed fine. Everything else was running fine.
We ended up booting the server and lpd started normally and the users could print.
Googling did not show any useful information.
Any suggestions on what caused this and how to fix it (without booting) in the future would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 10:34 AM
тАО03-09-2006 10:34 AM
Re: lpd "resource temporarily unavailable"
What priting system are u using ? LPRng or CUPS ?
Did you try restarting CUPS ?
Did you try to purge the printing queue ?
Try :
/etc/init.d/cupsd stop
rm -f /var/spool/cups/c00* /var/spool/cups/tmp/*
/etc/init.d/cupsd start
Good lcuk.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 11:50 PM
тАО03-09-2006 11:50 PM
Re: lpd "resource temporarily unavailable"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 12:06 AM
тАО03-10-2006 12:06 AM
Re: lpd "resource temporarily unavailable"
- lpq output?
- something interesting into /var/log/messages?
Rgds,
Vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 12:10 AM
тАО03-10-2006 12:10 AM
Re: lpd "resource temporarily unavailable"
lpq and message out put was noted in original messages (Server load to high, dfork failed).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 12:15 AM
тАО03-10-2006 12:15 AM
Re: lpd "resource temporarily unavailable"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 12:23 AM
тАО03-10-2006 12:23 AM
Re: lpd "resource temporarily unavailable"
We ran Top, SAR, etc. and there was a normal load on the server (which was very, very low - we don't hammer the systems by any means).
Our 2 databases were running fine,and everything else appeared to be normal.
Uptime was only 8 days.
We can't rule out a "runaway process", but idle time was 95% so it's not like the system was being hogged by anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 03:12 AM
тАО03-10-2006 03:12 AM
Re: lpd "resource temporarily unavailable"
Before the server was booted, %memused was at 99%. After the reboot it went down to 40%-60% used. Also it looks like we were using most of our Swap pre-reboot.
We ran TOP and it looked "OK" at the time - anyone have any other suggestions on how to trace the memory hog if this happens again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2006 04:52 AM
тАО03-10-2006 04:52 AM
Re: lpd "resource temporarily unavailable"
By uptime I mean, the load average reported, not the system uptime itself, for example:
load average: 27.34, 27.20, 27.06
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 01:29 AM
тАО03-13-2006 01:29 AM
Re: lpd "resource temporarily unavailable"
07:00:00 8 4137 0.01 0.10 0.11
07:10:00 5 4146 0.98 0.46 0.22
07:20:01 2 4159 0.13 0.21 0.17
07:30:00 3 4168 0.07 0.11 0.14
07:40:01 3 4176 0.02 0.07 0.09
07:40:01 runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
07:50:00 1 4181 0.88 0.49 0.24
08:00:00 5 4201 0.05 0.22 0.24
08:10:00 5 4208 0.09 0.17 0.20
08:20:01 2 4213 0.46 0.35 0.25
Average: 5 3985 0.20 0.19 0.17
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 01:53 AM
тАО03-13-2006 01:53 AM
Re: lpd "resource temporarily unavailable"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 02:47 AM
тАО03-13-2006 02:47 AM
Re: lpd "resource temporarily unavailable"
So is this RHEL2.1 (according to kernel version 2.4.9) or RHEL4?
Can you please send your lpd.conf & printcap files?
Try to add debug option to lpd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 05:25 AM
тАО03-13-2006 05:25 AM
Re: lpd "resource temporarily unavailable"
We never touched lpd.conf (everything is commented out). Attached is our printcap file.
Also, I believe this issue started on Monday the 6th. SAR logs show swap going up to 25% used at that time and never went back down until the reboot. Gradually Swap usage grew from the 25% used to 100% used the morning of the 9th (when we started having lpd issues). Checking simlar systems normally swap is around 2-3% used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 07:59 AM
тАО03-13-2006 07:59 AM
Re: lpd "resource temporarily unavailable"
I suggest you to do two things:
- increase debug level for lpd ("-D" with some options)
- in addition to sar you can run "top" command via crontab in order to monitor cpu/memory utilization by each process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 08:14 AM
тАО03-13-2006 08:14 AM
Re: lpd "resource temporarily unavailable"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 08:25 AM
тАО03-13-2006 08:25 AM
Re: lpd "resource temporarily unavailable"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 08:32 AM
тАО03-13-2006 08:32 AM
Re: lpd "resource temporarily unavailable"
Again, we only did "sar -u 5 5". We didn't look at swap specifically from command line.
We tried bouncing lpd, ran TOP, ran SAR, checked a few other things but probably should have ran more SAR commands to get more "live" detail. We looked at the SAR logs after the reboot, which is when we saw that Swap usage started creeping up on Monday the 6th and maxed out the morning of the 9th.
I'm thinking lpd dying and not starting was a symptom, it probably wasn't specifically an lpd issue (but then again may have been). Something on the 6th started making the system use much more Swap than normal and it never went back down to a normal level until after the reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2006 06:29 PM
тАО03-13-2006 06:29 PM
Re: lpd "resource temporarily unavailable"
Agree!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2006 06:19 AM
тАО06-12-2006 06:19 AM