Oninit didn't work fine and I don't know why
Posted in 1999
Topics: Server Administration, Platform-Specific Issues
Hi all !
I have an Informix 7.31 UC2 with a HP-UX 10.20 and we work with Baan
Triton 3.10_a1
Yesterday afternoon I changed the SHMVIRTSIZE parameter to 200000 (we had
190000 before).
When I tried to initialize Informix with 'oninit'. With 'onstat -' I want
to see when Informix was ready to work with the message 'On-Line". It
didn't appear me.
After an eternal 5 minutes Informix auto-killed itself. Then I made an
'onmode -ky' because it didn't run ok but it was executing something that
I couldn't see in the machine.
I restored the SHMVIRTSIZE parameter and tried to initialize Informix
again. It ran ok. But I wasn't happy. I thought that the parameter could
not be because in a previous version we have this parameter set to 240000.
I go down Informix, changed again the parameter to 200000, and this time
the 'oninit' worked fine. Then I initialize the Baan application and all
is running ok.
Could someone tell me what's wrong the first time that I tried to
initialize Informix?
Thaks in advance and sorry because my English is very very bad.
DJMoralesM
dmorales@giro.es
It's hard to say with the information that you have to tell what happened.
However since the only thing that you
changed was SHMVIRTSIZE and you are running on HP, I suspect that you might
have run into shared
memory allocation problems. I'm guessing that you have several other
applications that are using shared memory
and thus had fragmented IPC shared memory addressing at the kernel level. HPUX
can be a bit sensitive about
how shared memory is used.
You might be able to get a bit more information by running oninit with the -v
option. This ("oninit -v") will
display messages during engine startup. By discovering the last thing that was
done before the failure, you might
get some idea as to what was happening at the point of failure.
Diego Morales wrote:
> Hi all !
>
> I have an Informix 7.31 UC2 with a HP-UX 10.20 and we work with Baan
> Triton 3.10_a1
>
> Yesterday afternoon I changed the SHMVIRTSIZE parameter to 200000 (we had
> 190000 before).
>
> When I tried to initialize Informix with 'oninit'. With 'onstat -' I want
> to see when Informix was ready to work with the message 'On-Line". It
> didn't appear me.
> After an eternal 5 minutes Informix auto-killed itself. Then I made an
> 'onmode -ky' because it didn't run ok but it was executing something that
> I couldn't see in the machine.
>
> I restored the SHMVIRTSIZE parameter and tried to initialize Informix
> again. It ran ok. But I wasn't happy. I thought that the parameter could
> not be because in a previous version we have this parameter set to 240000.
> I go down Informix, changed again the parameter to 200000, and this time
> the 'oninit' worked fine. Then I initialize the Baan application and all
> is running ok.
>
> Could someone tell me what's wrong the first time that I tried to
> initialize Informix?
>
> Thaks in advance and sorry because my English is very very bad.
>
> DJMoralesM
> dmorales@giro.es
In article <7r7s2o$evu$1@news.xmission.com>, dmorales@giro.es (Diego
Morales) wrote:
>
>
>
>
>
> Hi all !
>
> I have an Informix 7.31 UC2 with a HP-UX 10.20 and we work with Baan
> Triton 3.10_a1
>
> Yesterday afternoon I changed the SHMVIRTSIZE parameter to 200000 (we
> had
> 190000 before).
>
> When I tried to initialize Informix with 'oninit'. With 'onstat -' I
> want
> to see when Informix was ready to work with the message 'On-Line". It
> didn't appear me.
> After an eternal 5 minutes Informix auto-killed itself. Then I made an
> 'onmode -ky' because it didn't run ok but it was executing something
> that
> I couldn't see in the machine.
>
> I restored the SHMVIRTSIZE parameter and tried to initialize Informix
> again. It ran ok. But I wasn't happy. I thought that the parameter
> could
> not be because in a previous version we have this parameter set to
> 240000.
> I go down Informix, changed again the parameter to 200000, and this
> time
> the 'oninit' worked fine. Then I initialize the Baan application and
> all
> is running ok.
>
> Could someone tell me what's wrong the first time that I tried to
> initialize Informix?
I'd look at the memory, I suspect you didn't have the memory available at
the time, or there was insufficient swap available. Nothing in the log
files?
Paul Watson # I don't suffer from
WF Software Ltd. # stress, I'm just
Tel. (+44) 1436 674729 # a carrier
Fax. (+44) 1436 678693 #
www.wfsoftware.com
There is just no way to know unless you ran oninit with the -v option so
you can see what it was trying to do when it hung or used onstat to obtain
a shared memory dump or coredumped the master oninit process.
Art S. Kagel
Diego Morales wrote:
>
> Hi all !
>
> I have an Informix 7.31 UC2 with a HP-UX 10.20 and we work with Baan
> Triton 3.10_a1
>
> Yesterday afternoon I changed the SHMVIRTSIZE parameter to 200000 (we had
> 190000 before).
>
> When I tried to initialize Informix with 'oninit'. With 'onstat -' I want
> to see when Informix was ready to work with the message 'On-Line". It
> didn't appear me.
> After an eternal 5 minutes Informix auto-killed itself. Then I made an
> 'onmode -ky' because it didn't run ok but it was executing something that
> I couldn't see in the machine.
>
> I restored the SHMVIRTSIZE parameter and tried to initialize Informix
> again. It ran ok. But I wasn't happy. I thought that the parameter could
> not be because in a previous version we have this parameter set to 240000.
> I go down Informix, changed again the parameter to 200000, and this time
> the 'oninit' worked fine. Then I initialize the Baan application and all
> is running ok.
>
> Could someone tell me what's wrong the first time that I tried to
> initialize Informix?
>
> Thaks in advance and sorry because my English is very very bad.
>
> DJMoralesM
> dmorales@giro.es