Monday, July 16, 2007

Re: [BLUG] Running out of memory during log turnover

Is this always happening on the same time of the day?

If so, check your crontab(s) to verify that there isn't an unrelated reason
for memory to be low that time of night.

I know you're seeing the problem with Apache, but have you checked your other
log files? Sometimes a relatively minor warning in another logfile, at the
time that you're having the issue with main problem, can help you pinpoint
what is going on.

Cheers,
Steven Black

On Sat, Jul 14, 2007 at 11:29:19PM -0400, Joe Auty wrote:
> Hello,
>
> I'm wondering if anybody knows what I might do to address this problem.
> I'm using FreeBSD and Apache is having a hard time when my Apache error
> log files turn over causing Apache to crash with the following output to
> my error log... No other logs of any sort on the system cause this
> problem, but this happens consistently with my Apache error log:

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Re: [BLUG] Unix conventions for controlling file access

As others have said, this technique is decades old. There is nothing harmful
about it.

This technique is older than Linux, let alone the Ext2 file-system. Every
file-system for Linux has to support this, as it is an inherent
characteristic of Unix-like file-systems and our ability to do upgrades of
live systems (and perform rm -r / and actually delete everything).

Most security measures are about reducing risk. If you only have a temp. file
as an open-able file for a short period of time, it reduces the risk of
others snooping it on you. -- Especially when the names are picked truly
randomly.

Cheers,
Steven Black

On Fri, Jul 13, 2007 at 04:05:49PM +0000, Mark Krenz wrote:
> # lsof | grep deleted
> [snip]
> mysqld 31958 mysql 7u REG 9,0 0 15 /tmp/ibwZfdKe (deleted)
> mysqld 31958 mysql 13u REG 9,0 0 16 /tmp/ibR0K4tQ (deleted)
> mysqld 31959 mysql 6u REG 9,0 0 14 /tmp/ibuPNjWc (deleted)
> mysqld 31959 mysql 7u REG 9,0 0 15 /tmp/ibwZfdKe (deleted)
> mysqld 31959 mysql 13u REG 9,0 0 16 /tmp/ibR0K4tQ (deleted)
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug