1833857 Members
2492 Online
110063 Solutions
New Discussion

lpsched problem

 
SOLVED
Go to solution
Javier Ortiz Guajardo
Frequent Advisor

lpsched problem

When i start the lpsched command i see in the top command that the lpsched goes to 98% of cpu load, after 2 minutes it begin to reduce the amount of cpu load and begin to work normal.
Also when i shutdown the lpsched with lpshut it continues active.

Is the cpu load normal?
What can i do to make lpshut work normal.

I appreciate your comments and thanks so much.
The obstacles are those things that the people see when they left to see their goals.
3 REPLIES 3
Helen French
Honored Contributor
Solution

Re: lpsched problem

Did you patch the system properly? Check the CPU load with GlancePlus, that will give you the correct resource usages.

Remove file SCHEDLOCK from /var/spool/lp directory. If any big print jobs are waiting in the queue, then remove that first and then shutdown the lp services.
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: lpsched problem

It's not normal for lpsched's load to surge like than unless you got a huge active spool file trying to reprint upon startup of the spooler or you got a corrupted print entry in your spooler. When you lpshut it and if you still see lpsched process, try to terminate it manually with the "kill" command. Wait for a while (a minute or 2) then restart lpsched. Try to lpshut it again much later and see if the problem still arises. If it does I would suggest you check each printer entry and make sure you install the latest lp spooler cumulative patch.
Gerard Leclercq
Trusted Contributor

Re: lpsched problem

The load of the cpu in % is
relative not absolute.
If your cpu is doing nothing (no big application), 98% means low load.