- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory error
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
Forums
Discussions
Discussions
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
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
04-29-2005 01:30 AM
04-29-2005 01:30 AM
memory error
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 01:38 AM
04-29-2005 01:38 AM
Re: memory error
If cd command does not fail, cd /var
> "big_file1"
> "big_file2"
make sure that you do not need those files and those files can e deleted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 02:10 AM
04-29-2005 02:10 AM
Re: memory error
If you can do that then you can see who the users are that are using the most space and call them - have them log off and log back on.
After you get it cleaned up you may want to think about making /vat/tmp a separate mount point
Hope this helps
B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 02:19 AM
04-29-2005 02:19 AM
Re: memory error
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 546 478 53% 0 - 1 /dev/vg00/lvol2
reserve - 478 -478
memory 534 534 0 100%
total 1558 1558 0 100%
Pl help
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 02:20 AM
04-29-2005 02:20 AM
Re: memory error
Maybe there are some core files which you can remove:
find /var -name core -exec rm {} \;
Try to cleanup some old logfiles to get some space:
find /var -name '*.log' -mtime +14 -exec rm {} \;
That will give you some space to find the reason of the full filesystem.
Cheers,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 03:40 AM
04-29-2005 03:40 AM
Re: memory error
di -kx /var | sort -rn | head -20
The largest directories will be at the top. Then list the contents of the biggest directories:
ll /var/tmp | sort -rnk5 | head -10
Places that can be fixed:
/var/preserve (old vi temp files, remove any more than a few days old)
/var/tmp (most everything here should be temporary and can be removed but be careful if there are files that may be in use)
/var/mail (user mail files are here...tell users to cleanup old email)
Now all of this assumes you can run commands. If you're still having memory problems, you'll have to stop some processes. It appears that you have very little RAM and have to use swap space a lot (which causes extreme slowdowns).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 03:44 AM
04-29-2005 03:44 AM
Re: memory error
du -sk * |sort -rn
Look for cores as well:
find /var -name core
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 04:12 AM
04-29-2005 04:12 AM
Re: memory error
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 04:29 AM
04-29-2005 04:29 AM
Re: memory error
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 04:34 AM
04-29-2005 04:34 AM
Re: memory error
But - you can't ps....
Uh...do you have multiple connections to server? logout of all but one....ask any users that may be logged in (telnet) to logout - that should give you enough to run some commands...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 06:45 AM
04-29-2005 06:45 AM
Re: memory error
Cheers,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2005 06:59 AM
04-29-2005 06:59 AM
Re: memory error
But performance has got to be pretty awful with 500 megs of swap in use and only 500 megs of RAM. I would add another 1500megs of RAM for a tremendous boost in performance.
Bill Hassell, sysadmin