Re: Getting at server's MaxClients setting?

2002-11-27 Thread Bas A . Schulte
Geoff, On Wednesday, November 27, 2002, at 03:07 PM, Geoffrey Young wrote: in this case, MaxClients looks like it calls ap_daemons_limit to make the setting, so you may be able to create a subclass that offers up that API to perl-land. for more information on how, you can check out the slide

Getting at server's MaxClients setting?

2002-11-27 Thread Bas A . Schulte
Hi, is it possible to get at the configured MaxClients setting from within my handler? I checked Apache::Server which gives you some configuration information but there's no accessor for MaxClients. Any other, easy, way?

MySQL & prepared sql statements?

2002-11-24 Thread Bas A . Schulte
Hi, I'm wondering if I would gain (some) performance by preparing my sql statements once during ChildInit when using MySQL? Does it cache execution plans for sql statements? I know it makes a big difference on Oracle but I'm not sure what MySQL is like in this respect. Regards, Bas.

IPC suggestions sought/talking between children?

2002-10-23 Thread Bas A . Schulte
Hi all, I'm looking for some suggestions on a problem I'm looking at. I have a mod_perl handler running that sends out certain push messages (could be e-mail, could be an http post etc.) for several customers that are identified by a unique identifier. Examples: http://my.server.com/myhandler

FYI: MySQL default max_connections

2002-10-22 Thread Bas A . Schulte
Hi all, just recovering from a major spike on our MySQL server and thought I'd share something *I* didn't know... We got a db box with MySQL on it and 2 (mod_perl) webservers on separate boxes, the mod_perl servers have MaxClients set to 160 for one machine and 40 for the other. Now we had a l

Apache/mod_perl still not ready for OS X?

2002-06-08 Thread Bas A . Schulte
Hi, I've been postponing to move my Linux Apache/mod_perl development to my highly appreciated iBook running Mac OS X due to all the required tweaks until now. I would imagine things have been sorted out by now so I downloaded apache 1.3.24 to give it a go. The system I'm working on has a sel

Re: Inline generation of error document?

2002-04-19 Thread Bas A . Schulte
Hi all, On Thursday, April 18, 2002, at 04:58 PM, Geoffrey Young wrote: >> I'm a little confused (honestly). I want to handle parameter errors in >> a content handler. When there's a parameter missing in the URL, my >> handler returns HTTP_BAD_REQUEST. >> Now Apache sees the HTTP_BAD_REQUEST r

Inline generation of error document?

2002-04-18 Thread Bas A. Schulte
Hi all, I'm a little confused (honestly). I want to handle parameter errors in a content handler. When there's a parameter missing in the URL, my handler returns HTTP_BAD_REQUEST. Now Apache sees the HTTP_BAD_REQUEST return value from my handler and generates an error (HTML) document. How ca

Re: Non-web use for Apache/mod_perl

2002-03-21 Thread Bas A. Schulte
Hi, On Thursday, March 21, 2002, at 11:39 AM, Ilya Martynov wrote: >> On Thu, 21 Mar 2002 00:40:24 +0100, Bas A.Schulte >> <[EMAIL PROTECTED]> said: > > BAS> To handle a large number of concurrent transactions in a > BAS> transaction-safe environment without me having to worry too much

Re: Non-web use for Apache/mod_perl

2002-03-21 Thread Bas A. Schulte
Issac, On Thursday, March 21, 2002, at 11:01 AM, Issac Goldstand wrote: > Bas A.Schulte wrote: > >> Hi, >> >> I've been meaning to write an article about how I used Apache/mod_perl >> to implement a mobile SMS application platform as it demonstrates use >> of Apache/mod_perl outside the Web re

Re: Non-web use for Apache/mod_perl

2002-03-20 Thread Bas A . Schulte
Hi, On Thursday, March 21, 2002, at 12:57 AM, Drew Taylor wrote: > Have you tried Postgresql? It's a free, fast, ACID compliant database. > I have it compiled & running within a few hours, not knowing much of > anything about it before hand. From what I've read the speed is > comparable w/ my

Non-web use for Apache/mod_perl

2002-03-20 Thread Bas A . Schulte
Hi, I've been meaning to write an article about how I used Apache/mod_perl to implement a mobile SMS application platform as it demonstrates use of Apache/mod_perl outside the Web realm, something I hadn't seen so far. Time constraints (as always) have prevented me from doing this properly, h