Solved

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

Posted on 2008-10-24
6
675 Views
Last Modified: 2013-12-06
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

0
Comment
Question by:stephengriffin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:peter991
ID: 22794416
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
0
 
LVL 1

Author Comment

by:stephengriffin
ID: 22794489
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..
0
 
LVL 6

Accepted Solution

by:
peter991 earned 125 total points
ID: 22794642
Ok!
Try to find what is filling up.

Example of finding files bigger than...

800kb
#> find /var -size +800000c -ls | awk '{print $7,$11}' | sort +n

2mb
#> find /var -size +2000000c -ls | awk '{print $7,$11}' | sort +n

8mb
#> find /var -size +8000000c -ls | awk '{print $7,$11}' | sort +n
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 6

Expert Comment

by:peter991
ID: 22795575
Have you tried a reboot?

Deleting files on the run in /tmp can be hazardous to the system.
0
 
LVL 3

Expert Comment

by:Saranyakkali
ID: 22797214
must be it is using by some process, did you check with TOP utility and Defunct  or zombic  process any..

thanks
0
 
LVL 3

Expert Comment

by:Saranyakkali
ID: 22797222
ps aux | awk '{ print $8 " " $2 }' | grep -w Z  >>> find the zombic/diffcunt process
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question