RE: load balancing on apache

2001-12-14 Thread Frédéric SCHWIEN
With this amount of connections, you may want to check LVS at http://www.linuxvirtualserver.com or Ultra Monkey et http://ultramonkey.sourceforge.net/(althought i never used the last one, I think it might be easier to use). This is open, efficient and reliableload balancing and high

startup.pl for configuration

2001-07-24 Thread Frédéric Schwien
Hi, I would like to have a config file like /etc/mywebapp.conf where I would put all my modules configuration. Then I would have a WebApp::LoadConfig module that would run from startup.pl, and initialize my Perl modules default variables at Apache start. My config file would be some

File Space Usage ... in perl ?

2000-10-21 Thread Frédéric Schwien
Hi, I'm wondering if there is a way to get exactly the same result of system fonction "du" in Perl. I need to know the disk Space tooken by a directory and it's sub-directory. To do that, I used the find method in File::Find to get the size (using -s file test) of each file and dir in a

having several mod_perl virtualhosts on the same machine

2000-10-09 Thread Frédéric Schwien
Hi, i'am encouring problems with a machine that is hosting several completly independant modperl featured host. It is crashing without any apparent reason (nothing in the logs), and it seems to be a lack of memory (1 GB !). The only visual aspect is that it becomes impossible to login in

Re: open(FH,'|qmail-inject') fails

2000-09-07 Thread Frédéric Schwien
Might be a faq, but why would open(FH,'|qmail-inject') fail with fatal: read-error from within mod_perl? Use open MAIL, "| /var/qmail/bin/qmail-inject" or die_html("test"); print MAIL "[your mail]"; close MAIL; I suppose you forgot the full path to qmail-inject ...

Apache::Session : DBI-Too many connections

2000-07-29 Thread Frédéric Schwien
Hi , I am using Perl 5.6.0 whith MySql 3.22.32 , Apache 1.3.12 , modperl 1.24 . On our Production Server , Apache error logs are showing sometimes : [Thu Jun 8 14:53:34 2000] [error] DBI-connect failed: Too many connections at /usr/local/lib/perl5/site_perl/5.6.0/Apache/Session/

Fwd: apache_1.3.12 / mod_perl-1.22 ... Bug in mod_perl 1.22 on certain platform ?

2000-04-14 Thread Frédéric Schwien
# #experimental features, use at own risk #but please report success or failure if you try #try to stop "Use of uninitialized value." with no line/filename info # PERL_MARK_WHERE=1 -- -- ==== | Frédéric Schwien | Admi

apache_1.3.12 / mod_perl-1.22 ... install crash !

2000-04-13 Thread Frédéric Schwien
Hi, I'm using apache_1.3.12 / mod_perl-1.22 , on Suse 6.1 . when I try to install modperl, when perl Makefile.PL, I get the result before. After that, I can't make make test make install : make test crashes at listening to the port 8529. I think I did everything recommended in mod_perl