Re: Problems with Crypt::RIPEMD160

2008-08-25 Thread Jens Gassmann
Hi Perrin, You'll need to do some debugging on your code. The things that are most likely to be different in a persistent environment like mod_perl are environment variables, your current directory, the user you're running as (file permission problems often show up this way), CHECK and INIT bl

Re: Problems with Crypt::RIPEMD160

2008-08-25 Thread Jens Gassmann
Hi Dondi, RIPEMD160 is causing a segfault on my machine, on both versions of mod_perl. It is segfaulting on the digest() function. It appears there is something wrong the module? did you use the http://www.atomix.de/Crypt-RIPEMD160-0.05.tar.gz? There i patched like the bugreport described

Re: Problems with Crypt::RIPEMD160

2008-08-25 Thread Jens Gassmann
Hi Jim, # Always do these use strict; use warnings; use Crypt::RIPEMD160; sorry - the example code was too quick and short - i always use strict and warnings. But with strict and warnings the calculated hash is wrong too. :-) Regards, Jens

Error with B::TerseSize WAS: apache2::Status & B::TerseSize

2006-08-12 Thread Jens Gassmann
Hi Philip I assume you have the latest B-Size module installed (included TerseSize) 0.08 ? After the reading about the Apache::Status-Moduls, i give it a try. But the interessing links fails :-( Here the first information about the error, maybe you have an idea where i could start the debu

Best way to determine memory leaks?

2006-02-10 Thread Jens Gassmann
Hi, our new development-server run into out of memory and use more then 2GB Ram. How could i determine the process who is responsible for this memory leak? Server version: Apache/2.0.55 Server built: Jan 24 2006 15:02:24 Server's Module Magic Number: 20020903:11 Architecture: 64-bit Se

Re: Edit .pm file; Why must bounce Apache?

2006-01-21 Thread Jens Gassmann
Hi Pete, > Is there a setting I can change to make modperl look to see if Perl > files have changed so I don't have to keep re-starting Apache? take a look at Apache2::Reload jens -- Online Software Designer AISware CMS 3.0 [ http://www.aisware.de/ ] EMail: [EMAIL PROTECTED] Telefon: 0221/975

Long Running Process - make it a daemon?

2006-01-06 Thread Jens Gassmann
Hi, our CMS create sometimes long runnig tasks. This Tasks we start with the following code: `/usr/bin/perl -e 'use Modul; Modul->function($arg);' > /dev/null &`; This works. Apache returns the html-page and the long running function goes into the background. But if we restart Apache all ch

Re: *nix distro compatibility (was Re: survey)

2005-09-15 Thread Jens Gassmann
Hi, I don't think this changes your situation any. CGI is not really fast enough to use, so you still need mod_perl or FastCGI. Because the current crop of linux distros came out before mod_perl 2 but couldn't use mod_perl 1 (since they are using apache 2), they have poor mod_perl support in t

Re: a faster html::template?

2005-09-08 Thread Jens Gassmann
Hi, When I was using TT, my program was able to serve 1.7 requests per second. (tested with ab program - Apache Bench). After using HTML::Template, the same program, but modified to be able to use HTML::Template, was able to serve over 3 requests per second. After using HTML::Template::Compiled

Reload Modules with Script without to restart Apache?

2004-12-14 Thread Jens Gassmann
Hi, we manage a Perl-Script under mod_perl on a server without possibility to reload, the admin is away. Only new mod_perl_scripts we can install, is there a way to reload the broken modules we use? We could not restart the server, only install new scripts. Maybe we could write a script thats

Re: Gzip compression for dynamically generated content

2004-11-26 Thread Jens Gassmann
Hi Alex, Can anyone shed any light on this, or suggest an alternative way to dynamically compress the output from mod_perl? We are using Compress::Zlib use Compress::Zlib my $compress = Compress::Zlib::memGzip($output); my $length = length($compress); my $header = "Content-Type: text/html\n"; $

Re: File Save As instead of context/plain

2004-07-24 Thread Jens Gassmann
Hi Arnold, >Nice idea. But it doesn't work. Same behavior. sorry, i don't read my own recommeded text to the end :-( Years before i read that mod_perl and exit() do't work together - but with perl 5.6 modperl overwrites the exit() call. You are sure that the script runs under mod_perl? just prin

Re: File Save As instead of context/plain

2004-07-24 Thread Jens Gassmann
Hi Arnold, Maybe delete the exit call at the end of you script. Read here why not use exit under mod_perl Regards, Jens http://perl.apache.org/docs/1.0/guide/porting.html#Terminating_requests_and_processes__the_exit___and_child_terminate___functions #! /usr/local/bin/perl -w # File: junk.pl use s

Re: data sharing.

2004-06-01 Thread Jens Gassmann
Hi Perrin, hi list, sorry, my Template Module use it and so i think it could be so bad, but i learn gladly in addition, - Jens Perrin Harkins wrote: On Tue, 2004-06-01 at 09:46, Jens Gassmann wrote: maybe IPC-SharedCache helps you: http://search.cpan.org/~samtregar/IPC-SharedCache-1.3

Re: data sharing.

2004-06-01 Thread Jens Gassmann
Hello Anthony, maybe IPC-SharedCache helps you: http://search.cpan.org/~samtregar/IPC-SharedCache-1.3/SharedCache.pm Regards, jens -- "If the facts don't fit the theory, change the facts" Albert Einstein EMail: [EMAIL PROTECTED] Handy: 0179/136 10 16 Büro : 0221/975 08 20 -- Report problems: http

Apache::SmallProf

2004-05-07 Thread Jens Gassmann
/1749638154688210/startseite/aktuelles/news-143.htm Whats wrong? I could not find any additionaly documentation to Apache::DB - maybe someone could help me here, Thanks and regards, -- jens gassmann Online Software Design - http://www.aisware.de/ -- Report problems: http://perl.apache.or