Re: Memory usage on reload and graceful -- still broken?
I had the same issue on Linux. My build had mod_perl compiled in static but mod_so was also compiled in. PerlFreshRestart was off, I didn't have any Perl sections, and no modules were loaded dynamically. My root process would grow by about 1MB each time it was HUPed. Something about mod_so was causing it to grow even though every module used was staticly compiled in. I tried everything I could think of when compiling to have mod_so compiled in without having memory growth problems, but eventually I gave up and eliminated it from my build. Douglas Leonard [EMAIL PROTECTED] On Thu, 20 Apr 2000, Doug MacEachern wrote: I have a static Solaris compilation, and have the same problems where the parent seems to grow by 1M each HUP. that's strange, do you have PerlFreshRestart On or some Perl sections? otherwise, kill -HUP with a static modperl is a noop.
Re: Memory usage on reload and graceful -- still broken?
Doug MacEachern wrote: I have a static Solaris compilation, and have the same problems where the parent seems to grow by 1M each HUP. that's strange, do you have PerlFreshRestart On or some Perl sections? otherwise, kill -HUP with a static modperl is a noop. You got me! I have Perl sections ... but I didn't know it was such a crime. Pretty bizarre behavior if you ask me. -- Joshua _ Joshua Chamas Chamas Enterprises Inc. NodeWorks free web link monitoring Huntington Beach, CA USA http://www.nodeworks.com1-714-625-4051
Re: Memory usage on reload and graceful -- still broken?
On Fri, Apr 21, 2000 at 11:28:18AM -0700, Joshua Chamas wrote: Doug MacEachern wrote: I have a static Solaris compilation, and have the same problems where the parent seems to grow by 1M each HUP. that's strange, do you have PerlFreshRestart On or some Perl sections? otherwise, kill -HUP with a static modperl is a noop. You got me! I have Perl sections ... but I didn't know it was such a crime. Pretty bizarre behavior if you ask me. We don't have perl sections and it does still occur. I will try with a static version and see if that fixes the problem. -- Paul Lindner [EMAIL PROTECTED] Red Hat Inc.
Re: Memory usage on reload and graceful -- still broken?
You got me! I have Perl sections ... but I didn't know it was such a crime. Pretty bizarre behavior if you ask me. it's not a crime, but if you're running Perl code during restart there's a strong chance you'll be growing the server size. i agree 1M is bizarre though.
Re: Memory usage on reload and graceful -- still broken?
Hi all, On Thu, 20 Apr 2000, Doug MacEachern wrote: I have a static Solaris compilation, and have the same problems where the parent seems to grow by 1M each HUP. that's strange, do you have PerlFreshRestart On or some Perl sections? otherwise, kill -HUP with a static modperl is a noop. I was going to get into this at some stage before family illness took me almost completely away from work, but since this thread has cropped up I might as well mention it. Dunno if it's relevant, but it's suspicious. When I do apachectl restart on Linux 2.0.34/libc5/1.3.9/1.21/5.005_03 (static build!) I noticed that for each restart @INC appeared to have an extra copy of the same element, which is set in the BEGIN block in startup.pl by a line like `use lib sever_root_relative("lib/perl");'. Unfortunately this is on my development machine and I am away from my office because of the family problems so I can't give you much more than that at present. I expect to visit my office sometime within the next week so if you think there is anything that I can send to help pin this down please let me know and I'll try to oblige. It's no sweat to me at all, of course. I'm not even sure I'm getting @INC correctly - it's well down on my priorities to check it at present. 73, Ged.