AOLserver Chat Logs

2005/03/02

IRC [01:02] <Dossy> http://blogs.msdn.com/jeremycollins/ <-- is that the same Jeremy Collins that hacks on AOLserver?
IRC [01:03] <Dossy> Hm, don't think so ...
IRC [03:50] *** frankie joined the chat.
IRC [04:13] *** martinh parted the chat.
IRC [05:13] *** martinh joined the chat.
IRC [08:42] *** siddfinch joined the chat.
IRC [08:44] *** holycow parted the chat.
IRC [09:05] <Dossy> Yay, I have a purify-enabled build of the core. Now, to build some modules ... :-)
IRC [09:57] *** cbowma1 joined the chat.
IRC [11:31] *** frankie parted the chat.
IRC [12:47] *** holycow joined the chat.
IRC [13:21] *** bartt joined the chat.
IRC [14:32] *** cbowma1 parted the chat.
IRC [15:47] *** cbowman joined the chat.
IRC [15:47] <cbowman> find any leaks yet?
IRC [15:47] <Dossy> heh
IRC [15:47] <Dossy> got distracted with other stuff
IRC [15:48] <Dossy> in order to run purify on nsopenssl, does nsopenssl need to be recompiled w/ all the purify thingers?
IRC [15:48] <Dossy> or can i just load an ordinary nsopenssl and have purify instrument it at load time?
IRC [15:49] <cbowman> purify will profile all shared libraries that get loaded from the mail program that was compiled under purify.
IRC [15:49] <cbowman> You might want to recompile nsopenssl to not use the threaded malloc though
IRC [15:50] <Dossy> hmm.
IRC [15:50] <Dossy> oh yeah. grr.
IRC [15:50] <cbowman> and the non-shared build of tcl/aolserver might cause other issues
IRC [15:50] <Dossy> ah - i built aolserver/tcl shared and it worked "fine"
IRC [15:51] <Dossy> it at least ran and spit out lots of purify messages at shutdown :)
IRC [15:51] <jcdldn> Dossy: Zoran has been solving all my problems :)
IRC [15:51] <cbowman> mine gave the cryptic error that I first came into this chat room with when I built shared...
IRC [15:51] <Dossy> jcdldn: awesome!
IRC [15:51] <Dossy> the error from 3.5?
IRC [15:52] <Dossy> the one that's fixed in 4.0?
IRC [15:52] <cbowman> I don't think it worked in 4.0 either.
IRC [15:53] <Dossy> weird. it "worked" for me - not sure why/how.
IRC [15:53] <cbowman> I can try a rebuild real quick if you'd like.
IRC [15:53] <Dossy> i'm testing tcl 8.4.9 and aolserver 4.0.10
IRC [15:53] <cbowman> that's what I'm running here
IRC [15:53] <Dossy> --enable-shared --enable-symbols --enable-threads and just remove -DUSE_THREADED_ALLO
IRC [15:53] <Dossy> er -DUSE_THREADED_ALLOC
IRC [15:53] <Dossy> and it purifies just fine. weird.
IRC [15:54] <Dossy> although the linux purify build is dying with: /usr/bin/ld: unrecognized option '--eh-frame-hdr'
IRC [15:54] <Dossy> that's at build time, though. growl.
IRC [15:55] <Dossy> that's the build on linux RHAS 2.1
IRC [15:55] <Dossy> the build on RHEL3 dies in an even more unpleasant awy:
IRC [15:55] <Dossy> Purify engine: While processing file /lib/i686/libpthread.so.0:
IRC [15:55] <Dossy> Warning: grow_cfa_instructions: ADVANCE4 parse error
IRC [15:55] <Dossy> Purify engine: Warning: grow_cfa_instructions: ADVANCE4 parse error
IRC [15:55] <Dossy> Purify engine 2003a.06.00 got signal 11 (SIGSEGV - Segmentation fault)
IRC [15:55] <Dossy> Incorrectly built binary which accesses errno or h_errno directly. Needs to be f
IRC [15:55] <Dossy> ixed.
IRC [15:55] <Dossy> wow, that's fantastic.
IRC [15:55] <Dossy> okay, guess i'll only be doing purify builds on Solaris then. :-)
IRC [15:56] <cbowman> I'm on solaris. we have a liscense for linux, but I haven't used it.
IRC [15:57] <Dossy> Hm. On Solaris, it builds just fine.
IRC [15:57] <cbowman> might be a bug in purify
IRC [15:57] <Dossy> and runs, etc.
IRC [15:58] <Dossy> is there one line that describes the error?
IRC [15:58] <Dossy> what compiler are you using?
IRC [15:58] <cbowman> on solaris?
IRC [15:58] <Dossy> i think i'm using gc-c-3.3.1
IRC [15:59] <cbowman> yes. the error was a one line error. I can't remember what it was off the top of my head.
IRC [15:59] <cbowman> gcc version 3.4.0
IRC [15:59] <Dossy> Hm.
IRC [15:59] *** anlater joined the chat.
IRC [15:59] <Dossy> oh well.
IRC [16:07] <cbowman> this was the error: Ns_TlsGet: invalid key: 0: should be between 1 and 100
IRC [16:08] <Dossy> at runtime? that's probably the "you don't have an IP that has reverse DNS" problem
IRC [16:08] <Dossy> that bug should have been fixed around 4.0.8 or so
IRC [16:09] <cbowman> and I'm running 4.0.10
IRC [16:09] <cbowman> and what ip is that? the ip that I tell aolserver to bind to?
IRC [16:12] <Dossy> nyeah.
IRC [16:12] <Dossy> in nssock via ns_param address
IRC [16:12] <Dossy> i think
IRC [16:13] <Dossy> or maybe it's the IP passed in with the cmdline switch -b
IRC [16:13] <cbowman> what if I pass a hostname to that?
IRC [16:14] <Dossy> it should work, *I think*
IRC [16:14] <cbowman> it has worked in the past
IRC [16:14] <cbowman> and still does when I don't use purify
IRC [16:14] <cbowman> also, forward and reverse work for the hostname that I tell it to bind to
IRC [16:15] <Dossy> oh, interesting.
IRC [16:15] <Dossy> boggle
IRC [16:15] <Dossy> maybe purify is breaking the resolver somehow
IRC [16:15] <Dossy> when it's dynamically linked, at least
IRC [16:16] <Dossy> anyhow - now with the nsoracle and nsopenssl leaks that you've found, are you still seeing memory leakage?
IRC [16:16] <Dossy> overall, in your app?
IRC [16:16] <Dossy> or does it appear that you'll be able to upgrade to 4.0.x?
IRC [16:18] <cbowman> I poked around at the code after it was happening and could get things to run past that point by explicitly calling the init routing of one of the modules (probably nssock) in the main routing of nsd. it wasn't pretty though.
IRC [16:22] <Dossy> yeah, that's bizarre. like I said, I built mine static and the only change was to build without zippy (threaded memory allocator) and it built and ran without error.
IRC [16:22] <Dossy> er not static- dynamic
IRC [16:29] <cbowman> I'm still seeing what I believe to be a small leak. 4.0.10 has been running for over a day on an internal server that sees about 80 entries in the access log per minute (to give you an idea of the load that the machine is under).
IRC [16:40] *** tekbasse_ joined the chat.
IRC [16:41] <Dossy> Hmm.
IRC [16:46] *** tekbasse parted the chat.
IRC [17:31] *** cbowman parted the chat.
IRC [17:38] *** frankie joined the chat.
IRC [18:06] *** frankie parted the chat.
IRC [20:51] *** bartt parted the chat.
IRC [21:52] *** anlater parted the chat.
IRC [21:55] <AndyPiskorski> How do I prebind BOTH ports 80 and 443 when AOLserver 4.x starts up??
IRC [21:57] *** anlater joined the chat.
IRC [21:59] <AndyPiskorski> Oh, apparently you can't do it all on the command line, you need to use -B with a file.
IRC [22:57] <siddfinch> AndyPiskorski: That is correct