Unix Technical Forum

sp_configure locks Configuration option is not unique.

This is a discussion on sp_configure locks Configuration option is not unique. within the Sybase forums, part of the Database Server Software category; --> Hi I have a sybase server Version 12.0 running on solaris 5.6 and one user is getting the following ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 02:51 PM
Teresa
 
Posts: n/a
Default sp_configure locks Configuration option is not unique.

Hi

I have a sybase server Version 12.0 running on solaris 5.6 and one
user is getting the following error message
Msg 1204, Level 17, State 2:
Server 'TIBET_12DS', Line 105:
SQL Server has run out of LOCKS. Re-run your command when there are
fewer active users, or contact a user with System Administrator (SA)
role to reconfigure SQL Server with more LOCKS.


this is the locks that I have

Parameter Name Default Memory Used Config Value
Run Value
------------------------------ ----------- ----------- ------------
-----------
max engine freelocks 10 0 10
10
number of locks 5000 1407 10000
10000


Now I don't have that many users connected the max is 40 at times and
I don't know what to do... I tryed to increase, and I get this message

1> sp_configure locks, 10000
2> go
Msg 17411, Level 16, State 1:
Server Procedure 'sp_configure', Line 161:
Configuration option is not unique.

Parameter Name Default Memory Used Config Value
Run Value
------------------------------ ----------- ----------- ------------
-----------
max engine freelocks 10 0 10
10
number of locks 5000 1407 10000
10000

(1 row affected)
(return status = 1)
1>

I would appreciate any help

Thank You
Teresa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 02:51 PM
Pablo Sanchez
 
Posts: n/a
Default Re: sp_configure locks Configuration option is not unique.

tpreto7@sapo.pt (Teresa) wrote in
news:6dabc692.0308191246.2c061943@posting.google.c om:

> 1> sp_configure locks, 10000
> 2> go
> Msg 17411, Level 16, State 1:
> Server Procedure 'sp_configure', Line 161:
> Configuration option is not unique.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is telling you that
'locks'
is not a unique configuration option and it shows you the two
config
options below that map to it:


> Parameter Name Default Memory Used Config
> Value
> Run Value
> ------------------------------ ----------- -----------
> ------------
> -----------
> max engine freelocks 10 0
> 10
> 10
> number of locks 5000 1407
> 10000
> 10000


All you have to do is make config more unique. I think that's really
what you're asking, ah, of course! <g> okay, what you need to do
is:

sp_configure "number of locks", 20000
go


--
Pablo Sanchez, Blueoak Database Engineering
http://www.blueoakdb.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 02:51 PM
Bret Halford
 
Posts: n/a
Default Re: sp_configure locks Configuration option is not unique.

tpreto7@sapo.pt (Teresa) wrote in message news:<6dabc692.0308191246.2c061943@posting.google. com>...
> Hi
>
> I have a sybase server Version 12.0 running on solaris 5.6 and one
> user is getting the following error message
> Msg 1204, Level 17, State 2:
> Server 'TIBET_12DS', Line 105:
> SQL Server has run out of LOCKS. Re-run your command when there are
> fewer active users, or contact a user with System Administrator (SA)
> role to reconfigure SQL Server with more LOCKS.
>
>
> this is the locks that I have
>
> Parameter Name Default Memory Used Config Value
> Run Value
> ------------------------------ ----------- ----------- ------------
> -----------
> max engine freelocks 10 0 10
> 10
> number of locks 5000 1407 10000
> 10000
>
>
> Now I don't have that many users connected the max is 40 at times and
> I don't know what to do... I tryed to increase, and I get this message
>
> 1> sp_configure locks, 10000
> 2> go
> Msg 17411, Level 16, State 1:
> Server Procedure 'sp_configure', Line 161:
> Configuration option is not unique.
>
> Parameter Name Default Memory Used Config Value
> Run Value
> ------------------------------ ----------- ----------- ------------
> -----------
> max engine freelocks 10 0 10
> 10
> number of locks 5000 1407 10000
> 10000
>
> (1 row affected)
> (return status = 1)
> 1>
>
> I would appreciate any help
>
> Thank You
> Teresa


The string "locks" occurs in both of the listed configuration
parameter names, ASE doesn't know which one you mean. Try

sp_configure "number of locks", 15000
go

instead (I increased the value as you were already at 10000 locks).

-bret
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 02:22 PM.


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