I have a package that is "package required" during
startup. At the end is a call to ns_ictl once that sets
an allocate trace to init the package. This hangs the
nsd, or at least it appears to. (tried getconn trace as
well)
...
ns_ictl once MYKEY {
ns_ictl trace allocate MyInitProc
}
...
Sending a kill -3 to the nsd produces this stack trace.
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4016065e in do_sigwait () from
/lib/tls/libpthread.so.0
#2 0x401606ff in sigwait () from /lib/tls/libpthread.so.0
#3 0x4008362c in ns_sigwait (set=0xbfb2f0b0,
sig=0xbfb2f0ac) at signal.c:115
#4 0x4006af42 in NsHandleSignals () at unix.c:165
#5 0x4004454d in Ns_Main (argc=3, argv=0xbfb30254,
initProc=0x804868e <ServerInit>) at nsmain.c:575
#6 0x08048686 in main (argc=3, argv=0xbfb30254) at
main.c:64
Logged In: YES
user_id=1570091
Additional info - the package require is actually being
called with a create trace.