[Pkg-samba-maint] Bug#516033: Bug#516033: samba: SAMBA is really slow since lenny's dist-upgrade from etch

Laurent CARON lcaron at unix-scripts.info
Sat Mar 21 20:05:29 UTC 2009


Christian Perrier wrote:
> Quoting Steve Langasek (vorlon at debian.org):
>> On Thu, Feb 19, 2009 at 11:32:28PM +0100, Laurent CARON wrote:
>>> Steve Langasek wrote:
>>>> Sorry, I should have been more explict - which of these lines is the last
>>>> one printed, before the script pauses for this long time?
>>> It is pausing for more than 6 mins right after "Starting Samba daemons:  
>>> nmbd smbd"
>> Ok.  Can you please set 'debug level = 4' in your smb.conf, restart samba
>> again, and send us a copy of both your smb.conf and your
>> /var/log/samba/log.smbd?
> 
> 
> Ping ?
> 
> 
Hi,

My mistake.

I did just diagnose the bug today.

There is an old cups reference from the old machine to cups on this 
config file resulting in:


[2009/03/21 20:54:01,  4] param/loadparm.c:lp_load_ex(8822)
   pm_process() returned Yes
[2009/03/21 20:54:01,  3] param/loadparm.c:lp_add_ipc(5929)
   adding IPC service
[2009/03/21 20:54:01,  3] printing/pcap.c:pcap_cache_reload(116)
   reloading printcap cache
[2009/03/21 20:57:10,  0] printing/print_cups.c:cups_connect(68)
   Unable to connect to CUPS server localhost:631 - Connexion terminée 
par expiration du délai d'attente
[2009/03/21 20:57:10,  3] printing/pcap.c:pcap_cache_reload(223)
   reload status: error
[2009/03/21 20:57:10,  3] printing/pcap.c:pcap_cache_reload(116)
   reloading printcap cache
[2009/03/21 21:00:19,  0] printing/print_cups.c:cups_connect(68)
   Unable to connect to CUPS server localhost:631 - Connexion terminée 
par expiration du délai d'attente
[2009/03/21 21:00:19,  3] printing/pcap.c:pcap_cache_reload(223)
   reload status: error
[2009/03/21 21:00:19,  2] lib/interface.c:interpret_interface(457)
   interpret_interface: using netmask value 8 from config file on 
interface lo
[2009/03/21 21:00:19,  2] lib/interface.c:add_interface(337)
   added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
[2009/03/21 21:00:19,  2] lib/interface.c:add_interface(337)


adding "load printers = no" fixes it

Thanks

Laurent





More information about the Pkg-samba-maint mailing list