Link to home
Start Free TrialLog in
Avatar of stephengriffin
stephengriffinFlag for Ireland

asked on

/var is 1GB and Full. Keepsfilling up. Sendmail or Cron not working

VAR is 100% full and fills every time I clear it.
/var/spool/mqueue fills but files are zero kb.
I was going to use lsof  to check (actually lsof32)  but missing files.
Ive moved over 30 MB away and cleared tmp , but keeps filling to 100%...
System is HP UX  - B.10.20 D

thanks in advance

Avatar of peter991
peter991
Flag of Sweden image

The files in /var/spool/mqueue could be from cronjobs.

If you want to get rid of all the output from the crontab entries you should consider piping it.

Example:
55 23 * * * /var/minime/night_jobs.sh >> /tmp/minime.log 2>&1

Or:
55 23 * * * /var/minime/night_jobs.sh > /dev/null 2>&1
Avatar of stephengriffin

ASKER

Hi Peter, thanks for response.
I can work on something like this after I resolve first issue.

Problem is that it fills up in a few seconds and im trying to soft link various dirs out so I can save the space..
ASKER CERTIFIED SOLUTION
Avatar of peter991
peter991
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Have you tried a reboot?

Deleting files on the run in /tmp can be hazardous to the system.
must be it is using by some process, did you check with TOP utility and Defunct  or zombic  process any..

thanks
ps aux | awk '{ print $8 " " $2 }' | grep -w Z  >>> find the zombic/diffcunt process