Samba as printserver and swapspace

Jean Francois Micouleau Jean-Francois.Micouleau at
Mon Oct 30 18:23:14 GMT 2000

On Mon, 30 Oct 2000, Eric Delaet wrote:

> Everything works OK, but there are users who send *really* big files (500
> MB), so the swapspace ( /tmp ) gets full and the box crashes.
> When I use the unix lp command from another unix pc to send such a really
> big file, the /tmp space doesn't get filled up, but only the /var/spool
> directory, so everything works ok.
> Is it possible to tell samba, for a printer, not to use the swap space,
> but just the spool directory ?

you can change the default /tmp directory to somewhere else with the path=
option of smb.conf.

500 megs spool files are not uncommon, I ran into the same problem with
people sending spool files over a gigabyte.


More information about the samba-ntdom mailing list