Operating System - HP-UX
1836412 Members
2327 Online
110100 Solutions
New Discussion

Re: activity_log is too big under /var/stm/logs/sys

 
Mohammad Kaleem
Advisor

activity_log is too big under /var/stm/logs/sys

Hi,

activity_log under /var/stm/logs/sys directory is too big, caused 100% /var filesystem full.

Can I just remove this file or I have to stop/start any proccess?

Regards,
MKaleem
MKQ
6 REPLIES 6
MarkSyder
Honored Contributor

Re: activity_log is too big under /var/stm/logs/sys

Null the file.

> /var/stm/logs/sys/filename will remove the contents of the file without deleting the file.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
G. Vrijhoeven
Honored Contributor

Re: activity_log is too big under /var/stm/logs/sys

Hi

I think you need to check your hardware with stm ( errorlog)
There must be a reason for the system to be logging link this.

Gideon
Zeev Schultz
Honored Contributor

Re: activity_log is too big under /var/stm/logs/sys

Hi

Usually stm's activity log records internal messages/events (like stm daemons are up etc).
I don't beleive its size has to do with hardware problems.It could be old stm version (check with swlist -l bundle | grep -i online),
lack of stm patches or some internal issue.

A simple workaround was suggested to null. But
I'd stop diagnostics (/sbin/init.d/diagnostics stop), go to that dir , move the file to file.OLD, start diagnostics.

One more , you can see what kind of messages are filling activity_log. Run (command line):
echo "sal" | cstm .

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
MarkSyder
Honored Contributor

Re: activity_log is too big under /var/stm/logs/sys

Hi Zeev,

If he moves the file to file.OLD won't he still have the problem of /var being 100% full?

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Bruno Ganino
Honored Contributor

Re: activity_log is too big under /var/stm/logs/sys

See my attachment

HTH
Bruno
Torino (Turin) +2H
Marco Santerre
Honored Contributor

Re: activity_log is too big under /var/stm/logs/sys

Though I agree that nulling the file is one work-around, I'd also stop the dignostics.

That being said, I would certainly look at my hardware to see if there is anything wrong at all. I went through the same problem last week, and found out I had one of my controllers on my Auto-Raid failing on me. So, if possible try to read your log first.
Cooperation is doing with a smile what you have to do anyhow.