Operating System - HP-UX
1833523 Members
2840 Online
110061 Solutions
New Discussion

Seviceguard package log growing

 
SOLVED
Go to solution
candyman_1
Advisor

Seviceguard package log growing

Hi All

I found the package log file is growing every second and i dont understand that log at all.

here is the output:

root@prod:/etc/cmcluster/advant-# tail -f mdsipkg1.sh.log
hdb_dispatch_all_buffered_commodities: # of msg waiting = 10
hdb_dispatch_all_buffered_commodities: # of msg waiting = 5
hdb_dispatch_all_buffered_commodities: # of msg waiting = 5
hdb_dispatch_all_buffered_commodities: # of msg waiting = 2
hdb_dispatch_all_buffered_commodities: # of msg waiting = 8
hdb_dispatch_all_buffered_commodities: # of msg waiting = 2
hdb_dispatch_all_buffered_commodities: # of msg waiting = 10
hdb_dispatch_all_buffered_commodities: # of msg waiting = 6
hdb_dispatch_all_buffered_commodities: # of msg waiting = 7
hdb_dispatch_all_buffered_commodities: # of msg waiting = 14
hdb_dispatch_all_buffered_commodities: # of msg waiting = 4

------------------------------------------

Dont understand what does that msg means .... Please help this is in one of our production...

Thanks

Candyman.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Seviceguard package log growing

Shalom,

Well the package itself, which someone created is writing the log entries.

Two suggestions.

Turn of the logging in the package control script.

Trim the log regularly with cron and ignore it.

I'd go for the second one if disk space is a problem and then look at the package control script and try and figure out why its logging. Or post it here and someone will look at it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
candyman_1
Advisor

Re: Seviceguard package log growing

Hi Steven

Do you think that would be a permanent solution for a production systems? I would appriciate if someone gives me a fix on dat. cuz everything on the system was just running good.

Thanks
Candyman
Steven E. Protter
Exalted Contributor
Solution

Re: Seviceguard package log growing

Yes Candyman,

If you post the package control script before I have to go food shopping (it is late in the day here), I will look at it and suggest changes.

You may get asked for more information or someone else might look at the script and suggest to you what to do.

:-)

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
candyman_1
Advisor

Re: Seviceguard package log growing

Hello Steven,

Here is the package script...

Thanks

Candyman
melvyn burnard
Honored Contributor

Re: Seviceguard package log growing

your control script is callling other scripts tpo start various applications, as below. You need to investigate which of these is causing this logging, and rectify it:

# ADD customer defined run commands.

echo "Start MQSeries ADVANTEX"
su - mqm -c "strmqm ADVANTEX"

echo "Start Oracle PROD"
su - oracle -c "/home/oracle/.start_up"
sleep 20

echo "Start Advantex PROD"
su - pglrt -c "cd /pglr53/ucad/bin; ./start_ucad"
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!