Re: [naviserver-devel] Upload Progress

2006-01-03 Thread Andrew Piskorski
of nonsense and thank you for being patient and reading up to here :-) On the contrary, that was by far the clearest design explanation I've yet seen in this discussion. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Directory structure

2006-01-21 Thread Andrew Piskorski
the typical first-time AOLserver user needs to set up at least two AOLserver instances, one for his Development site and one for Production. This should be the DEFAULT, easiest to do setup, not something special that every new user has to hack in for themselves. -- Andrew Piskorski [EMAIL PROTECTED

Re: [naviserver-devel] Interesting...

2006-02-02 Thread Andrew Piskorski
were all Mac PowerPC boxes running OS-X, is that right? If so, then the common thread here is OS-X, no? OS-X is known to be significantly less efficient than Linux in some areas, this is probably one of them? -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Interesting...

2006-02-02 Thread Andrew Piskorski
sophisticated high-performance multi-threaded malloc replacements, rather than just ns_malloc. This was discussed a bit on the AOLserver list a year or three ago, if anyone cares to search. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

malloc, Vmem, libumem, Hoard, etc. Re: [naviserver-devel] memtest

2006-02-04 Thread Andrew Piskorski
in Gnome? Bonwick's brief concluding thoughts about how OS core services are often the most neglected are also interesting. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Module unloading

2006-05-01 Thread Andrew Piskorski
? If not, then it seems like a reasonable and maybe desirable thing to do. And if it is desirable, why not just do it by default all the time, for all nsdb database pools? -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Sourceforge again

2006-05-11 Thread Andrew Piskorski
on top of Subversion. I know little about it, but the idea sounds kludgy to me. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] New nsproxy module

2006-05-16 Thread Andrew Piskorski
CVS after they initially added nsproxy, or changes which you've committed to the Naviserver CVS? -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Why was NaviServer forked?

2006-07-12 Thread Andrew Piskorski
that a fork was in fact necessary. IMNSHO that was not done, and thus the NaviServer fork was unjustified. Oh well, I guess it's all largely irrelevant now... -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Questions about NS details... (scalability, lib changes)

2006-07-12 Thread Andrew Piskorski
run it on your desktop or whatever other Linux box you have available to you. That should give be enough to at least get you started. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

[naviserver-devel] Cache compiled Tcl page bytecode

2006-07-12 Thread Andrew Piskorski
is invalidated? Yes, but last I heard no one got around to actually forward porting it from AOLserver 3.3+ad13 to 4.x: Cache compiled Tcl page bytecode https://sourceforge.net/tracker/?func=detailaid=689515group_id=3152atid=353152 -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Cache compiled Tcl page bytecode

2006-07-12 Thread Andrew Piskorski
On Wed, Jul 12, 2006 at 04:03:37PM -0400, Vlad Seryakov wrote: Naviserver does it automatically, it was ported a long time ago Awesome, that's good to know. Cache compiled Tcl page bytecode https://sourceforge.net/tracker/?func=detailaid=689515group_id=3152atid=353152 -- Andrew

Re: [naviserver-devel] Why was NaviServer forked?

2006-07-13 Thread Andrew Piskorski
On Wed, Jul 12, 2006 at 04:49:38PM +0200, Zoran Vasiljevic wrote: Am 12.07.2006 um 16:22 schrieb Andrew Piskorski: I would have started actively and frequently committing code to the AOLserver CVS, as Dossy explicitly asked/challenged you to do, rather than merely talking about doing so

Re: [naviserver-devel] Cache compiled Tcl page bytecode

2006-07-13 Thread Andrew Piskorski
. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Cache compiled Tcl page bytecode

2006-07-13 Thread Andrew Piskorski
, registered procs etc.? Yes, indeed it would... -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] Cache compiled Tcl page bytecode

2006-07-13 Thread Andrew Piskorski
On Thu, Jul 13, 2006 at 04:53:51PM -0400, Andrew Piskorski wrote: On Thu, Jul 13, 2006 at 09:28:00PM +0100, Stephen Deasey wrote: Except... Rob found a neat way to cheat by passing the script as an arg to a do-nothing 'for' command. 'for' compiles the script for you. Very smart

Re: [naviserver-devel] Cache compiled Tcl page bytecode

2006-07-13 Thread Andrew Piskorski
the internal rep of many objects across tsv_set and tsv_get. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] another sample config issue and some database related questions...

2006-07-16 Thread Andrew Piskorski
into a stand-alone Tcl package, and then use that same package for both OpenACS and non-OpenACS systems. That definitely is feasible, but unfortunately, I never got around to doing it. :( -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] whole lotta errors

2006-08-13 Thread Andrew Piskorski
and 4.2 after change in test.nscfg. Thanks to Michael Lex for writing the tests. (Unfortunately the ancient cvs2cl.pl version 1.2 I'm using tends to mis-format the the cvs commit messages.) -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] hosting java-script server-side?

2006-09-19 Thread Andrew Piskorski
along. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/

Re: [naviserver-devel] hosting java-script server-side?

2006-09-20 Thread Andrew Piskorski
new things to learn. That's nice when it happens, but I think it's highly overrated. What you typically want in a general programming hire is not so much someone who has less to learn, as someone who habitually learns many new things quickly. -- Andrew Piskorski [EMAIL PROTECTED] http

Re: [naviserver-devel] nsproxy API

2006-10-04 Thread Andrew Piskorski
got work to do now! style API there? And if so, I'd say leave ns_cond alone, it's just a low-level wrapper around pthread_cond_*, and that's fine. Futzing with it sounds likely to be wasted effort at best, and perhaps a source of very tricky destabalizing bugs at worst. -- Andrew Piskorski [EMAIL

Re: [naviserver-devel] Fwd: [Fwd: Re: Benchmarks]

2006-12-12 Thread Andrew Piskorski
that suggests that a newer version of the old Tcl page bytecode cacheing feature listed below (perhaps integrated with the ADP stuff as Stephen Deasey has discussed in the past), would still be quite valuable? http://sourceforge.net/tracker/?func=detailaid=689515group_id=3152atid=353152 -- Andrew

Re: [naviserver-devel] ns_config read/write

2007-10-15 Thread Andrew Piskorski
idea. It's also awfully nice to be able to just diff two files to see what you changed. -- Andrew Piskorski [EMAIL PROTECTED] http://www.piskorski.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through

Re: [naviserver-devel] lurking bugs: conn threads

2012-10-26 Thread Andrew Piskorski
On Fri, Oct 26, 2012 at 08:30:26PM +0100, Stephen Deasey wrote: I was thinking it could work something like this: - driver acquires lock, takes first conn thread off queue, releases lock What if there are no conn threads waiting in the queue? -- Andrew Piskorski a...@piskorski.com

[naviserver-devel] Windows 7 recommended compiler and build tools?

2014-08-10 Thread Andrew Piskorski
#d-express-windows-desktop http://www.visualstudio.com/en-US/products/visual-studio-express-vs -- Andrew Piskorski a...@piskorski.com -- ___ naviserver-devel mailing list

[naviserver-devel] Naviserver needs autoconf 2.69

2014-08-18 Thread Andrew Piskorski
the output configure file into the version control system? -- Andrew Piskorski a...@piskorski.com -- ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https

[naviserver-devel] status of nsoracle, nssha1, nscache modules?

2014-08-27 Thread Andrew Piskorski
and nscache functionality is now built into the core Naviserver, but what about the Oracle db driver? Is its latest version still the code in the AOLserver SourceForge CVS, or is there a newer/better version around somewhere? -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] status of nsoracle, nssha1, nscache modules?

2014-08-31 Thread Andrew Piskorski
-v log instead, but that did confuse me for a couple minutes. -- Andrew Piskorski a...@piskorski.com -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org

[naviserver-devel] the --enable-rpath option is broken?

2014-09-02 Thread Andrew Piskorski
= /lib/x86_64-linux-gnu/libc.so.6 (0x7fefde7ea000) /lib64/ld-linux-x86-64.so.2 (0x7fefdebce000) Btw, why is --disable-rpath the default anyway? -- Andrew Piskorski a...@piskorski.com -- Slashdot TV

[naviserver-devel] pid_t missing on Windows

2014-09-17 Thread Andrew Piskorski
, which uses a HANDLE type instead of pid_t. And winthread.c definitely uses HANDLE. So it looks like use of the Unix-only pid_t crept into a few of the nominally cross-platform files over time. But what's the correct fix? -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] LIB nmake and environment variables collide on Windows

2014-09-18 Thread Andrew Piskorski
On Thu, Sep 18, 2014 at 12:24:12PM +0200, Gustaf Neumann wrote: Am 17.09.14 23:19, schrieb Andrew Piskorski: The Naviserver makefiles often definite a LIB variable, e.g.: LIB = nsthread What is the exact problem you see: is it the case, when LIB is set in a Makefile (as cited

Re: [naviserver-devel] recommended location for non-core Naviserver modules?

2014-09-23 Thread Andrew Piskorski
On Tue, Sep 23, 2014 at 11:27:33AM -0400, Andrew Piskorski wrote: Should they be placed like this: foo/naviserver/nsoracle/ foo/naviserver/nsssl/ I notice that if I put one checkout inside another like the above, then when I do hg -v log while in the naviserver directory, Mercurial does

[naviserver-devel] was Makefile.win32 deleted c. 2008?

2014-09-23 Thread Andrew Piskorski
is there nothing in the commit log about a delete? Is this some sort of artifact due to converting from CVS into Mercurial? -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog

[naviserver-devel] no mkstemp() on Windows, use TclpCreateTempFile()?

2014-09-25 Thread Andrew Piskorski
, and we should borrow some of the Windows version of TclpCreateTempFile() for direct use in Naviserver? -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS

[naviserver-devel] review of Windows build changes

2014-09-25 Thread Andrew Piskorski
-test -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0

Re: [naviserver-devel] review of Windows build changes

2014-09-25 Thread Andrew Piskorski
. -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance

Re: [naviserver-devel] no mkstemp() on Windows, use TclpCreateTempFile()?

2014-09-27 Thread Andrew Piskorski
opens the file and returns a file handle. So yes, you could use mktemp as part of an implementation of mkstemp, but they do are not replacements for each other. -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0

Re: [naviserver-devel] no mkstemp() on Windows, use TclpCreateTempFile()?

2014-09-27 Thread Andrew Piskorski
file... Is that a good fit for Naviserver's needs? -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS

Re: [naviserver-devel] review of Windows build changes

2014-09-27 Thread Andrew Piskorski
, if we remove it? I tried removing the _WIN32_WINNT definition entirely just now, which DID change the build behavior! It switched to a different set of errors and warnings. So maybe we do need it, but I don't know why. I'll look more once I get the build working again. -- Andrew Piskorski

Re: [naviserver-devel] NS_EXTERN set wrong on Windows?

2014-10-01 Thread Andrew Piskorski
On Wed, Sep 17, 2014 at 06:50:08PM -0400, Andrew Piskorski wrote: include/ns.h has this: #define NS_EXTERN extern NS_EXPORT But I believe that is NOT relevent here because master.c, thread.h, and nsthread.h (correctly) do NOT include ns.h. Instead, I think

Re: [naviserver-devel] NS_EXTERN set wrong on Windows?

2014-10-01 Thread Andrew Piskorski
On Wed, Oct 01, 2014 at 03:12:34PM -0400, Andrew Piskorski wrote: Creating library nsthread.lib and object nsthread.exp reentrant.o : error LNK2019: unresolved external symbol Ns_Log referenced in function ns_asctime nsthread.dll : fatal error LNK1120: 1 unresolved externals Well, I

[naviserver-devel] modules/tcl/ is empty, tcl/ is full

2014-10-02 Thread Andrew Piskorski
date:Tue Jan 07 19:18:36 2014 +0100 files: Makefile description: - build directory modues/tcl during install, since default configs point to it -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0

[naviserver-devel] Naviserver hangs on Windows

2014-10-03 Thread Andrew Piskorski
! ?? ::FNODOBFM::`string'+0x28ff0 `0027fa00 ` ntdll!LdrInitializeThunk+0xe -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-03 Thread Andrew Piskorski
was created on Linux, but my Windows build uses it too. Perhaps that is the problem? But how the heck can I generate a correct version of nsconfig.h for my Windows 7 system? -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-03 Thread Andrew Piskorski
-- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0

[naviserver-devel] were all AOLserver 4.0.x bugfixes merged?

2014-10-04 Thread Andrew Piskorski
description: Tag aolserver-4.0.10 -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit

[naviserver-devel] use nsconfig.tcl to compile on Windows?

2014-10-04 Thread Andrew Piskorski
:Wed Aug 17 23:55:57 2005 +0100 summary: Updates to new build tools to support Unix changeset: 1360:697679717350 user:Jim Davidson jgdavid...@aol.com date:Wed Aug 17 22:18:46 2005 +0100 summary: New platform-indepedent build support -- Andrew Piskorski

Re: [naviserver-devel] modules/tcl/ is empty, tcl/ is full

2014-10-06 Thread Andrew Piskorski
On Sun, Oct 05, 2014 at 08:01:13PM +0200, Gustaf Neumann wrote: Am 02.10.14 23:40, schrieb Andrew Piskorski: Do we actually need the modules/tcl/ directory for anything now? yes, we need it for installing site specific tcl library files. Ah, so presumably Naviserver's moving of its own

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-06 Thread Andrew Piskorski
it.) My previous experience with AOLserver 4.0.x on Windows was with 32-bit Windows, which would have natively used 32-bit time_t. So perhaps forcing my 64-bit build to use 32-bit time_t would be useful. -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-06 Thread Andrew Piskorski
to understand. Two, the current platform-independent approach locks up in my Windows build, while the old Windows-specific code that AOLserver used for many years does not. I do not know why this is, but I certainly will use the old Windows-specific code until I figure it out. -- Andrew Piskorski

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-06 Thread Andrew Piskorski
] } 0 - Thu Jan 01 00:00:00 GMT 1970 2174774400 - Wed Dec 01 00:00:00 GMT 2038 253399622400 - Wed Dec 01 00:00:00 GMT % exit -- Andrew Piskorski a...@piskorski.com -- Slashdot TV. Videos for Nerds. Stuff

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-06 Thread Andrew Piskorski
how it goes as I do more merges across my two branches, assuming I keep the clean branch around. -- Andrew Piskorski a...@piskorski.com -- Slashdot TV. Videos for Nerds. Stuff that Matters. http

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-06 Thread Andrew Piskorski
such a path, either for Naviserver or in my own code. -- Andrew Piskorski a...@piskorski.com -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-07 Thread Andrew Piskorski
. -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-07 Thread Andrew Piskorski
On Mon, Oct 06, 2014 at 05:18:08PM -0400, Andrew Piskorski wrote: On Sun, Oct 05, 2014 at 09:37:39PM +0200, Maurizio Martignano wrote: Did you use the define _USE_32BIT_TIME_T yes or not? I haven't tried using _USE_32BIT_TIME_T yet, but I think using it would be INCORRECT on Windows-64

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-07 Thread Andrew Piskorski
On Tue, Oct 07, 2014 at 04:09:02PM -0400, Andrew Piskorski wrote: C:\ C:\web\nsd-atp\bin\nsd -c [384.e14][-main-] Notice: nsmain: NaviServer/4.99 starting [384.e14][-main-] Fatal: nsthreads: localtime_s failed in ns_localtime: win32 err: 22 In ns_localtime(), I changed this call: errNum

[naviserver-devel] warning, shift count undefined behavior

2014-10-07 Thread Andrew Piskorski
don't know if it's a real problem or how to fix it. Some related docs: http://msdn.microsoft.com/en-us/library/cx0bb1cy.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/ms684342%28v=vs.85%29.aspx -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-08 Thread Andrew Piskorski
. -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance

Re: [naviserver-devel] warning, shift count undefined behavior

2014-10-08 Thread Andrew Piskorski
being used to generate that info? I couldn't seem to save a direct link to the shift/cast issue in nsd/sockfile.c, but it is pretty easy to browse to it. -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0

Re: [naviserver-devel] Naviserver hangs on Windows

2014-10-08 Thread Andrew Piskorski
on Windows will be in a rather narrow application (not OpenACS; we use Linux for that), so it would be great to see it tested on a wider range of workloads. -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0

[naviserver-devel] 32-bit Naviserver fails on Windows

2014-10-12 Thread Andrew Piskorski
links against these Windows libraries: kernel32.lib advapi32.lib ws2_32.lib user32.lib Do I need to do something special to find the 32-bit versions of those? -- Andrew Piskorski a...@piskorski.com -- Meet PCI DSS 3.0

Re: [naviserver-devel] nsthreadtest fails on both Linux and Windows

2014-10-15 Thread Andrew Piskorski
in __libc_start_main (main=0x400660 main, argc=4, ubp_av=0x7fff38339a18, init=optimized out, fini=optimized out, rtld_fini=optimized out, stack_end=0x7fff38339a08) at libc-start.c:226 #11 0x00400695 in _start () (gdb) -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] nsthreadtest fails on both Linux and Windows

2014-10-16 Thread Andrew Piskorski
call that function, the * application will crash whenever WinTcl tries to call functions through * these null pointers. That is not a bug in Tcl - Tcl_FindExecutable is * mandatory in recent Tcl releases. -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] nsthreadtest fails on both Linux and Windows

2014-10-16 Thread Andrew Piskorski
out, rtld_fini=optimized out, stack_end=0x7fff4d205338) at libc-start.c:226 #11 0x00400695 in _start () (gdb) -- Andrew Piskorski a...@piskorski.com -- Comprehensive Server Monitoring with Site24x7. Monitor

Re: [naviserver-devel] ns_cond is broken on Naviserver

2014-10-18 Thread Andrew Piskorski
place for bugs? I wasn't able to build or test the code from around then though, so it's just an arbitrary guess on my part. -- Andrew Piskorski a...@piskorski.com -- Comprehensive Server Monitoring with Site24x7

[naviserver-devel] sometimes crashes on shutdown

2014-10-18 Thread Andrew Piskorski
0x2ac57b135c83 in __nptl_deallocate_tsd () at pthread_create.c:156 #20 0x2ac57b135ea8 in start_thread (arg=0x2ac58880e700) at pthread_create.c:315 #21 0x2ac57a2eb3fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #22 0x in ?? () (gdb) -- Andrew Piskorski

Re: [naviserver-devel] ns_cond is broken on Naviserver

2014-10-20 Thread Andrew Piskorski
On Sat, Oct 18, 2014 at 01:56:10PM +0200, Gustaf Neumann wrote: Dear Andrew, i have fixed the problem in the head branch. Your test is working for me, at least under Mac OS X and Linux. Excellent, thank you, Gustaf! I confirm that ns_cond now works on both Linux and Windows. -- Andrew

[naviserver-devel] ns_cond vs Tcl event loop?

2014-10-20 Thread Andrew Piskorski
of a web server. But it is very nice that they (and the Tcl Threads Extension) have the tools available when you need to do something different. -- Andrew Piskorski a...@piskorski.com -- Comprehensive Server Monitoring

Re: [naviserver-devel] sometimes crashes on shutdown

2014-10-20 Thread Andrew Piskorski
-on packages, not even tcllib. -- Andrew Piskorski a...@piskorski.com -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications

Re: [naviserver-devel] Windows Service startup fails

2014-10-20 Thread Andrew Piskorski
On Mon, Oct 20, 2014 at 04:07:09PM -0400, Andrew Piskorski wrote: Nothing at all gets written to the log file, so I'm not sure how to debug this. But presumably that means something is dying very early, perhaps in NsConnectService()? Briefly, I managed to the nsd Windows Service to start

Re: [naviserver-devel] Windows Service startup fails

2014-10-21 Thread Andrew Piskorski
On Mon, Oct 20, 2014 at 10:12:47PM -0400, Andrew Piskorski wrote: Fatal: nsmain: no such server 'w7-1-prod' But, that is the correct server name from my config file, and it works fine when I'm not running as a Windows Service! I'm confused, what could cause it to fail ONLY when running

Re: [naviserver-devel] Windows Service startup fails

2014-10-21 Thread Andrew Piskorski
On Tue, Oct 21, 2014 at 03:22:59PM -0400, Andrew Piskorski wrote: return Ns_Main(argc, argv, ServerInit); But where does that ServerInit thing come from? And why is it NULL when running as a Windows Service, but ok when Naviserver is started interactively? Ah, I see: ServiceMain

Re: [naviserver-devel] Windows Service startup fails

2014-10-22 Thread Andrew Piskorski
); } Is this a separate problem, not a consequence of skipping some sort of needed initialization because the initProc from ServiceMain() was NULL? -- Andrew Piskorski a...@piskorski.com -- Comprehensive Server Monitoring with Site24x7

Re: [naviserver-devel] Windows Service startup fails

2014-10-23 Thread Andrew Piskorski
indicate a problem somewhere else, or is it ok and just something special about Windows Services? The good news is, with that the assertion turned off completely, Naviserver now appears to run ok as a Windows Service, yay! -- Andrew Piskorski a...@piskorski.com

[naviserver-devel] log rolled every time Naviserver shuts down

2014-10-27 Thread Andrew Piskorski
whatever Windows does as SIGHUP? This is a very minor problem but I do wonder just what is going on there. (Thanks!) -- Andrew Piskorski a...@piskorski.com -- ___ naviserver

Re: [naviserver-devel] 'nsv_unset myarray' fails to unset the array

2014-11-02 Thread Andrew Piskorski
not? Before calling Tcl_DeleteHashTable() to remove the nsv array, you do something interesting with BucketIndex() and an extra round of locking. Is that due to some new feature that AOLserver did not have, maybe the mutex timings? -- Andrew Piskorski a...@piskorski.com

Re: [naviserver-devel] log rolled every time Naviserver shuts down

2014-11-02 Thread Andrew Piskorski
, and has some useful compare/contrast discussion of Windows vs. POSIX thread synchronization APIs. Instead of Unix signals, Windows uses Console Control Handlers or Exceptions (depending on what you're trying to do). Naviserver uses a Console Control Handler. -- Andrew Piskorski

Re: [naviserver-devel] more logging problems on Windows

2014-11-02 Thread Andrew Piskorski
On Sun, Nov 02, 2014 at 10:27:21PM -0500, Andrew Piskorski wrote: Two, calling ns_logroll crashed Naviserver with this error: Debug Assertion Failed! f:\dd\vctools\crt_bld\self_x86\crt\src\write.c Line: 68 Expression: (_osfile(fh) FOPEN) Once the nsd debug symbols were working

Re: [naviserver-devel] more logging problems on Windows

2014-11-07 Thread Andrew Piskorski
not use _write(), instead call WriteFile() directly and see what happens. That sounds like a lot of work though, much more than this really warrants. I'm really glad you found a work-around, Gustaf! I suggest we just leave it as is, but add some comments about why it's there. -- Andrew Piskorski

[naviserver-devel] Windows compilers, 2013 vs. 2010, etc.

2014-11-17 Thread Andrew Piskorski
solely for Windows 7 anyway, but it might to some. If I was starting from scratch, I'd probably go with the 2013 stuff, but I don't currently see any reason to upgrade from the older compiler I'm currently using. -- Andrew Piskorski a...@piskorski.com

[naviserver-devel] test failures: ns_cache-12.1, hotp-1, totp-1

2017-08-14 Thread Andrew Piskorski
ode was: 1 Return code should have been one of: 0 2 totp-1 FAILED -- Andrew Piskorski <a...@piskorski.com> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [naviserver-devel] --enable-rpath

2017-08-14 Thread Andrew Piskorski
ot;\$(LDLIB)" CCRPATHS="\$(CCRPATH)" LDRPATHS="\$(LDRPATH)" -CCRFLAG=$TCL_CC_SEARCH_FLAGS -LDRFLAG=$TCL_LD_SEARCH_FLAGS +CCRFLAG=$CC_SEARCH_FLAGS +LDRFLAG=$LD_SEARCH_FLAGS if test "$CCRFLAG" = &qu

Re: [naviserver-devel] test failures: ns_cache-12.1, hotp-1, totp-1

2017-08-21 Thread Andrew Piskorski
I installed nsf 2.1.0 from source, and that fixed the failing hotp-1 and totp-1 tests. -- Andrew Piskorski <a...@piskorski.com> -- Check out the vibrant tech community on one of the world's most engaging tech

[naviserver-devel] does NsDbLogSql() do anything?

2017-08-28 Thread Andrew Piskorski
hat normal for NaviServer database drivers, or is there something funny about nsoracle? -- Andrew Piskorski <a...@piskorski.com> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Sl

[naviserver-devel] tests need update: cookie-4.5, cookie-4.7

2017-08-21 Thread Andrew Piskorski
matching cookie} cookie-4.7 FAILED -- Andrew Piskorski <a...@piskorski.com> -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: [naviserver-devel] TclOO in NaviServer, How to use?

2017-12-22 Thread Andrew Piskorski
to try anyway. The better NaviServer integration just makes the choice more obvious. -- Andrew Piskorski <a...@piskorski.com> -- Check out the vibrant tech community on one of the world's most engaging tech

[naviserver-devel] Windows nsd build breaks on tclhttp.c SSL_get_cipher

2019-01-17 Thread Andrew Piskorski
lhttp.o : error LNK2019: unresolved external symbol _SSL_get_cipher referenced in function _HttpConnect libnsd.dll : fatal error LNK1120: 1 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\link.exe"' : return code '0x460' Stop. --

Re: [naviserver-devel] ns_striphtml test failures?

2019-01-18 Thread Andrew Piskorski
sr/bin/tclsh8.6 % info patchlevel 8.6.5 -- Andrew Piskorski make[1]: Entering directory '/net/pinky/home/local-16.04/src/web/ns-head-pub/naviserver/nsthread' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/net/pinky/home/local-16.04/src/web/ns-head-pub/navis

Re: [naviserver-devel] Windows nsd build breaks on tclhttp.c SSL_get_cipher

2019-01-21 Thread Andrew Piskorski
af as a reviewer, as the reviewer look-up box refuses to find him! (Same thing for Zoran.) Hopefully that's some sort of temporary bitbucket.org bug. -- Andrew Piskorski ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourc

Re: [naviserver-devel] Windows nsd build breaks on tclhttp.c SSL_get_cipher

2019-01-23 Thread Andrew Piskorski
o the CLEAN variable does not. I'll see if I can come up with some workaround. -- Andrew Piskorski ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Re: [naviserver-devel] Windows nsd build breaks on tclhttp.c SSL_get_cipher

2019-01-23 Thread Andrew Piskorski
ld probably). I added that additional ifdef, and now linking nsd.exe works! I think actually using nsssl on Windows is still broken, but now NaviServer builds and appears to run the simple-config.tcl ok. These fixes are here: https://bitbucket.org/naviserver/naviserver/pull-requests/19/windows-build-work

[naviserver-devel] ns_log output garbled on Windows

2019-01-28 Thread Andrew Piskorski
file nscp [28/Jan/2019:10:33:20][28016.7fb29de89700][-main-] Notice: nscp[default]: listening on [::1]:2080 [28/Jan/2019:10:33:20][28016.7fb29de89700][-main-] Warning: nscp[default]: no authorized users [28/Jan/2019:10:33:20][28016.7fb29de89700][-main-] Not

Re: [naviserver-devel] ns_log output garbled on Windows

2019-01-29 Thread Andrew Piskorski
e6658319ae9595e7d874e68086e482f2f74f85 Fix garbled log output on Windows, PRIuPTR now gives I64u or I32u there. And here's a pull request that includes that, plus a couple other (very minor) fixes: https://bitbucket.org/naviserver/naviserver/pul

[naviserver-devel] store C pointers in Nsv vs. Tcl_HashTable?

2019-01-31 Thread Andrew Piskorski
+in+C+Extensions (Thanks in advance for your help and advice!) -- Andrew Piskorski ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel

[naviserver-devel] Ns_VarGet vs. NsTclNsvGetObjCmd

2019-01-31 Thread Andrew Piskorski
I know that the Tcl nsv_get command is implemented by NsTclNsvGetObjCmd(). But in the NaviServer C code, what is Ns_VarGet() for? I don't see it used anywhere. Is Ns_VarGet() a C interface to exact same nsv_get functionality, or is it for something completely different? -- Andrew Piskorski

Re: [naviserver-devel] Ns_VarGet vs. NsTclNsvGetObjCmd

2019-02-01 Thread Andrew Piskorski
On Fri, Feb 01, 2019 at 10:22:46AM +0100, Zoran Vasiljevic wrote: > Andrew Piskorski wrote: > > > I know that the Tcl nsv_get command is implemented by > > NsTclNsvGetObjCmd(). But in the NaviServer C code, what is > > Ns_VarGet() for? I don't see it used anywh

Re: [naviserver-devel] store C pointers in Nsv vs. Tcl_HashTable?

2019-02-01 Thread Andrew Piskorski
lobj.c functions to implement an Ns_Time Tcl_Obj type, but I definitely don't understand how or why yet! -- Andrew Piskorski ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Re: [naviserver-devel] Ns_VarGet vs. NsTclNsvGetObjCmd

2019-02-01 Thread Andrew Piskorski
because your C code > may operate for all known virtual servers or just bunch of them. Ok. But where do I get the server string from, in C? Or since I'm not using virtual servers anyway, how do I say "all of them, process-wide"? -- Andrew Piskorski _

Re: [naviserver-devel] store C pointers in Nsv vs. Tcl_HashTable?

2019-02-01 Thread Andrew Piskorski
e ns:addr object approach is also a way to work around the "Nsvs only store strings" limitation. Thanks you, Zoran. I'm not sure which way I'll go in my implementation, but the choices available to me are making more sense now. -- Andrew Piskorski __

  1   2   >