- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not enough space
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
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
01-06-2003 03:30 PM
01-06-2003 03:30 PM
Not enough space
I have a server with HP-UX 11.0. When I run gpm and sam as root, I get the following weirded messages:
$gpm &
/usr/lib/dld.sl: Call to mmap() failed - TEXT /lib/libXm.4
/usr/lib/dld.sl: Not enough space
$sam
sam: FATAL ERROR: Unable to load library "/usr/obam/lib/libIDMawrt.1": Not enough space
Any ideas...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 03:32 PM
01-06-2003 03:32 PM
Re: Not enough space
Looks like you are running out of swap space. Do a swapinfo -t and see if it is showing 100%. If so, you will need to add more swap.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 03:38 PM
01-06-2003 03:38 PM
Re: Not enough space
Another suggestion is to look at dbc_max_pct kernel parameter. The default is 50. Try something like 8 and see if that helps (reboot required)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 03:41 PM
01-06-2003 03:41 PM
Re: Not enough space
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 03:49 PM
01-06-2003 03:49 PM
Re: Not enough space
# lvcreate -n swap1 /dev/vgswap
# lvextend -L L 2048 /dev/vgswap/swap1
# swapon /dev/vgswap/swap1
vi /etc/fstab
add this line
/dev/vgswap/swap1 ... swap pri=1 0 0
Save the file, this will ensure that the swapis turned on for the next reboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 03:49 PM
01-06-2003 03:49 PM
Re: Not enough space
#swapinfo -t
to look at your swap space. To add more swap, identify a volume group that is least used and has space in it. For ex., on vg01
#vgdisplay vg01
Look at "Free PE" value and multiply it with "PE Size" value. It gives the amount of space available in MB. Create a logical volume with some size.
#lvcreate -n swap2 -L size_in_mb -r N vg01
Now add the swap on it
#swapon -p 0 /dev/vg01/swap2
This should add the swap. This is only a temporary solution to get your system going.
When you get a maintenance window, add a disk or two, create a new volume group and make a new logical volume and add it as swap with the above procedure. Once you got the permanent swap volume, edit /etc/fstab and keep an entry "/dev/vg01/swap2 ... swap pri=0 0 0". Modify the entry with the correct ones.
You will first need to reboot the box to get rid of this temporary swap that you added now.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 04:25 PM
01-06-2003 04:25 PM
Re: Not enough space
/etc/fstab
[existing]/dev/vg00/lvol10 ... swap defaults 0 0
[new]/dev/vg06/lvol10 ... swap defaults 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 05:01 PM
01-06-2003 05:01 PM
Re: Not enough space
Did you issue a swapon to enable your new swap? If not, you can test your entry in /etc/fstab by issuing a swapon -a.
Even if you already enabled swap you can issue a swapon -a command to test your entry in /etc/fstab. you will get an error message like:
Enabling device paging on /dev/vg06/lvol10.
swapon: /dev/vg06/lvol10 is already enabled for paging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2003 05:14 PM
01-06-2003 05:14 PM
Re: Not enough space
Enabling device paging on /dev/vg06/lvol0.
swapon: /dev/vg06/lvol10 is already enabled for paging.
Thanks very much.
Yan