When "SCHEDLOCK" process is using more CPU:
1. The SCHEDLOCK file will get create by the lpsched program in order to prevent a second copy of lpsched from running.
It will be removed when we run #lpshut command.
2. when a lpscheduler starts, it creates the SCHEDLOCK file. If the file is already present, it assumes that the scheduler is already running and will abort and hence prevent two scheduler processes running on the same system.
If lpsched does not shut down normally and the SCHEDLOCK file remains preventing you from restarting lpsched or allowing other lpsched prog to run then remove the file
#cd /usr/spool/lp
#rm SCHEDLOCK {imp to remove}
#rm FIFO
#rm CLD_FIFO
OR do #lpshut it will automatically remove the SCHEDLOCk, if not then manually remove above file
3. check schedular #lpstat -r
4. then #lpsched , to run the schedular
Thanks...
Kiran Jadhav
**Let's Share our knowledge and keep visiting here**
No comments:
Post a Comment