Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Problem with Oracle process

Problem with Oracle process

From: Miguel Angel Toribios <matf_at_tid.es>
Date: Tue, 06 Mar 2007 09:15:08 +0100
Message-ID: <esj7vf$aa75@news.hi.inet>


Hi,
I have a monothread C++ process running on Solaris 2.8 and Oracle 8.1.6. Access to BD is implemented via ProC:
EXEC SQL CONNECT :pc_nombre_fi
IDENTIFIED BY :pc_passwd_fi;
So, I have my process and an oracle child process:

root#m1cc1:>ps -fea | grep 29839

  usu *29839*  1072  1 11:38:19 ?       36:42 ./serv 48
  oracle  1352 *29839  *0 11:38:42 ?        1:06 oracleorac 
(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))

My problem is that sometimes (sporadicly) the oracle child process dies and therefore muy process gets a SIGPIPE signal a bit later, when it has to access BD for select, etc...
I haven't found why the oracle process dies and I don't find any reason/explanation either. There is no corefile generated. There is no traces either in oracle tracefiles or in oracle alert.

In this situation, I modified my SIGPIPE handler in order to reconnect to BD again, but then my process crashes and a corefile is generated. Next, I'm showing you the corefile debugged with dbx, where the SIGPIPE signal can be appreciated:

1.- Oracle dies
2.- My process attempts to access BD (line 54)
3.- SIGIPIE is raised (since there is no longer oracle process ) (line 33 )
4.- SIGPIPE handler (line 32)
5.- Attempting to reconnect.(line 31)

*[31] BDS_srv_fin(0xffbea26e, 0x0, 0x0, 0x0, 0x2, 0x90a10), at 0xaf950*

+ Do you know what happens?
+ Any reason about the oracle process dead?

Any clue will be appreciated.

Thank you very much.


Received on Tue Mar 06 2007 - 02:15:08 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US