I did mention in my original post that I think the systems resource issues
are coming from the fact that unused smbd deamon processes are clogging up
the system and wont die, rather than the other way round.

So I'm not sure if upping the resource table sizes would solve the problem
or just delay it.

I will try this and see if it makes a difference.

Thank's for your response.
Garry.
-----Original Message-----
From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]]
Sent: 03 February 2003 19:20
To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED]
Subject: RE: Drive already connected Error in Windows 2000


Samba 2.2.7 uses fcntl locks on a regular basis for internal
locking, even if you have set strict locking and posix locks=no.
The errors you are getting in your log indicate that you have 
run out of the system resource controlling the size of the fcntl
lock table.
You will need to go into SAM (or have your hpux sysadm do this)
and increase the kernel parameter (nflocks).

Hope this helps,
Don

> -----Original Message-----
> From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 7:08
> To: [EMAIL PROTECTED]
> Subject: Drive already connected Error in Windows 2000
> 
> 
> The W2K client systems may be at different service pack 
> levels: most are
> probably at 2 or 3.
> Samba 2.2.7 is running on HP-UX 11.
> 
> The last entries in the log.smbd before this happens are:
> [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)         
> [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)          
> [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281)
> nt_printing_init: Failed to open nt forms database
> /usr/local/samba/locks/ntforms.tdb (No locks available)  
> 
> There is nothing strictly reproducible as it seems like a 
> random thing!
> -----Original Message-----
> From: Green, Paul [mailto:[EMAIL PROTECTED]]
> Sent: 02 February 2003 15:46
> To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED]
> Subject: RE: Drive already connected Error in Windows 2000
> 
> 
> (please reply to list)
> 
> Some standard questions...
> 
> What service pack level for W2K?
> What operating system are you running under samba 2.2.7?
> Do you have a reproducible test case you can post?
> Anything out of the ordinary in your smb.conf file?
> 
> Sounds like an operating system resource-limit issue...
> 
> PG
> 
> > -----Original Message-----
> > From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, January 28, 2003 7:45 AM
> > To: [EMAIL PROTECTED]
> > Subject: FW: Drive already connected Error in Windows 2000
> > 
> > 
> > The log.smbd file has lots of (No locks available) errors..
> > 
> > Any help?
> > 
> > >  -----Original Message-----
> > > From:     Grierson, Garry (UK07)  
> > > Sent:     28 January 2003 11:36
> > > To:       '[EMAIL PROTECTED]'
> > > Subject:  Drive already connected Error in Windows 2000
> > > 
> > > I have been successfully running with Samba 2.0.7 for more 
> > than a year now
> 

Reply via email to