Re: [AOLSERVER] Less than virtual

2006-06-02 Thread Michael A. Cleverly
On 6/2/06, William Scott Jordan <[EMAIL PROTECTED]> wrote: For the most part, this just means that we need to change the style sheet and use Company X's URL instead of our own. What I'm leaning toward doing is grabbing the Host from the HTTP headers and using that to dictate which style sheet

[AOLSERVER] Less than virtual

2006-06-02 Thread William Scott Jordan
Hi all! I'm hoping to get some advice from the community on whether something I want to do is possible and/or appropriate. For one of my projects, I have a system that is basically glorified online store on which our clients can sell their goods. Many of our clients are now asking for us to

Re: [AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-02 Thread Jeff Rogers
Guan Yang wrote: Thanks, What values would you suggest for NBUCKETS and MAXALLOC? And looking at tclThreadAlloc.c, I'm not quite sure how to make the spacing closer. Guan The original list is { 16, 1024, 512, NULL}, { 32, 512, 256, NULL}, { 64, 256, 128, NULL}, {

Re: [AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-02 Thread Dossy Shiobara
On 2006.06.02, Jeff Hobbs <[EMAIL PROTECTED]> wrote: > I'm of course interested in seeing whatever variants of the threaded > malloc that are done. The original was also provided (with thanks) by > the folks at AOL, designed on the original mods to threaded Tcl and > high perf malloc for it. > >

Re: [AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-02 Thread Jeff Hobbs
I'm of course interested in seeing whatever variants of the threaded malloc that are done. The original was also provided (with thanks) by the folks at AOL, designed on the original mods to threaded Tcl and high perf malloc for it. If this is all just refined improvement on the same, then it shou

Re: [AOLSERVER] AOLServer 4.0.10 and Mac OS X 10.4.6

2006-06-02 Thread Nathan Folkman
Check out, or update, your code from the HEAD. - n [EMAIL PROTECTED] wrote: Hi, Thank again for your help. How could I get this fix ? Is it working ? Herick On Jun 2, 2006, at 3:58 PM, Jim Davidson wrote: I just checked in the fix which is really just to disable the configure check for pol

Re: [AOLSERVER] AOLServer 4.0.10 and Mac OS X 10.4.6

2006-06-02 Thread Hérick Moniz
Hi, Thank again for your help. How could I get this fix ? Is it working ? Herick On Jun 2, 2006, at 3:58 PM, Jim Davidson wrote: I just checked in the fix which is really just to disable the configure check for poll on OS/X, thus not setting the HAVE_POLL cdef and defaulting to the poll em

Re: [AOLSERVER] Embed Tcl inside registered ADP tag?

2006-06-02 Thread Jim Davidson
Hi, Dossy's right -- in 4.0 I combined the "simple" and "fancy" parsers together and added a "safe" feature (which nobody knows or cares about) and messed up the behavior. So, it sounds like folks are agreed that it should simply revert to 3.x behavior in 4.5? If so, send over a patch -

Re: [AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-02 Thread Jim Davidson
Folks, Nate and I spent a lot of time -- frankly, far too much time -- chasing this down a few months back. We ended up completely re- writing the multi-threaded allocator with features to reclaim memory, fix stats counters which in the current code are broken and lie, and added an "alloc

Re: [AOLSERVER] AOLServer 4.0.10 and Mac OS X 10.4.6

2006-06-02 Thread Jim Davidson
I just checked in the fix which is really just to disable the configure check for poll on OS/X, thus not setting the HAVE_POLL cdef and defaulting to the poll emulation code used on OS/X in the past. So, update, re-config, and rebuild -- should work now. For those curious, it appears that

Re: [AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-02 Thread Guan Yang
Thanks, What values would you suggest for NBUCKETS and MAXALLOC? And looking at tclThreadAlloc.c, I'm not quite sure how to make the spacing closer. Guan On 2 Jun 2006, at 19:28 , Jeff Rogers wrote: I think one difference is in the tcl version itself; the latest versions use a fast mul

Re: [AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-02 Thread Jeff Rogers
I think one difference is in the tcl version itself; the latest versions use a fast multithreaded allocator that allocates on average slightly more than double the amount requestes, while earlier versions may have been more frugal. You can cut your memory usage by a third or more by increasin

[AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-02 Thread Guan Yang
Hi, A couple of weeks ago I moved a number of servers to AOLserver 4.0.10 from various versions of 3.4 because of the 10^9 seconds problem. After the move servers that were preivously using 100-120 MB of memory are now using around 300 MB to 400 MB each. I've tried to turn off or reduce a