Author |
Message
|
kailashbawane |
Posted: Wed Jun 13, 2007 7:30 am Post subject: log information of qmgr |
|
|
 Acolyte
Joined: 13 Jun 2007 Posts: 51 Location: Pune,INDIA
|
for long running application,
log of qmgr is full then what can i do? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 13, 2007 7:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
1) Cancel application
2) Fix application to commit more regularly
3) Restart application
Or
1) Cancel application
2) Delete & redefine queue manager with larger logs
3) Restart application _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 13, 2007 7:34 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Vitor wrote: |
1) Cancel application
2) Fix application to commit more regularly
3) Delete & redefine queue manager with larger logs
4) Restart application |
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jun 13, 2007 7:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jefflowrey wrote: |
Vitor wrote: |
1) Cancel application
2) Fix application to commit more regularly
3) Delete & redefine queue manager with larger logs
4) Restart application |
|
I assumed the poster was going for the minimal solution....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jun 13, 2007 7:47 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
 _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kailashbawane |
Posted: Thu Jun 14, 2007 5:42 am Post subject: |
|
|
 Acolyte
Joined: 13 Jun 2007 Posts: 51 Location: Pune,INDIA
|
can i change in config file of qmgr _________________ ITO- MQ ISE.
" Slow n steady always win the race. " |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jun 14, 2007 6:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kailashbawane wrote: |
can i change in config file of qmgr |
The only IBM supported way of changing the logging is to delete and redefine the queue manager (obviously using something like saveqmgr first!). If you do change the config file, you'll certainly need to stop/start the queue manager for the change to be effective. And then run with a potentially unsupported configuration.
And as jefflowrey correctly points out, unless you fix the application there's no guarantee it will be effective in the long term. Or even the medium term. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
tleichen |
Posted: Thu Jun 14, 2007 6:44 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
kailashbawane wrote: |
can i change in config file of qmgr |
Why are so many people resistant to fixing something that is clearly designed and/or implemented wrong?  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 14, 2007 7:15 am Post subject: |
|
|
Guest
|
This is where a good reading of the MQ V6 System Admin Guide chapter on Recovery is valuable. It explains the purpose of logs, and how to specify the type of logging, appropriate sizing of logs, and managing logs.
The implied question in the original post is 'can I create a log that will never run out of space - especially in the instance of an errant application filling up the log?' Simple answer: no. |
|
Back to top |
|
 |
velocity |
Posted: Fri Nov 30, 2007 9:48 am Post subject: |
|
|
Centurion
Joined: 30 Nov 2007 Posts: 126
|
If atall you are planning to changing the tran logs:
As a temporary solution
- Increase the number of tran logs by making changes to qm.ini file. This just requires queue manager restart.
For a more long term solution
- Increase the tran log space. This requires rebuild. |
|
Back to top |
|
 |
|