You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_dtcl@tcl.apache.org by Ilic Aleksandar <fl...@gavrilo.elfak.ni.ac.yu> on 2001/10/02 11:14:43 UTC

mod_dtcl-0.11-2

Hi,
I got another problem , but this time with new version of mod_dtcl. I have
compile it successfully, and dtcl_info :) works fine. But, my previous
scripts doesn't work at all. Errors i getting is that when i try to access
 to  index.ttml apache start to use 99% of system resurses!

 11:10am  up 28 days, 4 min,  3 users,  load average: 2.27, 1.09, 0.43
43 processes: 39 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 94.5% user,  5.4% system,  0.0% nice,  0.0% idle
Mem:    29536K av,   28264K used,    1272K free,       0K shrd,     368K
buff
Swap:  133016K av,   28232K used,  104784K free                   18940K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
30089 apache    17   0 20280 5468   340 R    48.2 18.5   0:39 httpd
30090 apache    17   0  2804 1264   312 R    47.9  4.2   0:13 httpd
30092 root      18   0   508  436   436 R     2.6  1.4   0:00 top

 and I got
errors on my browser:

unknown namespace "request" in namespace delete command
    while executing
"namespace delete request "

--------------------------------------------------------------------------------

OUTPUT BUFFER:


--------------------------------------------------------------------------------


namespace eval request {
buffer_add ""

parse template/header.ttml

 hputs "
<table width=\"100%\" bgcolor=#ffffff>

<tr>
<td><H3>Browse projects</H3></td>
<td><a href=stats.ttml?page_id=MEN&proj_id=0><img border=0
src=\"browse.jpg\"></a></td>
</tr>
<tr>
<td><H3>Create new project</H3></td>
<td><a href=stats.ttml?page_id=NEW><img border=0
src=\"create.jpg\"></a></td>
</tr>
</table>

"

parse template/footer.ttml

 hputs "
"

Just to say that index.ttml, header.ttml and footer.ttml  are just pure
html files, and all this works fantastic in mod_dtcl-0.10.

I am using slackware 8.0 and apache-1.20. mod_dtcl is compiled with -DEAPI
option.
				Any hint?
						Ilic Aleksandar


Re: mod_dtcl-0.11-2

Posted by "David N. Welton" <da...@dedasys.com>.
Ilic Aleksandar <fl...@gavrilo.elfak.ni.ac.yu> writes:

> I got another problem , but this time with new version of
> mod_dtcl. I have compile it successfully, and dtcl_info :) works
> fine. But, my previous scripts doesn't work at all. Errors i getting
> is that when i try to access to index.ttml apache start to use 99%
> of system resurses!
 
>  unknown namespace "request" in namespace delete command
>     while executing
> "namespace delete request "

> namespace eval request {

> Just to say that index.ttml, header.ttml and footer.ttml are just
> pure html files, and all this works fantastic in mod_dtcl-0.10.

Can you make it stop segfaulting by removing anything?  Removing the
parse commands, for example...?

Does it still segfault if you try the mod_dtcl from CVS?

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/