You can subscribe to this list here.
2005 |
Jan
|
Feb
(53) |
Mar
(62) |
Apr
(88) |
May
(55) |
Jun
(204) |
Jul
(52) |
Aug
|
Sep
(1) |
Oct
(94) |
Nov
(15) |
Dec
(68) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(130) |
Feb
(105) |
Mar
(34) |
Apr
(61) |
May
(41) |
Jun
(92) |
Jul
(176) |
Aug
(102) |
Sep
(247) |
Oct
(69) |
Nov
(32) |
Dec
(140) |
2007 |
Jan
(58) |
Feb
(51) |
Mar
(11) |
Apr
(20) |
May
(34) |
Jun
(37) |
Jul
(18) |
Aug
(60) |
Sep
(41) |
Oct
(105) |
Nov
(19) |
Dec
(14) |
2008 |
Jan
(3) |
Feb
|
Mar
(7) |
Apr
(5) |
May
(123) |
Jun
(5) |
Jul
(1) |
Aug
(29) |
Sep
(15) |
Oct
(21) |
Nov
(51) |
Dec
(3) |
2009 |
Jan
|
Feb
(36) |
Mar
(29) |
Apr
|
May
|
Jun
(7) |
Jul
(4) |
Aug
|
Sep
(4) |
Oct
|
Nov
(13) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
(9) |
Apr
(11) |
May
(16) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
(7) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(92) |
Nov
(28) |
Dec
(16) |
2013 |
Jan
(9) |
Feb
(2) |
Mar
|
Apr
(4) |
May
(4) |
Jun
(6) |
Jul
(14) |
Aug
(12) |
Sep
(4) |
Oct
(13) |
Nov
(1) |
Dec
(6) |
2014 |
Jan
(23) |
Feb
(19) |
Mar
(10) |
Apr
(14) |
May
(11) |
Jun
(6) |
Jul
(11) |
Aug
(15) |
Sep
(41) |
Oct
(95) |
Nov
(23) |
Dec
(11) |
2015 |
Jan
(3) |
Feb
(9) |
Mar
(19) |
Apr
(3) |
May
(1) |
Jun
(3) |
Jul
(11) |
Aug
(1) |
Sep
(15) |
Oct
(5) |
Nov
(2) |
Dec
|
2016 |
Jan
(7) |
Feb
(11) |
Mar
(8) |
Apr
(1) |
May
(3) |
Jun
(17) |
Jul
(12) |
Aug
(3) |
Sep
(5) |
Oct
(19) |
Nov
(12) |
Dec
(6) |
2017 |
Jan
(30) |
Feb
(23) |
Mar
(12) |
Apr
(32) |
May
(27) |
Jun
(7) |
Jul
(13) |
Aug
(16) |
Sep
(6) |
Oct
(11) |
Nov
|
Dec
(12) |
2018 |
Jan
(1) |
Feb
(5) |
Mar
(6) |
Apr
(7) |
May
(23) |
Jun
(3) |
Jul
(2) |
Aug
(1) |
Sep
(6) |
Oct
(6) |
Nov
(10) |
Dec
(3) |
2019 |
Jan
(26) |
Feb
(15) |
Mar
(9) |
Apr
|
May
(8) |
Jun
(14) |
Jul
(10) |
Aug
(10) |
Sep
(4) |
Oct
(2) |
Nov
(20) |
Dec
(10) |
2020 |
Jan
(10) |
Feb
(14) |
Mar
(29) |
Apr
(11) |
May
(25) |
Jun
(21) |
Jul
(23) |
Aug
(12) |
Sep
(19) |
Oct
(6) |
Nov
(8) |
Dec
(12) |
2021 |
Jan
(29) |
Feb
(9) |
Mar
(8) |
Apr
(8) |
May
(2) |
Jun
(2) |
Jul
(9) |
Aug
(9) |
Sep
(3) |
Oct
(4) |
Nov
(12) |
Dec
(13) |
2022 |
Jan
(4) |
Feb
|
Mar
(4) |
Apr
(12) |
May
(15) |
Jun
(7) |
Jul
(10) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
(8) |
Dec
|
2023 |
Jan
(15) |
Feb
|
Mar
(23) |
Apr
(1) |
May
(2) |
Jun
(10) |
Jul
|
Aug
(22) |
Sep
(19) |
Oct
(2) |
Nov
(20) |
Dec
|
2024 |
Jan
(1) |
Feb
|
Mar
(16) |
Apr
(15) |
May
(6) |
Jun
(4) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(13) |
Nov
(18) |
Dec
(6) |
2025 |
Jan
(12) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(11) |
Jun
(5) |
Jul
(4) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Zoran V. <zv...@ar...> - 2006-07-10 14:28:33
|
Am 10.07.2006 um 16:25 schrieb Vlad Seryakov: > Does it happen all the time Every time I stop the server. Just did a fresh checkout and recompile: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 [Switching to process 23748 thread 0x3803] 0x0a016204 in Tcl_AsyncDelete (async=0x3821688) at /Users/zoran/sf/ tcl/unix/../generic/tclAsync.c:297 297 while (prevPtr->nextPtr != asyncPtr) { (gdb) print prevPtr $1 = (AsyncHandler *) 0x0 (gdb) list 292 if (tsdPtr->firstHandler == NULL) { 293 tsdPtr->lastHandler = NULL; 294 } 295 } else { 296 prevPtr = tsdPtr->firstHandler; 297 while (prevPtr->nextPtr != asyncPtr) { 298 prevPtr = prevPtr->nextPtr; 299 } 300 prevPtr->nextPtr = asyncPtr->nextPtr; 301 if (tsdPtr->lastHandler == asyncPtr) { (gdb) print *tsdPtr $2 = { firstHandler = 0x0, lastHandler = 0x0, asyncReady = 0, asyncActive = 0, asyncMutex = 0x33a64c8 } (gdb) |
From: Vlad S. <vl...@cr...> - 2006-07-10 14:24:22
|
Does it happen all the time, i am running new code for several days now and do frequent shutdown, never crashed. Zoran Vasiljevic wrote: > [10/Jul/2006:16:19:02][23692.25176064][-sched-] Notice: sched: > shutdown complete > [10/Jul/2006:16:19:02][23692.25171456][-socks-] Notice: socks: > shutdown pending > [10/Jul/2006:16:19:02][23692.25171456][-socks-] Notice: nscp: shutdown > [10/Jul/2006:16:19:02][23692.25171456][-socks-] Notice: socks: > shutdown complete > [10/Jul/2006:16:19:02][23692.2684415384][-main-] Notice: driver: > shutdown complete > [10/Jul/2006:16:19:02][23692.25345536][-tclthread-] Notice: Scheduler > thread exiting > > Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 > [Switching to process 23692 thread 0x3713] > 0x0a0152c8 in Tcl_AsyncDelete (async=0x3a515c8) at /usr/local/homes/ > zv/sf/tcl/generic/tclAsync.c:297 > 297 while (prevPtr->nextPtr != asyncPtr) { > (gdb) bt > #0 0x0a0152c8 in Tcl_AsyncDelete (async=0x3a515c8) at /usr/local/ > homes/zv/sf/tcl/generic/tclAsync.c:297 > #1 0x00248700 in DeleteData (arg=0x3335208) at tclinit.c:1764 > #2 0x00016950 in NsCleanupTls (slots=0x4312008) at tls.c:183 > #3 0x00017aa8 in CleanupTls (arg=0x4312008) at pthread.c:770 > #4 0x9002cd94 in _pthread_tsd_cleanup () > #5 0x9002c980 in pthread_exit () > #6 0x0a0cddf0 in TclpThreadExit (status=0) at /usr/local/homes/zv/sf/ > tcl/unix/tclUnixThrd.c:197 > #7 0x0a0b05e4 in Tcl_ExitThread (status=0) at /usr/local/homes/zv/sf/ > tcl/generic/tclThread.c:523 > #8 0x02342a70 in NewThread (clientData=0xbfff8f00) at ../generic/ > threadCmd.c:1697 > #9 0x0a056d68 in NewThreadProc (clientData=0x3b61448) at /usr/local/ > homes/zv/sf/tcl/generic/tclEvent.c:1229 > #10 0x9002ba68 in _pthread_body () > (gdb) > > > Happens when the server is shut down. > Zoran > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Zoran V. <zv...@ar...> - 2006-07-10 14:21:43
|
[10/Jul/2006:16:19:02][23692.25176064][-sched-] Notice: sched: shutdown complete [10/Jul/2006:16:19:02][23692.25171456][-socks-] Notice: socks: shutdown pending [10/Jul/2006:16:19:02][23692.25171456][-socks-] Notice: nscp: shutdown [10/Jul/2006:16:19:02][23692.25171456][-socks-] Notice: socks: shutdown complete [10/Jul/2006:16:19:02][23692.2684415384][-main-] Notice: driver: shutdown complete [10/Jul/2006:16:19:02][23692.25345536][-tclthread-] Notice: Scheduler thread exiting Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000004 [Switching to process 23692 thread 0x3713] 0x0a0152c8 in Tcl_AsyncDelete (async=0x3a515c8) at /usr/local/homes/ zv/sf/tcl/generic/tclAsync.c:297 297 while (prevPtr->nextPtr != asyncPtr) { (gdb) bt #0 0x0a0152c8 in Tcl_AsyncDelete (async=0x3a515c8) at /usr/local/ homes/zv/sf/tcl/generic/tclAsync.c:297 #1 0x00248700 in DeleteData (arg=0x3335208) at tclinit.c:1764 #2 0x00016950 in NsCleanupTls (slots=0x4312008) at tls.c:183 #3 0x00017aa8 in CleanupTls (arg=0x4312008) at pthread.c:770 #4 0x9002cd94 in _pthread_tsd_cleanup () #5 0x9002c980 in pthread_exit () #6 0x0a0cddf0 in TclpThreadExit (status=0) at /usr/local/homes/zv/sf/ tcl/unix/tclUnixThrd.c:197 #7 0x0a0b05e4 in Tcl_ExitThread (status=0) at /usr/local/homes/zv/sf/ tcl/generic/tclThread.c:523 #8 0x02342a70 in NewThread (clientData=0xbfff8f00) at ../generic/ threadCmd.c:1697 #9 0x0a056d68 in NewThreadProc (clientData=0x3b61448) at /usr/local/ homes/zv/sf/tcl/generic/tclEvent.c:1229 #10 0x9002ba68 in _pthread_body () (gdb) Happens when the server is shut down. Zoran |
From: Zoran V. <zv...@ar...> - 2006-07-10 13:56:49
|
Am 10.07.2006 um 15:49 schrieb Zoran Vasiljevic: > > As the subject says, I'm mostly ns_confused. ... and tired... Just forget about that. The thing is I should have tested from two threads at the same time... Uaaaahhhhhhh.... Zoran |
From: Zoran V. <zv...@ar...> - 2006-07-10 13:49:32
|
Hi! As the subject says, I'm mostly ns_confused. server1:nscp 5> ns_cache_create some 4096 server1:nscp 6> ns_cache_eval -timeout 5 some key {after 10000; set a 13} 13 server1:nscp 8> ns_cache_create other 4096 server1:nscp 9> ns_cache_eval -timeout [expr {[clock seconds] + 5}] other key {after 10000; set a 13} 13 server1:nscp 10> ns_cache_create -timeout 10 other2 4096 server1:nscp 11> ns_cache_eval -timeout [expr {[clock seconds] + 5}] other2 key {after 10000; set a 13} 13 What I do not understand is: whatever and however I try to get the timeout trigger, I can't. How is this supposed to work? Do we have any timeouts now on the per-cache-level or per-eval-level or we don't? Commands says yes but nothing happens. Cheers Zoran |
From: Stephen D. <sd...@gm...> - 2006-07-08 22:06:55
|
On 6/29/06, Zoran Vasiljevic <zv...@ar...> wrote: > > Am 27.06.2006 um 18:52 schrieb Stephen Deasey: > > > > > OK. Just checking. > > > > According to our customer, the increase from 3 to 60 secs > did the trick. Now we get no timeouts any more. So, the fix > I did was OK and the default timeout should be increased > If somebody asks me. > > But as Stephen says, the timeout is removed from the last > checkin which leads =FAs to: WHERE? > Limits! When the limits are added, that will be the way to set timeout defaults for all API calls such as caches, db handles, http get etc. You can now set per-cache defaults manually when you first create them. |
From: Stephen D. <sd...@gm...> - 2006-07-08 22:04:54
|
On 6/28/06, Vlad Seryakov <vl...@cr...> wrote: > I also have question what is the meaning of changing -ttl > relativeSeconds into -expires absolutetime. > > Now Tcl code looks bloated with all -expires [expr [ns_time]+3600] lines > not counting that this is much slower than doing such incrementing C. > > May be we can keep both parameters, -ttl as relative and -expires as > absolute? > I changed it to make -timeout and -expiry regular. But you're right, it's ugly when you just want to specify an offset from now such as +3 seconds. I've changed it in CVS so that small -timeout and -expiry times are treated as offsets from now, and large values are treated as absolute times in the future. |
From: Stephen D. <sd...@gm...> - 2006-07-08 22:01:48
|
On 6/30/06, Vlad Seryakov <vl...@cr...> wrote: > To mimic Tcl variables usage or any memory access operations, by having > _set, _get, _exist, _unset with additional _eval will make it complete > and will allow to use by the developer as he sees fit. These are basic > operations, on top of that a developer can build different systems, not > just one way. It is development tool, not complete system, we can never > anticipate all possible usages of cache API, so providing low-level > primitives in my opinion is good direction. _set, _get and _exists aren't cache primitives because they're not thread safe. > > > > But, do not get me wrong. I'm not in favour of stripping functionality. > > As far as I', concerned, ns_cache API can consist of only three > > calls: > > > > ns_cache_create > > ns_cache_eval > > ns_cache_flush > > > > More is not needed for the "usual" cache operation. Now, one > > can imagine adding some operations on the cache vaules directly > > like > > > > incr > > llength > > lindex > > > > and atomic operations lile > > > > set > > exists > > get These aren't atomic. For example, after ns_cache_exists returns the value may exist or not due to cache flush, expiry, etc., you really don't know. > > which is all allright but in some "sense" diverts from the > > base idea of cache: just temporary store values resulting > > from hard caclulations. > > > Tcl variable fall into this category as well and has more operations and > other tools to work with. Why limiting cache, in some sens it is shared > variables by more than one thread with locking, expiration if set, and > timeouts if set. what is wrong to treat cache as more powerfull tool. Tcl variables work in a completely different environment, they are not intended to be thread safe. |
From: Stephen D. <sd...@gm...> - 2006-07-08 21:55:57
|
On 7/1/06, Zoran Vasiljevic <zv...@ar...> wrote: > > Stephen, I think that limits as done in AS 4.5 will > not be sufficient for us. As we really do not have, > or better say, do not use the server as pure webserver. > Hence, we need the ability to set time contraints on > cache per-se and not as a part of some larget limits > infrastructure. > I have no problem with this. Just commited to CVS. The precedence will be: -timeout switch to command, -timeout switch to ns_cache_create, limits. |
From: Stephen D. <sd...@gm...> - 2006-07-08 21:54:04
|
On 7/1/06, Zoran Vasiljevic <zv...@ar...> wrote: > > Am 01.07.2006 um 18:17 schrieb Gustaf Neumann: > > > Zoran Vasiljevic schrieb: > >> For my *personal* taste, the API is way too large > >> but what I do not use, I do not care for. > >> I have nothing against having all this in core > >> and I have nothing against maintaining this > >> code in future, if the need arises. > >> > >> > > The ns_cache interface resembles much similarity to the nsv interface. > > Essentially, it looks to me > > as an outsider that the main difference to nsv are the options for > > pool > > size and timeout. Has anyone > > considered to converge nsv and ns_cache by e.g. providing storage > > pools > > with size and timeout > > to nsv (binding nsv varnames to storage pools)? Also, the eval > > subcommand makes sense for > > nsv. > > Absolutely! This is what I told Vlad in one of the previous emails. > The only *real* difference is the time/size pruning of ns_cache what > nsv's do not have. > I havent examined what would be needed for this thing. Also I wanted to > port thread::tsv interface from the Tcl threading extension to NS. > In that effort I could examine if this would be feasible or not. > > What do other people think? > Well, nsv, cache, Tcl arrays are all very similar -- key/value associations. But it's the small differences which really matter. Caches are not just size/time limited, they're also assumed to cache something (!) which is expensive to compute, hence the -timeout switch and the complicated locking to ensure that should two threads try to compute a cache value at the same time, one waits for the other to do the hard work. Stats only really make sense for caches. It's not an error for a cache value to be missing -- caches cache *some* of the data, hopefully the most frequently used. You can use the stats to figure out if this is happening or not. nsv on the other hand are server-wide variables. You might say that Tcl arrays are broken because the values don't expire... :-) |
From: Zoran V. <zv...@ar...> - 2006-07-08 20:55:52
|
Am 08.07.2006 um 22:39 schrieb Stephen Deasey: > A warning at compile time is better > than crash at runtime... Indeed. At this point I thought that crash would be OK as this would "normally" happen on system startup but, true, this might not be the case. I will remove that and make it compile time option. Cheers, Zoran |
From: Stephen D. <sd...@gm...> - 2006-07-08 20:39:02
|
Don't forget about the NS_GNUC_DEPRECATED atribute which you can apply to the declaration in the header. A warning at compile time is better than crash at runtime... On 7/5/06, Zoran Vasiljevic <vas...@us...> wrote: > Update of /cvsroot/naviserver/naviserver/nsd > In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22489 > > Modified Files: > log.c > Log Message: > Uses internal Ns_Fatal wrapper for Ns_SetLogFlushProc and Ns_SetNsLogProc > > > Index: log.c > =================================================================== > RCS file: /cvsroot/naviserver/naviserver/nsd/log.c,v > retrieving revision 1.14 > retrieving revision 1.15 > diff -C2 -d -r1.14 -r1.15 > *** log.c 4 Jul 2006 17:33:46 -0000 1.14 > --- log.c 5 Jul 2006 13:24:15 -0000 1.15 > *************** > *** 346,350 **** > * > * Side effects: > ! * Will emit fatal message to error log. > * > *---------------------------------------------------------------------- > --- 346,350 ---- > * > * Side effects: > ! * Will exit the server. > * > *---------------------------------------------------------------------- > *************** > *** 354,359 **** > Ns_SetLogFlushProc(Ns_LogFlushProc *procPtr) > { > ! Ns_Log(Fatal, "Ns_SetLogFlushProc: deprecated," > ! " use Ns_AddLogFilter() instead"); > } > > --- 354,358 ---- > Ns_SetLogFlushProc(Ns_LogFlushProc *procPtr) > { > ! Ns_Fatal("Ns_SetLogFlushProc: deprecated, use Ns_AddLogFilter() instead"); > } > > *************** > *** 361,366 **** > Ns_SetNsLogProc(Ns_LogProc *procPtr) > { > ! Ns_Log(Fatal, "Ns_SetNsLogProc: deprecated," > ! " use Ns_AddLogFilter() instead"); > } > > --- 360,364 ---- > Ns_SetNsLogProc(Ns_LogProc *procPtr) > { > ! Ns_Fatal("Ns_SetNsLogProc: deprecated, use Ns_AddLogFilter() instead"); > } > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-commits mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-commits > |
From: Bernd E. <eid...@we...> - 2006-07-07 07:36:22
|
Thanks Vlad! (I'll test it later, the server crashes as you already wrote) > In the nssock section set > > ns_param keepwait 0 > > it will disable all keepalives > > I will make ns_conn keepalive 0 > working as well to be able to disable keepalive per connection if neeeded |
From: Zoran V. <zv...@ar...> - 2006-07-07 07:28:57
|
Am 07.07.2006 um 03:44 schrieb Vlad Seryakov: > I am getting strange crashes on server startup Allright. I will look into this today. Cheers, Zoran > > (gdb) bt > #0 0xffffe410 in __kernel_vsyscall () > #1 0xb7cfbc0e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 > #2 0xb7cf8554 in _L_mutex_lock_48 () from /lib/libpthread.so.0 > #3 0xb7f5b000 in ?? () > #4 0x000051b4 in ?? () > #5 0xb7d0e844 in ?? () from /lib/libc.so.6 > #6 0xb7f600f8 in ?? () from /usr/local/ns/lib/libnsthread.so > #7 0x0804e3a0 in ?? () > #8 0xb7e1dff4 in ?? () from /lib/libc.so.6 > #9 0x0804e3a0 in ?? () > #10 0xb7fc8660 in tls () from /usr/local/ns/lib/libnsd.so > #11 0xb730dae8 in ?? () > #12 0xb7dcad26 in pthread_mutex_lock () from /lib/libc.so.6 > #13 0xb7dcad26 in pthread_mutex_lock () from /lib/libc.so.6 > #14 0xb7f5f04d in NsLockSet (lock=3D0x804e420) at pthread.c:221 > #15 0xb7f5d6ca in Ns_MutexLock (mutex=3D0xb7fc8660) at mutex.c:205 > #16 0xb7f8d72f in LogAdd (severity=3D<value optimized out>, > fmt=3D0xb7fc244b "received fatal signal %d", ap=3D0xb730dba4 = "\v") at > log.c:820 > #17 0xb7f8d785 in Panic (fmt=3D0xb7fc244b "received fatal signal %d") = at > log.c:1099 > #18 0xb7f2003e in Tcl_PanicVA () from /usr/lib/libtcl8.4.so > #19 0xb7f200d7 in Tcl_Panic () from /usr/lib/libtcl8.4.so > #20 0xb7fb4947 in Abort (signal=3D11) at unix.c:697 > #21 <signal handler called> > #22 0xb7f32513 in Tcl_DStringAppend () from /usr/lib/libtcl8.4.so > #23 0xb7f8ca32 in LogToDString (arg=3D0xb730dfa8, severity=3DError, > stamp=3D0x847af44, > msg=3D0x847af50 "invalid command name \"ns_radius\"\ninvalid =20 > command > name \"ns_radius\"\n while executing\n\"ns_radius clientadd =20 > localhost > localsecret\"\n (procedure \"radius::dictinit\" line 4)\n =20 > invoked > from within\n\"rad"..., len=3D135628672) at log.c:1238 > #24 0xb7f8cb3f in LogToFile (arg=3D0x2, severity=3DError, = stamp=3D0x847af44, > msg=3D0x847af50 "invalid command name \"ns_radius\"\ninvalid =20 > command > name \"ns_radius\"\n while executing\n\"ns_radius clientadd =20 > localhost > localsecret\"\n (procedure \"radius::dictinit\" line 4)\n =20 > invoked > from within\n\"rad"..., len=3D135628672) at log.c:1272 > ---Type <return> to continue, or q <return> to quit--- > #25 0xb7f8cc19 in LogFlush (cachePtr=3D0x810b558, listPtr=3D0x804a320, > count=3D<value optimized out>, > trunc=3D1) at log.c:865 > #26 0xb7f8d748 in LogAdd (severity=3D<value optimized out>, =20 > fmt=3D0xb7fc0c6b > "%s\n%s", > ap=3D0xb730e158 "\200\207\025\bh\fK\b\020X=FE=B7\001") at = log.c:821 > #27 0xb7f8d7c7 in Ns_Log (severity=3DError, fmt=3D0xb7fc0c6b "%s\n%s") = at > log.c:246 > #28 0xb7fa7787 in Ns_TclLogErrorInfo (interp=3D0x8158668, = extraInfo=3D0x0) > at tclmisc.c:184 > #29 0xb7fa77e3 in Ns_TclLogError (interp=3D0x8158668) at tclmisc.c:210 > #30 0xb7f9d42f in Ns_TclEvalCallback (interp=3D0x8158668, =20 > cbPtr=3D0x80f9998, > result=3D0x0) > at tclcallbacks.c:177 > #31 0xb7fab2c1 in NsTclSchedProc (arg=3D0x80f9998, id=3D3) at =20 > tclsched.c:383 > #32 0xb7f96c47 in SchedThread (ignored=3D0x0) at sched.c:807 > #33 0xb7f5e414 in NsThreadMain (arg=3D0x80d2358) at thread.c:224 > #34 0xb7f5ef6d in ThreadMain (arg=3D0x80d2358) at pthread.c:736 > #35 0xb7cf6274 in start_thread () from /lib/libpthread.so.0 > #36 0xb7dbf47e in clone () from /lib/libc.so.6 > > > --=20 > Vlad Seryakov > 571 262-8608 office > vl...@cr... > http://www.crystalballinc.com/vlad/ > > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?=20 > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel |
From: Vlad S. <vl...@cr...> - 2006-07-07 01:41:57
|
I am getting strange crashes on server startup (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7cfbc0e in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #2 0xb7cf8554 in _L_mutex_lock_48 () from /lib/libpthread.so.0 #3 0xb7f5b000 in ?? () #4 0x000051b4 in ?? () #5 0xb7d0e844 in ?? () from /lib/libc.so.6 #6 0xb7f600f8 in ?? () from /usr/local/ns/lib/libnsthread.so #7 0x0804e3a0 in ?? () #8 0xb7e1dff4 in ?? () from /lib/libc.so.6 #9 0x0804e3a0 in ?? () #10 0xb7fc8660 in tls () from /usr/local/ns/lib/libnsd.so #11 0xb730dae8 in ?? () #12 0xb7dcad26 in pthread_mutex_lock () from /lib/libc.so.6 #13 0xb7dcad26 in pthread_mutex_lock () from /lib/libc.so.6 #14 0xb7f5f04d in NsLockSet (lock=3D0x804e420) at pthread.c:221 #15 0xb7f5d6ca in Ns_MutexLock (mutex=3D0xb7fc8660) at mutex.c:205 #16 0xb7f8d72f in LogAdd (severity=3D<value optimized out>, fmt=3D0xb7fc244b "received fatal signal %d", ap=3D0xb730dba4 "\v") a= t=20 log.c:820 #17 0xb7f8d785 in Panic (fmt=3D0xb7fc244b "received fatal signal %d") at=20 log.c:1099 #18 0xb7f2003e in Tcl_PanicVA () from /usr/lib/libtcl8.4.so #19 0xb7f200d7 in Tcl_Panic () from /usr/lib/libtcl8.4.so #20 0xb7fb4947 in Abort (signal=3D11) at unix.c:697 #21 <signal handler called> #22 0xb7f32513 in Tcl_DStringAppend () from /usr/lib/libtcl8.4.so #23 0xb7f8ca32 in LogToDString (arg=3D0xb730dfa8, severity=3DError,=20 stamp=3D0x847af44, msg=3D0x847af50 "invalid command name \"ns_radius\"\ninvalid command= =20 name \"ns_radius\"\n while executing\n\"ns_radius clientadd localhost=20 localsecret\"\n (procedure \"radius::dictinit\" line 4)\n invoked=20 from within\n\"rad"..., len=3D135628672) at log.c:1238 #24 0xb7f8cb3f in LogToFile (arg=3D0x2, severity=3DError, stamp=3D0x847af= 44, msg=3D0x847af50 "invalid command name \"ns_radius\"\ninvalid command= =20 name \"ns_radius\"\n while executing\n\"ns_radius clientadd localhost=20 localsecret\"\n (procedure \"radius::dictinit\" line 4)\n invoked=20 from within\n\"rad"..., len=3D135628672) at log.c:1272 ---Type <return> to continue, or q <return> to quit--- #25 0xb7f8cc19 in LogFlush (cachePtr=3D0x810b558, listPtr=3D0x804a320,=20 count=3D<value optimized out>, trunc=3D1) at log.c:865 #26 0xb7f8d748 in LogAdd (severity=3D<value optimized out>, fmt=3D0xb7fc0= c6b=20 "%s\n%s", ap=3D0xb730e158 "\200\207\025\bh\fK\b\020X=FE=B7\001") at log.c:821 #27 0xb7f8d7c7 in Ns_Log (severity=3DError, fmt=3D0xb7fc0c6b "%s\n%s") at= =20 log.c:246 #28 0xb7fa7787 in Ns_TclLogErrorInfo (interp=3D0x8158668, extraInfo=3D0x0= )=20 at tclmisc.c:184 #29 0xb7fa77e3 in Ns_TclLogError (interp=3D0x8158668) at tclmisc.c:210 #30 0xb7f9d42f in Ns_TclEvalCallback (interp=3D0x8158668, cbPtr=3D0x80f99= 98,=20 result=3D0x0) at tclcallbacks.c:177 #31 0xb7fab2c1 in NsTclSchedProc (arg=3D0x80f9998, id=3D3) at tclsched.c:= 383 #32 0xb7f96c47 in SchedThread (ignored=3D0x0) at sched.c:807 #33 0xb7f5e414 in NsThreadMain (arg=3D0x80d2358) at thread.c:224 #34 0xb7f5ef6d in ThreadMain (arg=3D0x80d2358) at pthread.c:736 #35 0xb7cf6274 in start_thread () from /lib/libpthread.so.0 #36 0xb7dbf47e in clone () from /lib/libc.so.6 --=20 Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Vlad S. <vl...@cr...> - 2006-07-07 00:48:34
|
In the nssock section set ns_param keepwait 0 it will disable all keepalives I will make ns_conn keepalive 0 working as well to be able to disable keepalive per connection if neeeded Bernd Eidenschink wrote: > Hi, how to turn off keep-alive on the server? > > Should "ns_conn keepalive 0" work? > (BTW my testserver shows internal server error when calling > ns_conn keepalive "" ) > > Or is there a config option? > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Zoran V. <zv...@ar...> - 2006-07-06 20:47:21
|
Am 06.07.2006 um 20:22 schrieb Stephen Deasey: > Your build envornment is messed up -- you're compiling against some > old headers or something. > Strange. this is what I thought as well in the beginning... But I updated my copy and ns.h was at the correct level. Still, it broke. According to what I found there, it could not possibly work so I fixed ns.h to compile again. I said that it cound not possbily work because I found: typedef Tcl_HashSearch Ns_CacheSearch This could not work that way. Cheers, Zoran |
From: Stephen D. <sd...@gm...> - 2006-07-06 20:13:43
|
On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > Okay, but at least ns_conn keepalive 1|0 to enable disable will be good > to have if working with non-browser based http servers/clients? Non-HTTP server stuff rocks, but you have to remember that this is basically an HTTP server. The consequence is that when people see "keepalive", they have a very specific thing in mind, and it's not hacking up a syslog server or whatever. All I'm saying is, keep people's expectations in mind when designing APIs. > Stephen Deasey wrote: > > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >> You never know when this may come in handy :-)) > > > > > > It'll be handy code indeed if and when you can think of a handy use for it. :-) > > > > > > > >> Stephen Deasey wrote: > >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>> I remember i added it when was testing video streaming with different > >>>> players which expected it bu were not HTTP/1.1 compliant. > >>>> > >>>> ns_conn keepalive 0 to disable makes sense. > >>>> > >>>> May be ns_conn keepalive -1 would revert keepalive rules to default then? > >>> > >>> When would you use this? > >>> > >>> > >>>> Stephen Deasey wrote: > >>>>> If: > >>>>> > >>>>> ns_conn keepalive 1 > >>>>> > >>>>> forces keepalive, I would expect: > >>>>> > >>>>> ns_conn keepalive 0 > >>>>> > >>>>> to dissable it. Does this even make sense though? When would you > >>>>> explicitly enable or dissable keepalive in a tcl page script? > >>>>> > >>>>> > >>>>> > >>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>>>> ns_conn keepalive 1 forces keepalive, otherwise there are several > >>>>>> factors that defined whether or not it will be used. > >>>>>> > >>>>>> ns_conn keepalive 0 clears that flag, so it works as normal. There is > >>>>>> not third state to disable normal rules, may be it is time to introduce > >>>>>> them. > >>>>>> > >>>>>> Stephen Deasey wrote: > >>>>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>>>>>> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of > >>>>>>>> headers or methods, but does not disable it completely, if not set, > >>>>>>>> normal rules apply > >>>>>>> So if you do: > >>>>>>> > >>>>>>> ns_conn keepalive 0 > >>>>>>> > >>>>>>> It doesn't disable keepalive? Does this make sense? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> Stephen Deasey wrote: > >>>>>>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>>>>>>>> You may do > >>>>>>>>>> ns_set update [ns_conn outputheaders] Connection close > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> There is no parameter to disable it > >>>>>>>>> Then what's ns_conn keepalive about? > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>> Bernd Eidenschink wrote: > >>>>>>>>>>> Hi, how to turn off keep-alive on the server? > >>>>>>>>>>> > >>>>>>>>>>> Should "ns_conn keepalive 0" work? > >>>>>>>>>>> (BTW my testserver shows internal server error when calling > >>>>>>>>>>> ns_conn keepalive "" ) > >>>>>>>>>>> > >>>>>>>>>>> Or is there a config option? > >>>>>>>>>>> > >>>>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>>>>>> _______________________________________________ > >>>>>>>>>>> naviserver-devel mailing list > >>>>>>>>>>> nav...@li... > >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>>>>>> > >>>>>>>>>> -- > >>>>>>>>>> Vlad Seryakov > >>>>>>>>>> 571 262-8608 office > >>>>>>>>>> vl...@cr... > >>>>>>>>>> http://www.crystalballinc.com/vlad/ > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>>>>> _______________________________________________ > >>>>>>>>>> naviserver-devel mailing list > >>>>>>>>>> nav...@li... > >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>>>>> > >>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>>>> _______________________________________________ > >>>>>>>>> naviserver-devel mailing list > >>>>>>>>> nav...@li... > >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>>>> > >>>>>>>> -- > >>>>>>>> Vlad Seryakov > >>>>>>>> 571 262-8608 office > >>>>>>>> vl...@cr... > >>>>>>>> http://www.crystalballinc.com/vlad/ > >>>>>>>> > >>>>>>>> > >>>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>>> _______________________________________________ > >>>>>>>> naviserver-devel mailing list > >>>>>>>> nav...@li... > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>>> > >>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>> _______________________________________________ > >>>>>>> naviserver-devel mailing list > >>>>>>> nav...@li... > >>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>> > >>>>>> -- > >>>>>> Vlad Seryakov > >>>>>> 571 262-8608 office > >>>>>> vl...@cr... > >>>>>> http://www.crystalballinc.com/vlad/ > >>>>>> > >>>>>> > >>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>> _______________________________________________ > >>>>>> naviserver-devel mailing list > >>>>>> nav...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>> > >>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>> _______________________________________________ > >>>>> naviserver-devel mailing list > >>>>> nav...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>> > >>>> -- > >>>> Vlad Seryakov > >>>> 571 262-8608 office > >>>> vl...@cr... > >>>> http://www.crystalballinc.com/vlad/ > >>>> > >>>> > >>>> Using Tomcat but need to do more? Need to support web services, security? > >>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>> _______________________________________________ > >>>> naviserver-devel mailing list > >>>> nav...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>> > >>> Using Tomcat but need to do more? Need to support web services, security? > >>> Get stuff done quickly with pre-integrated technology to make your job easier > >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>> _______________________________________________ > >>> naviserver-devel mailing list > >>> nav...@li... > >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>> > >> -- > >> Vlad Seryakov > >> 571 262-8608 office > >> vl...@cr... > >> http://www.crystalballinc.com/vlad/ > >> > >> > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> naviserver-devel mailing list > >> nav...@li... > >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >> > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > naviserver-devel mailing list > > nav...@li... > > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > -- > Vlad Seryakov > 571 262-8608 office > vl...@cr... > http://www.crystalballinc.com/vlad/ > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Vlad S. <vl...@cr...> - 2006-07-06 19:52:54
|
Okay, but at least ns_conn keepalive 1|0 to enable disable will be good to have if working with non-browser based http servers/clients? Stephen Deasey wrote: > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >> You never know when this may come in handy :-)) > > > It'll be handy code indeed if and when you can think of a handy use for it. :-) > > > >> Stephen Deasey wrote: >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>> I remember i added it when was testing video streaming with different >>>> players which expected it bu were not HTTP/1.1 compliant. >>>> >>>> ns_conn keepalive 0 to disable makes sense. >>>> >>>> May be ns_conn keepalive -1 would revert keepalive rules to default then? >>> >>> When would you use this? >>> >>> >>>> Stephen Deasey wrote: >>>>> If: >>>>> >>>>> ns_conn keepalive 1 >>>>> >>>>> forces keepalive, I would expect: >>>>> >>>>> ns_conn keepalive 0 >>>>> >>>>> to dissable it. Does this even make sense though? When would you >>>>> explicitly enable or dissable keepalive in a tcl page script? >>>>> >>>>> >>>>> >>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>>>> ns_conn keepalive 1 forces keepalive, otherwise there are several >>>>>> factors that defined whether or not it will be used. >>>>>> >>>>>> ns_conn keepalive 0 clears that flag, so it works as normal. There is >>>>>> not third state to disable normal rules, may be it is time to introduce >>>>>> them. >>>>>> >>>>>> Stephen Deasey wrote: >>>>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>>>>>> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of >>>>>>>> headers or methods, but does not disable it completely, if not set, >>>>>>>> normal rules apply >>>>>>> So if you do: >>>>>>> >>>>>>> ns_conn keepalive 0 >>>>>>> >>>>>>> It doesn't disable keepalive? Does this make sense? >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Stephen Deasey wrote: >>>>>>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>>>>>>>> You may do >>>>>>>>>> ns_set update [ns_conn outputheaders] Connection close >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> There is no parameter to disable it >>>>>>>>> Then what's ns_conn keepalive about? >>>>>>>>> >>>>>>>>> >>>>>>>>>> Bernd Eidenschink wrote: >>>>>>>>>>> Hi, how to turn off keep-alive on the server? >>>>>>>>>>> >>>>>>>>>>> Should "ns_conn keepalive 0" work? >>>>>>>>>>> (BTW my testserver shows internal server error when calling >>>>>>>>>>> ns_conn keepalive "" ) >>>>>>>>>>> >>>>>>>>>>> Or is there a config option? >>>>>>>>>>> >>>>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>>>>> _______________________________________________ >>>>>>>>>>> naviserver-devel mailing list >>>>>>>>>>> nav...@li... >>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Vlad Seryakov >>>>>>>>>> 571 262-8608 office >>>>>>>>>> vl...@cr... >>>>>>>>>> http://www.crystalballinc.com/vlad/ >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>>>> _______________________________________________ >>>>>>>>>> naviserver-devel mailing list >>>>>>>>>> nav...@li... >>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>>>>> >>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>>> _______________________________________________ >>>>>>>>> naviserver-devel mailing list >>>>>>>>> nav...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>>>> >>>>>>>> -- >>>>>>>> Vlad Seryakov >>>>>>>> 571 262-8608 office >>>>>>>> vl...@cr... >>>>>>>> http://www.crystalballinc.com/vlad/ >>>>>>>> >>>>>>>> >>>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>> _______________________________________________ >>>>>>>> naviserver-devel mailing list >>>>>>>> nav...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>>> >>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>> _______________________________________________ >>>>>>> naviserver-devel mailing list >>>>>>> nav...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>> >>>>>> -- >>>>>> Vlad Seryakov >>>>>> 571 262-8608 office >>>>>> vl...@cr... >>>>>> http://www.crystalballinc.com/vlad/ >>>>>> >>>>>> >>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>> _______________________________________________ >>>>>> naviserver-devel mailing list >>>>>> nav...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>> >>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> naviserver-devel mailing list >>>>> nav...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>> >>>> -- >>>> Vlad Seryakov >>>> 571 262-8608 office >>>> vl...@cr... >>>> http://www.crystalballinc.com/vlad/ >>>> >>>> >>>> Using Tomcat but need to do more? Need to support web services, security? >>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> naviserver-devel mailing list >>>> nav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> naviserver-devel mailing list >>> nav...@li... >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >> -- >> Vlad Seryakov >> 571 262-8608 office >> vl...@cr... >> http://www.crystalballinc.com/vlad/ >> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Stephen D. <sd...@gm...> - 2006-07-06 19:46:12
|
On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > You never know when this may come in handy :-)) It'll be handy code indeed if and when you can think of a handy use for it. :-) > Stephen Deasey wrote: > > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >> I remember i added it when was testing video streaming with different > >> players which expected it bu were not HTTP/1.1 compliant. > >> > >> ns_conn keepalive 0 to disable makes sense. > >> > >> May be ns_conn keepalive -1 would revert keepalive rules to default then? > > > > > > When would you use this? > > > > > >> Stephen Deasey wrote: > >>> If: > >>> > >>> ns_conn keepalive 1 > >>> > >>> forces keepalive, I would expect: > >>> > >>> ns_conn keepalive 0 > >>> > >>> to dissable it. Does this even make sense though? When would you > >>> explicitly enable or dissable keepalive in a tcl page script? > >>> > >>> > >>> > >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>> ns_conn keepalive 1 forces keepalive, otherwise there are several > >>>> factors that defined whether or not it will be used. > >>>> > >>>> ns_conn keepalive 0 clears that flag, so it works as normal. There is > >>>> not third state to disable normal rules, may be it is time to introduce > >>>> them. > >>>> > >>>> Stephen Deasey wrote: > >>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>>>> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of > >>>>>> headers or methods, but does not disable it completely, if not set, > >>>>>> normal rules apply > >>>>> So if you do: > >>>>> > >>>>> ns_conn keepalive 0 > >>>>> > >>>>> It doesn't disable keepalive? Does this make sense? > >>>>> > >>>>> > >>>>> > >>>>>> Stephen Deasey wrote: > >>>>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>>>>>> You may do > >>>>>>>> ns_set update [ns_conn outputheaders] Connection close > >>>>>>>> > >>>>>>>> > >>>>>>>> There is no parameter to disable it > >>>>>>> Then what's ns_conn keepalive about? > >>>>>>> > >>>>>>> > >>>>>>>> Bernd Eidenschink wrote: > >>>>>>>>> Hi, how to turn off keep-alive on the server? > >>>>>>>>> > >>>>>>>>> Should "ns_conn keepalive 0" work? > >>>>>>>>> (BTW my testserver shows internal server error when calling > >>>>>>>>> ns_conn keepalive "" ) > >>>>>>>>> > >>>>>>>>> Or is there a config option? > >>>>>>>>> > >>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>>>> _______________________________________________ > >>>>>>>>> naviserver-devel mailing list > >>>>>>>>> nav...@li... > >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>>>> > >>>>>>>> -- > >>>>>>>> Vlad Seryakov > >>>>>>>> 571 262-8608 office > >>>>>>>> vl...@cr... > >>>>>>>> http://www.crystalballinc.com/vlad/ > >>>>>>>> > >>>>>>>> > >>>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>>> _______________________________________________ > >>>>>>>> naviserver-devel mailing list > >>>>>>>> nav...@li... > >>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>>> > >>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>> _______________________________________________ > >>>>>>> naviserver-devel mailing list > >>>>>>> nav...@li... > >>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>> > >>>>>> -- > >>>>>> Vlad Seryakov > >>>>>> 571 262-8608 office > >>>>>> vl...@cr... > >>>>>> http://www.crystalballinc.com/vlad/ > >>>>>> > >>>>>> > >>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>> _______________________________________________ > >>>>>> naviserver-devel mailing list > >>>>>> nav...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>> > >>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>> _______________________________________________ > >>>>> naviserver-devel mailing list > >>>>> nav...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>> > >>>> -- > >>>> Vlad Seryakov > >>>> 571 262-8608 office > >>>> vl...@cr... > >>>> http://www.crystalballinc.com/vlad/ > >>>> > >>>> > >>>> Using Tomcat but need to do more? Need to support web services, security? > >>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>> _______________________________________________ > >>>> naviserver-devel mailing list > >>>> nav...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>> > >>> Using Tomcat but need to do more? Need to support web services, security? > >>> Get stuff done quickly with pre-integrated technology to make your job easier > >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>> _______________________________________________ > >>> naviserver-devel mailing list > >>> nav...@li... > >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>> > >> -- > >> Vlad Seryakov > >> 571 262-8608 office > >> vl...@cr... > >> http://www.crystalballinc.com/vlad/ > >> > >> > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> naviserver-devel mailing list > >> nav...@li... > >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >> > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > naviserver-devel mailing list > > nav...@li... > > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > -- > Vlad Seryakov > 571 262-8608 office > vl...@cr... > http://www.crystalballinc.com/vlad/ > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Vlad S. <vl...@cr...> - 2006-07-06 19:36:08
|
You never know when this may come in handy :-)) Stephen Deasey wrote: > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >> I remember i added it when was testing video streaming with different >> players which expected it bu were not HTTP/1.1 compliant. >> >> ns_conn keepalive 0 to disable makes sense. >> >> May be ns_conn keepalive -1 would revert keepalive rules to default then? > > > When would you use this? > > >> Stephen Deasey wrote: >>> If: >>> >>> ns_conn keepalive 1 >>> >>> forces keepalive, I would expect: >>> >>> ns_conn keepalive 0 >>> >>> to dissable it. Does this even make sense though? When would you >>> explicitly enable or dissable keepalive in a tcl page script? >>> >>> >>> >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>> ns_conn keepalive 1 forces keepalive, otherwise there are several >>>> factors that defined whether or not it will be used. >>>> >>>> ns_conn keepalive 0 clears that flag, so it works as normal. There is >>>> not third state to disable normal rules, may be it is time to introduce >>>> them. >>>> >>>> Stephen Deasey wrote: >>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>>>> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of >>>>>> headers or methods, but does not disable it completely, if not set, >>>>>> normal rules apply >>>>> So if you do: >>>>> >>>>> ns_conn keepalive 0 >>>>> >>>>> It doesn't disable keepalive? Does this make sense? >>>>> >>>>> >>>>> >>>>>> Stephen Deasey wrote: >>>>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>>>>>> You may do >>>>>>>> ns_set update [ns_conn outputheaders] Connection close >>>>>>>> >>>>>>>> >>>>>>>> There is no parameter to disable it >>>>>>> Then what's ns_conn keepalive about? >>>>>>> >>>>>>> >>>>>>>> Bernd Eidenschink wrote: >>>>>>>>> Hi, how to turn off keep-alive on the server? >>>>>>>>> >>>>>>>>> Should "ns_conn keepalive 0" work? >>>>>>>>> (BTW my testserver shows internal server error when calling >>>>>>>>> ns_conn keepalive "" ) >>>>>>>>> >>>>>>>>> Or is there a config option? >>>>>>>>> >>>>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>>> _______________________________________________ >>>>>>>>> naviserver-devel mailing list >>>>>>>>> nav...@li... >>>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>>>> >>>>>>>> -- >>>>>>>> Vlad Seryakov >>>>>>>> 571 262-8608 office >>>>>>>> vl...@cr... >>>>>>>> http://www.crystalballinc.com/vlad/ >>>>>>>> >>>>>>>> >>>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>>> _______________________________________________ >>>>>>>> naviserver-devel mailing list >>>>>>>> nav...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>>> >>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>> _______________________________________________ >>>>>>> naviserver-devel mailing list >>>>>>> nav...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>> >>>>>> -- >>>>>> Vlad Seryakov >>>>>> 571 262-8608 office >>>>>> vl...@cr... >>>>>> http://www.crystalballinc.com/vlad/ >>>>>> >>>>>> >>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>> _______________________________________________ >>>>>> naviserver-devel mailing list >>>>>> nav...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>> >>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> naviserver-devel mailing list >>>>> nav...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>> >>>> -- >>>> Vlad Seryakov >>>> 571 262-8608 office >>>> vl...@cr... >>>> http://www.crystalballinc.com/vlad/ >>>> >>>> >>>> Using Tomcat but need to do more? Need to support web services, security? >>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> naviserver-devel mailing list >>>> nav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> naviserver-devel mailing list >>> nav...@li... >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >> -- >> Vlad Seryakov >> 571 262-8608 office >> vl...@cr... >> http://www.crystalballinc.com/vlad/ >> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Stephen D. <sd...@gm...> - 2006-07-06 19:32:43
|
On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > I remember i added it when was testing video streaming with different > players which expected it bu were not HTTP/1.1 compliant. > > ns_conn keepalive 0 to disable makes sense. > > May be ns_conn keepalive -1 would revert keepalive rules to default then? When would you use this? > Stephen Deasey wrote: > > If: > > > > ns_conn keepalive 1 > > > > forces keepalive, I would expect: > > > > ns_conn keepalive 0 > > > > to dissable it. Does this even make sense though? When would you > > explicitly enable or dissable keepalive in a tcl page script? > > > > > > > > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >> ns_conn keepalive 1 forces keepalive, otherwise there are several > >> factors that defined whether or not it will be used. > >> > >> ns_conn keepalive 0 clears that flag, so it works as normal. There is > >> not third state to disable normal rules, may be it is time to introduce > >> them. > >> > >> Stephen Deasey wrote: > >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of > >>>> headers or methods, but does not disable it completely, if not set, > >>>> normal rules apply > >>> > >>> So if you do: > >>> > >>> ns_conn keepalive 0 > >>> > >>> It doesn't disable keepalive? Does this make sense? > >>> > >>> > >>> > >>>> Stephen Deasey wrote: > >>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>>>> You may do > >>>>>> ns_set update [ns_conn outputheaders] Connection close > >>>>>> > >>>>>> > >>>>>> There is no parameter to disable it > >>>>> Then what's ns_conn keepalive about? > >>>>> > >>>>> > >>>>>> Bernd Eidenschink wrote: > >>>>>>> Hi, how to turn off keep-alive on the server? > >>>>>>> > >>>>>>> Should "ns_conn keepalive 0" work? > >>>>>>> (BTW my testserver shows internal server error when calling > >>>>>>> ns_conn keepalive "" ) > >>>>>>> > >>>>>>> Or is there a config option? > >>>>>>> > >>>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>>> _______________________________________________ > >>>>>>> naviserver-devel mailing list > >>>>>>> nav...@li... > >>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>>> > >>>>>> -- > >>>>>> Vlad Seryakov > >>>>>> 571 262-8608 office > >>>>>> vl...@cr... > >>>>>> http://www.crystalballinc.com/vlad/ > >>>>>> > >>>>>> > >>>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>>> _______________________________________________ > >>>>>> naviserver-devel mailing list > >>>>>> nav...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>>> > >>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>> _______________________________________________ > >>>>> naviserver-devel mailing list > >>>>> nav...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>> > >>>> -- > >>>> Vlad Seryakov > >>>> 571 262-8608 office > >>>> vl...@cr... > >>>> http://www.crystalballinc.com/vlad/ > >>>> > >>>> > >>>> Using Tomcat but need to do more? Need to support web services, security? > >>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>> _______________________________________________ > >>>> naviserver-devel mailing list > >>>> nav...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>> > >>> Using Tomcat but need to do more? Need to support web services, security? > >>> Get stuff done quickly with pre-integrated technology to make your job easier > >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>> _______________________________________________ > >>> naviserver-devel mailing list > >>> nav...@li... > >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>> > >> -- > >> Vlad Seryakov > >> 571 262-8608 office > >> vl...@cr... > >> http://www.crystalballinc.com/vlad/ > >> > >> > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> naviserver-devel mailing list > >> nav...@li... > >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >> > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > naviserver-devel mailing list > > nav...@li... > > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > -- > Vlad Seryakov > 571 262-8608 office > vl...@cr... > http://www.crystalballinc.com/vlad/ > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Vlad S. <vl...@cr...> - 2006-07-06 19:23:34
|
I remember i added it when was testing video streaming with different players which expected it bu were not HTTP/1.1 compliant. ns_conn keepalive 0 to disable makes sense. May be ns_conn keepalive -1 would revert keepalive rules to default then? Stephen Deasey wrote: > If: > > ns_conn keepalive 1 > > forces keepalive, I would expect: > > ns_conn keepalive 0 > > to dissable it. Does this even make sense though? When would you > explicitly enable or dissable keepalive in a tcl page script? > > > > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >> ns_conn keepalive 1 forces keepalive, otherwise there are several >> factors that defined whether or not it will be used. >> >> ns_conn keepalive 0 clears that flag, so it works as normal. There is >> not third state to disable normal rules, may be it is time to introduce >> them. >> >> Stephen Deasey wrote: >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of >>>> headers or methods, but does not disable it completely, if not set, >>>> normal rules apply >>> >>> So if you do: >>> >>> ns_conn keepalive 0 >>> >>> It doesn't disable keepalive? Does this make sense? >>> >>> >>> >>>> Stephen Deasey wrote: >>>>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>>>> You may do >>>>>> ns_set update [ns_conn outputheaders] Connection close >>>>>> >>>>>> >>>>>> There is no parameter to disable it >>>>> Then what's ns_conn keepalive about? >>>>> >>>>> >>>>>> Bernd Eidenschink wrote: >>>>>>> Hi, how to turn off keep-alive on the server? >>>>>>> >>>>>>> Should "ns_conn keepalive 0" work? >>>>>>> (BTW my testserver shows internal server error when calling >>>>>>> ns_conn keepalive "" ) >>>>>>> >>>>>>> Or is there a config option? >>>>>>> >>>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>>> _______________________________________________ >>>>>>> naviserver-devel mailing list >>>>>>> nav...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>>> >>>>>> -- >>>>>> Vlad Seryakov >>>>>> 571 262-8608 office >>>>>> vl...@cr... >>>>>> http://www.crystalballinc.com/vlad/ >>>>>> >>>>>> >>>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>>> _______________________________________________ >>>>>> naviserver-devel mailing list >>>>>> nav...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>>> >>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> naviserver-devel mailing list >>>>> nav...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>> >>>> -- >>>> Vlad Seryakov >>>> 571 262-8608 office >>>> vl...@cr... >>>> http://www.crystalballinc.com/vlad/ >>>> >>>> >>>> Using Tomcat but need to do more? Need to support web services, security? >>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> naviserver-devel mailing list >>>> nav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> naviserver-devel mailing list >>> nav...@li... >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >> -- >> Vlad Seryakov >> 571 262-8608 office >> vl...@cr... >> http://www.crystalballinc.com/vlad/ >> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |
From: Stephen D. <sd...@gm...> - 2006-07-06 19:17:05
|
If: ns_conn keepalive 1 forces keepalive, I would expect: ns_conn keepalive 0 to dissable it. Does this even make sense though? When would you explicitly enable or dissable keepalive in a tcl page script? On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > ns_conn keepalive 1 forces keepalive, otherwise there are several > factors that defined whether or not it will be used. > > ns_conn keepalive 0 clears that flag, so it works as normal. There is > not third state to disable normal rules, may be it is time to introduce > them. > > Stephen Deasey wrote: > > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of > >> headers or methods, but does not disable it completely, if not set, > >> normal rules apply > > > > > > So if you do: > > > > ns_conn keepalive 0 > > > > It doesn't disable keepalive? Does this make sense? > > > > > > > >> Stephen Deasey wrote: > >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: > >>>> You may do > >>>> ns_set update [ns_conn outputheaders] Connection close > >>>> > >>>> > >>>> There is no parameter to disable it > >>> > >>> Then what's ns_conn keepalive about? > >>> > >>> > >>>> Bernd Eidenschink wrote: > >>>>> Hi, how to turn off keep-alive on the server? > >>>>> > >>>>> Should "ns_conn keepalive 0" work? > >>>>> (BTW my testserver shows internal server error when calling > >>>>> ns_conn keepalive "" ) > >>>>> > >>>>> Or is there a config option? > >>>>> > >>>>> Using Tomcat but need to do more? Need to support web services, security? > >>>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>>> _______________________________________________ > >>>>> naviserver-devel mailing list > >>>>> nav...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>>> > >>>> -- > >>>> Vlad Seryakov > >>>> 571 262-8608 office > >>>> vl...@cr... > >>>> http://www.crystalballinc.com/vlad/ > >>>> > >>>> > >>>> Using Tomcat but need to do more? Need to support web services, security? > >>>> Get stuff done quickly with pre-integrated technology to make your job easier > >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>>> _______________________________________________ > >>>> naviserver-devel mailing list > >>>> nav...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>>> > >>> Using Tomcat but need to do more? Need to support web services, security? > >>> Get stuff done quickly with pre-integrated technology to make your job easier > >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >>> _______________________________________________ > >>> naviserver-devel mailing list > >>> nav...@li... > >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >>> > >> -- > >> Vlad Seryakov > >> 571 262-8608 office > >> vl...@cr... > >> http://www.crystalballinc.com/vlad/ > >> > >> > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> naviserver-devel mailing list > >> nav...@li... > >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel > >> > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > naviserver-devel mailing list > > nav...@li... > > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > > > > -- > Vlad Seryakov > 571 262-8608 office > vl...@cr... > http://www.crystalballinc.com/vlad/ > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > |
From: Vlad S. <vl...@cr...> - 2006-07-06 19:13:40
|
ns_conn keepalive 1 forces keepalive, otherwise there are several factors that defined whether or not it will be used. ns_conn keepalive 0 clears that flag, so it works as normal. There is not third state to disable normal rules, may be it is time to introduce them. Stephen Deasey wrote: > On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >> Oops, i missed that, ns_conn keepalive 1 sets keepalive regardless of >> headers or methods, but does not disable it completely, if not set, >> normal rules apply > > > So if you do: > > ns_conn keepalive 0 > > It doesn't disable keepalive? Does this make sense? > > > >> Stephen Deasey wrote: >>> On 7/6/06, Vlad Seryakov <vl...@cr...> wrote: >>>> You may do >>>> ns_set update [ns_conn outputheaders] Connection close >>>> >>>> >>>> There is no parameter to disable it >>> >>> Then what's ns_conn keepalive about? >>> >>> >>>> Bernd Eidenschink wrote: >>>>> Hi, how to turn off keep-alive on the server? >>>>> >>>>> Should "ns_conn keepalive 0" work? >>>>> (BTW my testserver shows internal server error when calling >>>>> ns_conn keepalive "" ) >>>>> >>>>> Or is there a config option? >>>>> >>>>> Using Tomcat but need to do more? Need to support web services, security? >>>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> naviserver-devel mailing list >>>>> nav...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>>> >>>> -- >>>> Vlad Seryakov >>>> 571 262-8608 office >>>> vl...@cr... >>>> http://www.crystalballinc.com/vlad/ >>>> >>>> >>>> Using Tomcat but need to do more? Need to support web services, security? >>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> _______________________________________________ >>>> naviserver-devel mailing list >>>> nav...@li... >>>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> _______________________________________________ >>> naviserver-devel mailing list >>> nav...@li... >>> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >>> >> -- >> Vlad Seryakov >> 571 262-8608 office >> vl...@cr... >> http://www.crystalballinc.com/vlad/ >> >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> naviserver-devel mailing list >> nav...@li... >> https://lists.sourceforge.net/lists/listinfo/naviserver-devel >> > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |