From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,971d2c3c468ae3a2 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-08 23:56:44 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: emmanuel.choquet@hp.com (Emmanuel Choquet) Newsgroups: comp.unix.tru64 Subject: Re: File and record locks Date: 8 Jul 2002 23:56:44 -0700 Organization: http://groups.google.com/ Message-ID: <7aabdf42.0207082256.7cf351cf@posting.google.com> References: <1026143512.25156.0.nnrp-12.c246a78e@news.demon.co.uk> NNTP-Posting-Host: 161.114.126.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026197804 26289 127.0.0.1 (9 Jul 2002 06:56:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Jul 2002 06:56:44 GMT Xref: archiver1.google.com comp.unix.tru64:8101 "Nims" @adc.com> wrote in message news:<1026143512.25156.0.nnrp-12.c246a78e@news.demon.co.uk>... > Hi, > I'm in a real difficult position - no-one so far has been able to help. > Using a Tru64 platform DECALPHA with 8 Gbytes of RAM > > shm-max is set to 2 Gbytes and all the other kernel paremters are set > sensibly... > > can anyone out there think of areason why the folloing system messgae may > appear: > > Can't obtain file/record lock > > more importnatly does anyone know of a toll that does the same as "glance" > on HP? > > many thanks in advance, > > Naeem You do not mention if this message appears on stderr for some exe file you're running, or on /dev/console. if it comes from an exe file, try dbx or ladebug or within some syscall, install 'truss' command, which is in system V extension subsets, somewhere in the associated products CDs running your command with truss - and right command options- will trace every syscall, with parameters. then you'll see probably the culprit. You're using ipc, therefore try to monitor semaphores as well with ipcs -a. if you see some saturation, have a look in sysconfig -q ipc to see your semaphore limits (man sys_attrs_ipc for details) Cheers,