Deadlock situation

Brian K. White brian at aljex.com
Sun Apr 20 01:21:23 PDT 2008


Assuming this is code that was working before migrating to OSR6, There are some known record locking issues with OSR6, (not filepro record locking, any kind of file) but as far as I can tell they are supposedly only related to the Xenix binary emulator. Presumably none of your filepro binaries are so old as to be xenix binaries, but, just on general principle, have you installed MP3 ?

It's really unfortunate how SCO named and marketed OSR6 as being merely the next version of Open Server. Really, it's a completely different system from Open Server merely with a bunch of the Open Server userspace hacked in to make it sort of look like Open Server on the surface, from a distance, to a blind man.

Do not "upgrade" from osr 5.x.x to osr6.x.x without being prepared to handle, or at least live with, mysterious problems.
Mostly the osr5 emulation is ok, and installing maint pack 3 improves lots of things even more, but, it is still emulation and definitely still imperfect.
OSR6 is a really cool idea, but If you are not prepared to intuit and diagnose odd quirky behaviour of an open server user space tacked onto a unixware kernel, then do not use osr6. Use osr5. Disbeleive with extreme prejudice the marketing that osr6 is a drop-in upgrade from osr5.

Personally I would only install osr507 or make the larger change to linux or freebsd. Of those options, my actual choice is linux, which a lot of ignorant people will also say without any concept of why it's actually quite practical to use osr5 even today. But I say it and I am very much an anti-linux-zealot (read that either way) and even if you have lots of sco-specific code and scripts, it's still smarter imo to migrate and suffer the inevitable problems while learning the new system. I'd do that on my own not learn on some customer's back, so for today, I'd install osr507 while getting your stuff migrated to linux and tested on a box of your own. For this box that's already installed with osr6, try mp3, try the good filepro processing changes suggested already, and merely not install any _more_ osr6 boxes, even after you fix this one (since I'm sure it will work eventually, osr6 is not a completely broken system).
 
Good luck

Brian K. White    brian at aljex.com    http://www.myspace.com/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro  BBx    Linux  SCO  FreeBSD    #callahans  Satriani  Filk!


----- Original Message ----- 
From: "Cesar Baquerizo" <ces at cescom.com>
To: "filePro Mailing List" <filepro-list at lists.celestial.com>
Sent: Saturday, April 19, 2008 10:15 AM
Subject: Re: Deadlock situation


> 
> Kenneth Brody wrote:
>>
>> That error indicates one of two possible scenarios:
>>
>> 1 - A true deadlock situation would have occurred.  For example, I 
>> have record
>>     1 locked, and you have record 2 locked.  I attempt to lock record 
>> 2, which
>>     means I will wait until you unlock it.  Then, you attempt to lock 
>> record 1.
>>     Because you need to wait for me to unlock it, but I'm already 
>> waiting for
>>     you, if this were allowed, we would both wait forever.
>>
>> 2 - There are too many locks system-wide.
>>
> Everyone, thanks for the responses.  Unfortunately I am still having 
> trouble.  A little more info:
> 
> 1.   Just migrated to openserver 6 using Filepro V 4.5
> 2.   I ran the process with no one else logged on, and still the same thing
> 3.   I also tried the suggestion to change the alias (interestingly 
> enough it ran through more records)
> 4.   All processing below pretty simple.
> 
> The error simply "pops up", and I have no way of seeing the record 
> number that it is processing.  Anyway to do this?
> Also, I found some rpa* files in the /tmp directory.  I have a vague 
> recollection of rpa* files.  Anyone know what causes them?
> 
> Thanks again,
> 
>     ■ If: 21 eq 
> ""                                                          ■
>       Then: 
> end                                                               ■
>  2  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>> If:                                                                   ■
>       Then: 
> ke(23,*)=2&4                                                      ■
>  3  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>> If:                                                                   ■
>       Then: lookup apen = mropenitems  k=ke   i=F 
> -nx                         ■
>  4  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>       ■ If: not 
> apen                                                          ■
>       Then: show  "Timesheet not found" & 2 
> ;end                              ■
>  5  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>       ■ If: 3 ne 
> "RSW"                                                        ■
>       Then: apen(7)=apen(7)+ 7 ; oa(14,.4) = 
> apen(6)                          ■
>  6  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>       ■ If: 3 eq 
> "RSW"                                                        ■
>       Then: apen(7)=apen(7)- 7 ; oa = 
> apen(6)                                
> 
>  7    ■ If: apen(8) eq 
> "Y"                                                    ■
>       Then: 
> end                                                               ■
>  8  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>       ■ If: oa eq 
> "0"                                                         ■
>       Then: 
> apen(8)="Y";apen(6)="0";end                                       ■
>  9  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>       ■ If: oa gt 
> 7                                                           ■
>       Then: apen(6)=apen(6) - 7 
> ;qt(14,.4)=7                                  ■
> 10  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>       ■ If: 7 ge 
> oa                                                           ■
>       Then: 
> apen(6)="0";qt=oa                                                 ■
> 11  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>> If:                                                                   ■
>       Then: lookup mrinvmaster  k=4    i=A 
> -nx                                ■
> 12  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>       ■ If: not 
> mrinvmaster                                                   ■
>       Then: show "Item not found" & 4 ;end               
>    
> 13      ■ 
> If:                                                                   ■
>       Then: mrinvmaster(3)=mrinvmaster(3)-qt    
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>


--------------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.2/1386 - Release Date: 4/18/2008 5:24 PM



More information about the Filepro-list mailing list