Re: Horrible handler memory leak

2002-12-03 Thread Stas Bekman
Hann, Brian wrote: I'm having a problem with a fairly simple handler eating up resources and I'm wondering if there's any easy way to track it down. The handler fetches data from an Oracle database and displays it using Template-Toolkit. Nothing fancy, just some display logic, etc. The

Horrible handler memory leak

2002-12-02 Thread Hann, Brian
I'm having a problem with a fairly simple handler eating up resources and I'm wondering if there's any easy way to track it down. The handler fetches data from an Oracle database and displays it using Template-Toolkit. Nothing fancy, just some display logic, etc. The thing is, when I try to

Re: Horrible handler memory leak

2002-12-02 Thread joe
Brian, Are you trying to read the entire 8000 records into a single array/hash? You might try splitting the record set into pieces and reuse that array/hash. -- Joe Palladino Hann, Brian wrote: I'm having a problem with a fairly simple handler eating up resources and I'm wondering if

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-22 Thread Vivek Khera
KGM == Keith G Murphy [EMAIL PROTECTED] writes: KGM When using a modular mod_perl, I get a huge leak if I preload the 'Pg' KGM driver in my startup perl script thus: Hmmm. Interesting theory. I shall have to investigate it. I also see a multi-megabyte memory leak in my app when DBD::Pg

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-18 Thread Juha-Mikko Ahonen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OK, it gets weirder. The following script produces the leak. If I comment out the install_driver line, I get a big old segfault! Same if I comment out the Apache::DBI line in addition. This works with plain apache, or apache-ssl.

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-18 Thread Keith G. Murphy
Juha-Mikko Ahonen wrote: I looked into it with the following setup: apache 1.3.26-0woody1 libapache-mod-perl 1.27-2 postgresql 7.2.1-2woody2 There was a Test.pm module handling all requests for /. It opened a connection to the database and fetched a couple of rows. With

Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Keith G. Murphy
Since memory leaks seem to be the topic du jour, I wondered if anyone else had seen this one: When using a modular mod_perl, I get a huge leak if I preload the 'Pg' driver in my startup perl script thus: #!/usr/bin/perl use strict; use Apache::Status (); use Apache::DBI ();

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Stathy G. Touloumis
Using Debian's static-mod_perled apache-perl eliminates the problem. Do you mean you are using the 'so' version that comes with Debian? You should be using the static build of apache/mod_perl

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Keith G. Murphy
Stathy G. Touloumis wrote: Using Debian's static-mod_perled apache-perl eliminates the problem. Do you mean you are using the 'so' version that comes with Debian? Yes, in the case that failed. The package is called 'libapache-mod-perl'. You should be using the static build of

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Juha-Mikko Ahonen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 16 October 2002 20:25, Keith G. Murphy wrote: By should, do you mean that the problems with the loadable module overall are so well-known that no one in his right mind should ever use it? Yes. The problems with DSO mod_perl are well

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Ged Haywood
Hi there, On Wed, 16 Oct 2002, Keith G. Murphy wrote: do you mean that the problems with the loadable module overall are so well-known that no one in his right mind should ever use it? It's not as bad as that. Significant improvements have been made in the reliability of mod_perl as DSO and

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Keith G. Murphy
with it. If at first you don't succeed, try again. Then give up. Actually, that is what I have done already, several months ago. Seeing several reports of memory leak problems in the list made me think: Hmmm, wonder if someone else has seen this?

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Keith G. Murphy
Juha-Mikko Ahonen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 16 October 2002 20:25, Keith G. Murphy wrote: By should, do you mean that the problems with the loadable module overall are so well-known that no one in his right mind should ever use it? Yes. The

RE: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Joe Breeden
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 2:02 PM To: mod_perl Mailing List Subject: Re: Memory leak on reload when the 'Pg' driver is preloaded Ged Haywood wrote: Hi there, On Wed, 16 Oct 2002, Keith G. Murphy wrote: do you mean that the problems

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Ged Haywood
Hi there, On Wed, 16 Oct 2002, Keith G. Murphy wrote: Significant improvements have been made in the reliability of mod_perl as DSO and nowadays there is much less discussion about it on this list. Are you sure it's not because 'most everyone has silently given up on it? Yes, I'm

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Keith G. Murphy
Ged Haywood wrote: Hi there, On Wed, 16 Oct 2002, Keith G. Murphy wrote: Significant improvements have been made in the reliability of mod_perl as DSO and nowadays there is much less discussion about it on this list. Are you sure it's not because 'most everyone has silently given up on

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Daniel Jacobowitz
On Wed, Oct 16, 2002 at 02:01:33PM -0500, Keith G. Murphy wrote: Ged Haywood wrote: Hi there, On Wed, 16 Oct 2002, Keith G. Murphy wrote: do you mean that the problems with the loadable module overall are so well-known that no one in his right mind should ever use it? It's not as

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Keith G. Murphy
Daniel Jacobowitz wrote: On Wed, Oct 16, 2002 at 02:01:33PM -0500, Keith G. Murphy wrote: My own bug report is now 47 days old, without apparent followup. Hmmm, I probably should not have posted that. Sounds like a major whine. That's because I'm having an attack of real life. I haven't

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Juha-Mikko Ahonen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 16 October 2002 22:52, Keith G. Murphy wrote: It's not like it was an obvious problem: I only got the DSO to leak when loading the Pg driver. That's pretty obscure. Have you tried to connect() without loading the Pg driver first?

Re: Memory leak on reload when the 'Pg' driver is preloaded

2002-10-16 Thread Keith G. Murphy
[debian-isp readers, to recap, I'm trying to confirm a memory-leak/segfault problem with Debian stable plus apache(-ssl) plus libapache-mod-perl. The memory leak happens upon /etc/init.d/apache(-ssl) reload. You can see my startup script and my other comments below.] Juha-Mikko Ahonen

Finding a memory leak

2002-10-15 Thread Davis, Benjamin
I'm dealing with a large code base here and I'm hoping to find out what is being loaded into memory to make an Apache child jump from 25mb to 145mb (interestingly it seems to only affect one every now and then rather than the whole pool) in about 10 seconds. Is there a way to have Apache dump

Re: file upload memory leak

2001-07-26 Thread Jeremy Howard
Jack Cushman wrote: I am having a problem with very large file uploads (eg 100 MB). While the files load, the apache process stays at about 12000 K (the ps VSZ size). When the file finishes uploading, the thread suddenly jumps to over 20. My guess is that something is loading the whole

Re: DSO mod_perl HUP memory leak

2001-06-15 Thread Vivek Khera
DM == Doug MacEachern [EMAIL PROTECTED] writes: DM 1.21_01 had two dso fixes, one to close all .so's opened by DynaLoader and DM one to call perl_shutdown(), both of which were large leaks. with DM 1.25_01-dev and Perl 5.6.1 i see a 4k growth on the first kill -USR1 and DM no change after

DSO mod_perl HUP memory leak

2001-06-14 Thread Paul G. Weiss
I know that this is an ongoing problem, but I seem to remember that someone somewhere had a patch that reduced the size of the memory leak on restarts to a manageable size. Has this patch been applied to the CVS version? If not, can some kind soul tell me where to find it? I've looked around

Re: DSO mod_perl HUP memory leak

2001-06-14 Thread Doug MacEachern
On Thu, 14 Jun 2001, Paul G. Weiss wrote: I know that this is an ongoing problem, but I seem to remember that someone somewhere had a patch that reduced the size of the memory leak on restarts to a manageable size. Has this patch been applied to the CVS version? If not, can some kind soul

Re: Memory leak

2001-06-03 Thread Steven Lembark
script offers database search facilities on the web. If a search is performed which results in many (namely 400) rows being returned, then the httpd child that serves the request grows by 2 MB. Have a child serve that request ten times, and its size will grow from an initial 8 MB to 28

Solved: Memory leak

2001-05-31 Thread Antonios Christofides
In case anyone is interested: the memory leak I described a week ago turns out to be a problem of the combination of HTML::Template with Perl 5.005_03 (probably a bug in Perl 5.005_03 memory management triggered by HTML::Template). I upgraded to Perl 5.6.1 and now not a single byte leaks. My

Memory leak

2001-05-28 Thread Antonios Christofides
Hi all. I have a huge memory leak with mod_perl. I'm using a RedHat 6.2 Linux 2.2.14 system with Perl 5.00503, Apache 1.3.14, and mod_perl 1.23. Both Apache and mod_perl come from RedHat's packages, and mod_perl runs as DSO. My script uses CGI, DBI, Apache::DBI, and HTML::Template. No errors

Re: Memory leak

2001-05-28 Thread Ged Haywood
Hi there, On Mon, 28 May 2001, Antonios Christofides wrote: script offers database search facilities on the web. If a search is performed which results in many (namely 400) rows being returned, then the httpd child that serves the request grows by 2 MB. Have a child serve that request ten

AW: Memory leak

2001-05-28 Thread Matthias Hanns
apache-thread in opposite of it in the manual clean-up? Matthias -Ursprungliche Nachricht- Von: Ged Haywood [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 28. Mai 2001 20:08 An: Antonios Christofides Cc: [EMAIL PROTECTED] Betreff: Re: Memory leak Hi there, On Mon, 28 May 2001, Antonios

Re: AW: Memory leak

2001-05-28 Thread Stas Bekman
On Mon, 28 May 2001, Matthias Hanns wrote: Hi, I had the same prob and lowering maxrequestsperchild helped. Are there possibilities to clean up the used mem on end of the mod_perl-script manually? Or have I always set maxrequestsperchild to lower values? If it?s possible to do it by

DBD::mysql memory leak!

2001-02-01 Thread Mark Blythe
I have been testing and troubleshooting this for days, and I can find no other answer to my problem except that DBD::mysql has a memory leak. I have narrowed it down to this small script running through Apache::Registry: use DBI; use

Re: DBD::mysql memory leak!

2001-02-01 Thread Sean C. Brady
Hi Mark. On Thu, 1 Feb 2001, Mark Blythe wrote: I have been testing and troubleshooting this for days, and I can find no other answer to my problem except that DBD::mysql has a memory leak. I have narrowed it down to this small script running through Apache::Registry

Re: perl's memory leak

2001-01-11 Thread Doug MacEachern
On Fri, 8 Dec 2000, Perrin Harkins wrote: Unfortunately, GTop is kind of a pain to compile. It seems to depend on some Gnome stuff. We use Apache::SizeLimit for this reason, and it works well. there's a configure --disable-gnome switch for libgtop. can still be a pain though.

memory leak in win32

2000-12-13 Thread Son Chang
Hi, I'm experiencing a memory leak with Apache 1.3.14 with mod_perl 1.23 and perl5.6.0 on Windows NT4.0 and Windows2000. I've been running some test with a very simple ModPerl handler which just outputs an HTML page with hello world in it. Also, I made sure to undef all variables that I use

Re: memory leak in win32

2000-12-13 Thread Buddy Lee Haystack
I've had memory leak issues on Linux [so I don't know how appropriate this advise is for Windows], and the fix that worked the best for others myself was to actually kill the apache server restart it. The process takes seconds, and can be automated scheduled for off-hours. If you search

RE: memory leak in win32

2000-12-13 Thread Harshy Wanigasekara
Son Chang wrote: Hi, I'm experiencing a memory leak with Apache 1.3.14 with mod_perl 1.23 and perl5.6.0 on Windows NT4.0 and Windows2000. I've been running some test with a very simple ModPerl handler which just outputs an HTML page with hello world in it. Also, I made sure to undef all

Re: perl's memory leak

2000-12-10 Thread Tim Bunce
), but the right part memory (one more 1M) can be used nowhere except the same line of code. This is strange. I understand that it can be an optimization trick, but when you frequently operate with megabytes, this becomes a pleasant feature which looks and behaves like a memory leak

Re: perl's memory leak

2000-12-09 Thread Ivan E. Panchenko
memory (one more 1M) can be used nowhere except the same line of code. This is strange. I understand that it can be an optimization trick, but when you frequently operate with megabytes, this becomes a pleasant feature which looks and behaves like a memory leak :) Ivan The matter is that perl

Re: perl's memory leak

2000-12-09 Thread mark warren bracher
it seems as if most (if not all) the techniques for checking the size of the current process are _very_ platform specific. on linux you can use Apache::SizeLimit::linux_size_check which is just parsing /proc/self/status. - mark Stas Bekman wrote: On Thu, 7 Dec 2000 [EMAIL PROTECTED]

Re: perl's memory leak

2000-12-08 Thread Stas Bekman
On Fri, 8 Dec 2000, mark warren bracher wrote: it seems as if most (if not all) the techniques for checking the size of the current process are _very_ platform specific. on linux you can use Apache::SizeLimit::linux_size_check If you have linux you have (or can have GTop), which gives

Re: perl's memory leak

2000-12-08 Thread Perrin Harkins
On Fri, 8 Dec 2000, Stas Bekman wrote: If you have linux you have (or can have GTop), which gives you an API to do this and many other things. Apache::SizeLimit::linux_size_check is just a custom function that you cannot really re-use (unless you put it into some other module...

perl's memory leak

2000-12-07 Thread Ivan E. Panchenko
Today I discovered a strange behaiviour of perl, and I wonder if anybody can tell me what to do with it. The matter is that perl DOES NOT REUSE MEMORY allocated for intermediate calculation results. This is specially harmful to data-intensive modperl applications where one perl process

Re: perl's memory leak

2000-12-07 Thread newsreader
The output I get is used memory = 0 used memory = 0 used memory = 0 used memory = 0 used memory = 0 I'm interested in how many leaks are possible in mod_perl though because my mod_perl processes are getting bigger with time -- about 200 requests is making the process fatter by 1mb on the

Re: perl's memory leak

2000-12-07 Thread Stas Bekman
On Thu, 7 Dec 2000, Ivan E. Panchenko wrote: Today I discovered a strange behaiviour of perl, and I wonder if anybody can tell me what to do with it. The matter is that perl DOES NOT REUSE MEMORY allocated for intermediate calculation results. This is specially harmful to

Re: perl's memory leak

2000-12-07 Thread Perrin Harkins
On Thu, 7 Dec 2000, Ivan E. Panchenko wrote: Today I discovered a strange behaiviour of perl, and I wonder if anybody can tell me what to do with it. The matter is that perl DOES NOT REUSE MEMORY allocated for intermediate calculation results. This is specially harmful to data-intensive

[OT] Re: perl's memory leak

2000-12-07 Thread Andrew Wyllie
Hi Ivan, It's not really mod_perl, but is relevant to people on the list I guess... If you really play aorund with this, you'll find some interesting variations. If I assign $cc using a for loop my $c; for ( 1..2000) { $cc .= 'a'; } it's a lot slower, but only

Re: perl's memory leak

2000-12-07 Thread Stas Bekman
On Thu, 7 Dec 2000 [EMAIL PROTECTED] wrote: The output I get is used memory = 0 used memory = 0 used memory = 0 used memory = 0 used memory = 0 I get the same under perl 5.6.0 on linux, looks like BSD::Resource doesn't work there :( Anyone? Use gtop instead (if you have it): use

Re: perl's memory leak

2000-12-07 Thread Ivan E. Panchenko
You probably tried this script on linux or some other not fully BSD compartible system. We obtained same zeros on linux, where getrusage() means something else than on FreeBSD, but if you try measuring memory sizes with ps or top, you should observe the mentioned leak. Please insert sleep(10)

RE: memory leak under WinNT - fixed

2000-11-01 Thread Harshy Wanigasekara
Hi again, We managed to fix the problem described below. The issue was the win32 porting code in perl. In the file perl-5.6.0/win32/win32.h commenting out the line: #define ENV_IS_CASELESS fixes the memory leak problem. -harshy -Original Message- From: Harshy Wanigasekara

Apache::ASP / memory leak?

2000-10-06 Thread Jim Turner
Greetings, I am using Apache 1.3.9 on Linux kernel 2.0.36 using ApacheASP wrapped around my CGI scripts. I have the following test script which works fine unless I declare the array variable "v" as "my @v". This causes massive memory consumption in that much more memory is

Re: Apache::ASP / memory leak?

2000-10-06 Thread Joshua Chamas
Jim Turner wrote: Greetings, I am using Apache 1.3.9 on Linux kernel 2.0.36 using ApacheASP wrapped around my CGI scripts. I have the following test script which works fine unless I declare the array variable "v" as "my @v". This causes massive memory consumption in that much

Re: Memory leak hell...

2000-09-11 Thread Matt Sergeant
On Mon, 11 Sep 2000, Stas Bekman wrote: I was thinking about going thru the symbol table and dumping all the variables. And run diff between the dumps of the two requests. Be careful though that Devel::Peek doesn't show a complete dump for the whole structure, and I couldn't find the

Re: Memory leak hell...

2000-09-11 Thread Stas Bekman
On Mon, 11 Sep 2000, Matt Sergeant wrote: On Mon, 11 Sep 2000, Stas Bekman wrote: I was thinking about going thru the symbol table and dumping all the variables. And run diff between the dumps of the two requests. Be careful though that Devel::Peek doesn't show a complete dump for the

Re: Memory leak hell...

2000-09-11 Thread Matt Sergeant
On Mon, 11 Sep 2000, Stas Bekman wrote: On Mon, 11 Sep 2000, Matt Sergeant wrote: On Mon, 11 Sep 2000, Stas Bekman wrote: I was thinking about going thru the symbol table and dumping all the variables. And run diff between the dumps of the two requests. Be careful though that

Re: Memory leak hell...

2000-09-11 Thread Doug MacEachern
On Sun, 10 Sep 2000, Matt Sergeant wrote: For 2 days solid now I've been trying to track down a very bizarre memory leak in AxKit. I've checked everything I can think of - all circular references are now gone, all closures clean up carefully after themselves, and I've reduced the usage

RE: Memory leak hell...

2000-09-11 Thread Geoffrey Young
-Original Message- From: Doug MacEachern [mailto:[EMAIL PROTECTED]] Sent: Monday, September 11, 2000 2:54 PM To: Matt Sergeant Cc: [EMAIL PROTECTED] Subject: Re: Memory leak hell... [snip] look for xsubs in those modules you're using that are calling new{SV,AV,HV,RV

Memory leak hell...

2000-09-10 Thread Matt Sergeant
For 2 days solid now I've been trying to track down a very bizarre memory leak in AxKit. I've checked everything I can think of - all circular references are now gone, all closures clean up carefully after themselves, and I've reduced the usage of some external modules. But still the processes

Re: Memory leak hell...

2000-09-10 Thread Stas Bekman
On Sun, 10 Sep 2000, Matt Sergeant wrote: For 2 days solid now I've been trying to track down a very bizarre memory leak in AxKit. I've checked everything I can think of - all circular references are now gone, all closures clean up carefully after themselves, and I've reduced the usage

Re: Memory leak hell...

2000-09-10 Thread Perrin Harkins
Matt Sergeant wrote: Can anyone give me _any_ help in figuring out where this might be coming from? When I'm working on problems like this, there are two basic things I try. They're not rocket science, but they usually work. The first is removing sections of code until the leak goes away.

Re: Memory leak hell...

2000-09-10 Thread Matt Sergeant
On Sun, 10 Sep 2000, Stas Bekman wrote: On Sun, 10 Sep 2000, Matt Sergeant wrote: For 2 days solid now I've been trying to track down a very bizarre memory leak in AxKit. I've checked everything I can think of - all circular references are now gone, all closures clean up carefully

Re: Memory leak hell...

2000-09-10 Thread Stas Bekman
On Sun, 10 Sep 2000, Matt Sergeant wrote: On Sun, 10 Sep 2000, Stas Bekman wrote: On Sun, 10 Sep 2000, Matt Sergeant wrote: For 2 days solid now I've been trying to track down a very bizarre memory leak in AxKit. I've checked everything I can think of - all circular

Re: Memory Leak

2000-08-18 Thread Stas Bekman
On Tue, 15 Aug 2000, vegan.star wrote: I have some mod_perl modules. I suspect that it has a memory leak. I'm running that in a Sun Solaris 2.6 machine with apache 1.3.9. I read that exists Apache::Leak to test for leaks. How it works? I have some packages and I put into them like

Memory Leak

2000-08-15 Thread vegan.star
I have some mod_perl modules. I suspect that it has a memory leak. I'm running that in a Sun Solaris 2.6 machine with apache 1.3.9. I read that exists Apache::Leak to test for leaks. How it works? I have some packages and I put into them like this: package package_name; use Apache::Leak

Help with memory leak

2000-06-15 Thread gc
I'm having a memory leak problem that I suspect comes from a mod_perl module of mine. The module talks to a MySQL database using DBI. I can't see any memory hogs when I check the linux box with 'top', but after several days the computer inevitably grinds to a halt. This didn't happen before

Re: Memory leak in DBD::Connect()

2000-05-06 Thread John D Groenveld
Of course, the short term fix, is to lower MaxRequestsPerChild which will hopefully reduce the leakage but won't help performance. Leaks in DBD::Oracle and Oracle's own libraries are not entirely rare. You should send your simple, stand-alone example to the dbi-user's mailing list with your

Memory leak in DBD::Connect()

2000-05-05 Thread Matt Barringer
Has anyone else come across a problem using DBD::Oracle, where connect() leaks approximately 80k every time it is used (which, in my case, is with every request child processes handle)? It's negligable with regular perl scripts, but I've seen child sizes grow to 40 megs before I killed them all.

Re: memory leak during server graceful restarts

2000-04-11 Thread Doug MacEachern
On Fri, 7 Apr 2000, Nikki Chumakov wrote: mod_perl probaly have memory leakage during rereading configs (e.g. on the apachectl graceful) do you have PerlFreshRestart On? if so, try turning it off. i think dso leaks on restart too, try linking static if that's the problem. a static httpd

Re: memory leak during server graceful restarts

2000-04-11 Thread Nikki Chumakov
Doug MacEachern wrote: On Fri, 7 Apr 2000, Nikki Chumakov wrote: mod_perl probaly have memory leakage during rereading configs (e.g. on the apachectl graceful) do you have PerlFreshRestart On? if so, try turning it off. i think dso leaks on restart too, try linking static if that's

Re: memory leak during server graceful restarts

2000-04-10 Thread Douglas Leonard
I have run into the same issue also both with mod_perl as a DSO module or compiled staticly. I have tested it using apache-1.3.6 and apache-1.3.12 w/ mod_perl-1.22 and mod_perl-1.21. The memory growth also occurs if I HUP the server rather than sending USR1. Since the problem only occurs if

memory leak during server graceful restarts

2000-04-06 Thread Nikki Chumakov
mod_perl probaly have memory leakage during rereading configs (e.g. on the apachectl graceful) My system: RH 6.1, linux-2.2.15pre17 glibc-2.1 apache-1.3.12 mod_ssl-2.6.2 russian patches (ftp.lexa.ru/pub/apache-rus/) PL29.4 mm-1.0.12 mod_perl-1.22 With mod_perl module enabled in httpd.conf

Re: Memory leak/server crashes

2000-01-26 Thread Doug MacEachern
and MySQL 3.22.25 is used with Apache::DBI. The major problem seems to be a memory leak of some sort, identical to that described in the "memory leak in mod_perl" thread on this list from October 1997 and the "httpd, mod_perl and memory consumption (long)" thread from

Re: Memory leak/server crashes

2000-01-11 Thread James Furness
Why, reinvent the wheel? I wrote Apache::VMonitor (grab from CPAN) that does all this and more (all but tail -f) I use it all the time, saves me a lot of time, since I don't have to telnet! Ok - I will try to look into that when I get time. 2) Open up and hack Apache::SizeLimit and have

Re: Memory leak/server crashes

2000-01-11 Thread James Furness
is used with Apache::DBI. The major problem seems to be a memory leak of some sort, identical to that described in the "memory leak in mod_perl" thread on this list from October 1997 and the "httpd, mod_perl and memory consumption (long)" thread from July 1997. [sn

Memory leak/server crashes

2000-01-09 Thread James Furness
with Apache::DBI. The major problem seems to be a memory leak of some sort, identical to that described in the "memory leak in mod_perl" thread on this list from October 1997 and the "httpd, mod_perl and memory consumption (long)" thread from July 1997. The server runs normal

Re: Memory leak/server crashes

2000-01-09 Thread Sean Chittenden
Jan 2000 19:58:00 - From: James Furness [EMAIL PROTECTED] Reply-To: James Furness [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Memory leak/server crashes I'm looking for some help getting apache to run reliably. Apache 1.3.9 with mod_perl 1.21 and Perl 5.005_03 is running on a dual

Re: Memory leak/server crashes

2000-01-09 Thread James Furness
Try using Apache::SizeLimit as a way of controlling your processes. Sounds like a recursive page that performs infinite internal requests. Ok, sounds like a good solution, but it still seems to me I should be eliminating the problem at the source. Any ideas as to how I could narrow down the

Re: Memory leak/server crashes

2000-01-09 Thread Chip Turner
gh traffic, and use a lot of CGI and MySQL 3.22.25 is used with Apache::DBI. The major problem seems to be a memory leak of some sort, identical to that described in the "memory leak in mod_perl" thread on this list from October 1997 and the "httpd, mod_perl and memory consumption (long

Re: Memory leak/server crashes

2000-01-09 Thread Sean Chittenden
] Subject: Re: Memory leak/server crashes Try using Apache::SizeLimit as a way of controlling your processes. Sounds like a recursive page that performs infinite internal requests. Ok, sounds like a good solution, but it still seems to me I should be eliminating the problem at the source

Re: Memory leak/server crashes

2000-01-09 Thread Stas Bekman
On Sun, 9 Jan 2000, Sean Chittenden wrote: Yeah... two things I'd do: 1) Open two telnet sessions to the box. One for top that is monitoring processes for your web user (www typically) and is sorting by memory usage w/ a 1 second refresh. I'd change the size of the window