Way to success...

--"Running Away From Any PROBLEM Only Increases The DISTANCE From The SOLUTION"--.....--"Your Thoughts Create Your FUTURE"--.....--"EXCELLENCE is not ACT but a HABIT"--.....--"EXPECT nothing and APPRECIATE everything"--.....

Friday, November 10, 2017

Large number of job history (c*) and job files (d*) accumulated in /var/spool/cups in Linux


Issue:

Unable to print requests output from Oracle EBS.
There are large number of files accumulated in /var/spool/cups in Linux
Some begins with "d" example d00010 and others begin with "c" c00016





Cause:

cups is not cleaning up the "c" file after the job completes and printing gets stuck due to this.
They are retained until explicitly removed by Administrator.


Solution:

Configure cups to remove the job files (d*) and the job history (c*) files from /var/spool/cups/ after successful jobs have been sent to printer queues.

Configure cups to remove the job files beginning with "c"

The files whose names begin with a "c" are "job history" files.
If you would like to not retain job history, then you have to add the directive to /etc/cups/cupsd.conf

Action plan would be :

1. As a root – take backup of /etc/cups/cupsd.conf
2. Add the parameter below the maxlogsize line in /etc/cups/cupsd.conf –

    PreserveJobHistory Off

3. Then restart CUPS with the command:

    $ service cups restart


When PreserveJobHistory is set to Off, the job history (c*) files should be removed automatically approximately 30 seconds after a print job is completed.


Controlling the number of files stored in /var/spool/cups

The number of files stored in /var/spool/cups is controlled with the MaxJobs directive in /etc/cups/cupsd.conf.
The default value for MaxJobs is 500


21 comments:

  1. Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me. how to find job fast

    ReplyDelete
  2. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... poker88

    ReplyDelete
  3. What an informative blog it was. It had such relevant and interesting points that actually enhanced my knowledge and cleared my doubts. Thankyou for this blog, it was very useful. Here is a referred link same as yours oracle fusion hcm training.

    ReplyDelete
  4. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. https://www.followpc.com

    ReplyDelete
  5. A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one. job bank

    ReplyDelete
  6. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... Std test

    ReplyDelete
  7. Work Is Not Longer A Place Pay safely using our Payment system, release payments according to a schedule of milestones you set, or pay only upon completion. You are in control, so you get to make decisions freelance graphic design jobs

    ReplyDelete
  8. You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... Autoankauf

    ReplyDelete
  9. I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... download for pc

    ReplyDelete
  10. This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! https://techbomb.net/

    ReplyDelete
  11. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. 토토

    ReplyDelete
  12. Your website offered us with valuable information to work on.스웨디시

    ReplyDelete
  13. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. US-Visum Online

    ReplyDelete
  14. Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging.. indian visa application

    ReplyDelete
  15. It proved to be Very helpful to me and I am sure to all the commentators here! Kanadan viisumi

    ReplyDelete
  16. 기존 유저를 보유하고 있는 곳은 안전운영을 위해 한정된 이벤트를 진행하고 있으며, 신규유저를 가입시킬때에도 블랙유저인지 먼저 확인을 하게 됩니다. 메이저놀이터

    ReplyDelete
  17. 먹튀검증된 토토사이트를 추천하는 이유 단시간에 많은 유저를 모으는 곳이라면, 빠르게 게임을 진행하고 사이트를 닫아버리는 곳이 많아 “먹튀”사이트일 경우가 높습니다. 메이저놀이터

    ReplyDelete
  18. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. 온라인카지노

    ReplyDelete
  19. First off I would like to say excellent blog! I had
    a quick question in which I’d like to ask if you do not mind.
    I was interested to know how you center yourself and clear your
    head before writing. I have had a hard time clearing my mind in getting my thoughts out 먹튀.

    ReplyDelete
  20. I do take pleasure in writing however it just seems like the first 10 to 15 minutes tend to be wasted 안전놀이터.

    ReplyDelete
  21. Attractive, post. sex medicine for female I just stumbled upon your weblog and wanted to say that I have liked browsing your blog posts. After all, I will surely subscribe to your feed, and I hope you will write again soon!

    ReplyDelete