Re: oninit use 95+%cpu
Posted in 2000
vyao@dehavilland.ca wrote:
>
> Hi,
>
> We have a production server which is running IDS 7.31uc2 on HP-UX 10.20. This
> morning one oninit process use 95+% cpu and none of the users could do anything.
> No any error could find in informix online log and unix syslog.
>
> At that time, there was a informix trainer happened to be on site and he suggest
> changed two parameter:
> 1)SERVERNUM from "101" to be "1". His explanation is that because when it was
> 101, the shared memory was loosing contiguous space. He says that when the
> default is 1 then contiguous space it retained.
> 2) RESIDENT from NO(0) to YES(1).
>
> I am not sure about these two parameters. As my understanding, the value is not
> important. It just need to be unique to the instance. And this machine, totally
> 256MB physical memory and informix use 110MB. For me it is too tight to
> resident.
>
> Anybody can tell me if these two parameters related to the problem or explain to
> me the reason?
No they have nothing to do with the problem, you need to post your
onstat's and some
of the sar reports. We had something similar last year, effectively the
code was
while true
do
if any work
doit
done
Occasionally there was no work and code went into a very tight loop and
flattened
the box, it was traced via I-spy in the end.
>
> Thanks in advance.
>
> Vivian
> vyao@dehavilland.ca
--
Paul Watson #
WF Software # If it was easy
Tel ++44 1436 674729 # Everybody could do it
Fax ++44 1436 678693 #
www.wfsoftware.com/informix #