I am getting strange crashes on server startup
(gdb) bt
#0 0xe410 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 0x51b4 in ?? ()
#5 0xb7d0e844 in ??
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?
(BT
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 wha
On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> 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 conseque
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 <[EMAIL PROTECTED]> wrote:
You never know when this may come in handy :-))
It'll be handy code indeed if and
On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
>> I remember i added it when was
You never know when this may come in handy :-))
Stephen Deasey wrote:
On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> 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.
On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> 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 the
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 keepaliv
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 <[EMAIL PROTECTED]> wrote:
ns_conn keepalive 1 force
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
On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> 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
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
Stephen Deasey wrote:
On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
You may do
ns_set update [ns_conn outputheaders] Connection cl
On 7/6/06, Vlad Seryakov <[EMAIL PROTECTED]> 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 keepa
Don't forget to update the tests.
On 7/3/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
In the CVS version that has been fixed
oss2:nscp 1> ns_db lalala
bad option "lalala": must be pools, bouncepool, gethandle, exception,
poolname, password, user, datasource, disconnect, dbtype, driver,
cancel,
Your build envornment is messed up -- you're compiling against some
old headers or something.
On 7/4/06, Zoran Vasiljevic <[EMAIL PROTECTED]> wrote:
Hi !
Just checked in my new code for adding
user callbacks to ns_log and found out
that the new cache code does not compile :-(
Anybody knows why
You may do
ns_set update [ns_conn outputheaders] Connection close
There is no parameter to disable it
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 "" )
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?
18 matches
Mail list logo