Re: Multilog failing to rotate logfiles

Robert Fisher <[email protected]>
Newsgroups gmane.comp.djb.syslog
Message-ID <[email protected]>
Charles,

Thanks for replying, but I think I might have this licked.  I was 
running a logwatch script that was collating my dates but then was 
piping the log back into itself in a loop I think.  I removed the code, 
and will see what happens tonight and will respond in the morning.  But 
still doesn't explain why the logs did not rotate out cause they were 
well above 10MB.  Will the logs not rotate if the limit is not within 
2KB of the max?

ps wwwaux | grep multilog shows:

root      2017  0.0  0.0  1336    4 ?        S    Nov12   0:01 
readproctitle service errors: ..., pausing: out of disk space?multilog: 
warning: unable to write to /var/log/qmail/current, pausing: out of disk 
space?multilog: warning: unable to write to 
/var/log/qmail/smtpd/current, pausing: out of disk space?multilog: 
warning: unable to write to /var/log/qmail/pop3d/current, pausing: out 
of disk space?multilog: warning: unable to write to 
/var/log/qmail/current, pausing: out of disk space?
qmaill   24982  0.0  0.0  1360  268 ?        S    21:32   0:00 
/usr/local/bin/multilog t s10000000 /var/log/qmail
qmaill   24989  0.0  0.0  1360  268 ?        S    21:32   0:00 
/usr/local/bin/multilog t s10000000 /var/log/qmail/smtpd
qmaill   24993  0.0  0.0  1352  260 ?        S    21:32   0:00 
/usr/local/bin/multilog t s10000000 /var/log/qmail/pop3d
root      5040  0.0  0.0  4572  660 pts/2    S    23:54   0:00 grep multilog

The error messages for readproctitle were from a few days ago when the 
log files filled up my partition. :( 

Regards,
Robert Fisher
Inphase Co., Ltd.
[email protected]

Charles Cazabon wrote:

>Robert Fisher <[email protected]> wrote:
>  
>
>>>>/usr/local/bin/multilog t s10000000 /var/log/qmail
>>>>        
>>>>
>
>Uh-huh.  That /should/ give you 10 log files of about 10MB each.
>
>  
>
>>[root@ns qmail]# ls -lh
>>???? 738M
>>-rwxr--r--    1 qmaill   nofiles       11M 11?? 20 23:58 
>>@40000000419f5bfa2f617a7c.s
>>-rwxr--r--    1 qmaill   nofiles       23M 11?? 21 15:50 
>>@4000000041a03b4312b5351c.s
>>-rwxr--r--    1 qmaill   nofiles       86K 11?? 21 23:58 
>>@4000000041a0ad7a2bc6f66c.s
>>-rwxr--r--    1 qmaill   nofiles       46M 11?? 22 11:33 
>>@4000000041a14ff00cded29c.s
>>-rwxr--r--    1 qmaill   nofiles      196K 11?? 22 23:32 
>>@4000000041a1fefa1c8640f4.s
>>-rwxr--r--    1 qmaill   nofiles       93M 11?? 23 23:47 
>>@4000000041a3507a21a11ba4.s
>>-rwxr--r--    1 qmaill   nofiles      187M 11?? 24 10:58 
>>@4000000041a3eb1f16982824.s
>>-rwxr--r--    1 qmaill   nofiles      260K 11?? 24 23:57 
>>@4000000041a4a1fa2ea8d4f4.s
>>-rwxr--r--    1 qmaill   nofiles      374M 11?? 25 11:03 
>>@4000000041a53db22956e89c.s
>>    
>>
>
>... which isn't happening.  That leads me to believe that the above arguments
>aren't yet in effect.  Did you restart the logging subservices after you
>changed the service/log/run script?  Your changes to the log/run script don't
>take effect until the logging subservice is restarted.
>
>What does `ps wwwaux | grep multilog` show?
>
>Charles
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.