- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to I stop a runaway lpsched?
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
Forums
Discussions
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
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
10-26-2001 10:28 AM
10-26-2001 10:28 AM
How to I stop a runaway lpsched?
I have noticed that I have a runaway lpsched. I'd like to kill it because it is using a lot of CPU, but I don't know what to kill.
When I do a ps -fu lp:
lp 767 1 228 Oct 1 ? 36110:55 /usr/sbin/lpsched
lp 23292 1 0 15:26:20 ?
0:06 lpsched
If I do a top command, I can see that it is taking almost 90% of a CPU.
How do I stop this? It appears to have been running for days....
TIA
Cindy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 10:31 AM
10-26-2001 10:31 AM
Re: How to I stop a runaway lpsched?
lpshut
You can restart it with
lpsched
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 10:32 AM
10-26-2001 10:32 AM
Re: How to I stop a runaway lpsched?
The proper way to stop it is 'lpshut'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 10:35 AM
10-26-2001 10:35 AM
Re: How to I stop a runaway lpsched?
Try lpshut to stop and restart it by lpsched.
This would be best way kill your runaway process
Good Luck..
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 10:54 AM
10-26-2001 10:54 AM
Re: How to I stop a runaway lpsched?
I should have mentioned that I had tried stopping and restarting the spooler....but this did not resolve my problem.
Any other thoughts, I'd appreciate it.
Cindy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 10:59 AM
10-26-2001 10:59 AM
Re: How to I stop a runaway lpsched?
You probably have 2 lpsched running.
Do this:
lpshut (to kill the 'good' one)
ps -e | grep lpsched
If you find another lpsched pid, kill it like this:
kill PID
if that doesn't kill it, try kill -11 PID
finally try kill -9 PID but only after kill -11 has failed.
Next cd to /var/spool/lp
ls FIFO SCHEDLOCK
if either of these are found, rm them.
lpsched
Hopefully, that will fix you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 11:06 AM
10-26-2001 11:06 AM
Re: How to I stop a runaway lpsched?
Just a thought,
Rita
...and it does not require a reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 11:06 AM
10-26-2001 11:06 AM
Re: How to I stop a runaway lpsched?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 11:06 AM
10-26-2001 11:06 AM
Re: How to I stop a runaway lpsched?
I did have a second lpsched running and by stopping the first, then killing the second, it worked!
THANK YOU !!!!!!!!!!!!!1
Cindy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2001 05:00 PM
10-26-2001 05:00 PM
Re: How to I stop a runaway lpsched?
When lpshut is run, the daemon signals all the lpscheds to terminate. If an lpsched gets hung up, then two or more will exist until the child lpsched's are killed. The daemon lpsched has a parent PID of 1.
Bill Hassell, sysadmin