Re: Memory Usage

2007-03-30 Thread Jay Buffington
> My main problem is: Memory Usage. > Currently, the apache processes take (each) about 150 MB memory, > what's quite a lot. Now, i've been wondering which module and why it > takes that much memory at all. Check out this thread: http://aspn.activestate.com/ASPN/Mail/Message/modperl/3173671

Re: Sub Requests

2007-03-30 Thread Joe Schaefer
Anthony Gardner <[EMAIL PROTECTED]> writes: > Okay, including the new query string in the lookup_uri now correctly > populates the QUERY_STRING in the sub request but > that isn;t the answer to my problems. > > Within the called script, we make a call to $cgi->Vars but this is > returning the que

Re: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Fred Moyer
Charlie Katz wrote: Hi All, I've been following this discussion closely because I had what seems to be the same problem Sagar is having. I started greping around in the mod_perl source code (I have 2.0.2) and found this in modperl_perl.c: -

Re: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Charlie Katz
Hi All, I've been following this discussion closely because I had what seems to be the same problem Sagar is having. On Friday 30 March 2007 12:19 pm, Perrin Harkins wrote: > This might be a silly question, but what makes you think this has to > do with tainting?  If it was a taint problem, woul

bug(s) in FreeBSD Apache2::SizeLimit ?

2007-03-30 Thread Jonathan Vanasco
note: this is on a machine running freebsd 6.1 i also mistakingly posted this from a not-subscribed address. hopefully no one will approve that :) mp2.02 I was running mp2.02 on production , and the recent memory usage had me to quickly try profiling with apache2::sizelimit (which i haven'

Re: Memory Usage

2007-03-30 Thread Jonathan Vanasco
On Mar 30, 2007, at 8:00 AM, Georg Grabler wrote: Hello list, I'm developing a quite large project, using SOAP::Lite and some more modules using mod_perl. My main problem is: Memory Usage. If you search the archives using my name, you'll fine a ton of stuff about me complaining and going

Re: Memory Usage

2007-03-30 Thread Evaldas Imbrasas
Currently, the apache processes take (each) about 150 MB memory, what's quite a lot. Now, i've been wondering which module and why it takes that much memory at all. Georg, How do you determine how much memory each Apache process is taking? If you're on Linux, it's tricky to correctly determine

uploading problem

2007-03-30 Thread Michael Greenish
Hello, I doubt this is specifically a modperl problem but if not, perhaps someone can point me to a better group to post this message with? First, I am using: modperl 2.0.x perl 5.8.5 Linux I have a page on a site where users can upload as many pictures as they like. I am using the cgi class

RE: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Sagar.Shah
> -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: 30 March 2007 17:19 > To: Shah, Sagar: IT (LDN) > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > modperl@perl.apache.org; Client Research Development > Subject: Re: "Insecure dependency in eval while running setgid

Re: Sub Requests

2007-03-30 Thread Anthony Gardner
Cool. you're a diamond. stay tuned for the next problem!! Perrin Harkins <[EMAIL PROTECTED]> wrote: On 3/30/07, Anthony Gardner wrote: > One more question, I had to put the data in notes so that it was available > in the inital script. Is that the right way to do it? That's a good way to do it.

Re: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Perrin Harkins
On 3/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The untainting itself however happens just before the error is thrown, so think it's more about estabilishing in precisely which conditions the m// operator loses it's ability to untaint and coming up with the most trivial demonstration of

RE: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Clinton Gormley
> I think I remember saying that so far I've only been testing after > graceful restarts (so what I would assume u call respawned children). Again, this may be COMPLETELY unrelated, but I've had some serious issues with graceful restart and stop in apache 2.2 / 2.4 With graceful restarts, I get

Re: Sub Requests

2007-03-30 Thread Perrin Harkins
On 3/30/07, Anthony Gardner <[EMAIL PROTECTED]> wrote: One more question, I had to put the data in notes so that it was available in the inital script. Is that the right way to do it? That's a good way to do it. I think the alternative is to rig some kind of filter to capture the output of the

RE: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Sagar.Shah
Hi Clinton, Thanks for your input :) > -Original Message- > From: Clinton Gormley [mailto:[EMAIL PROTECTED] > Sent: 30 March 2007 16:50 > To: Shah, Sagar: IT (LDN) > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > modperl@perl.apache.org; Client Research Development > Subject: RE: "Insecure

Re: Sub Requests

2007-03-30 Thread Anthony Gardner
Ookay. Had a play with initalising the globals and got the thing working. One more question, I had to put the data in notes so that it was available in the inital script. Is that the right way to do it? Perrin, thanks for all your help on this. I've learnt a lot more, too which is als

RE: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Clinton Gormley
I may have missed your reply somewhere in the thread, but Robert Landrum asked the question about whether this happens only in children that have respawned, and I haven't seen you comment about it. It may be worth adding a call to Apache2::ServerUtil::restart_count() into the debugging statement.

RE: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Sagar.Shah
> -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: 30 March 2007 15:38 > To: Shah, Sagar: IT (LDN) > Cc: [EMAIL PROTECTED]; modperl@perl.apache.org; Client > Research Development > Subject: Re: "Insecure dependency in eval while running setgid" error > > On 3/

Re: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Perrin Harkins
On 3/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: What we found is that sometimes the problem would occur with httpd processes that had served nothing other than this page and static content (gifs, js files etc.) . Okay, and did you try repeating that sequence of requests to see if it tr

Re: Memory Usage

2007-03-30 Thread gautam chekuri
While I dont know if this would help, but faced with a similar situation, I might try something on the following lines: 1. write a small script that uses SOAP:Lite (may be copy hibye.cgi from http://guide.soaplite.com/) 2. setup htttpd.conf to use Apache::Status 3. Run apache in single-process mod

RE: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Sagar.Shah
Hi Perrin, > -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: 30 March 2007 14:27 > To: Shah, Sagar: IT (LDN) > Cc: [EMAIL PROTECTED]; modperl@perl.apache.org; Client > Research Development > Subject: Re: "Insecure dependency in eval while running setgid" erro

Re: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Perrin Harkins
On 3/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I did this yesterday along with the other debugging. Unfortunately there doesn't seem to be a sequence of hits. The child process could have served multiple hits to the page in question or none at all. You need the sequence this child fol

Re: Sub Requests

2007-03-30 Thread Perrin Harkins
On 3/30/07, Anthony Gardner <[EMAIL PROTECTED]> wrote: Within the called script, we make a call to $cgi->Vars but this is returning the query string from the initial request. That's just a problem with the way CGI.pm is coded. It essentially doesn't work for subrequests or internal redirects b

Re: Memory Usage

2007-03-30 Thread Kjetil Kjernsmo
On Friday 30 March 2007 14:00, Georg Grabler wrote: > Initially, the apache processes take 42 MB each (i think this should > be mostly shared memory and a lot of preloaded projects, as usual on > a developer machine). If i connect using SOAP, the process jumps up > to 140-150MB, and i just can't th

RE: "Insecure dependency in eval while running setgid" error

2007-03-30 Thread Sagar.Shah
Hi Rob, > -Original Message- > From: Robert Landrum [mailto:[EMAIL PROTECTED] > Sent: 29 March 2007 20:14 > To: Shah, Sagar: IT (LDN) > Cc: modperl@perl.apache.org > Subject: Re: "Insecure dependency in eval while running setgid" error > > [EMAIL PROTECTED] wrote: > > I'm hoping tho tha

Memory Usage

2007-03-30 Thread Georg Grabler
Hello list, I'm developing a quite large project, using SOAP::Lite and some more modules using mod_perl. My main problem is: Memory Usage. Currently, the apache processes take (each) about 150 MB memory, what's quite a lot. Now, i've been wondering which module and why it takes that much memory

Re: Apache::DBI (another) question

2007-03-30 Thread Clinton Gormley
On Thu, 2007-03-29 at 17:31 -0400, Jonathan Vanasco wrote: > On Mar 29, 2007, at 1:01 PM, Perrin Harkins wrote: > > > Apache::DBI handles this for you. It checks if you are connection > > during startup and does not make your connection persistent if you > > are. > > is this new-ish ( like withi

Re: Sub Requests

2007-03-30 Thread Anthony Gardner
Okay, including the new query string in the lookup_uri now correctly populates the QUERY_STRING in the sub request but that isn;t the answer to my problems. Within the called script, we make a call to $cgi->Vars but this is returning the query string from the initial request. Is it taking that f