mysql connection pooling

2013-06-27 Thread xiaolan
Hi, Currently I have been using Apache::DBI for long connections to Mysql. But having the problem that, if the apache processes are 1, they open 1 connections to mysql, this make the DB crashed. Is there any software for modperl working like Java's JDBC for connection pooling? Thanks.

Re: How to replace non aschii character and replace with blank space

2013-06-27 Thread Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
'abcd5³³³€€½¼¬trgdg¼5# sf fs ´dg ßdsf' =~ s/\P{ASCII}/\N{SPACE}/gr; __END__ abcd5trgdg 5# sf fs dg dsf In the future, please observe the this mailing list's user guide, your question was off-topic.

Re: mysql connection pooling

2013-06-27 Thread Perrin Harkins
Hi, There is nothing exactly like the database pool in JDBC. However, there are solutions for this problem. The first thing you should do is run a reverse proxy in front of your mod_perl server. That typically reduces the number of mod_perl processes by a factor of 10, i.e. 1000 mod_perl

Re: mysql connection pooling

2013-06-27 Thread xiaolan
Thank you Perrin. Yes I should use Nginx as a reverse-proxy for modperl appservers, but I don't yet. I will check it. Thanks. On Fri, Jun 28, 2013 at 3:05 AM, Perrin Harkins phark...@gmail.com wrote: Hi, There is nothing exactly like the database pool in JDBC. However, there are solutions

svn commit: r1497221 - in /perl/modperl/branches/httpd24: Makefile.PL lib/Apache2/ParseSource.pm lib/ModPerl/MapUtil.pm

2013-06-27 Thread jkaluza
Author: jkaluza Date: Thu Jun 27 06:39:28 2013 New Revision: 1497221 URL: http://svn.apache.org/r1497221 Log: Save results of xs_generate to xs/tables/current24 when buildign with httpd-2.4. This allows having generated xs wrapping for both httpd-2.4 and httpd-2.2 versions. Modified:

svn commit: r1497222 [1/7] - in /perl/modperl/branches/httpd24/xs/tables: current/Apache2/ current/ModPerl/ current24/ current24/APR/ current24/Apache2/ current24/ModPerl/

2013-06-27 Thread jkaluza
Author: jkaluza Date: Thu Jun 27 06:41:26 2013 New Revision: 1497222 URL: http://svn.apache.org/r1497222 Log: Move xs/tables generated with httpd-2.4 into current24 directory and revert old current directory to xs/tables generated with httpd-2.2. Added:

svn commit: r1497226 - /perl/modperl/branches/httpd24/xs/Apache2/ServerUtil/Apache2__ServerUtil.h

2013-06-27 Thread jkaluza
Author: jkaluza Date: Thu Jun 27 07:03:04 2013 New Revision: 1497226 URL: http://svn.apache.org/r1497226 Log: Port server_rec::loglevel to perl only when compiling with httpd-2.4 Modified: perl/modperl/branches/httpd24/xs/Apache2/ServerUtil/Apache2__ServerUtil.h Modified: