in reply to DBI - DBD:Oracle problem?

I apologize in advance for the stupid question, but you provided no code.

#1 and #2 are really two different programs? Are you not perhaps forking #1 from #2?

Because that is the problem I'd expect if you are forking a program distributing a single DB connection among the children: when the first child that terminates close the connection, the other children will crash.

Careful with that hash Eugene.