Well I know this is most likely too little too late and someone may have 
responded with this and I missed it, but there's a smaug snippet that used to 
be called dns_slave, which has been I guess improved and renamed to 
dns_resolver and it can be found at http://www.alsherok.net/.

I remember this being very easy to install on my Rom mud and it works fine and 
doesn't cause problems with GDB.  So if you're still looking for a resolution 
check this out.

Lysergic

--- "JF Bethlehem" <[EMAIL PROTECTED]> wrote:
>ok, this sounds interesting, but i have almost 0 experience with forking and
>stuff under linux.
>The threaded nslookup stuff came from a snippet i downloaded (yes,
>occasionally i use snippets,
>esp. when it goes over my head)
>Could you show me some snippet, or tell me how to do this?
>----- Original Message -----
>From: "Chad Simmons" <[EMAIL PROTECTED]>
>To: "JF Bethlehem" <[EMAIL PROTECTED]>
>Cc: <[email protected]>
>Sent: Monday, May 13, 2002 10:00 PM
>Subject: Re: memory leaks
>
>
>>
>> --- JF Bethlehem <[EMAIL PROTECTED]> wrote:
>> > I'm looking for a little program that will help me debug the mud, and
>remove
>> > several
>> > memory leaks i know are in there. I use gdb to debug the mud, *but* ever
>> > since i
>> > installed a threaded DNS lookup thing, core files aren't produced
>anymore,
>> > any
>> > idea how i can fix this? having to wait for a crash, which could occur
>once
>> > every....
>> > 15 hours or so, is kinda tiresome.
>> >
>>
>> One thing you can do is ditch the whole "threaded" DNS lookup. Instead
>just
>> fork the mud when it boots up using socketpair or a pipe to communicate
>between
>> the two. Then you can have one processes handle nameserver requests
>without
>> having to worry about threading. This will ensure that you still get a
>core
>> file when something crashes, and you can still debug.
>>
>> ~Kender
>>
>> =====
>> -----BEGIN GEEK CODE BLOCK-----
>> Version 3.1
>> GCS/L/C/O d-(+) s++:+ a-- C+++$>++++ UBLS++++$
>> P+++(--)$ L++>+++ E--- W+>++$ N !o K? w(--) !O
>> M- !V PS+ PE(++) Y+ PGP->+ t- 5 X+() R(+) tv+@
>> b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
>> ------END GEEK CODE BLOCK------
>>
>> __________________________________________________
>> Do You Yahoo!?
>> LAUNCH - Your Yahoo! Music Experience
>> http://launch.yahoo.com
>>
>
>
>-- 
>ROM mailing list
>[email protected]
>http://www.rom.org/cgi-bin/mailman/listinfo/rom

_____________________________________________________________
wotmania: Your number one source for The Wheel of Time.
http://wotmania.com

_____________________________________________________________
Promote your group and strengthen ties to your members with [EMAIL PROTECTED] 
by Everyone.net  http://www.everyone.net/?btn=tag

Reply via email to