Operating System - HP-UX
1752795 Members
5882 Online
108789 Solutions
New Discussion юеВ

Re: HP ux root filesystem full.

 
SOLVED
Go to solution
Bill Hassell
Honored Contributor

Re: HP ux root filesystem full.

As suggested, the problem is with the nohup.out command. Someone ran a program using the nohup command, probably in the background:

nohup some_program &

and this program produced an immense amount of data. Since this file is in the /sbin/init.d directory, it was very likely cause by a locally developed startup script that was improperly designed.

The /sbin/init.d directory is for startup scripts that start processes and the process runs by itself, in the background. While the above commands (nohup and &) will do this, processes that are to run forever at startup must produce *NO* output to stdout and stderr. The reason is that there is no terminal associated with a process that is to run by itself. Instead, any output should be directed to a logfile, ideally loacted in /var/adm with the rest of the logfiles.

Take a look at the contents of nohup.out and you'll likely recognize the program or script that produced this giant file. Then move it or remove it and you'll have avoided reloading you operating system because of a full / disk.


Bill Hassell, sysadmin
sanjay_20
Occasional Advisor

Re: HP ux root filesystem full.

Hi ,

The File " nohup.out" is moved to other filesystem & now the root size is around 70%.
This avoided to resize the root filesystem.

Thanks to all of you for your valuable suggestions.Specially my very thanks to Bill Hassel for his valuable suggestions & detailed informatiion provided for my queries.

with thanks again !!
Sanjay
Michael Steele_2
Honored Contributor

Re: HP ux root filesystem full.

this is nonesense - /var is not apart of / where the problem is

Support Fatherhood - Stop Family Law