Dear all,

First I'd like to  thank all devs for your great work in naviserver.

I had been using aolserver 4.5 for one legacy project for a very long
time. A couple of years ago I replaced it for naviserver and has been
very happy for the great improvement in stability and
performance since then. Last version that is working for me is 4.19

I built the current released version and am stuck with a problem that
happens when openning the first connection. The server initializes
all right but on first connection it crashes.

The last lines of the logs are (last three are triggered with first
connection):

[27/Apr/2021:00:29:28][22153.7f3b49ffb700][-
conn:myserver:default:8:0-] Notice: update interpreter myserver to
epoch 1, trace none, time 0.055877 secs concurrent 2
[27/Apr/2021:00:29:28][22153.7f3b4affd700][-
conn:myserver:default:7:0-] Notice: update interpreter myserver to
epoch 1, trace none, time 0.056772 secs concurrent 2
[27/Apr/2021:00:29:28][22153.7f3b49ffb700][-
conn:myserver:default:8:0-] Notice: thread initialized (0.094352
secs)
[27/Apr/2021:00:29:28][22153.7f3b4affd700][-
conn:myserver:default:7:0-] Notice: thread initialized (0.094376
secs)
[27/Apr/2021:00:29:37][22153.7f3b497fa700][-driver:nssock:0-] Debug:
nssock(5): option TCP_NODELAY activated
[27/Apr/2021:00:29:37][22153.7f3b497fa700][-driver:nssock:0-] Debug:
=== length < avail (length 0, avail 0) tfd 0 tfile (nil)
chunkStartOff
0                                                                    
                                                              
[27/Apr/2021:00:29:37][22153.7f3b49ffb700][-
conn:myserver:default:8:0-] Fatal: nsthreads:
pthread_rwlock_tryrdlock failed in Ns_RWLockRdLock: Resource
temporarily unavailable   
  
AFAIK 4.19 was the last version without the new pthreads code so it
may be related.

Wierdly enough nsthreadtest program seems to work all right.

I've built it under debian stable with a backported tcl 8.6.11.

¿Can it be a configuration problem? ¿Any tips on how to debug this?

Any help is very much appreciated.

Best regards.
Óscar
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to