On (14/07/05 01:05), Johann Beretta wrote: > To: debian-user@lists.debian.org > From: Johann Beretta <[EMAIL PROTECTED]> > Date: Thu, 14 Jul 2005 01:05:19 -0700 > Subject: Re: CUPS/Samba help please > > On Wed, 13 Jul 2005 18:00:15 +0200, Clive Menzies <[EMAIL PROTECTED]> > wrote: > > <snip> > >> > >> Anyone have some insight into this? Maybe you experienced something > >> similar and > >> can give me a few tips on how to resolve it? > > > >In /etc/samba/smb.conf there is a setting: > ># Most people will find that this option gives better performance. > ># See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html > ># for details > ># You may want to add the following on a Linux system: > ># SO_RCVBUF=8192 SO_SNDBUF=8192 > > socket options = TCP_NODELAY > > > >You could try uncommenting the penultimate line. > > > >Regards > > > >Clive > > > <snip> > > P.S. AH SWEET BUDDAH. 'TIS FIXED > > Well, I had typed a whole giant message about why, even after trying the > above, > it still didn't work, when I happened to stumble across the fix via google and > the Gentoo forums (hey, I was desperate) > > I did appreciate the suggestion above (and in fact tried it) but I didn't > notice > any difference. However, deleting two registry keys in XP proved to be the > ultimate solution. > > Apparently this "bug" was introduced in Service Pack 2 (SP2) > > Anyhow, I'm gonna try to be as verbose about everything as possible in the > hopes that the next poor bastard who suffers from this problem will be able to > find this post in the archives. > > First the important info: > > Nuclear : My Windows XP SP2 machine > Sikozu: Debian GNU/Linux "Sarge" box. > HP LaserJet 3550N: The Printer > and of course CUPS & Samba. > > Two registry keys are at fault here. (Yay MS!) > > HKEY_CURRENT_USER\Printers\DevModePerUser > and > HKEY_CURRENT_USER\Printers\DevModes2 > > in DevModePerUser I have an entry of: > \\Sikozu\Color_LaserJet_3550 <-- DELETED IT > > in DevModes2 I have two entries: > \\NUCLEAR\\\Sikozu\Color_LaserJet_3550,LocalsplOnly <--- KEEP > \\Sikozu\Color_LaserJet_3550 <--- DELETED IT > > Now, from what I can surmise is the fix: > > By deleting those two DELETED keys. I've told XP to spool to itself only. and > then hand off the data to Samba _after_. > > This results in 100% CPU usage for about 10 seconds, and then *presto* I have > my > machine back. No more 5 minute freezes, etc. > > I'm sure someone else can probably shed more light the exact technical > details, > but long story short: It didn't work before, and now it does.
Great news ;) SP2 has a lot to answer for .... thanks for the info. It's not something I've seen (the problem) although we have a couple of networks where XP is printing to a Debian CUPS printer via samba. Regards Clive -- www.clivemenzies.co.uk ... ...strategies for business -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]