Re: [AOLSERVER] is it necessary

2009-10-27 Thread Bernd Eidenschink
This why all of the Apache supported languages either require the pre-fork model where they keep one interpreter per process (like PHP) or party like it's 1993 in a FastCGI environment like Ruby (on Rails) does. Yuk. Don't name the FastCGI-party-people, they are mean! Albeit there

Re: [AOLSERVER] nsopenssl dropping connections

2006-07-24 Thread Bernd Eidenschink
Hi! AOLserver 3.5.6 limits the listen backlog to 32 new connections via the BACKLOG define in nsconf.h. If your server is getting new connections at a rate faster than AOLserver can accept them, and you reach the limit of 32 in the listen queue, connections will be dropped until the backlog

Re: [AOLSERVER] nsopenssl dropping connections

2006-07-24 Thread Bernd Eidenschink
Hi Scott, that's really very interesting! Be aware that using keepalive holds a connection open for longer periods of time; I haven't looked at the code to determine whether those connections take up a slot in the 'maxconnections' bucket, but I suspect that they do as AOLserver needs to

Re: [AOLSERVER] Aolserver and ttrace

2006-02-20 Thread Bernd Eidenschink
Hi Agnieszka, I used ttrace version 0.9 and followed the instructions. So I copied init.tcl from ttrace-0.9/aolserver directory to aolserver 4.x bin directory. did you configure make install to actually also install ttrace.tcl to where your TCL libs are located? -Bernd. -- AOLserver -

Re: [AOLSERVER] Aolserver and ttrace

2006-02-17 Thread Bernd Eidenschink
Ups... Hi Agnieszka, ... To: AOLSERVER@LISTSERV.AOL.COM Sorry for sending this over the list! It was not intended :( -Bernd. -- 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

Re: [AOLSERVER] adp files are not parsed

2005-06-24 Thread Bernd Eidenschink
Hi Razvan, does the default configuration work for you (instead of fancy)? Is the adp extension mapped for the server? (should be default) ns_section ns/server/${servername}/adp ns_param map /*.adp ;# Extensions to parse as ADP's. Regards, Bernd. -- AOLserver -

Re: [AOLSERVER] port 80 cannot listen on

2005-06-16 Thread Bernd Eidenschink
Hi, the command nsd -t nsd.tcl -b mydomain:80 -u www -g www from root and i instead of mydomain:80 try your-ip-address:80 Regards, Bernd. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the body of SIGNOFF AOLSERVER

Re: [AOLSERVER] ns_adp_compress usage - again

2005-02-28 Thread Bernd Eidenschink
Apache docs on it's approach to compression at http://httpd.apache.org/docs-2.0/mod/mod_deflate.html seem to say they do additional vetting of browsers before deciding to send something compressed. hm, the rl_returnz module for AOLserver checks against IE5.5 and adds about 2000 extra

Re: [AOLSERVER] Filename Problem, AS 4.0.9.

2005-02-21 Thread Bernd Eidenschink
The installation crashed on one particular RPM, libstdc++-3.4.3-9.EL4.i386.rpm. If you wget http://www.lamarowen.net/files/unpacked/CentOS/RPMS/libstdc++-3.4.3-9.EL4.i 386.rpm you will see why; it returns the text 'File Not Found' as the actual file instead of the file (that is actually THERE

Re: [AOLSERVER] AOLserver facelift.

2005-02-08 Thread Bernd Eidenschink
Hi Dossy, I think the reason behind both issues is because the proposed contributions weren't that great. I'm sure this statement tweaks a lot of people, but I think it's the truth. I'm not the expert to verify that on the C level, but the situation was: There was a solution done by aD from

Re: [AOLSERVER] AOLserver facelift.

2005-02-08 Thread Bernd Eidenschink
This is my wish-list. Do whatever you consider appropriate. It is *far* from complete, but I guess I have to start with something. (I have no reason of hiding it, I'm not secret service): * A debug/development mode that reveals all running filters, triggered filters, better insight in

Re: [AOLSERVER] AOLserver facelift.

2005-02-07 Thread Bernd Eidenschink
On Monday 07 February 2005 16:51, Vlad Seryakov wrote: I just gave up participating in SF tracker thing. Sad. Well, this is what I said... People go away or do nothing... We need the vision statement. Exactly. As you wrote before: acceptance or rejection of future ideas. It was very very

Re: [AOLSERVER] AOLserver facelift.

2005-02-06 Thread Bernd Eidenschink
Hi Dossy, It didn't even get as far as doing a plain CVS import of AOLserver sources. Go look at the SourceForge project for yourself: http://sf.net/projects/opennsd What's changed in the last four years that suggests another fork attempt will be any different? This fork was no

[AOLSERVER] ns_returnfile

2004-12-06 Thread Bernd Eidenschink
Hi all, I'm using ns_returnfile to allow users downloads with filesizes of about 20 megabyte. Based on its return value 1 I nsv a successful download and block repeated attempts to download the same file. How reliable is ns_returnfile's information of a successful download? Can you think of

Re: [AOLSERVER] Error logs not rolling?

2004-09-15 Thread Bernd Eidenschink
Hi Janine, Actually I think this should do as the access log code does and roll the log like one would expect. But as long as it is the way it is, I guess my script is just fine. if you have logrotate on your machine, you might also give that a try. I place a file with content like this in

Re: [AOLSERVER] Fix to (known) nsopenssl issue

2004-09-03 Thread Bernd Eidenschink
Hi, just FYI: It goes on forever! http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29964 Not the same, but similar... :-) cu BE -- 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

Re: [AOLSERVER] nsopenssl debugging

2004-08-24 Thread Bernd Eidenschink
Hi, My symptoms are on something like Aolserver 4.01 + nsopenssl 3 beta 17 or so. I only have about 15 users on my production box, and about once a day, the connections get gradually taken up, and the load gradually rises, until it's unreachable. I see this with a AOLserver 4.0.5, nsopenssl

Re: [AOLSERVER] Support for non-HTTP protocols

2004-08-18 Thread Bernd Eidenschink
a. YES, I like AS to be more powerful multiprotocol server instead of being a powerful http-server only. And, I like proposal X better than Y because of Z. I vote for (a). I read both discussions from the sourceforge-links you provided and I see no jealousness or vanity between

Re: [AOLSERVER] file upload corrupts jpg images

2004-08-09 Thread Bernd Eidenschink
I am running RH 9.0 on a linux box. I do not know if the file is corrupted before or after it is moved from the temporary location. My understanding is that the temporary file is deleted when the process stops. I am not sure how I would find out. You might try to run a checksum tool over the

Re: [AOLSERVER] file upload corrupts jpg images

2004-08-09 Thread Bernd Eidenschink
The convert command works fine on the Aolserver 3.4.2 server. I have two servers running: one is aolserver 3.4.2; the other is aolserver 3.5.0. just a try: please go into the modules/tcl directory of each of your installations and do a grep translation *.tcl if one of them lacks

Re: [AOLSERVER] ANN: New project leader for AOLserver

2004-05-22 Thread Bernd Eidenschink
Hi Talli, bah. i'm sick of the we need php/python/brainfuck in AOLserver to be successful and gain mindshare. hm. it was a discussion about strategy (the focus). Of course it's easier to abort that discussion and directly start with graphic design and IA. And when it comes to the marketing

Re: [AOLSERVER] ANN: New project leader for AOLserver

2004-05-21 Thread Bernd Eidenschink
- It's not L.A.M.P. People are sceptical to changes of the way of doing things and often act like sheep. and Clearly AOLservers biggest competitor is PHP. Were the current website falls short is to explain why people need to choose AOLserver over Apache/PHP. I.e.: PHP works with

Re: [AOLSERVER] ANN: New project leader for AOLserver

2004-05-21 Thread Bernd Eidenschink
Hi Daniel, Bas, I agree with most of your arguments. But I don't think we should think of AOLServer as a pathetic wannabe should it allow to combine it with PERL, PHP, HypeXY: If you don't need it, don't use it. People will notice that use of TCL is superior for many things but they are not bound

Re: [AOLSERVER] ANN: New project leader for AOLserver

2004-05-21 Thread Bernd Eidenschink
Ok, fine with me! But, if you want to tell this to your potential users, you must also give them a reason to switch. If the reason to switch is not to use TCL and use the AOLserver API, what is it? Users won't switch because they can leverage the vast knowledge they already have, for the

[AOLSERVER] Install Script ('nsd-installer')

2004-05-19 Thread Bernd Eidenschink
Hi, I wrote a small bash install script for a chrooted AOLserver 4 to automate this task. You can fetch it here: http://www.kinetiqa.de/aolserver/ Right now it is some kind of blueprint, but it works and allows others to extend it. Bernd. -- AOLserver - http://www.aolserver.com/ To Remove

Re: [AOLSERVER] nsdb module

2004-05-05 Thread Bernd Eidenschink
It might help to post your entire config .tcl and more of the server log at startup. no, the line for the driver was there, it was another mistake on my side. I was blind, so blind. Sorry. It works now... Don't keep us in suspense! What was it? :-) It's always good to know what

[AOLSERVER] nsdb module

2004-05-04 Thread Bernd Eidenschink
Hi, it must be something simple, but I don't see it: I placed the nsdb module under the modules-section of the config file, like: ns_section ns/server/${servername}/modules ns_param nssock ${bindir}/nssock.so ns_param nslog ${bindir}/nslog.so ns_param nsdb ${bindir}/nsdb.so When

Re: [AOLSERVER] nsdb module

2004-05-04 Thread Bernd Eidenschink
Where's the line that looks like: ns_param postgres ${bindir}/postgres.so ??? It might help to post your entire config .tcl and more of the server log at startup. no, the line for the driver was there, it was another mistake on my side. I was blind, so blind. Sorry. It works now...

Re: [AOLSERVER] not recognizing extensions aolserver-4.01

2004-03-16 Thread Bernd Eidenschink
Hi, So no page shows for http://server/index While there is an http://server/index.html should it serve the 'index.html'-file here? '//server/index' could also be a directory, a 404 will be served if neither a directory 'index' nor a file 'index' exists. and '//server/' simply returns

Re: [AOLSERVER] not recognizing extensions aolserver-4.01

2004-03-16 Thread Bernd Eidenschink
I meant the return of index.html when I request http://server/index It does not return the index.html (which exists) and returns The requested URL was not found on this server. Yes, i meant the same: it's correct that it does not show up, as 'index' alone is a) no directory (where

[AOLSERVER] FYI: AOLserver meeting in Regensburg/Germany

2004-03-12 Thread Bernd Eidenschink
Hi, I just want to announce The Regensburg AOLserver meeting (this is our working title so far...) on Thursday, the 8th of April. A few people will come together and talk about the way they use AOLserver - for projects, for business, for fun. This is a chance to discuss, learn and get to know

Re: [AOLSERVER] Threads and lifetime

2004-02-19 Thread Bernd Eidenschink
Hi Elizabeth, thanks for your reply. What I don't know right now is how to interpret (1) against (2) (see below). (1) started Feb05 and the TIME column reports 00:00:00, whereas (2) started Feb15 and reports 00:38:00. Does this mean that (1) is a thread waiting for some ns_schedule_proc (e.g.)

[AOLSERVER] Threads and lifetime

2004-02-18 Thread Bernd Eidenschink
Hi, below is what I get on one of my servers, running ps (I shortened COMMAND to make it readable). This is from AOLserver series 3. I don't know exactly how to interpret TIME, especially when looking at START. Sure, after a (configurable) while (or when using ns_eval), one or more threads are

Re: [AOLSERVER] ns_db gethandle -timeout -- anyone notice this is kinda busted?

2004-02-11 Thread Bernd Eidenschink
Hi Dossy, we are specifying it within our db api for every call (-timout 20) and never use or used -1. So we won't be affected by your change (which makes sense to me, nevertheless). Regards, Bernd. -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an

[AOLSERVER] It's not AOLserver :-)

2004-02-02 Thread Bernd Eidenschink
Hi, just a quick note on an oddity that can make you sweat and waste time: On different sites running AOLserver we had the problem that many users experienced missing images (jpegs) and after a while the browsers stalled - even more -- the operating system refused to work properly. (The

Re: [AOLSERVER] aolserver 3.4.2 configuration questions

2004-01-21 Thread Bernd Eidenschink
Hi Dino, It is very strange but I don't see no 'Notice: tcl: enabling .tcl pages'... And it also seems that my enabbletcl true statement in my config file has no influence!! I can change that string to everything I want..the server just starts and doesn't complain about even wrong things I

Re: [AOLSERVER] aolserver 3.4.2 configuration questions

2004-01-21 Thread Bernd Eidenschink
Hi, I also have a question regarding database access with the postgres driver. I have installed postgres 7.3.4 and it works fine. However, I wasn't able to find no postgres.so file in any directory on my system. I thought aolserver would install it somewhere and I could use that location to

Re: [AOLSERVER] nsd and memory leaks

2004-01-10 Thread Bernd Eidenschink
On 2004.01.09, Andrew Piskorski [EMAIL PROTECTED] wrote: On Fri, Jan 09, 2004 at 12:31:39PM -0800, Jim Wilcoxson wrote: fragmentation problems - not necessarily leaks. Just restart your server once a day/week. Which is still quite frequently, and thus very conservative. From

Re: [AOLSERVER] Generating Dynamic PDF's from AOLs

2003-12-09 Thread Bernd Eidenschink
I want to create a PDF version of a database report for downloading. Does anyone know of a way to dynamically generate PDF's within AOLserver? Hi Steve, I use htmldoc (http://www.easysw.com/htmldoc) which should be sufficient for most purposes. You are able to specify page sizes (or use

[AOLSERVER] access logs

2003-04-04 Thread Bernd Eidenschink
Hi, I just tried analog, the log analyzer tool, on a dozen of access.log's my webserver produced and it spit out various lines it refused to analyze. The first problem was that the german locale was used to produce the month part of the date, so March became Mär instead of Mar. I solved this

[AOLSERVER] Size of AOLserver process

2003-01-28 Thread Bernd Eidenschink
Hi there, with all that great ways of caching data - nscache, nsv... - in AOLserver and a strategy of caching as much data as possible, at what point would you say the size of the processes becomes a problem for the application running AOLserver? I don't think of physical RAM and swap, I think of

Re: [AOLSERVER] gzip compression

2003-01-09 Thread Bernd Eidenschink
Hi Gabriel, I played around with the rlreturnz stuff and it's nice and it works, but my main problem with gzip encoded content is that the browser waits until it's downloaded the entire file before it decompresses the data and begins rendering the page. A side-effect is that it makes pages

Re: [AOLSERVER] How to remove unsafe commands?

2002-11-29 Thread Bernd Eidenschink
Thanks for your answers, Jeff and Dossy. Just do 'rename unsafeCmd {}'. There is no need to do it at the C level. Yes, I already rename some commands to / {} nirvana :-) Thinking about it I think it is reasonably secure, the only command that I don't know how to deal with so far is info, as

Re: [AOLSERVER] How to remove unsafe commands?

2002-11-29 Thread Bernd Eidenschink
#catch { set fh [open init_interp_code.tcl w] ; puts $fh $init ; close $fh } in namespace.tcl, proc _ns_getinit. Somebody ever tried this? What do you mean? What exactly are you trying to achieve? Well, the line above, if uncommented, creates a (big) file which holds all procs

[AOLSERVER] sha1 // ns_sha1

2002-10-28 Thread Bernd Eidenschink
Hi, I wonder why ::sha1::sha1 hashing is fun (http://expect.nist.gov/sha1pure/ from Don Libes, and standard tcl library) produces b9ff9778b351918b01deebd508cae98a558bfe01 whereas ns_sha1 hashing is fun produces (ns_sha1 from sourceforge) B9FF9778B351918B01DEEBD508CAE98A558BFE01 the hash in

Re: [AOLSERVER] ArsDigita 13 encoding patches for 3.4.2?

2002-10-18 Thread Bernd Eidenschink
Hi Eric, Eric, take a look at: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/aolserver/aolserver/nsd/encoding.c encoding.c is new in AOLserver 4.0. There seems to be no downloadable 4.0 (beta) version at the moment/anymore but you can browse the CVS repository. The patches from Rob Mayoff

[AOLSERVER] adp/mapping

2002-06-03 Thread Bernd Eidenschink
Hi, I started to register a filter and a proc that I want to be called for every request. But my ns_log's are never called if I request an adp file. Seems like the parser/map settings in the config resp. the adp mechanisms are stronger than ns_register_filter/proc. If I uncomment the adp

[AOLSERVER] nsv_incr can cause server restart (?)

2002-04-06 Thread Bernd Eidenschink
Hi, I use the nsv_incr command to count requests for different file types, including gif and jpg images. It worked well so far until I started to use big html pages with about 20-40 (small) images (helper gifs etc.) The browser rendered only about 5-10 images, sometimes the connection broke (I

Re: [AOLSERVER] Unicode, I18N, 3.4.2 / 4.0

2002-03-21 Thread Bernd Eidenschink
Hi, tells UTF-8 to use two bytes, which means you lose!). So for AOLserver 3.x the only real way to handle this kind of thing is to use nsd76. There is something in 3.4.2 called encodings in the configuration to force the nsd8x (Tcl 8.x) UTF-8 encoder to Do The Right Thing with the

[AOLSERVER] Unicode, I18N, 3.4.2 / 4.0

2002-02-28 Thread Bernd Eidenschink
Hi, I don't know how to set up a combination of the latest AOLserver, using the nsd8x Interpreter, and a Postgres 7.2 database, that allows me to safely work with a charset of iso8859-1. Please don't throw stones, I know this has been discussed very often ;-) How to do it? The problems I run

[AOLSERVER] Q concerning Encodings

2001-11-19 Thread Bernd Eidenschink
Hi, can someone please tell me if I'm right with the following assumptions: (Using AOLserver 3.4 from 2001-05-17 and nsd8x) a) Whenever using e.g. a regsub on a String that contains characters in iso-8859-1 format, the command treats it as Unicode and the characters are more or less lost. (ü