Hi,
I have a server that spawn childs that make
connecion to a Oracle DB, the problem is when the
childs die, a lot of <defunct> (1 per connection lost)
left in ps.
i put a print "hello" in the SIGCHLD reaper
function but this is never called!!
All work good if i clean all database use from the
code..
The SO is Solaris 8, the DB is Oracle 8.1.7...
The perl is the 5.6.1 (build with gcc)...
The DBI version is 1.20
Thanks you for read this...
pd:
perl -V
Summary of my perl5 (revision 5.0 version 6 subversion
1) configuration:
Platform:
osname=solaris, osvers=2.8,
archname=sun4-solaris-thread-multi
uname='sunos spmeis 5.8 generic_108528-12 sun4u
sparc sunw,ultra-4 '
config_args='-Dcc=gcc -B/usr/ccs/bin/'
hint=recommended, useposix=true,
d_sigaction=define
usethreads=define use5005threads=undef
useithreads=define usemultiplicity=de
fine
useperlio=undef d_sfio=undef uselargefiles=define
usesocks=undef
use64bitint=undef use64bitall=undef
uselongdouble=undef
Compiler:
cc='gcc -B/usr/ccs/bin/', ccflags ='-D_REENTRANT
-fno-strict-aliasing -I/usr
/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_REENTRANT -fno-strict-aliasing
-I/usr/local/include'
ccversion='', gccversion='3.0.2',
gccosandvers='solaris2.8'
intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=4321
d_longlong=define, longlongsize=8,
d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double',
nvsize=8, Off_t='off_t', lseeksize
=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc -B/usr/ccs/bin/', ldflags ='
-L/usr/local/lib '
libpth=/usr/local/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lrt -lpthread -lc
perllibs=-lsocket -lnsl -ldl -lm -lrt -lpthread
-lc
libc=/lib/libc.so, so=so, useshrplib=false,
libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags=' -Wl,-E'
cccdlflags='-fPIC', lddlflags=' -W,l-E -G
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS
USE_LARGE_FILES PERL_IMPLICIT_
CONTEXT
Built under solaris
Compiled at Feb 4 2002 13:29:48
%ENV:
PERL5LIB="/spm/lib"
@INC:
=====
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com