Unix Technical Forum

Locks per File

This is a discussion on Locks per File within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> For some time, I have been trying to determine why we are getting timeouts under certain conditions using an ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 09:00 PM
elf
 
Posts: n/a
Default Locks per File

For some time, I have been trying to determine why we are getting
timeouts under certain conditions using an A2003 front end, SQL2000
backend. I have recently seen several quirky conditions related to a
too-low setting of maxlocksperfile.

Can that setting perhaps cause a timeout if the process is trying to
acquire too many locks?

TIA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 09:01 PM
Sue Hoegemeier
 
Posts: n/a
Default Re: Locks per File

Maxlocksperfile is a Jet setting, not SQL Server setting. It
really depends on how you have the Access piece implemented.
If it's an ADP, there is no jet so no. Other than that, it
depends.
If this is just SQL Server and no jet involved, you'd
probably want to start by checking for locking, blocking
issues. You can use the system stored procedures sp_lock,
sp_who2 and query master..sysprocesses.
You may also want to take a look at the following article:
INF: How to Monitor SQL Server 7.0 Blocking
http://support.microsoft.com/?id=251004

-Sue

On Fri, 04 Nov 2005 09:54:12 -0500, elf
<eric@northstarcc.com> wrote:

>For some time, I have been trying to determine why we are getting
>timeouts under certain conditions using an A2003 front end, SQL2000
>backend. I have recently seen several quirky conditions related to a
>too-low setting of maxlocksperfile.
>
>Can that setting perhaps cause a timeout if the process is trying to
>acquire too many locks?
>
>TIA


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 09:01 PM
elf
 
Posts: n/a
Default Re: Locks per File

Thanks, It is DAO.


Sue Hoegemeier wrote:
> Maxlocksperfile is a Jet setting, not SQL Server setting. It
> really depends on how you have the Access piece implemented.
> If it's an ADP, there is no jet so no. Other than that, it
> depends.
> If this is just SQL Server and no jet involved, you'd
> probably want to start by checking for locking, blocking
> issues. You can use the system stored procedures sp_lock,
> sp_who2 and query master..sysprocesses.
> You may also want to take a look at the following article:
> INF: How to Monitor SQL Server 7.0 Blocking
> http://support.microsoft.com/?id=251004
>
> -Sue
>
> On Fri, 04 Nov 2005 09:54:12 -0500, elf
> <eric@northstarcc.com> wrote:
>
>
>>For some time, I have been trying to determine why we are getting
>>timeouts under certain conditions using an A2003 front end, SQL2000
>>backend. I have recently seen several quirky conditions related to a
>>too-low setting of maxlocksperfile.
>>
>>Can that setting perhaps cause a timeout if the process is trying to
>>acquire too many locks?
>>
>>TIA

>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 09:01 PM
Sue Hoegemeier
 
Posts: n/a
Default Re: Locks per File

So with it being Jet, don't know - that's an Access specific
thing. You'd probably want to ask that in one of the Access
newsgroups.

-Sue

On Tue, 08 Nov 2005 22:55:42 -0500, elf
<eric@northstarcc.com> wrote:

>Thanks, It is DAO.
>
>
>Sue Hoegemeier wrote:
>> Maxlocksperfile is a Jet setting, not SQL Server setting. It
>> really depends on how you have the Access piece implemented.
>> If it's an ADP, there is no jet so no. Other than that, it
>> depends.
>> If this is just SQL Server and no jet involved, you'd
>> probably want to start by checking for locking, blocking
>> issues. You can use the system stored procedures sp_lock,
>> sp_who2 and query master..sysprocesses.
>> You may also want to take a look at the following article:
>> INF: How to Monitor SQL Server 7.0 Blocking
>> http://support.microsoft.com/?id=251004
>>
>> -Sue
>>
>> On Fri, 04 Nov 2005 09:54:12 -0500, elf
>> <eric@northstarcc.com> wrote:
>>
>>
>>>For some time, I have been trying to determine why we are getting
>>>timeouts under certain conditions using an A2003 front end, SQL2000
>>>backend. I have recently seen several quirky conditions related to a
>>>too-low setting of maxlocksperfile.
>>>
>>>Can that setting perhaps cause a timeout if the process is trying to
>>>acquire too many locks?
>>>
>>>TIA

>>
>>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com