- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Full file systems that crash a system.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:35 AM
тАО01-03-2002 08:35 AM
Thanks
richard
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:42 AM
тАО01-03-2002 08:42 AM
Re: Full file systems that crash a system.
In the pure sense, /tmp is considered to be root's place to put files it needs. Correspondingly, /var/tmp is for users. That said, I suspect we all abuse this distinction.
Full filesystems can cripple a server.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:45 AM
тАО01-03-2002 08:45 AM
Re: Full file systems that crash a system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:50 AM
тАО01-03-2002 08:50 AM
Re: Full file systems that crash a system.
The server may crash if /tmp is full and is not necessary. When the "/tmp" file system is full, the system can not be expected to behave in a predictable manner.
It is important to ensure that all the root file systems have enough
space, especially /var, /tmp, and /.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:51 AM
тАО01-03-2002 08:51 AM
Re: Full file systems that crash a system.
The most likely to cause wide ranging problems though are / and /var.
Any filesystem full condition will affect those processes that are trying to write to it so as always, it depends...
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:51 AM
тАО01-03-2002 08:51 AM
Re: Full file systems that crash a system.
If your system panic'd, and wrote a crash it hit /var..you might want to come up in single user and mount your filesystems individually.
It will come up in single user with only / mounted. Then mount /usr and run bdf...all okay then mount /var...
You should also go and check /var/tombstones and rule out that you didn't panic because of a hardware problem - and see if you got a crashdump at /var/adm/crash.
Because generally filling up /tmp will just cause the system to choke..not panic.
Just my 2cents,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:54 AM
тАО01-03-2002 08:54 AM
Re: Full file systems that crash a system.
If it is possible to panic the system by filling up /tmp then thats a serious security flaw.
Regards,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 08:58 AM
тАО01-03-2002 08:58 AM
Re: Full file systems that crash a system.
/tmp is critical, if it fills up it will panic the server as you have seen.
In terms of setting up to collect dump information, we always configure a seperate filesystem called /var/adm/crash which we make equivelent to 105% of the amt of physical memory that you have installed on your system.
This has been very useful in properly capturing and analyzing panics on system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 09:19 AM
тАО01-03-2002 09:19 AM
Re: Full file systems that crash a system.
Filling /tmp is a big no-no and can cause exactly the behavior you observed. In the old days both the user applications and the kernel/critical processes wrote to /tmp. Nowadays, the system stuff only is supposed to write to /tmp and everything else is supposed to use /var/tmp. If /var/tmp fills up it is merely inconvenient but if /tmp fills up there is trouble in River City.
Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 09:25 AM
тАО01-03-2002 09:25 AM
Re: Full file systems that crash a system.
/var (/var/tmp) and /tmp can create problems if are full but there is a very minute chance that they will cause the crashes. In my life, I haven't seen systems crashing due to file system full. But there are some indirect effects of this situation and look for the following document in the resource center HPUXERR02.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 09:36 AM
тАО01-03-2002 09:36 AM
Re: Full file systems that crash a system.
The same with /var and / . The worst I have seen is process falling because they could not write to destination neccassary.
But I have never had a crash because of /tmp filling up. Did you look at /var/tombtones/ts99
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2002 09:42 AM
тАО01-03-2002 09:42 AM
SolutionMost likely, the full filesystem error was recorded in syslog.log and that was the last activity shown. Always look at the syslog timestamp: was it the same exact time when the crash occurred? Remember that syslog cannot (and no other file anywhere) record anything about a crash. HP-UX detects a catastrophic error, and to avoid makng more mistakes, stops all processing, branches to doadump (do a dump) and turns control over to the processor ROMs to perform a crash dump.
So how can /etc/shutdownlog record that a panic occurred and even provide a reason (ie, freeing free frag)? By sleuthing through the raw crash dump. When the system reboots, the rc files are run and one of them is savecrash (savecore in 10.xx). If the savecrash program is able to successfully copy the dump area to the crash directory, it will do a quick adb of the files to grab the panic string and records that string in /etc/shutdownlog.
So the first thing to do is to get crashdump capability configured (typically, you'll need to create a new logical volume about 50% the size of RAM (11.xx, or 2xRAM for 10.xx). Then wait for the next crash. While you are waiting, peruse the man page for q4.
As far a system-critical filesystems, the following list in rough order of descending importance for full filesystems. /var is the most critical (almost all processes start failing):
/var /tmp / /usr /opt
Notice I did not include /home...if they fill up their directory, that's their problem. ;-)
In fact, you can make a much more resilient directory structure by creating the followig separate mountpoints:
/var
/var/spool
/var/mail
/var/adm
/var/adm/sw
/var/adm/crash
Now, subsystems that use these directories (like spooling or email) can fill their respective directories and the rest of the subsystems still continue to run.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2002 07:40 AM
тАО01-04-2002 07:40 AM
Re: Full file systems that crash a system.
On the other hand, I have nothing against lavish root VGs, where each partition coincides with a possibly mirrored distinct physical medium. It's those 2 and 4 GB disks cut into 8 LVs that bring tears to my eyes when they spawn a thread like this every now and then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 06:03 PM
тАО06-24-2002 06:03 PM
Re: Full file systems that crash a system.
Thought that I might bring this thread up again instead of creating a new one.
I just discovered that my /tmp is 95% full.
#bdf
...
/dev/vg00/lvol4 987136 930740 52909 95% /tmp
...
I'm afraid that it might cause the system to crash.
Are there any files that I can safely delete ?
Kindly advise.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 06:19 PM
тАО06-24-2002 06:19 PM
Re: Full file systems that crash a system.
It's not good practise to bring back an old posting. Please create and post a new one.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 09:45 PM
тАО06-24-2002 09:45 PM
Re: Full file systems that crash a system.
if you use DCE (& I think Kerbros) Bill's advice is even more crucial as the authentocation is done there, so fill /var & no one can do any work!!!
Tam
(This really should be in a new thread....)
# find /tmp -atime +7 -exec ls -ld {} \;
Check this list, all files that have not been accessed in 7 days.
# find /tmp -atime +7 -exec rm {} \;
This deletes these files. You may need to go round & rmdir some of the directories by hand. do NOT use rm -rf in find cmd, as it could easily delete files that have been accessed less than 7 days.
Tim