Re: [AOLSERVER] recent updates

2011-10-19 Thread Andrew Piskorski
anged is irrelevant. -- Andrew Piskorski http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] Aolserver Progress - Some few examples....

2011-08-05 Thread Andrew Piskorski
t on Win64. So all these versions of AOLserver have been working ok on 32 bit Windows, but were presumably broken on 64 bit Windows all along. -- Andrew Piskorski http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to w

Re: [AOLSERVER] hacking around

2011-06-06 Thread Andrew Piskorski
; what's one good way to make it do what I want for OpenACS?" Nothing wrong with that at all, but it has different implications than, "I use this AOLserver tool in a lot of different environments, what seems to be the best way I can have it support what one of those environments, OpenACS, need

Re: [AOLSERVER] hacking around

2011-06-06 Thread Andrew Piskorski
he original developer simply did the obvious straightforward thing that would work for OpenACS. Works fine, but as others have commented here over the years, probably wasn't the optimal way to use the AOLserver tools. -- Andrew Piskorski http://www.piskorski.com/ -- AOLserver - http://www

Re: [AOLSERVER] Oracle driver update and SF question

2010-09-03 Thread Andrew Piskorski
, so I assume github offers this.) -- Andrew Piskorski http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] Handling threads the right way

2010-06-30 Thread Andrew Piskorski
On Wed, Jun 30, 2010 at 05:21:40PM -0400, Andrew Piskorski wrote: > If you manage to find a list somewhere of what MS Windows library > calls are or are not thread-safe, then you could use various tools to > find ALL the calls in your AOLserver binaries, and compare the two > lis

Re: [AOLSERVER] Handling threads the right way

2010-06-30 Thread Andrew Piskorski
e config file has no connection whatsoever to the > threads of aolserver and that it only pertains to the connection > threads, or am I confusing this even further? Your "the threads of aolserver" terminology above is certainly confused. A "connection thread" is one of the

Re: [AOLSERVER] Handling threads the right way

2010-06-30 Thread Andrew Piskorski
called. That way, your code may well still crash, but it will only take down the helper process rather than your entire AOLserver. -- Andrew Piskorski http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.

Re: [AOLSERVER] Handling threads the right way

2010-06-29 Thread Andrew Piskorski
awning threads with > aolserver, but ideally, I'd like to avoid the taboos on them, so any > idea about this is well-appreciated. Huh? What are you trying to ask here, and why? Spawning a new thread in AOLserver is easy, and I've never heard of "taboos" related to them. -

Re: [AOLSERVER] is it necessary

2009-11-02 Thread Andrew Piskorski
platform for a custom network-aware application, not a web server at all. If I had to, I could probably code my own minimal replacements for the AOLserver services I actually used in tclsh, particularly since Zoran's Tcl Thread Extension already ported (and then improved) the nsv_* APIs, etc

[AOLSERVER] Lua, Javascript, etc. in AOLserver

2009-10-26 Thread Andrew Piskorski
ons. Hm, I remember talking about this before; yeah back in April 2008: http://groups.google.com/group/aolserver/msg/13fec53483ddfb0c Check out the rest of that old thread too; a bunch of people had useful stuff to say about adding new programming languages to AOLserver, some of its history

Re: [AOLSERVER] is it necessary

2009-10-26 Thread Andrew Piskorski
ike Erlang. Or if you are a real hard-core lover of language X, perhaps you want to build your own application server yourself; I suspect that's what most language partisans or enthusiasts do. -- Andrew Piskorski http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove

Re: [AOLSERVER] AoLserver 4.5.1 install issue

2009-10-16 Thread Andrew Piskorski
(4.0.x and earlier) versions of AOLserver, you'd do that with a configure option of "--with-tcl=/usr/lib/tcl8.4" or the like. The newer 4.5.x AOLserver build system might require something slightly different, but it should be in the install instructions. -- Andrew Piskorski http://www.

Re: [AOLSERVER] AoLserver 4.5.1 install issue

2009-10-16 Thread Andrew Piskorski
d to compile Tcl yourself, either from source in the normal cross-platform Tcl manner, or by rebuilding your distribution's source package with different options. Recent versions of Ubuntu build Tcl with thread support, but historically, most Linux and Unix systems built Tcl single-threaded.

Re: [AOLSERVER] Data "corruption" with fastpath caching

2008-08-19 Thread Andrew Piskorski
> default. Given the risk, I'd say fastpath caching should be disabled by > default rather than enabled. Sounds right to me. Either robustify Fastpath somehow against this corner case, or don't have Fastpath turned on by default. -- Andrew Piskorski <[EMAIL PROTECTED]>

Re: [AOLSERVER] tcl variables

2008-04-20 Thread Andrew Piskorski
ion and statement could arguably be considered mildly offensive at worst, and to be blunt, if your skin isn't thick enough to take THAT with equanimity, you might as well quit being a programmer and go do something else. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/

Re: [AOLSERVER] ns_db and bind variable support

2008-04-17 Thread Andrew Piskorski
ther security-enhancing measures, which I believe was kicked off because Guan Yang quietly demonstrated that several prominent ACS sites were at the time readily crackable via SQL smuggling.) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.c

Re: [AOLSERVER] ns_db and bind variable support

2008-04-17 Thread Andrew Piskorski
happen with Oracle PL/SQL vs. SQL. (Measure first, then optimize...) Typically, one chooses whether to use PL/SQL or not out of design and implementation convenience for your code, not as a performance tuning measure. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ --

Re: [AOLSERVER] ns_db and bind variable support

2008-04-17 Thread Andrew Piskorski
casion want that level of control available, but forcing him to use it for every single database access is sub-standard API design. (C gives me lots of "control" too, but 98% of the time I avoid using it in favor of higher level programming languages. It's not 1978 anymore...) -- An

[AOLSERVER] ns_db and bind variable support

2008-04-16 Thread Andrew Piskorski
syntax and usage each database and its driver natively supports and expects. If you want to experiment with building something extra to support a single style of alternative bind-variable-like syntax across multiple datbasese, that's fine, but it should never be the default behavior of ns_db.

Re: [AOLSERVER] Active participation (was: RE: [AOLSERVER] Minor facelift to aolserver.com)

2008-04-11 Thread Andrew Piskorski
propriate language and implementation to start with (e.g., JavaScript Spidermonkey, Lua, some Scheme systems), it's PROBABLY "just" a Simple Matter of Programming. :) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remo

Re: [AOLSERVER] Active participation (was: RE: [AOLSERVER] Minor facelift to aolserver.com)

2008-04-11 Thread Andrew Piskorski
mentions Tcl at all. That may explain why he didn't notice that Chapter 30 of his book basically recapitulates Tcl's Threading design... (Btw, I have never actually used the language, just read about it, but Lua's big weakness appears to be its relative dearth of standard libraries

Re: [AOLSERVER] Active participation (was: RE: [AOLSERVER] Minor facelift to aolserver.com)

2008-04-11 Thread Andrew Piskorski
ng code and libraries, NOT so much for new web development per se with AOLserver. If you want to add C# support, well, no one is stopping you... -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, s

Re: [AOLSERVER] SQL placeholders

2008-04-02 Thread Andrew Piskorski
in order to use its db API anyway (even though it is very nice). You may also find these old discussions of interest: http://openacs.org/forums/message-view?message_id=206909 http://openacs.org/forums/message-view?message_id=195785 http://openacs.org/forums/message-view?message_id=85687 --

Re: [AOLSERVER] SQL placeholders

2008-04-02 Thread Andrew Piskorski
right, the AOLserver ns_db API itself does not include any bind variable support, it is an extension offered by some AOLserver database drivers and not by others. That's probably a historical accident, it would be better, and should be feasible, for ns_db to include bind variable support for al

Re: [AOLSERVER] authuser

2008-03-05 Thread Andrew Piskorski
dim Nasardinov figured out back in 2001 What I'd really like, so some way to include the same user_id info in the server/error log! Or even better, some simple way to exactly match up each hit in the access log with all the actions it triggered in the server log. -- Andrew Piskorski <[E

Re: [AOLSERVER] Google Summer of Code

2008-02-29 Thread Andrew Piskorski
ut then I'm not an Erlang programmer either.) http://fresh.homeunix.net/~luke/distel/ http://code.google.com/p/distel/ http://bc.tech.coop/blog/070719.html -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself f

Re: [AOLSERVER] Google Summer of Code

2008-02-29 Thread Andrew Piskorski
y, and why you'd like to be able to use each part from tclsh. :) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIG

Re: [AOLSERVER] Google Summer of Code

2008-02-29 Thread Andrew Piskorski
under light load, much less than 10k hits/day. > Are there any parts that need to be fixed / reworked to get it > working in 64 bits? Not that I'm aware of. You've probably seen the recent traffic about newer versions of Tcl apparently causing trouble by messing with the 64 bit b

Re: [AOLSERVER] About memcached

2007-12-17 Thread Andrew Piskorski
col myself from scratch, in Tcl and/or C. > I found one more thing which is called "Accessing C library functions using > Critcl" http://wiki.tcl.tk/11227 so thought that I should start using this > library for memcached but confused, I haven't tried CriTcl either, but I do

[AOLSERVER] Ns_DriverInit should not call gethostbyname directly?

2007-10-22 Thread Andrew Piskorski
p the use of gethostbyname(), ideally someone would add a comment saying why, and that it's safe, like Dossy explained in that old ticket. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list,

Re: [AOLSERVER] Ns_RegisterAtReady, NsRunAtReadyProcs

2007-10-22 Thread Andrew Piskorski
to zero. But isn't that a bug? If not, just what is "minthreads" supposed to really mean? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL

Re: [AOLSERVER] aolserver vs lighthttpd, benchmarks

2007-10-01 Thread Andrew Piskorski
and others for years now, so why not just adopt their proven patch as is, rather than screwing around turning it into a loadable module? What's the actual problem with Gustaf's code? You've obviously read and thought about it, Tom (which I have not), but so far I see a lot of the

Re: [AOLSERVER] 64bit crashes right away

2007-09-11 Thread Andrew Piskorski
== ii libc62.3.6-0ubuntu20.4GNU C Library: Shared libraries and Timezone data $ apt-cache show libc6 | grep Architecture | uniq Architecture: amd64 -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolser

[AOLSERVER] linker magic and --version-script

2007-08-11 Thread Andrew Piskorski
in, nothing specific to AOLserver, this is just the fun of C programming, object file linking, ELF libraries, etc. Other platforms, like MS Windows, no doubt have their own esotericisms. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.co

[AOLSERVER] AOLserver module difficulties, vs. Tcl, etc.

2007-08-11 Thread Andrew Piskorski
set of libraries for Tcl, which has been briefly discussed many times before. Perhaps making AOLserver modules plug compatible with C-coded Tcl packages would require that, perhaps not, I don't know. > Being able to use the database and scheduling APIs in a desktop > application would

[AOLSERVER] async background delivery

2007-08-08 Thread Andrew Piskorski
p://openacs.org/forums/message-view?message_id=482221 -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- 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] configured minthreads, maxthreads doesnt show up with [ns_server threads] command

2007-08-02 Thread Andrew Piskorski
ct any reason at all, even a bad one? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- 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 emai

Re: [AOLSERVER] leak in nsoracle.c

2007-04-11 Thread Andrew Piskorski
tion returns NULL. Thats effectively what this patch does. Andrew, I have not actually tried your patch, but this sounds like good work. You should probably ask Dossy for CVS commit to nsoracle, so you can add it in yourself... -- Andrew Piskorski <[EMAIL PROTECTED]> http:/

Re: [AOLSERVER] Loading TWAPI under AOLServer

2007-03-08 Thread Andrew Piskorski
Windows, though: http://www.mail-archive.com/aolserver@listserv.aol.com/msg10094.html http://www.mail-archive.com/aolserver@listserv.aol.com/msg10170.html -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, sim

Re: [AOLSERVER] Loading TWAPI under AOLServer

2007-03-07 Thread Andrew Piskorski
On Tue, Mar 06, 2007 at 10:49:03AM +0200, Jamshed Qureshi wrote: > Is it possible to load TWAPI library under AOLServer? Probably, I'd guess. Did you try it? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove

Re: [AOLSERVER] Loading TWAPI under AOLServer

2007-03-07 Thread Andrew Piskorski
s into a single multi-threaded application. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- 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 th

Re: [AOLSERVER] example database configuration wit nspostgres on aolserver 4.5

2006-10-26 Thread Andrew Piskorski
ns_param nssock nssock${dot_so} ns_param nslog nslog${dot_so} ns_param nsdbnsdb${dot_so} -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTEC

Re: [AOLSERVER] Rolling Access Logs

2006-10-19 Thread Andrew Piskorski
ustom scheduled proc may be simpler, though. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- 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] Handling db events in Tcl

2006-09-12 Thread Andrew Piskorski
racle docs, though. Perhaps Oracle's OCI even includes some way to do that, and you could extend the AOLserver database driver to support it. But the stuff I've stumbled across in the Oracle was about entirely separate facilities. -- Andrew Piskorski <[EMAIL PROTECTED]> http://

Re: [AOLSERVER] AOLserver's documentation woes and its future

2006-09-06 Thread Andrew Piskorski
On Tue, Sep 05, 2006 at 01:34:59PM -0400, Rick Gutleber wrote: > How about The NuffSaid server. Why should you use it? It's good. It's > got Tcl. 'Nuff said. Heh, that's pretty good, I like it. :) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.pisk

Re: [AOLSERVER] AOLserver's documentation woes and its future

2006-09-06 Thread Andrew Piskorski
ything could happen with human personalities involved. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- 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] AOLserver's documentation woes and its future

2006-09-06 Thread Andrew Piskorski
manage to get some job teaching a one semester university class in advanced server design, and use AOLserver as your code reference case and test-bed. The notes you'd develop for the class would probably be an awesome draft for the above. ;) -- Andrew Piskorski <[EMAIL PROTECTED]> ht

Re: [AOLSERVER] AOLserver's documentation woes and its future

2006-09-01 Thread Andrew Piskorski
be there to the table of contents, as a partial roadmap of what you'd like to accomplish. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> w

Re: [AOLSERVER] cron (ie, timed) jobs in aolserver

2006-08-15 Thread Andrew Piskorski
d, I suspect most of the effort in developing a good super-crontab would lie elsewhere. ----- Forwarded message from Andrew Piskorski <[EMAIL PROTECTED]> - From: Andrew Piskorski <[EMAIL PROTECTED]> Date: Fri, 27 Jan 2006 16:55:20 -0500 To: [EMAIL PROTECTED], [EMAIL PROTECTED],

Re: [AOLSERVER] Unix vs. Windows build environments

2006-07-03 Thread Andrew Piskorski
On Mon, Jul 03, 2006 at 04:58:37PM -0700, Jeff Hobbs wrote: > VC6 is the last compiler from MS that didn't reintroduce dll hell. Really? Can you tell us more about this, please? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aols

Re: [AOLSERVER] Unix vs. Windows build environments

2006-07-02 Thread Andrew Piskorski
he Guy #3u profile above. I am no Windows geek, so the #3w profile is particularly vague and built from guesswork. Perhaps Jamie R. or others could correct or clarify it. :) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remo

Re: [AOLSERVER] build nsd w/o locking?

2006-07-02 Thread Andrew Piskorski
ects, I've used solely nsv key/value pairs for things that I REALLY wanted a small in-memory RDBMS for - painful. Now that I'm aware of more powerful, higher level tools, I'd start with those instead. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver

Re: [AOLSERVER] Unix vs. Windows build environments

2006-06-30 Thread Andrew Piskorski
#x27;ve never used it, and heard of it only via the D language which [totally off topic!] sounds somewhat interesting. (I don't think it's really open source, though.) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To R

[AOLSERVER] Unix vs. Windows build environments

2006-06-28 Thread Andrew Piskorski
ick hack and definitely not what I'd recommend as the main build tool, but working with it wasn't bad. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL

Re: [AOLSERVER] Scheduled proc occasionally not running

2006-06-19 Thread Andrew Piskorski
-thread creates and then later destroys a new thread for every single run of the scheduled job, which is probably not a good idea for very frequent short running jobs. Ideally, the scheduler thread should probably have a pool of threads assigned to it, which it then uses for running the scheduled t

Re: [AOLSERVER] NSD threads freezing

2006-06-14 Thread Andrew Piskorski
in C code. Perhaps they are all trying to service really slow uploads or downloads, or something like that? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL P

Re: [AOLSERVER] AOLserver 4.0(.10) memory usage

2006-06-03 Thread Andrew Piskorski
it). That all sounds like good advice... Btw, I believe both Jeff Davis and Gustaf Neumann have done work on using ttrace for OpenACS, and as of Aug. 2005 Jeff said it (at least mostly) worked, e.g.: http://openacs.org/forums/message-view?message_id=318610 -- Andrew Piskorski <[EMAIL PROTECTE

Re: [AOLSERVER] Something wrong after 2006-05-12 21:25 (was Re: Weird "memory leak" problem in AOLserver 3.4.2/3.x)

2006-05-19 Thread Andrew Piskorski
o workarounds: use IPC or TCP to connect (which is what I do on my # system), or set bequeath_detach=yes in sqlnet.ora. # # [EMAIL PROTECTED], 2002/01/10 14:22 EST -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove y

Re: [AOLSERVER] Something wrong after 2006-05-12 21:25 (was Re: Weird "memory leak" problem in AOLserver 3.4.2/3.x)

2006-05-18 Thread Andrew Piskorski
very special steps to make it do so, it's very unlikely that your AOLserver is using any other version of Tcl. I tried once to make AOLserver 3.3+ad13 use a newer version of Tcl - I failed, and I never heard of anyone else doing it either. -- Andrew Piskorski <[EMAIL PROTECTED]> http:

Re: [AOLSERVER] build nsd w/o locking?

2006-04-18 Thread Andrew Piskorski
t; AOLServer's thread safety? Seems like it... When you start up AOLserver, it is ALWAYS using multiple threads, two or three or so at the very minimum. I would be quite surprised if it continued to run reliably after you removed every single mutex lock... "ns_param maxthreads"

Re: [AOLSERVER] per-interpreter globals possible?

2006-04-17 Thread Andrew Piskorski
nt Tcl interpreter? I wasn't aware that ever happened in AOLserver, at least not without taking explicit and unusual steps to make it happen (e.g., perhaps via the "interp create" Tcl command). -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - ht

Re: [AOLSERVER] per-interpreter globals possible?

2006-04-17 Thread Andrew Piskorski
On Mon, Apr 17, 2006 at 10:47:45AM +0100, John Buckman wrote: > Is there any way in AOLSserver 4 to have per-tcl-interpreter global > variables? You already do. Tcl global variables are per-thread, which is also per-interpreter. -- Andrew Piskorski <[EMAIL PROTECT

Re: [AOLSERVER] Retrieving oid from INSERT

2006-04-05 Thread Andrew Piskorski
d PostgreSQL can in principle show the exact same sort of huge gaps in their sequence numbers, they just don't usually. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to

Re: [AOLSERVER] Retrieving oid from INSERT

2006-04-04 Thread Andrew Piskorski
erializing all writes (or even all transactions period) works just fine if your load is moderate and your application is carefully designed to insure that ALL your transactions are very fast. That seems to be exactly the approach that D. Richard Hipp, creator of SQLite, takes in building hi

Re: [AOLSERVER] nsopenssl "Error: driver: loadable drivers no longer supported"

2006-03-29 Thread Andrew Piskorski
#x27;s the cause of your problem or not, but that version of nsopenssl is very old, it dates from 2003 or so. Try the nsopenssl from the CVS Head instead. (Or use v3_0beta27, but it and the CVS Head are almost identical anyway.) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskor

[AOLSERVER] module build status?

2006-03-27 Thread Andrew Piskorski
de/ns.mak But in other cases not. What's the story here? Why this tangle of incompatible Makefiles? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAI

Re: [AOLSERVER] nsoracle: CharExpansion parameter

2006-03-24 Thread Andrew Piskorski
than Oracle claims that you do. If that's the case, then the docs above would be correct. Dunno. The very existence of CharExpansion looks like an ugly hack, btw. But it's also a very simple implementation, so I'd say it's only MILDLY ugly. :) -- Andrew Piskorski <[E

Re: [AOLSERVER] nsoracle patches

2006-02-20 Thread Andrew Piskorski
-file on communication channel" is something people have wanted for years. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "S

Re: [AOLSERVER] subject for next AOLserver blog entry by Dossy

2006-02-09 Thread Andrew Piskorski
space limits your max file size to 2 GB or so. (And it's for exactly that reason that SQLite does NOT use mmap.) On a 64-bit OS, that problem goes away. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself

Re: [AOLSERVER] Performance problems with large installation

2006-02-04 Thread Andrew Piskorski
On Sat, Feb 04, 2006 at 11:05:31AM +0100, Agustin Lopez wrote: > Andrew Piskorski wrote: > >On Fri, Feb 03, 2006 at 12:49:43PM -0500, Nima wrote: > >>Dossy..when you look at the hardware would you say that I need more > >>dynamic servers and can I run serveral

Re: [AOLSERVER] Performance problems with large installation

2006-02-03 Thread Andrew Piskorski
t be small, I dunno. Ideally there would be some sort of unified monitor application that would track all this on a live Production site. Check out Gustaf's request monitor / throttler, it might include some of that functionality. Oh, I see you're already using it: http://openacs.org/

Re: [AOLSERVER] Performance problems with large installation

2006-02-03 Thread Andrew Piskorski
dly gold-plated anyway, since this is effecively a compute box, it is running only AOLserver no RDBMS or anything else disk intensive, I would probably go with hardware RAID-1 but with SATA or even plain old IDE drives, no need to pay extra for SCSI. If I had many of these identical boxes and was set

Re: [AOLSERVER] aolserver stalling on me

2006-01-30 Thread Andrew Piskorski
ssage-view?message_id=122020 http://openacs.org/forums/message-view?message_id=105902 http://openacs.org/forums/message-view?message_id=156801 -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this lis

Re: [AOLSERVER] Proxying options is AOLServer 4

2005-11-22 Thread Andrew Piskorski
iles/tclvhr/tclvhr.txt http://panoptic.com/wiki/aolserver/Modules http://openacs.org/forums/message-view?message_id=173710 http://openacs.org/forums/message-view?message_id=205165 http://www.apsis.ch/pound/pound_list/archive/2004/2004-02/1075941729000 -- Andrew Piskorski <[EMAIL PROT

Re: [AOLSERVER] Migrating to apache

2005-11-21 Thread Andrew Piskorski
it was never considered production-grade and hasn't been maintained in many years. But, that is only one of many possible solutions - depending on just what the real problem is you're trying to solve. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserve

Re: [AOLSERVER] Help posting from AOLserver

2005-11-02 Thread Andrew Piskorski
&1 #ulimit -S -c unlimited > Is there a way to use the AOLserver as a client to post this much data? Yes. :) (I don't know what it is though.) -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself f

Re: [AOLSERVER] New file return.tcl adds vulnerability

2005-10-26 Thread Andrew Piskorski
$foo http://tcl.activestate.com/man/tcl8.4/TclCmd/subst.htm -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOL

Re: [AOLSERVER] Performance-Problems

2005-10-24 Thread Andrew Piskorski
m the AOLserver access log, or what? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- 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

Re: [AOLSERVER] auto-sizing thread stacks?

2005-10-19 Thread Andrew Piskorski
to do that because it would make function calls slower. Maybe it would also break binary compatibility between code compiled with other compilers as well, I'm not sure. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remov

[AOLSERVER] auto-sizing thread stacks?

2005-10-13 Thread Andrew Piskorski
more info on either auto-sizing stacks in general, on Linux, or specifically with Tcl and AOLserver? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTE

Re: [AOLSERVER] [AS4.0.10/tcl 8.4.10] unable to alloc 2420042 bytes

2005-10-07 Thread Andrew Piskorski
On Fri, Oct 07, 2005 at 09:02:06PM +0200, Agustin Lopez wrote: > Really it is 8.4.11. > I am using a debian testing package. Does that Debian package build Tcl multi-threaded, or single threaded? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLs

Re: [AOLSERVER] [AS4.0.10/tcl 8.4.11] Fatal error signal 11

2005-10-07 Thread Andrew Piskorski
t;-g" and "-O" to "-g -O", like so: CFLAGS_DEBUG= -g -O CFLAGS_OPTIMIZE = -g -O On some systems the Tcl configure script picks -O, on others it picks -O2. I just use whatever level of optimization it decided on, but turn on both debugging and optimization in both flavor

Re: [AOLSERVER] should aolserver reset environment when setuid?

2005-10-07 Thread Andrew Piskorski
uld probably do exactly the same thing with your own wrapper script, but env is more general purpose and often more convenient. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email

Re: [AOLSERVER] AOLserver Wiki is now running MediaWiki!

2005-10-07 Thread Andrew Piskorski
On Thu, Oct 06, 2005 at 09:57:20PM -0400, Dossy Shiobara wrote: > The upside is that, yes, the AOLserver Wiki is now running on MediaWiki, http://panoptic.com/wiki/aolserver/Main_Page What's with the Chinese spam links all over the front page of the Wiki? -- Andrew Piskorski

Re: [AOLSERVER] Does AOLserver 4.x require -b to bind to privileged ports?

2005-10-07 Thread Andrew Piskorski
s, yes, I know, The Changelog entry above is from 4 YEARS AGO. Once you know they exist and how to use them, the "new" -b or -B options work just fine, so why are you wasting time on this? Just use -B and be happy. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/

Re: [AOLSERVER] ns_eval broken in 4.5a cvs

2005-09-26 Thread Andrew Piskorski
cl's open with | on the other hand does the right thing - it takes a Tcl list of command line arguments. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PRO

Re: [AOLSERVER] ns_eval broken in 4.5a cvs

2005-09-26 Thread Andrew Piskorski
> server1:nscp 3> ns_eval $code > can't read "blah": no such variable > server1:nscp 4> eval $code > $blah -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from th

Re: [AOLSERVER] Forward instead of include

2005-09-26 Thread Andrew Piskorski
ding idea in its request processor code: http://openacs.org/api-doc/proc-view?proc=rp_internal_redirect -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTE

Re: [AOLSERVER] Sessions: do people want them?

2005-09-23 Thread Andrew Piskorski
n 2005 AOLserver finally adds sessions support?" Nah. AOLserver has had good sessions support since 1997 or whenever. It just wasn't rolled into the official AOLserver distribution, is all. -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.a

[AOLSERVER] ftp and other file transfer methods

2005-09-13 Thread Andrew Piskorski
tool which does so. AFAIK neither Curl nor wget support that; I tried them both at the time. I once hacked together some code to let AOLserver login as a client to other websites (using some cookie handling code borrowed from tclwebtest): http://openacs.org/forums/message-view?message_id=278108 -- A

Re: [AOLSERVER] Batteries included AOLserver distribution

2005-08-24 Thread Andrew Piskorski
OLserver build script where the install directory is at build time. (And perhaps you can't easily change it later, I'm not sure as I never tried to do so.) Is that the actual problem? -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.

Re: [AOLSERVER] ns_schedule_proc problem

2005-07-26 Thread Andrew Piskorski
" instead of $arg1. The error I get in the > server log is: > > invalid command name "dosomething" while executing > "dosomething john" > > Other *.adp pages run fine, but for some reason I can't get ns_schedule_proc > to work. What am I doing wrong?

Re: [AOLSERVER] charset problem update

2005-07-20 Thread Andrew Piskorski
y get good data. The problem here is that I have no way You would probably just be back to the same "screwed up inside but it appears to work" state you had on 8i, which is NOT a good situation. Much better to fix the problem for real. I've never actually fixed a problem like

Re: [AOLSERVER] Server not stopping properly

2005-07-19 Thread Andrew Piskorski
ad_proc atp_shutdown {} { } { nsv_set . shutdown_pending 1 # Do more custom shutdown stuff here. } -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL

Re: [AOLSERVER] Charset problem

2005-07-19 Thread Andrew Piskorski
t info on character encodings and Oracle, but they are not the article I was thinking of: http://www.eveandersson.com/arsdigita/asj/multilingual/encoding http://dqd.com/~mayoff/encoding-doc.html -- Andrew Piskorski <[EMAIL PROTECTED]> http://www.piskorski.com/ -- AOLserver - http:/

Re: [AOLSERVER] nsopenssl 3.x and the "libnsopenssl.so" module

2005-07-12 Thread Andrew Piskorski
became tclsh-compatible packages for AOLserver 5, as Jim D. has occasionally mused about on this list. But, hacking away at nsopenssl now to simplify is more likely to end up helping that sort of goal than retaining the baroque libnsopenssl.so feature. -- Andrew Piskorski <[EMAIL PROTECTED]&g

Re: [AOLSERVER] POST file upload using multipart/form-data in C

2005-07-05 Thread Andrew Piskorski
tangent, my web searching indicates that it's possible to > keep AOLserver from starting up a Tcl interpreter for each thread, > but the method was not described. I think it was Stephen Deasey discussing how to avoid unnecessary Tcl interp startup in some threads, but I've no

Re: [AOLSERVER] POST file upload using multipart/form-data in C

2005-07-04 Thread Andrew Piskorski
the OPTIMAL development path for almost any project. So, now that you've actually read through my bordering-on-language-war screed above, what is it exactly that you most want to do with AOLserver? That's probably more interesting to you. :) -- Andrew Piskorski <[EMAIL PROTECTE

Re: [AOLSERVER] POST file upload using multipart/form-data in C

2005-07-01 Thread Andrew Piskorski
but it appears that clean access to > uploaded files is limited to Tcl. In C, the Ns_Set You could always simply call the Tcl APIs from C. Not the most efficient way of doing things, but then it shouldn't be any SLOWER than just using the Tcl APIs from Tcl in the first place, so it should

  1   2   3   4   5   >