If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > -271 Could not insert new row, -144 ISAM Error: key value locked

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-27-09, 12:56
jemcfee jemcfee is offline
Registered User
 
Join Date: Aug 2005
Posts: 7
-271 Could not insert new row, -144 ISAM Error: key value locked

We have a problem that has cropped up a couple of times today, where inserting a new row with a serial key has caused a -144 key value locked error on one table.

My worry is that last time this happened within a couple of days it started happening throughout the system on multiple tables seemingly randomly. Only a complete rebuild of the instance resolved it and it's stayed away for 3 months.

The only thing that seems to proceed it is a second virtual segment being added shortly before it starts to occur. Only one additional as we seem to work within the SHMVIRTSIZE for much of the time. Unfortunately we can't increase this as we always hit problems when we go above it on our box, which I think is a problem specific to SLES9.

We are on IDS 9.40.UC6 on SUSE Linux Enterprise 9

SHMBASE=0x44000000
SHMVIRTSIZE=409600
SHMADD=32768

Thanks for any help

Jeff
Reply With Quote
  #2 (permalink)  
Old 03-31-09, 05:47
stanislav.ondac stanislav.ondac is offline
Registered User
 
Join Date: Aug 2005
Posts: 140
look at the output of 'onstat -k ' command, if there are some locks on your table/s.
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On