Operating System - HP-UX
1748185 Members
4533 Online
108759 Solutions
New Discussion юеВ

Low in Space message even with directory empty

 
SOLVED
Go to solution
Diadina Cotte
Advisor

Low in Space message even with directory empty

Hello recently the server is posting this message:

Sep 25 14:40:59 apache last message repeated 7 times
Sep 25 14:41:14 apache sendmail[744]: [NOQUEUE]: low on space (have 0, SMTP-DAEMON needs 101 in /var/spool/mqueue)

I removed all the file in the /var/spool/mqueue directory and reboot and the box keeps posting the message. What can I do to fix this????

Thank you!!
Coffee please ;-)
6 REPLIES 6
Christopher McCray_1
Honored Contributor

Re: Low in Space message even with directory empty

Is this it's own file system?

if not, what does bdf of /var say?

Hope this helps

Chris
It wasn't me!!!!
Diadina Cotte
Advisor

Re: Low in Space message even with directory empty

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 769536 701069 0 100% /var



WOW!!!
Coffee please ;-)
Darrell Allen
Honored Contributor

Re: Low in Space message even with directory empty

Hi,

Check for large files or a large number of files in /var/tmp. Also check files in /var/adm. Particularly, /var/adm/wtmp could be large and need to be truncated. Also suspect are /var/adm/syslog/syslog, OLDsyslog, and mail.log.

If you need to truncate a system log file, don't rm it. Backup the file (to a filesystem with space or to a tape) and zero out the file using ">filename" syntax. If you rm a file like syslog, you will still have a space issue because syslogd has the file open. Space won't be released until syslogd is restarted.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Christopher McCray_1
Honored Contributor
Solution

Re: Low in Space message even with directory empty

Yes, you are very full.

Start looking for large log files and try to get rid of them. Also take a look at this link:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0be7c6af36b7d5118ff10090279cd0f9,00.html


for the sendmail stuff and this one for assisting in cleaning out /var:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2cdf91ccb36bd611abdb0090277a778c,00.html

and

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe4b814a24fd1d4118fef0090279cd0f9,00.html

Hope this helps

Chris
It wasn't me!!!!
Sean OB_1
Honored Contributor

Re: Low in Space message even with directory empty

also try the following:

cleanup -F
or
cleanup -i

to cleanup old patch files.

also:

cd /var
du -sk *

This will show which directories are using the most space. Then simply navigate to the directory and keep issuing "du -sk *" at each directory to determine what ones are the hogs.

Then remove/truncate anything that you can.

Other areas that may be big:
/var/opt/omni
/var/opt/perf
/var/adm
/var/tmp

Sean
Diadina Cotte
Advisor

Re: Low in Space message even with directory empty

Well I managed thanks to all of you to lower it down to:

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 769536 539014 153568 78% /var


Very Helpful

;-) Thanks!
Coffee please ;-)