[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] log stopped



>so the question is, is there some kind of size-limit imposed on this
>log-file, and if so, where can I increase it?   Is it possible this

Not to log-file per se. To every file. I think that 2.2.X kernels 
have a 2 GB/file limit. (well, new kernels don't have this 
limitation, and althrough I'm not sure, I think 2.2.X has this 
limitation)

>This also brings up a point to me... what size >is< a reasonable 
size
>for a web access log file (combined)? 

If you ever want to process it, too big means too long.

On the other hand, if you have lots of virtual sites, you'll bang in 
another limitations : a process can not open too many file 
descriptor. Don't remember either what's the limit, but I think it's 
256.

The best solution I think is to log to a single file, and have a 
daily script that cuts it into part.

But, well, it's what's supposed to happen with Cobalt's scripts ...

Hope that helps,

Fabrice.