Re: [AOLSERVER] 32- vs. 64-bit mem bloat

2008-03-16 Thread Mark Mcgaha
I don't know how fast it is, but here is an aolserver module for doing MD5 hashing: http://gwpics.ontiblue.com/nsmd5.c On Mon, Mar 17, 2008 at 12:20 AM, Alex <[EMAIL PROTECTED]> wrote: > 2. TclLib shall not harm IMHO, it's Tcl- only, no binary code. Please > confirm that. > Besides, I need it on

Re: [AOLSERVER] 32- vs. 64-bit mem bloat

2008-03-16 Thread Alex
Hello Tom, Gustaf I am still trying to pin down the memory leak problem. Could you answer few more questions, please? 1. It looks like that nsd process grows ~1.5 - 2.0 MB every time a thread dies due to timeout or number of connections (and new one starts). Changing configuration just makes the

Re: [AOLSERVER] requests question

2008-03-16 Thread Xavier Bourguignon
Ok thanks, I keep all of them in one file only, so I should be fine on that one. On 16/03/2008, Robert Seeger <[EMAIL PROTECTED]> wrote: > > As a minor suggestion, be organized in where you create filters for your > pages so that you can locate those calls later (and find any/all filters > you've

Re: [AOLSERVER] using variable in adp file

2008-03-16 Thread Xavier Bourguignon
I am sorry, wouldn't know about this, I am very new to aolserver. I set my singlescript param to 1 because I prefer it that way, may be there is something there indeed. On 16/03/2008, Bas Scheffers <[EMAIL PROTECTED]> wrote: > Well, this should work. Normally, anything between <% %> is executed >

Re: [AOLSERVER] requests question

2008-03-16 Thread Robert Seeger
As a minor suggestion, be organized in where you create filters for your pages so that you can locate those calls later (and find any/all filters you've registered). If I recall correctly, there's no way to get a list of registered filters... which can make debugging later difficult. Rob Seege

Re: [AOLSERVER] using variable in adp file

2008-03-16 Thread Bas Scheffers
Well, this should work. Normally, anything between <% %> is executed in the global scope and as $REQ is in the global scope it should be accessible. I noticed you are using the new parser that allows you to do "... { %> some html <% } ...", something I have never done. Could it be this wo

Re: [AOLSERVER] using variable in adp file

2008-03-16 Thread Xavier Bourguignon
Bas, i forgot to attach my code, here is the procedure, it is called at the beginning of every request. proc ::gs_admin::req_init {conn arg why} { variable INIT global REQ catch {unset REQ} if {!$INIT} { ns_log Waning "==>::gs_admin

Re: [AOLSERVER] using variable in adp file

2008-03-16 Thread Xavier Bourguignon
Thanks for the answer Bas. I have done this now: set ::variablename value in adp: if {$::variablename} { blah } so it works now, but I have no idea as to why I should explicitly add the :: for this to work. The tcl code runs in a function which has been registered like this: ns_register_filte

[AOLSERVER] wiki very slow

2008-03-16 Thread John Buckman
Just an FYI that the Aolserver wiki link from www.aolserver.com: http://dev.aolserver.com/Tcl_API takes over 20 seconds to load a page, and has been like this for a few weeks. It's not really useable at this speed. It was fine at the previous host. -john -- AOLserver - http://www.aolse