Re: Running a proxy in front of mod_perl on Win32
On Fri, Jan 28, 2011 at 3:31 AM, Michiel Beijen wrote: > On Fri, January 28, 2011 01:14, Michael Peters wrote: >> Another thing that maybe the OP should look at (if he hasn't already) is >> to run a proxy in front of the main mod_perl application. Even if the >> proxy is on the same machine it will help because you can reduce the >> number of memory-heavy mod_perl processes/threads and handle the same >> number of connections. > > I have read that advice before; then it was because of this bug concerning > running mod_ssl + mod_perl at the same time on Win32: > https://issues.apache.org/bugzilla/show_bug.cgi?id=36751 Even if that problem is fixed, the advice to use a proxy server is good. > What would be the best (windows-style) way of running a proxy in front of > apache? There are many proxy servers available. If you search the list archives for "proxy" you should find many posts discussing the pros and cons of various ones. - Perrin
[JOB] sysadmin for large mod_perl site
Hi Folks, We're looking for a new sysadmin. There are multiple tools involved, but our largest systems are running mod_perl, so finding someone with expertise in that would be great. Job posting follows. - Perrin Experienced Systems Administrator We Also Walk Dogs Location: Anywhere http://www.actionkit.com/ We need an experienced Linux systems administrator to help our clients -- progressive groups like MoveOn.org, Democracy for America and BoldProgressives.org -- change the face of politics. You will be responsible for deploying new applications and machines, building tools to improve the performance of our deployments, and responding to (and eliminating!) on-call alerts. We manage our own and our clients' growing infrastructure of 30 physical servers and 50-60 virtual machines. You must have experience managing production server clusters. You should also be familiar with most or all of these technologies: CentOS/RHEL, Perl, Python, Django, Subversion, MySQL, memcached, monitoring systems like Nagios or Ganglia, configuration management tools like Chef, and virtualization layers like Xen. You also need to know network configuration and equipment: firewalls, routers, load balancers, and the like. You must be a self-starter, capable of taking a project from start to finish without constant direct supervision. You need to be able to communicate clearly with your colleagues and clients via email, IM and phone. This is a full-time contract position. About We Also Walk Dogs -- We Also Walk Dogs is a small, close-knit team. We develop cutting-edge tools that power some of the biggest social change groups around; we're both a laboratory and an engine. Your co-workers are some of the best and brightest in the business. We Also Walk Dogs engineers have written books, built cutting-edge election tools and authored popular open source Perl and Python modules. We have a virtual office. You can live wherever you want and you'll be in touch with your colleagues by IM, email, and phone. Apply for this position --- Send a quick summary of why you're the right person for this job, along with a resume, to Patrick Michael Kane at j...@wawd.com
RE: build of libapreq2 fails
Thanks, adding the LDFLAGS environment variable got me past the linking errors: env LDFLAGS="-L/usr/local/lib -R/usr/local/lib -lexpat" perl Makefile.PL \ --with-apache2-apxs=/usr/local/apache2/bin/apxs but now I am wondering if the perl modules will work when I see warnings like this snippet produced by (I think) XSBuilder: mkdir xs writing...xs//typemap WARNING no convert code for HASH(0xe8f600) -> {typemapid} WARNING no convert code for HASH(0xe8f600) -> {typemapid} WARNING no convert code for HASH(0xe8f4ec) -> {typemapid} WARNING no convert code for HASH(0xe8f4ec) -> {typemapid} WARNING no convert code for HASH(0xe8f4d4) -> {typemapid} WARNING no convert code for HASH(0xe8f4d4) -> {typemapid} WARNING no convert code for HASH(0xe8f498) -> {typemapid} WARNING no convert code for HASH(0xe8f498) -> {typemapid} WARNING no convert code for HASH(0xe8f4e0) -> {typemapid} WARNING no convert code for HASH(0xe8f4e0) -> {typemapid} Parse xsbuilder/maps/apreq_functions.map... DEFINE DEFINE_apreq_xs_APR__Request__Apache2_handle arg=const char *:class, request_rec *:r DEFINE DEFINE_apreq_xs_APR__Request__CGI_handle arg=const char *:class, apr_pool_t *:p DEFINE DEFINE_apreq_xs_APR__Request__Cookie__Table_get arg= DEFINE DEFINE_apreq_xs_APR__Request__Cookie__Table_FETCH arg= DEFINE DEFINE_apreq_xs_APR__Request__Cookie__Table_NEXTKEY arg= DEFINE DEFINE_apreq_xs_APR__Request__Cookie__Table_FIRSTKEY arg= DEFINE DEFINE_apreq_xs_APR__Request__Cookie__Table_do arg= DEFINE DEFINE_apreq_xs_APR__Request_parse arg= DEFINE DEFINE_apreq_xs_APR__Request_jar arg= DEFINE DEFINE_apreq_xs_APR__Request_args arg= DEFINE DEFINE_apreq_xs_APR__Request_body arg= DEFINE DEFINE_apreq_xs_APR__Request_param arg= DEFINE DEFINE_apreq_xs_APR__Request__Param__Table_get arg= DEFINE DEFINE_apreq_xs_APR__Request__Param__Table_FETCH arg= DEFINE DEFINE_apreq_xs_APR__Request__Param__Table_NEXTKEY arg= DEFINE DEFINE_apreq_xs_APR__Request__Param__Table_FIRSTKEY arg= DEFINE DEFINE_apreq_xs_APR__Request__Param__Table_do arg= DEFINE DEFINE_apreq_xs_APR__Request__Brigade_new arg= DEFINE DEFINE_apreq_xs_APR__Request__Brigade_TIEHANDLE arg= DEFINE DEFINE_apreq_xs_APR__Request__Brigade_READ arg= DEFINE DEFINE_apreq_xs_APR__Request__Brigade_READLINE arg= DEFINE DEFINE_apreq_xs_APR__Request__Brigade__IO_read arg= DEFINE DEFINE_apreq_xs_APR__Request__Brigade__IO_readline arg= struct apreq_cookie_t... Parse xsbuilder/maps/apreq_structures.map... WARNING: apreq_cookie_t for path not in mapfile WARNING: apreq_cookie_t for domain not in mapfile WARNING: apreq_cookie_t for port not in mapfile WARNING: apreq_cookie_t for comment not in mapfile WARNING: apreq_cookie_t for commentURL not in mapfile WARNING: apreq_cookie_t for max_age not in mapfile WARNING: apreq_cookie_t for flags not in mapfile WARNING: apreq_cookie_t for v not in mapfile struct apreq_handle_t... WARNING: apreq_handle_t for module not in mapfile WARNING: pool not in mapfile WARNING: bucket_alloc not in mapfile There are alot more of these warnings that I've omitted to shorten this already lengthy post. Thanks for any insights into these messages. -James From: John D Groenveld [jdg...@elvis.arl.psu.edu] Sent: Thursday, January 27, 2011 6:48 PM To: modperl@perl.apache.org Subject: Re: build of libapreq2 fails In message <527c4914f1b2ea47b38422de0fa05a65064b1ba...@dh201.dhmcmaster.dh.hitc hcock.org>, "James B. Muir" writes: >Hi, I am trying to build libapreq2 so that I may use it with Apache2 and mo= >d_perl. I'm on a Solaris 10 system. The version of Apache I am using is old= >: > >./bin/apachectl -v >Server version: Apache/2.0.59 >Server built: Aug 22 2006 11:38:34 http://www.apache.org/dist/httpd/CHANGES_2.0.64> > >I receive the following surprising errors during the build of libapreq2: > >gmake[2]: Entering directory `/opt/sfw/libapreq2-2.13/module' >/bin/bash ../libtool --tag=3DCC --mode=3Dlink gcc -g -O2 `/usr/local/lib= >apreq2-2. >13/apreq2-config --link-libtool` -L/usr/local/apache2/lib -laprutil-0 -L/u= >sr/lo >cal/apache2/lib -lapr-0 -o test_cgi test_cgi.o >gcc -g -O2 -o .libs/test_cgi test_cgi.o /opt/sfw/libapreq2-2.13/library/.l= >ibs/l >ibapreq2.so -L/usr/local/apache2/lib /usr/local/apache2/lib/libaprutil-0.so= > /usr >/local/apache2/lib/libapr-0.so -lsendfile -lrt -lm -lsocket -lnsl -lresolv = >-lpth >read -R/usr/local/apache2/lib >Undefined first referenced >symbol in file >XML_Parse /usr/local/apache2/lib/libaprutil-0.so >XML_ParserCreate/usr/local/apache2/lib/libaprutil-0.so >XML_ErrorString /usr/local/apache2/lib/libaprutil-0.so >XML_SetUserData /usr/local/apache2/lib/libaprutil-0.so >XML_ParserFree /usr/local/apache2/lib/libaprutil-0.so >XML_GetErrorCode/usr/local/apache2/lib/libaprutil-0.so >XML_SetCharacterDataHandler /usr/local/apache2/lib/l
Re: failure to build Apache2::Request
According to Joe Schaefer on Sun, 01/30/11 at 12:36: > > FreeBSD has a port for www/p5-libapreq2 THANK YOU! :-) I had looked for Apache2 and Request (case sensitive) in /usr/ports and finding none was forced to consider CPAN modules. I would have never thought to have looked for (lowercase) libapreq2 - in fact the number of www/p5- ports in FreeBSD with all lowercase names is less than ten (10!) and this is an up-to-date (8.2-PRERELEASE) system - go figure... :-) Regards, web... -- William Bulley Email: w...@umich.edu 72 characters width template ->|