LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2015, 08:10 AM   #1
akhilbaai
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Rep: Reputation: Disabled
Question Where does CUPS spool data inside


Hi,

I'm a bit curious about the internal data handling (spooling) of CUPS.
I've gone through the cupsd.c code and found pipes being implemented. Is spooling happening inside pipes or is it using a normal character buffer? What would be the maximum size of spooled data it can handle ?
 
Old 12-15-2015, 08:43 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by akhilbaai View Post
Hi,

I'm a bit curious about the internal data handling (spooling) of CUPS.
I've gone through the cupsd.c code and found pipes being implemented. Is spooling happening inside pipes or is it using a normal character buffer? What would be the maximum size of spooled data it can handle ?
Spooled data is in /var/spool/cups... but it can depend on what distribution is being used as I believe it is a configuration option.

The maximum size depends on the filesystem/partition size and system configuration. By default /var is part of root... thus it would be limited to the size of root, but it is up to the administrator, some like having /var on a separate partition/filesystem, others may chose to make only /var/spool separate, and other separate the mail handling from any other functions.

Pipes are used for interpreting/formatting the data... and the final output goes to a physical printer (or other similar device). Pipes can't be used for spooling (far too small, and only good for passing data from one process to another).

Last edited by jpollard; 12-15-2015 at 08:46 AM.
 
Old 12-15-2015, 08:43 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,102
Blog Entries: 10

Rep: Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524
Welcome to the forums.

I see at least two different questions entirely repeated on two different forums. Please do not post duplicate threads on multiple forums. This causes confusion, you may end up getting answers or follow-up questions on both threads and this will cause confusion. This question and another question related to person's opinions as to whether or not you should use CUPS for an embedded system. Note also that there is an "Embedded and Single Board Computer" forum which likely would've been the correct place for your other question.

Suggestions are to mark duplicate threads, perhaps in the Enterprise forum, as Solved, and put in cross links pointing to the other threads you've created in the Newbie forum.

The Site FAQ provides some guides to how to best use the forums.
 
Old 12-17-2015, 07:21 AM   #4
akhilbaai
LQ Newbie
 
Registered: Aug 2015
Posts: 18

Original Poster
Rep: Reputation: Disabled
Regret my ignorance,
Thanks for your help & Support
 
  


Reply

Tags
cups, driver, printer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where does CUPS spool data inside akhilbaai Linux - Enterprise 1 12-15-2015 08:18 AM
How to prevent /var/spool/cups from becoming full? tasdca Linux - Software 3 09-08-2011 09:32 PM
Spool Files in Cups Server jbspain Linux - Server 1 10-28-2010 01:48 PM
Monitor a cups spool directory cov Linux - Hardware 0 02-15-2009 09:01 AM
Print Jobs Get Lost in CUPS Spool jmoutdoors Linux - Networking 1 12-17-2003 10:12 AM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration