Re: Performance Tuning -- How do I determine the correct value forRLimitMEM?

2001-02-14 Thread Vasily Petrushin
On Wed, 14 Feb 2001, Franco Finstad wrote: > I have a modper/DBI/Oracle8i/solaris2.7 site and I'm having performance > problem because I have too many apache processes that are too big. The > machine grinds to a crawl for a normal amount of users. > > The problem is that at server startup I imme

Re: Segfault: apache-1.3.17+modperl-1.25

2001-02-14 Thread Vasily Petrushin
On Wed, 14 Feb 2001, Gary Algier wrote: > My children are segfaulting. > > I have: > Solaris 2.6 (w/all latest patches installed right after the OS) > Perl 5.6.0 (no largefiles, no threads) > Apache 1.3.17 > modperl 1.25 (as a DSO) > gcc 2.95.2 (using Sun's as and l

Re: are there any missing modules?

2001-02-14 Thread Stas Bekman
Quoting Matt Sergeant <[EMAIL PROTECTED]>: > On Wed, 14 Feb 2001, Stas Bekman wrote: > > > Well, I've finally have cracked this tedious task down. I've pretty > much > > done with the modules chapter for the book (of course I didn't > document > > all of them, it'll require a separate book if I

Re: Performance Tuning -- How do I determine the correct value forRLimitMEM?

2001-02-14 Thread Blue Lang
On Wed, 14 Feb 2001, Franco Finstad wrote: > The problem is that at server startup I immediately have a bunch of apache > process that are already using swap, but I have 4GB of RAM. What's going > on?? i'm not an engineer, but i've run several sites on what i assume it roughly the same equipment

PREFIX behavior question...

2001-02-14 Thread Joseph Crotty
hey all, I built apache/mod_perl using the PREFIX argument, but am puzzled by the results. I assumed that the Perl modules would be installed into the location specified by PREFIX(according to Stas's guide), which is the case if the location is absolute, but not if it is relative(Stas's guide us

Performance Tuning -- How do I determine the correct value for RLimitMEM?

2001-02-14 Thread Franco Finstad
I have a modper/DBI/Oracle8i/solaris2.7 site and I'm having performance problem because I have too many apache processes that are too big. The machine grinds to a crawl for a normal amount of users. The problem is that at server startup I immediately have a bunch of apache process that are alread

Re: bug repository???

2001-02-14 Thread Randal L. Schwartz
> "Joseph" == Joseph Crotty <[EMAIL PROTECTED]> writes: Joseph> Is there any sort of mod_perl bug repository?? You mean where the bugs live? I think that's called "the source code". :-) "bug reports" would be a different matter. I presume Doug is keeping track of those. -- Randal L. Sc

bug repository???

2001-02-14 Thread Joseph Crotty
Is there any sort of mod_perl bug repository?? Joe Crotty

Re: Segfault: apache-1.3.17+modperl-1.25

2001-02-14 Thread ___cliff rayman___
did u compile the perl, apache and mod_perl all with the same compiler, assembler and linker?? you may want to search in the archives: solaris dso sigsegv i remember quite a few issues a while back. hth, -- ___cliff [EMAIL PROTECTED]http://www.genwax.com/ Gary Algier wrote: > My children are

Re: cron for mod_perl?

2001-02-14 Thread Robert Landrum
Perhaps I've missed something, but in all this discussion no one has asked what it is you're trying to do. All I know is that you want to schedule something in a database and then check that database every minute (or so) and process the scheduled somethings. Generally speaking, 'at' is the si

Segfault: apache-1.3.17+modperl-1.25

2001-02-14 Thread Gary Algier
My children are segfaulting. I have: Solaris 2.6 (w/all latest patches installed right after the OS) Perl 5.6.0 (no largefiles, no threads) Apache 1.3.17 modperl 1.25 (as a DSO) gcc 2.95.2 (using Sun's as and ld) If I run apache leaving out: LoadMo

Apache->read timed out

2001-02-14 Thread Deja User
Hello , I am getting "Apache->read timed out messages in my error_log,now i have been looking at this problem for a while now before posting it for help, whats happening is if i test my application from within the network , because the connection being very fast i am not having any problems

Re: cron for mod_perl?

2001-02-14 Thread Perrin Harkins
On Wed, 14 Feb 2001, Pierre Phaneuf wrote: > I guess two persons "simpler" aren't always the same: I find it easier > laying out a table and querying it than hacking something to fiddle with > my crontab safely. As far as I know, crontab -e is perfectly safe. - Perrin

location and directory directives

2001-02-14 Thread Jie Gao
Hi All, I have been trying to go through the document directories, find out all the .htaccess files (which have their own authen/author configurations), parse and merge the authorisation info with the mod_perl authentication/authorisation directives in the server config file via the section. Th

Re: cron for mod_perl?

2001-02-14 Thread Pierre Phaneuf
Perrin Harkins wrote: > Sure, but why waste resources? Because it's easy? :-) > > As for the simplicity, having multiple individual custom cron jobs is > > simpler than one single generic cron job? > > Yes, much simpler, at least for the scheduling and dispatching part. > Instead of designing

Re: Interested in writing for the O'Reilly Network?

2001-02-14 Thread Matt Sergeant
Plus don't forget, if you'd rather not be paid, and/or have previously published articles, take23 is always looking for article content :-) On Mon, 12 Feb 2001, Schuyler Erle wrote: > The O'Reilly Network is looking for a few good mod_perl hackers to share > their expertise with the readers of w

Newbie question about AuthCookieDBI

2001-02-14 Thread Renu Thamma
Hi all, I am a newbie user of mod_perl trying to work with Apache::AuthCookieDBI and have been running into several obstacles. I'm hoping someone can point me in the right direction. I just installed Apache::AuthCookie successfully and was able to get it to work with the necessary changes in m

Interested in writing for the O'Reilly Network?

2001-02-14 Thread Schuyler Erle
The O'Reilly Network is looking for a few good mod_perl hackers to share their expertise with the readers of www.perl.com and www.OnLAMP.com, our new Open Source web development site. We're looking to buy previously unpublished articles about mod_perl, Apache, perl, and other similar subjects, lik

Re: Slow $r->print

2001-02-14 Thread Michael Bacarella
On Tue, Feb 13, 2001 at 12:14:32AM +0100, Alvar Freude wrote: > > When I get really stumped, I whip out strace/ktrace. > > > > I don't know how I used to get along without it. It's time consuming, > > but 95% of the time it will tell you exactly what you need to know. > > hmmm, with mod_perl?

Re: Slow $r->print

2001-02-14 Thread Michael Bacarella
On Tue, Feb 13, 2001 at 12:02:33AM +0100, Alvar Freude wrote: > > do you get a high CPU load during those 4 seconds? > > NO! Even if i request 10 documents at the same time, there is no > significant load (except the Postgres load and some DBI stuff in the > beginning before printing). Hmmm, sl

Re: mod_vhost_alias / ProxyPassReverse problem

2001-02-14 Thread Tony Finch
Ime Smits <[EMAIL PROTECTED]> wrote: > >Now this all works fine except when a client side redirect using meta >http-equiv tags occurs, in which case the hostname part in the url holds a >:81 suffix, effectively bypassing the proxy. Use the following config: Listen 81 Port 80 In

DBI+mod_perl SegFault!

2001-02-14 Thread Eric J. Peters
Hi all- I'm really having a problem I hope I might be able to get some help with. I'm using Apache 1.3.14, mod_perl 1.24, DBI 1.14, MySQL Modules 1.2215, Perl 5.6.0, and MySQL 3.22.32. (I think that's all that's relevant) In my httpd.conf I have the following: #---

Re: cron for mod_perl?

2001-02-14 Thread Perrin Harkins
On Wed, 14 Feb 2001, Pierre Phaneuf wrote: > I think you are over-evalutating the stress on my server. With the > speediest time base I was talking about (once per minute cron job), that > would be 1440 HEAD requests per day, each requiring 1 simple database > query that will most probably return

Newbie question about AuthCookieDBI

2001-02-14 Thread Renu Thamma
Hi all, I am a newbie user of mod_perl trying to work with Apache::AuthCookieDBI and have been running into several obstacles. I'm hoping someone can point me in the right direction. I just installed Apache::AuthCookie successfully and was able to get it to work with the necessary changes in my

Perl sections / Location problems

2001-02-14 Thread Michael J Schout
I've been scratching my head on this for quite a while and I cant seem to figure it out. I have a very stripped down configuration, which only contains the following section: use Apache::Status; $Location{"^/perl-status-1\$"} = { SetHandler => 'perl-script', PerlHandler => 'Apache::Statu

Re: Is *anybody* running perl 5.6, modperl_1.25, apache_1.3.17 & PHP4.0.4pl1 OK ?

2001-02-14 Thread Robin Berjon
At 19:23 14/02/2001 +, tim fulcher wrote: >Matt Sergeant wrote: >> > --with-sablot=/export/tools/Sablot-0.44 >> ^ >> >> This is most likely your problem. Try with Sablot 0.50 which links to the >> same expat as XML::Parser > >That would be my approach ..

Re: cron for mod_perl?

2001-02-14 Thread Pierre Phaneuf
Perrin Harkins wrote: > > Yes, exactly. My plan is to have a table with the tasks in my database, > > and check expired tasks in a cleanup handler. I'll have to lock the > > table, so that only one process does that. I'll also query the database > > only every so often, not at every request clean

Re: Is *anybody* running perl 5.6, modperl_1.25, apache_1.3.17 & PHP4.0.4pl1 OK ?

2001-02-14 Thread Robert Landrum
Try setting LD_LIBRARY_PATH to wherever your xml lib is located. Another possiblity is that you're using the old Sablotron.so (0.44) rather than the newer one... I've never used Sablotron, but I've had similar problems with ld.so and oracle (libclntsh.so). In almost every case, setting the L

Re: Is *anybody* running perl 5.6, modperl_1.25, apache_1.3.17 & PHP4.0.4pl1 OK ?

2001-02-14 Thread Matt Sergeant
On Wed, 14 Feb 2001, tim fulcher wrote: > Matt Sergeant wrote: > > > On Wed, 14 Feb 2001, tim fulcher wrote: > > > > > Hi > > > > > > finally build PHP4 as > > > > > > ./configure --with-apxs=/export/tools/apache/bin/apxs > > > --prefix=/export/tools --with-ldap --disable-xml \ > > > --with-sablo

Re: Is *anybody* running perl 5.6, modperl_1.25, apache_1.3.17 & PHP4.0.4pl1 OK ?

2001-02-14 Thread tim fulcher
Matt Sergeant wrote: > On Wed, 14 Feb 2001, tim fulcher wrote: > > > Hi > > > > finally build PHP4 as > > > > ./configure --with-apxs=/export/tools/apache/bin/apxs > > --prefix=/export/tools --with-ldap --disable-xml \ > > --with-sablot=/export/tools/Sablot-0.44 >

RE: baffled by vs. problem [SOLVED]

2001-02-14 Thread Ray Zimmerman
Thanks ... I finally figured out what it was ... the path I was using in was not consistent with the one used in DocumentRoot because of the use of symlinks. I fixed that and things are working fine now. Ray

Re: cron for mod_perl?

2001-02-14 Thread Perrin Harkins
> > Huh? Why would you call it if there's nothing to do? Are you thinking > > you'll write a cron-ish task/timing spec for your Perl app and just use > > the cron triggers as a constant clock? > > Yes, exactly. My plan is to have a table with the tasks in my database, > and check expired tasks i

Re: Is *anybody* running perl 5.6, modperl_1.25, apache_1.3.17 &PHP 4.0.4pl1 OK ?

2001-02-14 Thread Matt Sergeant
On Wed, 14 Feb 2001, tim fulcher wrote: > Hi > > finally build PHP4 as > > ./configure --with-apxs=/export/tools/apache/bin/apxs > --prefix=/export/tools --with-ldap --disable-xml \ > --with-sablot=/export/tools/Sablot-0.44 ^ This is most likely your probl

Is *anybody* running perl 5.6, modperl_1.25, apache_1.3.17 & PHP 4.0.4pl1 OK ?

2001-02-14 Thread tim fulcher
Hi Has anybody managed to get the combination in the title coexisting happily ? My platform is Solaris 2.6 and my perl config is listed right at the bottom of this message. Evrything compiles without complaint. PHP works fine, Sablotron (via Perl & PHP) works fine, but any script using XML::Pars

RE: [OT] Re: apachecon: BOF?

2001-02-14 Thread Geoffrey Young
> -Original Message- > From: Robert Landrum [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 11:06 AM > To: [EMAIL PROTECTED] > Subject: [OT] Re: apachecon: BOF? > > > At the risk of sounding ignorant, what is BOF? well, Birds-Of a-Feather session, in conference-speak.

[OT] Re: apachecon: BOF?

2001-02-14 Thread Robert Landrum
At the risk of sounding ignorant, what is BOF? Rob > >> I wouldn't mind a mod_perl beer-BOF like the one we had at the last night > > of ApacheCon Europe -- "Only two things are infinite: The universe, and human stupidity. And I'm not sure about the former." --Albert Einstein

Re: modperl and win32

2001-02-14 Thread Randy Kobes
On Wed, 14 Feb 2001, Xavier Bouligaud wrote: > if I don't have VC++ on win32, how I can use Perl with Apache. If you're running Win32 ActivePerl, there are some ppm packages of mod_perl and some other Apache::* modules available - see http://perl.apache.org/distributions.html for links. best re

modperl and win32

2001-02-14 Thread Xavier Bouligaud
if I don't have VC++ on win32, how I can use Perl with Apache.

Re: "idea" modules info

2001-02-14 Thread Pierre Phaneuf
Svante Sörmark wrote: > > > ConfigDBI i Config via DBI andMARKIM > > Oracle's new Apache-based application-server stores its config in > the database. It might be good for some ideas. Any pointer to information? -- "A Perl script is correct if it gets the job done

Re: dmake on win32 with mod_perl-1.25

2001-02-14 Thread Randy Kobes
On Wed, 14 Feb 2001, Xavier Bouligaud wrote: > When i run dmake, I have > makefile: line 1051: error -- Expecting macro or rule defn, found neither mod_perl on Win32 is currently set up for using VC++, and consequently expects nmake. best regards, randy kobes

Re: cron for mod_perl?

2001-02-14 Thread Pierre Phaneuf
Perrin Harkins wrote: > > Well, if I call the "check for things to do" URI every minute, then I'll > > be just fine. Many times, I'll just check and find nothing to do > > Huh? Why would you call it if there's nothing to do? Are you thinking > you'll write a cron-ish task/timing spec for your

RE: baffled by vs. problem

2001-02-14 Thread Geoffrey Young
> -Original Message- > From: Ray Zimmerman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 13, 2001 4:10 PM > To: modperl List > Subject: baffled by vs. problem > > [snip] > > When I put the following in my httpd.conf ... > > > SetHandler perl-script > PerlHandler A

dmake on win32 with mod_perl-1.25

2001-02-14 Thread Xavier Bouligaud
Hi, When i run dmake, I have makefile: line 1051: error -- Expecting macro or rule defn, found neither   So I don't understand what it doesn't find.

Re: are there any missing modules?

2001-02-14 Thread Matt Sergeant
On Wed, 14 Feb 2001, Stas Bekman wrote: > Well, I've finally have cracked this tedious task down. I've pretty much > done with the modules chapter for the book (of course I didn't document > all of them, it'll require a separate book if I did. but quite many are > documented). > > So please take

Probably off topic but 113 errors and Netcache

2001-02-14 Thread Wade Burgett
I've got a bunch of sites using cookies to authenticate and to pass some (crypted) hashes around. I've got one guy behind a "netcache" proxy server (his cable modem provider apparently routes everyone through it) gets a 113 error when trying to access one of my mod_perl scripts. I dont think