On Oct 2, 2006, at 11:10 PM, Nathan Folkman wrote:

[EMAIL PROTECTED] wrote:
This morning my server complained:
"unable to alloc 2169111 bytes"
How large was the nsd process when it crashed?

Not sure how big, I wasn't around.

But, nsd regularly grows to 2gb, and I usually shut it down around 1.5gb.

I've got nsd shutting down with ns_shutdown every 24h now, and auto- restarting. That's a temporary fix that will work fine for now, and is pretty clean. It also gives me an oppty to do a database backup every 24h, which I like.

Using ns_markfordelete every 100 interp passes, had no effect on stopping my nsd bloating, which makes me think it's NOT the tcl memory allocator fragmenting, because it seems to be that a tcl interp exiting would free its memory back to the process for reuse.

So, next on my agenda is moving off the berkeleydb/aolserver nsdb driver, to see if that fixes the bloating. If so, then I'll worry about performance.

-john


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to