Re: [AOLSERVER] An easy way to crash all your Aolserver instances on a machine

2005-10-17 Thread Daniel P. Stasinski
On Mon, 2005-10-17 at 12:07 -0700, Jade Rubick wrote:
> It looks like this might be a bug in ns_encrypt:
> ns_decrypt {}

Not so much a bug as "well don't do that!" thing.   I have spent the
last week re-writing the whole ns_encrypt module and will commit it to
CVS sometime this week.  It needs more thrash testing.

There are some small changed to the config, but data will be backward
compatible.  Added will be new functions to create and write key pairs.
It will handle binary strings and will optionally perform zlib
compression of the input data.  It will also compile as a tcl or
aolserver library.

Daniel

-- 
| ---
| Daniel P. Stasinski | http://www.disabilities-r-us.com/
| [EMAIL PROTECTED]| http://www.scriptkitties.com/
| --- | -
| Jabber: [EMAIL PROTECTED] | Google Talk: mooo


--
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] An easy way to crash all your Aolserver instances on a machine

2005-10-17 Thread Jade Rubick
It looks like this might be a bug in ns_encrypt:

ns_decrypt {}

It kills all the current Aolserver instances on the servers I've tried it on (two of them).

Jade-- Jade Rubick, Senior DeveloperUnited eWay Volunteer Solutions [EMAIL PROTECTED] 
http://www.volunteersolutions.org Phone: (503)285-4963 Fax:   (707)671-1333


--
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] More on lost of memory of aolserver process

2005-10-17 Thread Agustin Lopez
Hello again!

Thanks for your reply!

> PS: there are four lines with TOTAL in the report file. does this mean 
> you have only four
> connection threads running?

No, I have run your script logging from OpenACS shell
utility. Four is the number of executions of your script
appending the results to file.

http://myserver/ds/shell.tcl

Regards,
Agustin


> Agustin Lopez schrieb:
> 
> >Hello!
> >
> >Here it is a url from some results of your script
> >
> >http://pizarra.uv.es/report.txt
> >
> >I have not understand very much the results. 
> >Do you see anything strange?
> >
> >  
> >
> no. look at the total lines:
> 
> TOTAL: pid 18867 vsz 2533029 namespaces 376 vars 103 var_bytes 14501 
> array_elements 472 cmds 348
procs 8408
> 
> it says: 2.5GB virtual memory size, array elements and var_bytes etc. 
> look normal. Somebody
> suggested earlier a leak of domnodes, but this does not look so, since 
> it would imply a larger
> number of cmds.
> 
> let your server grow close to crash and check the results again (e.g. 
> when it reaches 3GB or 3.5GB).
> If the numbers don't change significantly, it is highly likely that 
> there is a c-level memleak involved and
> it is not an application problem (oacs, dotlrn).
> 
> hope, this helps
> -gustaf neumann
> PS: there are four lines with TOTAL in the report file. does this mean 
> you have only four
> connection threads running?
> 
> 


--

==
|   Jose Agustin Lopez Bueno |
|  E-Mail: [EMAIL PROTECTED]   |
|Home Page: http://www.uv.es/~lopezj/|
|http://www.uv.es/postman/   |
|Tfnos: +34-96-3544310  +34-96-3543129   |
|   Fax: +34-96-3544200  |
| Servicio de Informatica, Univ. de Valencia, Spain  |
==


--
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] More on lost of memory of aolserver process

2005-10-17 Thread Gustaf Neumann

Agustin Lopez schrieb:


Hello!

Here it is a url from some results of your script

http://pizarra.uv.es/report.txt

I have not understand very much the results. 
Do you see anything strange?


 


no. look at the total lines:

TOTAL: pid 18867 vsz 2533029 namespaces 376 vars 103 var_bytes 14501 
array_elements 472 cmds 348 procs 8408

it says: 2.5GB virtual memory size, array elements and var_bytes etc. 
look normal. Somebody
suggested earlier a leak of domnodes, but this does not look so, since 
it would imply a larger

number of cmds.

let your server grow close to crash and check the results again (e.g. 
when it reaches 3GB or 3.5GB).
If the numbers don't change significantly, it is highly likely that 
there is a c-level memleak involved and

it is not an application problem (oacs, dotlrn).

hope, this helps
-gustaf neumann
PS: there are four lines with TOTAL in the report file. does this mean 
you have only four

connection threads running?


--
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] More on lost of memory of aolserver process

2005-10-17 Thread Agustin Lopez
Hello!

Here it is a url from some results of your script

http://pizarra.uv.es/report.txt

I have not understand very much the results. 
Do you see anything strange?

Regards,
Agustin

> patrick o'leary schrieb:
> 
> > You may not want to run that within aolserver.
> >
> > The exec creates a fork, which can double the
> > about of memory consumed.
> 
> I used this on large and small machine (my notebook) without problems on 
> significant
> blueprints (oacs + dotlrn). exec creates a new address space (not 
> running into the 4GB limit);
> Since modern OSes do a copy page on write, i really doubt that this exec 
> is doubling the memory
> consumption
> 
> However, the line with the exec is not essential for the script, drop it 
> and remove the variable vsz
> from the output.
> 
> -gustaf neumann
> 
> 
> --
> 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.
> 
> 


--

==
|   Jose Agustin Lopez Bueno |
|  E-Mail: [EMAIL PROTECTED]   |
|Home Page: http://www.uv.es/~lopezj/|
|http://www.uv.es/postman/   |
|Tfnos: +34-96-3544310  +34-96-3543129   |
|   Fax: +34-96-3544200  |
| Servicio de Informatica, Univ. de Valencia, Spain  |
==


--
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.