Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2004 17:19:56 -0800
From:      "Noah" <admin2@enabled.com>
To:        freebsd-questions@freebsd.org
Subject:   RE: newsyslog and apache
Message-ID:  <20040323011541.M31827@enabled.com>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGCECMFKAA.Barbish3@adelphia.net>
References:  <20040322170038.M92688@enabled.com> <MIEPLLIBMLEEABPDBIEGCECMFKAA.Barbish3@adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Mar 2004 12:57:03 -0500, JJB wrote
> Do you have your newsyslog configured the way it's pointed out in
> the archive thread about rotating the apache logs? That may be the
> root cause of your problem, and the memory thing is an result, not
> an cause. Look closer at that tread.


Hi,

Thanks so much but this your response still does not appear to be answering my
issues.

been looking at the thread called "apache log files rotation" in the march
threads.  I can see that somebody has recommended using SIGUSR1 or newsyslog
30 to restart the apache daemon.

I ask that you please be specific as to what you think is wrong with my
newsyslog.conf file because I cant seem to figure out what you are talking
about here?  Looks like my newsyslog.conf file matches the recommended config:

link:
http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/038439.html

Could apache be experiencing or creating some type of memory leak?  there are
2GB of installed RAM on this machine.


- Noah



> 
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Noah
> Sent: Monday, March 22, 2004 12:03 PM
> To: freebsd-questions@freebsd.org
> Subject: RE: newsyslog and apache
> 
> On Mon, 22 Mar 2004 11:13:02 -0500, JJB wrote
> > Check the archives for the past 3 weeks, this was covered in
> detail.
> >
> 
> Hi,
> 
> thanks for the heads up but I am unable to find any references to
> apache
> complaining of memory issues in the freebsd-questions list archive.
> Searched
> both the March and February threads - found nothing.
> 
> might you send me to the URL that contains this information.
> 
> I did find a thread about configuring newsyslog to rotate the httpd
> files but
> my issue goes further.   So more clues would be helpful here.
> 
> - Noah
> 
> > -----Original Message-----
> > From: owner-freebsd-questions@freebsd.org
> > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Noah
> > Sent: Monday, March 22, 2004 6:06 AM
> > To: freebsd-questions@freebsd.org
> > Subject: newsyslog and apache
> >
> > FreeBSD 4.9
> > apache 1.3.28
> >
> > apache complains of being out of memory during a graceful restart
> > when
> > newsyslog is sending a series of SIGUSR1 signal to it.  Any clues
> on
> > this?
> >
> > here is the log file output:
> >
> > --- snip ---
> > [Mon Mar 22 00:06:08 2004] [notice] SIGUSR1 received.  Doing
> > graceful restart
> > Out of memory during request for 11468 bytes, total sbrk() is
> > 8937472 bytes!
> > Callback called exit.
> > END failed--call queue aborted at /dev/null line 2.
> > Callback called exit at /dev/null line 2.
> > END failed--call queue aborted at /dev/null line 66.
> > Callback called exit at /dev/null line 66.
> > --- snip ---
> >
> > my /etc/newsyslog.conf entries:
> >
> > --- snip ---
> > /usr/local/www/logs/www.domain1.com/access_log  640  30    *
> @T00
> > Z
> >  /var/run/httpd.pid 30
> > /usr/local/www/logs/www.domain1.com/error_log   640  30    *
> @T00
> > Z
> >  /var/run/httpd.pid 30
> > /usr/local/www/logs/www.domain2.org/access_log 640  30    *   @T00
> > Z
> >  /var/run/httpd.pid 30
> > /usr/local/www/logs/www.domain2.org/error_log  640  30    *   @T00
> > Z
> >  /var/run/httpd.pid 30
> > /usr/local/www/logs/www.domain3.com/access_log  640  30    *
> @T00
> > Z
> >  /var/run/httpd.pid 30
> > /usr/local/www/logs/www.domain3.com/error_log   640  30    *
> @T00
> > Z
> >  /var/run/httpd.pid 30
> > --- snip ---
> >
> > - Noah
> >
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040323011541.M31827>