Reducing file store file sizes
It is possible to reduce the sizes of the log file and store files in the configuration. However, such reduction is only possible when certain conditions are met.
About this task
Reducing the file sizes can be difficult in practice due to the following reasons:
- It is not possible to shrink the files smaller than the amount of space that their contents currently consume.
- There is no support for compaction of the contents of the permanent store file and temporary store file so fragmentation might keep these store files artificially large. As such, when the values of the file sizes in the configuration are reduced and the messaging engine restarted, it might not be possible to change the sizes of the files to the required values.
When this situation occurs, the messaging engine emits warning
messages to SystemOut.log and continues to use the
existing values. It attempts to apply the configuration changes repeatedly
each time it starts until it succeeds.
Note: Esse tópico faz referência a um ou mais arquivos de log do servidor de aplicativos. Como uma recomendação alternativa, é possível configurar o servidor para usar a infraestrutura de log e rastreio do High Performance Extensible Logging (HPEL)
em vez de usar os arquivos SystemOut.log , SystemErr.log, trace.log e activity.log em sistemas distribuídos e IBM® i. Também é possível usar HPEL em conjunção com os recursos de criação de log z/OS® nativos. Se você estiver usando HPEL, será possível acessar todas as informações de log e rastreio usando a ferramenta de linha de comandos LogViewer a partir do diretório bin do perfil do servidor. Consulte as informações sobre a utilização do HPEL para resolução de problemas dos aplicativos
para obter mais informações sobre o uso do HPEL.
Problems might also arise when the file store file sizes are set too small.