The sys_parm(SYSP_GET, SYSP_V_LOCK, &vario) call says that the number of
locks
increase with an amazing sharp frequency of 78 locks per minute. The maximum
number
of locks reached was more than 2.5 millions. I have stopped any application
running
and the number does not decrease. With a boot the number is obviously reset.
The hardware is a risc p690 with some fiber channel disk (fastT 700 and 900)
attached.
The OS version is a 5.2 maintenance 02 fixed today with the latest fixes,
but the problem persists.
It's seems that the locks are kept by a process involved in the fiber
channel disk array
management, but it's just a feeling...
Any suggestion?
Any way to understand which process keeps the locks?
Thanks, Marco
---
Marco Negri, I.NET s.p.a +39 02 32863 ext 1
AIX development recently fixed two file lock related problems.
For AIX 5.2:
IY53424 - "System running out of file locks"
This is the major one. It will be released around 04/21.
If you need a tempoary fix, please contact IBM AIX service
(if you have a service contract).
IY50968 -
This is a collective package, which includes another fix related
to file lock.
Of course, I don't know for sure your problem is caused by
one (or both) of these defects, it could be application also.
The v_lock value is just a 'high watermark' of the number
of lock structures, not all are currently in use,
therefore it will only grows.
Tao