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

2008-03-04 Thread Gustaf Neumann

Dear Alex,

The good news is that it bloats only on one server,
so the problem must on that configuration.

There were a couple of memory leaks reported for postgres 7.4,
not sure if these hit you (google around):
http://www.postgresql.org/docs/7.4/static/release-6-5.html

do you have a chance to install on the affected machine
as well postgres 8.2 (maybe in addition to 7.4)?
it would be interesting to see, if you still see a bloat.

i found a small glitch in your crude script:
The last line of the xotcl install should read:

 execute make install-aol

instead of 


 execute make install

-gustaf neumann

Alex schrieb:

Tom, Gustaf, All

Yes, that happens even if the same page is requested.
Could you tell me more about pre-queue filters?

The interesting thing is that I only see this memory leak issue on one
of my servers.
All servers run x86 Debian, though might be slightly differently
dist-upgraded, Postgres version differs 7.4 vs 8.2
The website code itself, nsd config files are exactly the same on all servers.

Over the weekend I tried to rebuild tcl, tcllib, xotcl, aolserver.
The details how I did it can be found here
http://alex-andr.org/notes/tiki-index.php?page=AOLServer+setup+with+XOTcl
I used latest versions however, tcl 8.4.18, tcllib 1.10, xotcl 1.6.0

I even made a crude script that fetches the sources and builds a
stand-alone aolserver installation,
in order to make sure the build results are reproducible.
http://alex-andr.org/notes/tiki-index.php?page=nsd+setup+script

Still, even when all [hopefully] binaries are being copied to all
servers, only one of them
experience the same issue with huge memory leak on each page request.

Any insightful thoughts?

Thanks,
~ Alex.


On Fri, Feb 29, 2008 at 6:23 PM, Tom Jackson [EMAIL PROTECTED] wrote:
  

Actually 2MB / request sounds like a massive memory leak. Maybe something
 isn't getting cleaned up?

 Question: does this happen if you request the same page over and over?

 I discovered one way to get a massive leak in 4.5: register a prequeue filter.

 Note that both XoTCL and tcllib are compiled third party modules, which is
 usually where you get memory leaks, not in the modules which have been used
 with AOLserver for years. My guess would be tcllib, or just failing to
 release something big.

 tom jackson


 On Friday 29 February 2008 11:47, Alex wrote:
  What would be a normal size of 32 bit nsd process? How can it be reduced?
  One of my servers only has 1G or ram, and I am forced to restart nsd
  every so often, when it uses up almost all the memory.
  Running 4.5 + XoTCL + tcllib, it seams to grow up to 2MB on each page
  request .




--
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.





--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.
  



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Install problem

2008-03-04 Thread Xavier Bourguignon
Hello Gustaf,

yes I compiled tcl8.4.18 myself with --enable-threads.

I will redo everything and see what happens, will keep you guys posted on this.

Thank you

On 04/03/2008, Gustaf Neumann [EMAIL PROTECTED] wrote:
 Dear Xavier,

  There is a known problem with Tcl_GetMemoryInfo()  in
  Tcl 8.5 (see e.g.
  http://aspn.activestate.com/ASPN/Mail/Message/tcl-core/3610677
  or
  
 http://sourceforge.net/tracker/index.php?func=detailaid=1868171group_id=10894atid=110894).

  however, since you are using tcl 8.5, this seems wierd. Did you
  compile Tcl yourself? Did you compile with --enable-threads?

  best regards
  -gustaf neumann

  Xavier Bourguignon schrieb:

  I ran make clean, then make all and I got this on make all:
  
  
   gcc -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -O2
   -fno-strict-aliasing -pipe -nostartfiles
   -I/home/xbourgui/Desktop/aolserver-4.5.0/include
   -I/home/xbourgui/programs/tcl8.4//include  -DNO_CONST
   -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
   -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
   -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
   -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
   -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
   -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1
   -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1
   -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
   -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1
   -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1
   -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1
   -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1
   -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
   -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1
   -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
   -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1
   -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1  -DPACKAGE_NAME=\\
   -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\
   -DPACKAGE_BUGREPORT=\\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
   -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
   -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
   -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1
   -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1
   -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1-c -o nsthreadtest.o
   nsthreadtest.c
   nsthreadtest.c: In function 'DumperThread':
   nsthreadtest.c:336: warning: implicit declaration of function
   'Tcl_GetMemoryInfo'
   nsthreadtest.c: At top level:
   nsthreadtest.c:51: warning: 'RCSID' defined but not used
   /home/xbourgui/programs/tcl8.4/bin/tclsh8.4
   /home/xbourgui/Desktop/aolserver-4.5.0/util/nsremove.tcl nsthreadtest
   gcc  -o nsthreadtest nsthreadtest.o \
   -L. -lnsthread -L/home/xbourgui/programs/tcl8.4//lib
   -ltcl8.4 -ldl  -lpthread -lieee -lm  -lgcc_s   -Wl,--export-dynamic
   -Wl,-rpath,/home/xbourgui/programs/tcl8.4/lib -Wl,-rpath,/lib
   nsthreadtest.o: In function `DumperThread':
   nsthreadtest.c:(.text+0x2a8): undefined reference to `Tcl_GetMemoryInfo'
   collect2: ld returned 1 exit status
   make[1]: *** [nsthreadtest] Error 1
   make[1]: Leaving directory 
 `/home/xbourgui/Desktop/aolserver-4.5.0/nsthread'
   make: *** [build] Error 1
  
  
   So I don't know what is going on, but it seems that something is wrong
   with one of the files.
  
  



 --
  AOLserver - http://www.aolserver.com/

  To Remove yourself from this list, simply send an email to [EMAIL 
 PROTECTED] with the
  body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
 field of your email blank.



-- 
Xavier Bourguignon


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Install problem

2008-03-04 Thread Gustaf Neumann

Xavier Bourguignon schrieb:

Hello Gustaf,

yes I compiled tcl8.4.18 myself with --enable-threads.

I will redo everything and see what happens, will keep you guys posted on this.
  


what do you get when doing a

nm /home/xbourgui/programs/tcl8.4//lib/libtcl8.4.so | fgrep Tcl_GetMemory

?
You should see something like
0a064e91 T Tcl_GetMemoryInfo

The problem occurs in your listing with nstrheadtest, which is just
a testing routine, not needed for using aolserver. If only this
linkage fails, it would be no problem. But, if Tcl_GetMemoryInfo()
is not defined in libtcl8.4, you will have as well problems with linking
nsd, which would be serious.

-gustaf neumann

Thank you

On 04/03/2008, Gustaf Neumann [EMAIL PROTECTED] wrote:
  

Dear Xavier,

 There is a known problem with Tcl_GetMemoryInfo()  in
 Tcl 8.5 (see e.g.
 http://aspn.activestate.com/ASPN/Mail/Message/tcl-core/3610677
 or
 
http://sourceforge.net/tracker/index.php?func=detailaid=1868171group_id=10894atid=110894).

 however, since you are using tcl 8.5, this seems wierd. Did you
 compile Tcl yourself? Did you compile with --enable-threads?

 best regards
 -gustaf neumann

 Xavier Bourguignon schrieb:



I ran make clean, then make all and I got this on make all:
  

 
 
  gcc -O2 -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -O2
  -fno-strict-aliasing -pipe -nostartfiles
  -I/home/xbourgui/Desktop/aolserver-4.5.0/include
  -I/home/xbourgui/programs/tcl8.4//include  -DNO_CONST
  -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
  -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
  -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1
  -DTCL_THREADS=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1
  -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1
  -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1
  -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1
  -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1
  -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1
  -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1
  -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1
  -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1
  -DHAVE_GETHOSTBYADDR_R=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1
  -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1
  -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
  -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1
  -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1  -DPACKAGE_NAME=\\
  -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\
  -DPACKAGE_BUGREPORT=\\ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
  -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
  -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
  -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1
  -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1
  -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1-c -o nsthreadtest.o
  nsthreadtest.c
  nsthreadtest.c: In function 'DumperThread':
  nsthreadtest.c:336: warning: implicit declaration of function
  'Tcl_GetMemoryInfo'
  nsthreadtest.c: At top level:
  nsthreadtest.c:51: warning: 'RCSID' defined but not used
  /home/xbourgui/programs/tcl8.4/bin/tclsh8.4
  /home/xbourgui/Desktop/aolserver-4.5.0/util/nsremove.tcl nsthreadtest
  gcc  -o nsthreadtest nsthreadtest.o \
  -L. -lnsthread -L/home/xbourgui/programs/tcl8.4//lib
  -ltcl8.4 -ldl  -lpthread -lieee -lm  -lgcc_s   -Wl,--export-dynamic
  -Wl,-rpath,/home/xbourgui/programs/tcl8.4/lib -Wl,-rpath,/lib
  nsthreadtest.o: In function `DumperThread':
  nsthreadtest.c:(.text+0x2a8): undefined reference to `Tcl_GetMemoryInfo'
  collect2: ld returned 1 exit status
  make[1]: *** [nsthreadtest] Error 1
  make[1]: Leaving directory `/home/xbourgui/Desktop/aolserver-4.5.0/nsthread'
  make: *** [build] Error 1
 
 
  So I don't know what is going on, but it seems that something is wrong
  with one of the files.
 
 



--
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
 body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.





  



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] compiling nsoracle on windows

2008-03-04 Thread Fenton, Brian
Hello Saurabh

Have you seen the version here? It already include nsoracle
http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/


hope this helps
Brian


-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of Saurabh 
Sisodia
Sent: 03 March 2008 17:10
To: AOLSERVER@listserv.aol.com
Subject: [AOLSERVER] compiling nsoracle on windows

Hi All,

I am facing a issue when compiling nsoracle module for aolserver on win32. I
am getting the following error when linking:

unresolved reference _imp_Ns_DbRegisterDriver
unresolved reference _imp_Ns_DbSetException

If someone else has faced similar issue and got it resolved please help me
out or else if u could guide me throught building of win32 nsoracle it would
be great.

Thanks and regards,
Saurabh


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] compiling nsoracle on windows

2008-03-04 Thread saurabh s sisodia
Hi Brian,

Thanks for the help, I think this should help though I need to check with the 
client if he is OK with this version. I have somehow got the nsoracle built (it 
needed nsdb.lib instead of some other library which was there). Though I think 
this version would be a much better thing to use.

Thanks and regards,
Saurabh

- Original Message 
From: Fenton, Brian [EMAIL PROTECTED]
To: AOLSERVER@LISTSERV.AOL.COM
Sent: Tuesday, 4 March, 2008 5:17:54 PM
Subject: Re: [AOLSERVER] compiling nsoracle on windows

Hello Saurabh

Have you seen the version here? It already include nsoracle
http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/


hope this helps
Brian


-Original Message-
From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of Saurabh 
Sisodia
Sent: 03 March 2008 17:10
To: AOLSERVER@listserv.aol.com
Subject: [AOLSERVER] compiling nsoracle on windows

Hi All,

I am facing a issue when compiling nsoracle module for aolserver on win32. I
am getting the following error when linking:

unresolved reference _imp_Ns_DbRegisterDriver
unresolved reference _imp_Ns_DbSetException

If someone else has faced similar issue and got it resolved please help me
out or else if u could guide me throught building of win32 nsoracle it would
be great.

Thanks and regards,
Saurabh


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.





  Chat on a cool, new interface. No download required. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


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

2008-03-04 Thread Alex
Hello Gustaf,

Thanks for the suggestions - I will try upgrading to Postgres 8.2.
As to the script, there was a problem with install-aol, and install
seem to work ok.
However I resolved that issue - will update the script.

Is there any good and clear documentation for the options available in
nsd.tcl configuration file?
In particular, new (v4.5) pool parameters (-maxthreads  -minthreads
-maxconns, etc.) are notoriously unclear.
I tried to play with them and found that  e.g. -maxconns parameter
hugely affects the size of the leak.
Would be great to read about all those parameters.

Thanks,
~ Alex.


On Tue, Mar 4, 2008 at 2:29 AM, Gustaf Neumann [EMAIL PROTECTED] wrote:
 Dear Alex,

  The good news is that it bloats only on one server,
  so the problem must on that configuration.

  There were a couple of memory leaks reported for postgres 7.4,
  not sure if these hit you (google around):
  http://www.postgresql.org/docs/7.4/static/release-6-5.html

  do you have a chance to install on the affected machine
  as well postgres 8.2 (maybe in addition to 7.4)?
  it would be interesting to see, if you still see a bloat.

  i found a small glitch in your crude script:
  The last line of the xotcl install should read:

   execute make install-aol

  instead of

   execute make install

  -gustaf neumann

  Alex schrieb:


  Tom, Gustaf, All
  
   Yes, that happens even if the same page is requested.
   Could you tell me more about pre-queue filters?
  
   The interesting thing is that I only see this memory leak issue on one
   of my servers.
   All servers run x86 Debian, though might be slightly differently
   dist-upgraded, Postgres version differs 7.4 vs 8.2
   The website code itself, nsd config files are exactly the same on all 
 servers.
  
   Over the weekend I tried to rebuild tcl, tcllib, xotcl, aolserver.
   The details how I did it can be found here
   http://alex-andr.org/notes/tiki-index.php?page=AOLServer+setup+with+XOTcl
   I used latest versions however, tcl 8.4.18, tcllib 1.10, xotcl 1.6.0
  
   I even made a crude script that fetches the sources and builds a
   stand-alone aolserver installation,
   in order to make sure the build results are reproducible.
   http://alex-andr.org/notes/tiki-index.php?page=nsd+setup+script
  
   Still, even when all [hopefully] binaries are being copied to all
   servers, only one of them
   experience the same issue with huge memory leak on each page request.
  
   Any insightful thoughts?
  
   Thanks,
   ~ Alex.
  
  
   On Fri, Feb 29, 2008 at 6:23 PM, Tom Jackson [EMAIL PROTECTED] wrote:
  
   Actually 2MB / request sounds like a massive memory leak. Maybe something
isn't getting cleaned up?
  
Question: does this happen if you request the same page over and over?
  
I discovered one way to get a massive leak in 4.5: register a prequeue 
 filter.
  
Note that both XoTCL and tcllib are compiled third party modules, which 
 is
usually where you get memory leaks, not in the modules which have been 
 used
with AOLserver for years. My guess would be tcllib, or just failing to
release something big.
  
tom jackson
  
  
On Friday 29 February 2008 11:47, Alex wrote:
 What would be a normal size of 32 bit nsd process? How can it be 
 reduced?
 One of my servers only has 1G or ram, and I am forced to restart nsd
 every so often, when it uses up almost all the memory.
 Running 4.5 + XoTCL + tcllib, it seams to grow up to 2MB on each page
 request .
  
  
  
  
   --
AOLserver - http://www.aolserver.com/
  
To Remove yourself from this list, simply send an email to [EMAIL 
 PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the 
 Subject: field of your email blank.
  
  
  
  
   --
   AOLserver - http://www.aolserver.com/
  
   To Remove yourself from this list, simply send an email to [EMAIL 
 PROTECTED] with the
   body of SIGNOFF AOLSERVER in the email message. You can leave the 
 Subject: field of your email blank.
  


  --
  AOLserver - http://www.aolserver.com/

  To Remove yourself from this list, simply send an email to [EMAIL 
 PROTECTED] with the
  body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
 field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


[AOLSERVER] GSoC

2008-03-04 Thread Matthew M. Burke
For those of you with project ideas, I think the best way forward is to 
include them with the GSoC application that the Tcl community is putting 
together.  The relevant page is http://wiki.tcl.tk/20832



Matt


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Install problem

2008-03-04 Thread Xavier Bourguignon
allright,

I have followed the directions on how to install aolserver from there:
http://alex-andr.org/notes/tiki-index.php?page=nsd+setup+script

I have run the script, and it seems that everything is ok now in terms
of make and make install.

Now I have another problem.

I start aolserver with this command:
./bin/nsd -ft base.tcl

I get the following output:
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 starting
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain: max
files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: encoding: loaded: utf-8
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped GET /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped HEAD /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped POST /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
mapped GET /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
mapped HEAD /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
mapped POST /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nssock.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nslog.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nslog: opened
'/home/xbourgui/aolserver/aolserver4.5/servers/server1/modules/nslog/access.log'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nscp.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp:
listening on 127.0.0.1:8001
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp: added user:
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: conf:
[ns/server/server1]enabletclpages = 0
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Error: tcl: source
/home/xbourgui/aolserver/aolserver4.5/modules/tcl/pools.tcl failed:
timeout cannot be less than 1
NONE
timeout cannot be less than 1
   while executing
ns_pools set default -minthreads $minthreads -maxthreads $maxthreads
-maxconns $maxconns -timeout $timeout
   (file /home/xbourgui/aolserver/aolserver4.5/modules/tcl/pools.tcl line 39)
   invoked from within
source $file
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 running
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: driver:
starting: nssock
[04/Mar/2008:18:26:09][25063.3075005328][-socks-] Notice: socks: starting
[04/Mar/2008:18:26:09][25063.3075169168][-sched-] Notice: sched: starting
[04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice: starting
[04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice:
nssock: listening on 127.0.1.1:8000

It seems that there is a problem with one of the tcl files. Anyway, I
go to http://localhost:8001, but nothing happens at all. As soon as I
Ctrl-C the aolserver I get this in my browser:
login: Password:
Just those words, no entry field of any kind.
I also get this in the shell when I ctrl-C the aolserv:

[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 stopping
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: driver:
stopping: nssock
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: sched: shutdown pending
[04/Mar/2008:18:31:41][25063.3074866064][-default:0-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3074726800][-default:1-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3074169744][-nssock:driver-] Notice: exiting
[04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
shutdown started
[04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
shutdown complete
[04/Mar/2008:18:31:41][25063.3074587536][-default:2-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: socks:
shutdown pending
[04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: nscp: shutdown
[04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: socks:
shutdown complete
[04/Mar/2008:18:31:41][25063.3074448272][-default:3-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3074309008][-default:4-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: driver: stopped: nssock
[04/Mar/2008:18:31:41][25063.3074169744][-shutdown-] Notice: nslog:
closing 
'/home/xbourgui/aolserver/aolserver4.5/servers/server1/modules/nslog/access.log'
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 exiting

So I have no 

Re: [AOLSERVER] Install problem

2008-03-04 Thread Dossy Shiobara
On 2008.03.04, Xavier Bourguignon [EMAIL PROTECTED] wrote:
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp:
 listening on 127.0.0.1:8001
 [04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice:
 nssock: listening on 127.0.1.1:8000
 
 It seems that there is a problem with one of the tcl files. Anyway, I
 go to http://localhost:8001, but nothing happens at all. As soon as I
 Ctrl-C the aolserver I get this in my browser:
 login: Password:


That's because you've configured nscp (the control port) to listen on
port 8001/tcp.  nssock (the HTTP listener) is apparently configured on
8000/tcp.  Try: http://localhost:8000/ instead.

-- Dossy

-- 
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Install problem

2008-03-04 Thread Michael Andrews
I think that file does not do good validation on the config settings  
before it uses them. I'll fix that. In the mean time, set the timeout  
param in the config to a number or remove it all together.


M

On Mar 4, 2008, at 2:08 PM, Xavier Bourguignon wrote:


allright,

I have followed the directions on how to install aolserver from there:
http://alex-andr.org/notes/tiki-index.php?page=nsd+setup+script

I have run the script, and it seems that everything is ok now in terms
of make and make install.

Now I have another problem.

I start aolserver with this command:
./bin/nsd -ft base.tcl

I get the following output:
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 starting
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain: max
files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: encoding:  
loaded: utf-8

[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped GET /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped HEAD /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped POST /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
mapped GET /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
mapped HEAD /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
mapped POST /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nssock.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nslog.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nslog: opened
'/home/xbourgui/aolserver/aolserver4.5/servers/server1/modules/nslog/ 
access.log'

[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nscp.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp:
listening on 127.0.0.1:8001
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp: added  
user:

[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: conf:
[ns/server/server1]enabletclpages = 0
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Error: tcl: source
/home/xbourgui/aolserver/aolserver4.5/modules/tcl/pools.tcl failed:
timeout cannot be less than 1
NONE
timeout cannot be less than 1
  while executing
ns_pools set default -minthreads $minthreads -maxthreads $maxthreads
-maxconns $maxconns -timeout $timeout
  (file /home/xbourgui/aolserver/aolserver4.5/modules/tcl/ 
pools.tcl line 39)

  invoked from within
source $file
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 running
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: driver:
starting: nssock
[04/Mar/2008:18:26:09][25063.3075005328][-socks-] Notice: socks:  
starting
[04/Mar/2008:18:26:09][25063.3075169168][-sched-] Notice: sched:  
starting
[04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice:  
starting

[04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice:
nssock: listening on 127.0.1.1:8000

It seems that there is a problem with one of the tcl files. Anyway, I
go to http://localhost:8001, but nothing happens at all. As soon as I
Ctrl-C the aolserver I get this in my browser:
login: Password:
Just those words, no entry field of any kind.
I also get this in the shell when I ctrl-C the aolserv:

[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 stopping
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: driver:
stopping: nssock
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: sched:  
shutdown pending

[04/Mar/2008:18:31:41][25063.3074866064][-default:0-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3074726800][-default:1-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3074169744][-nssock:driver-] Notice:  
exiting

[04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
shutdown started
[04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
shutdown complete
[04/Mar/2008:18:31:41][25063.3074587536][-default:2-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: socks:
shutdown pending
[04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: nscp:  
shutdown

[04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: socks:
shutdown complete
[04/Mar/2008:18:31:41][25063.3074448272][-default:3-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3074309008][-default:4-] Notice: exiting:
shutdown pending
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: 

Re: [AOLSERVER] Install problem

2008-03-04 Thread Tom Jackson
This is due to a change for the pools setup code. 

I think Gustaf made changes to the defaults in the C code. Probably the 
pools.tcl file needs to reflect the changes to the C code? I noticed the 
changes, but I don't use that version of the pools code. 

Looking at $home/modules/tcl/pools.tcl This line:

 set minthreads [ns_config $cfgsection minthreads 0]

Change the 0 to a 1.

($home is where your base.tcl file is located.

Let us know if that works.

tom jackson

On Tuesday 04 March 2008 11:08, Xavier Bourguignon wrote:
 allright,

 I have followed the directions on how to install aolserver from there:
 http://alex-andr.org/notes/tiki-index.php?page=nsd+setup+script

 I have run the script, and it seems that everything is ok now in terms
 of make and make install.

 Now I have another problem.

 I start aolserver with this command:
 ./bin/nsd -ft base.tcl

 I get the following output:
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
 AOLserver/4.5.0 starting
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
 security info: uid=1000, euid=1000, gid=1000, egid=1000
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain: max
 files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: encoding: loaded:
 utf-8 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
 fastpath[server1]: mapped GET /
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
 fastpath[server1]: mapped HEAD /
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
 fastpath[server1]: mapped POST /
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
 mapped GET /*.adp
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
 mapped HEAD /*.adp
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: adp[server1]:
 mapped POST /*.adp
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
 loading '/home/xbourgui/aolserver/aolserver4.5/bin/nssock.so'
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
 loading '/home/xbourgui/aolserver/aolserver4.5/bin/nslog.so'
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nslog: opened
 '/home/xbourgui/aolserver/aolserver4.5/servers/server1/modules/nslog/access
.log' [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
 loading '/home/xbourgui/aolserver/aolserver4.5/bin/nscp.so'
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp:
 listening on 127.0.0.1:8001
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp: added user:
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: conf:
 [ns/server/server1]enabletclpages = 0
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Error: tcl: source
 /home/xbourgui/aolserver/aolserver4.5/modules/tcl/pools.tcl failed:
 timeout cannot be less than 1
 NONE
 timeout cannot be less than 1
while executing
 ns_pools set default -minthreads $minthreads -maxthreads $maxthreads
 -maxconns $maxconns -timeout $timeout
(file /home/xbourgui/aolserver/aolserver4.5/modules/tcl/pools.tcl line
 39) invoked from within
 source $file
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
 AOLserver/4.5.0 running
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
 security info: uid=1000, euid=1000, gid=1000, egid=1000
 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: driver:
 starting: nssock
 [04/Mar/2008:18:26:09][25063.3075005328][-socks-] Notice: socks: starting
 [04/Mar/2008:18:26:09][25063.3075169168][-sched-] Notice: sched: starting
 [04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice: starting
 [04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice:
 nssock: listening on 127.0.1.1:8000

 It seems that there is a problem with one of the tcl files. Anyway, I
 go to http://localhost:8001, but nothing happens at all. As soon as I
 Ctrl-C the aolserver I get this in my browser:
 login: Password:
 Just those words, no entry field of any kind.
 I also get this in the shell when I ctrl-C the aolserv:

 [04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: nsmain:
 AOLserver/4.5.0 stopping
 [04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: driver:
 stopping: nssock
 [04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: sched: shutdown
 pending [04/Mar/2008:18:31:41][25063.3074866064][-default:0-] Notice:
 exiting: shutdown pending
 [04/Mar/2008:18:31:41][25063.3074726800][-default:1-] Notice: exiting:
 shutdown pending
 [04/Mar/2008:18:31:41][25063.3074169744][-nssock:driver-] Notice: exiting
 [04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
 shutdown started
 [04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
 shutdown complete
 [04/Mar/2008:18:31:41][25063.3074587536][-default:2-] Notice: exiting:
 shutdown pending
 [04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: socks:
 shutdown pending
 [04/Mar/2008:18:31:41][25063.3075005328][-socks-] Notice: 

Re: [AOLSERVER] Install problem

2008-03-04 Thread Gustaf Neumann

Tom Jackson schrieb:

Gustaf, is the intent just to flag potentially dangerous values?
  

yes


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Install problem

2008-03-04 Thread Michael Andrews
OK - I'll take a look tonight. I think that a 0 as the threadtimeout  
value use to mean no timeout. I guess I'll need to look at the C to  
see what the changes were.


Is this file even needed anymore?


On Mar 4, 2008, at 2:37 PM, Tom Jackson wrote:


This is due to a change for the pools setup code.

I think Gustaf made changes to the defaults in the C code. Probably  
the
pools.tcl file needs to reflect the changes to the C code? I noticed  
the

changes, but I don't use that version of the pools code.

Looking at $home/modules/tcl/pools.tcl This line:

set minthreads [ns_config $cfgsection minthreads 0]

Change the 0 to a 1.

($home is where your base.tcl file is located.

Let us know if that works.

tom jackson

On Tuesday 04 March 2008 11:08, Xavier Bourguignon wrote:

allright,

I have followed the directions on how to install aolserver from  
there:

http://alex-andr.org/notes/tiki-index.php?page=nsd+setup+script

I have run the script, and it seems that everything is ok now in  
terms

of make and make install.

Now I have another problem.

I start aolserver with this command:
./bin/nsd -ft base.tcl

I get the following output:
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 starting
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain: max
files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = 1024
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: encoding:  
loaded:

utf-8 [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped GET /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped HEAD /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:
fastpath[server1]: mapped POST /
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:  
adp[server1]:

mapped GET /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:  
adp[server1]:

mapped HEAD /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:  
adp[server1]:

mapped POST /*.adp
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nssock.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: modload:
loading '/home/xbourgui/aolserver/aolserver4.5/bin/nslog.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nslog:  
opened
'/home/xbourgui/aolserver/aolserver4.5/servers/server1/modules/ 
nslog/access
.log' [04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice:  
modload:

loading '/home/xbourgui/aolserver/aolserver4.5/bin/nscp.so'
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp:
listening on 127.0.0.1:8001
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nscp:  
added user:

[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: conf:
[ns/server/server1]enabletclpages = 0
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Error: tcl: source
/home/xbourgui/aolserver/aolserver4.5/modules/tcl/pools.tcl failed:
timeout cannot be less than 1
NONE
timeout cannot be less than 1
  while executing
ns_pools set default -minthreads $minthreads -maxthreads $maxthreads
-maxconns $maxconns -timeout $timeout
  (file /home/xbourgui/aolserver/aolserver4.5/modules/tcl/ 
pools.tcl line

39) invoked from within
source $file
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 running
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: nsmain:
security info: uid=1000, euid=1000, gid=1000, egid=1000
[04/Mar/2008:18:26:09][25063.3083937456][-main-] Notice: driver:
starting: nssock
[04/Mar/2008:18:26:09][25063.3075005328][-socks-] Notice: socks:  
starting
[04/Mar/2008:18:26:09][25063.3075169168][-sched-] Notice: sched:  
starting
[04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice:  
starting

[04/Mar/2008:18:26:09][25063.3074169744][-nssock:driver-] Notice:
nssock: listening on 127.0.1.1:8000

It seems that there is a problem with one of the tcl files. Anyway, I
go to http://localhost:8001, but nothing happens at all. As soon as I
Ctrl-C the aolserver I get this in my browser:
login: Password:
Just those words, no entry field of any kind.
I also get this in the shell when I ctrl-C the aolserv:

[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: nsmain:
AOLserver/4.5.0 stopping
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: driver:
stopping: nssock
[04/Mar/2008:18:31:41][25063.3083937456][-main-] Notice: sched:  
shutdown

pending [04/Mar/2008:18:31:41][25063.3074866064][-default:0-] Notice:
exiting: shutdown pending
[04/Mar/2008:18:31:41][25063.3074726800][-default:1-] Notice:  
exiting:

shutdown pending
[04/Mar/2008:18:31:41][25063.3074169744][-nssock:driver-] Notice:  
exiting

[04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
shutdown started
[04/Mar/2008:18:31:41][25063.3075169168][-sched-] Notice: sched:
shutdown complete

Re: [AOLSERVER] Install problem

2008-03-04 Thread Dossy Shiobara
On 2008.03.04, Michael Andrews [EMAIL PROTECTED] wrote:
 OK - I'll take a look tonight. I think that a 0 as the threadtimeout  
 value use to mean no timeout. I guess I'll need to look at the C to  
 see what the changes were.

 Is this file even needed anymore?

IMHO, the semantics around timeouts should ALWAYS be:

  = -1 == infinite
  0 == immediate
  =  1 == n units

-- Dossy

-- 
Dossy Shiobara  | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Install problem

2008-03-04 Thread Tom Jackson
On Tuesday 04 March 2008 13:15, Michael Andrews wrote:
 OK - I'll take a look tonight. I think that a 0 as the threadtimeout
 value use to mean no timeout. I guess I'll need to look at the C to
 see what the changes were.


I think that a zero did mean no timeout, did that change too? 

 Is this file even needed anymore?

Yes it is needed because otherwise there is only one threadpool for all 
virtual servers. 

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Install problem

2008-03-04 Thread Michael Andrews
I think there is only one default pool - that all servers use.   
The pools.tcl code simply sets the default pool's values to what was  
in the config. I know the config params are in a server-specific  
section, and maybe that should be changed, or a default pool per  
server should be created by pools.tcl each pool's values set form the  
config.


I remember us having this conversation last summer. Just not sure what  
was done. Did you write a new pools.tcl that does the latter?


Maybe that should be checked in.

M

On Mar 4, 2008, at 4:42 PM, Tom Jackson wrote:


On Tuesday 04 March 2008 13:15, Michael Andrews wrote:

OK - I'll take a look tonight. I think that a 0 as the threadtimeout
value use to mean no timeout. I guess I'll need to look at the C to
see what the changes were.



I think that a zero did mean no timeout, did that change too?


Is this file even needed anymore?


Yes it is needed because otherwise there is only one threadpool for  
all

virtual servers.

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
 with the
body of SIGNOFF AOLSERVER in the email message. You can leave the  
Subject: field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] 
with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.