Author |
Message
|
kingsley |
Posted: Fri Jul 16, 2004 9:46 am Post subject: qmgr\qmgrname\error\*.log having 100MB and 200MB |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
Had any one observed the QueueManager error logs getting fatter to the size of 100MB and 200MB.
we had a unique situation where the qmgr\qmgrname\error\*.log becoming 100MB and 200MB and created a big trouble.
we have'nt even sent MQMAXERRORLOGSIZE variable.
We have tried to fingure out the rootcause. But we are unable to find one.
Did anyone encountered such situtations. |
|
Back to top |
|
 |
gunter |
Posted: Sun Jul 18, 2004 11:24 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
I think, your problem is not the size of the files, it's the content. What is wrong with your system, so that the queuemanager has to write 100 MB and more ? I would only expect a few start-, stop entries from queuemanager, listener ... _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
Back to top |
|
 |
JasonE |
Posted: Mon Jul 19, 2004 1:28 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Which o/s, version, release, fixpack/csd level? Any FDC's generated? |
|
Back to top |
|
 |
kingsley |
Posted: Mon Jul 19, 2004 4:28 am Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
Unix. The error logs should'nt cross 256 KB. It should go to next log if it reaches 256KB.
It amassed itself to 200MB which is strange. we manually deleted them and recreated the qmgr. Now the logs are 256KB eventhough the same problem with application is continuing.
The problem is some application was launched in a different mode and it created a mess every second it polled MQseries. Later we corrected the launch mode and everything is stable. Now error logs are only 256KB after rebuilding the qmgr.
But my confusion how can error logs grew upto 200MB which is unacceptable. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jul 19, 2004 4:52 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you confusing the error logs with the transaction logs? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kingsley |
Posted: Tue Jul 20, 2004 5:32 am Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
No. They are error logs of qmgr.
How ever there are no transactional logs. There are data logs which can be either linear or circular.
Ton's of my buddies also confused till they looked at the problem.
Kingsley. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 20, 2004 5:42 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
As far as I am aware, there are no MQSeries imposed bounds to the error logs. They get as big as they get, and can be deleted at any time without any repercussions.
And the "data logs" are actually used to store messages while they are in transactions... so they are transactional logs. And these logs do have MQSeries imposed bounds.
What operating system are you running, what is the content of the error logs that seem too big? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JasonE |
Posted: Tue Jul 20, 2004 9:11 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Quote: |
As far as I am aware, there are no MQSeries imposed bounds to the error logs. They get as big as they get, and can be deleted at any time without any repercussions. |
Well, they are wrapped automatically by the product and the wrap point is controllable by the env var mentioned in raisers first update. For the error log to get to 100Mb, my only guess is that security is preventing the rollover, and so I would delete amqerr02 and amqerr03, and ensure the mqm group has full control over the directory those files are in, and see if the next qmgr error message causes roll over. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 20, 2004 9:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
JasonE wrote: |
Well, they are wrapped automatically by the product and the wrap point is controllable by the env var mentioned in raisers first update. For the error log to get to 100Mb, my only guess is that security is preventing the rollover, and so I would delete amqerr02 and amqerr03, and ensure the mqm group has full control over the directory those files are in, and see if the next qmgr error message causes roll over. |
Do I need to update my Info Center, or is MQMAXERRORLOGSIZE not documented in a real manual anywhere?
There are four hits here that mention it, and 11 mentions of it on www.ibm.com - all of which are PMR related entries. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kingsley |
Posted: Tue Jul 20, 2004 9:51 am Post subject: |
|
|
Disciple
Joined: 30 Sep 2001 Posts: 175 Location: Hursley
|
We did'nt set any environment variable MQMQXERRORLOGSIZE.
We used the same process to build several queuemanagers. This one is stable for long time.
It happened twice that the error logs crossed the default 256KB and reached 100MB which occupied the space and we were alerted by Disk space management team.
When it happened second time, i took seriously and rebuild the queuemanager.
I cannot reveal the OS and other details as guided by the policies of the employer.
Thanks
kingsley |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Jul 20, 2004 10:26 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Quote: |
or is MQMAXERRORLOGSIZE not documented in a real manual anywhere
|
That is correct.
I wonder how many of all these undocumented things will be documeneted in the 6.0 manuals..... _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jul 20, 2004 10:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't think 6.0 will have manuals...
Just Eclipse plugins. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 20, 2004 11:07 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I believe they will give you PDF's so that you can read them offline. Like WBIBM the PDF's will have 1000's of pages covering 100's of chapters. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
JasonE |
Posted: Wed Jul 21, 2004 2:56 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
kingsley - If you really are hursley, you could of course contact me via sametime! I would still be the problem revolves around either directory or file security.
As to documenting all the env vars, we wouldnt want to spoil all your fun finding out about all these exciting hidden features  |
|
Back to top |
|
 |
|