Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have fixed size limit in logrotation 1M. The script run on every hours even though its rotating less than 1Mb files. I dont know what i have done wrong. Below is my configuration parameters.

              rotate 25
              olddir /opt/PostgreSQL/8.4/data/pg_log/test

Please can anyone help me out in this problem?

Lot of Thanks in advance.

share|improve this question
add comment

2 Answers

It should be size 1M without equal sign.

share|improve this answer
Even I tried that then also its rotating the less than 1mb files..!!! –  sathish Jun 20 '11 at 12:43
add comment

You may check the logging parameters in your PostgreSQL config, see: PostgreSQL Error Reporting and Logging (e.g. log_rotation_size).

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.