[EMAIL PROTECTED] ls -l access_log -rw-r--r-- 1 jerenkrantz other 2147484642 Dec 26 14:49 access_log
Yes, I'm a slacker and I don't rotate my logs. This introduced an interesting problem though. When the server got rebooted, httpd refused to start since the file was over the 2GB limit: [Wed Dec 26 14:40:10 2001] [error] (79)Value too large for defined data type: could not open transfer log file /home/jerenkrantz/apache-2.0-cvs-SunOS-i86pc/logs/access_log. However, simply adding: oflags |= O_LARGEFILE; to apr_file_open makes it happy. Any drawbacks to doing this for all files? I'd imagine that APR should hide largefile support if at all possible. And, I suppose it would need to be protected with some autoconf magic for those platforms without largefile support. -- justin