I have a few smb servers running cups or lpr. the problem i have is that some sites are turing over many print jobs and eventually printing stops. I find that the /var partition is full and on investigation /var/spool/samba is full of smbprn.blah.blah files. when i dlete the files printing is again fine and i have loads of space on the var partition (1-2gig normally). On some servers i have put a line in crontab to remove these files at 11pm every night which seems to work ok but I am not sure it is not just a bodge to get round a problem. Any ideas would be greatly received. I have trawled google and mailing lists and it looks like i have created a new problem! Simon
What does the Print Command entry look like in your smb.conf? Jim> -----Original Message----- > From: Simon Chappell [mailto:s.chappell@isnsuk.com] > Sent: Wednesday, January 29, 2003 6:39 AM > To: samba@lists.samba.org > Subject: [Samba] Printing irritation > > > I have a few smb servers running cups or lpr. the problem i > have is that > some sites are turing over many print jobs and eventually printing > stops. I find that the /var partition is full and on investigation > /var/spool/samba is full of smbprn.blah.blah files. when i dlete the > files printing is again fine and i have loads of space on the var > partition (1-2gig normally). On some servers i have put a line in > crontab to remove these files at 11pm every night which seems > to work ok > but I am not sure it is not just a bodge to get round a problem. > > Any ideas would be greatly received. > I have trawled google and mailing lists and it looks like i > have created > a new problem! > > Simon > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
This has been a known problem w. cups. It is fixed in the current releases. If the jobs stay on the cups servers: use a newer samba version. BTW: In at least 95 percent of all cases: do not use a print command with cups! Use "printing = cups" and "printcap name=cups" instead! You need no additional command options in your smb.conf. If the jobs stay on the lpr machine: show your print command. Version numbers and infos, if the problem is on the lpr or the cups machine, would be helpfull to get an appropriate answere. bye, Martin On Wednesday 29 January 2003 18:30, Van Sickler, Jim wrote:> What does the Print Command entry look like in > your smb.conf? > > Jim > > > -----Original Message----- > > From: Simon Chappell [mailto:s.chappell@isnsuk.com] > > Sent: Wednesday, January 29, 2003 6:39 AM > > To: samba@lists.samba.org > > Subject: [Samba] Printing irritation > > > > > > I have a few smb servers running cups or lpr. the problem i > > have is that > > some sites are turing over many print jobs and eventually printing > > stops. I find that the /var partition is full and on investigation > > /var/spool/samba is full of smbprn.blah.blah files. when i dlete the > > files printing is again fine and i have loads of space on the var > > partition (1-2gig normally). On some servers i have put a line in > > crontab to remove these files at 11pm every night which seems > > to work ok > > but I am not sure it is not just a bodge to get round a problem. > > > > Any ideas would be greatly received. > > I have trawled google and mailing lists and it looks like i > > have created > > a new problem! > > > > Simon > > > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba-- Martin Zielinski mz@seh.de
Try adding -r to the print command this deletes jobs from the samba queue after it is done spooling. No need to manually delete the files every night. -----Original Message----- From: Simon Chappell [mailto:s.chappell@isnsuk.com] Sent: Wednesday, January 29, 2003 5:39 AM To: samba@lists.samba.org Subject: [Samba] Printing irritation I have a few smb servers running cups or lpr. the problem i have is that some sites are turing over many print jobs and eventually printing stops. I find that the /var partition is full and on investigation /var/spool/samba is full of smbprn.blah.blah files. when i dlete the files printing is again fine and i have loads of space on the var partition (1-2gig normally). On some servers i have put a line in crontab to remove these files at 11pm every night which seems to work ok but I am not sure it is not just a bodge to get round a problem. Any ideas would be greatly received. I have trawled google and mailing lists and it looks like i have created a new problem! Simon -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba