- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap space problem
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
12-10-2004 02:50 PM
12-10-2004 02:50 PM
swap space problem
I have a problem about my server HP9000 A500 HP-UX. I dont no why when I start my server to level 3, after 2 or 3 minutes I can not execute any command and it display in the console message " sh: can not fork: no swap space". and sometimes it give out message " resetting SCSI : lbolt ..."
I created another swap space in vg01 (default is vg00) but it stay the same.
Do you have any recommendation or guides. Your clues is many thanks.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2004 03:28 PM
12-10-2004 03:28 PM
Re: swap space problem
try lvlnboot -v command.is it showing like following(having lvol2 as swap).
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Dump: lvol2 on: /dev/dsk/c2t2d0, 0
if not try
#lvlnboot -s /dev/vg00/lvol2
if it is not solving problem post the output of swapinfo -t
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2004 06:08 PM
12-11-2004 06:08 PM
Re: swap space problem
resetting SCSI:lbolt..seems to be some hard disk problem..
Check the errors in syslog.log files
(/var/adm/syslog/syslog.log)
Rgds
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 08:23 PM
12-12-2004 08:23 PM
Re: swap space problem
An abnormal signal is that I has created second swap space in vg01 and up it to run level 3 but after 2 to 3 minutes, I can't do any commands (eg. bdf, ls, pvdisplay) and it only show on console
" sh: can not fork: no swap space
Error reading from the input file (205) read() returned error code 5 - I/O error. Check your input parameters and try again. Current input file position (in bytes): 34745"
and then server automatically dump.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 08:47 PM
12-12-2004 08:47 PM
Re: swap space problem
what is content of /etc/fstab ?
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 10:00 PM
12-12-2004 10:00 PM
Re: swap space problem
try to start in single user, a to determine what is consuming memory.
Stop it at boot, and issue
hpux -is ....
Then,
think:
did you installed anything ?
did you changed some kernel parameter ?
did you increased, for example, and oracle SGA ?
What is the content of your rc.log ? Maybe there a re some clues, some strange process starting...
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 03:02 PM
12-13-2004 03:02 PM
Re: swap space problem
I quite agree with Massimo Bianchi.
It seems that there some strange processes is running...
You can check from GlancePlus to determine whether strange process.
Could you show me the output for the swapinfo -a command?
Post again!
Best and regard,
Jimkery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 03:08 PM
12-13-2004 03:08 PM
Re: swap space problem
1) A disk has failed. If you have swap on it that pretty much explains everything.
2) You recently replaced a hot-swapable disk. That lbolt will stay around until next boot.
I suggest, based on circumstances a reboot in short order. If that doesn't clear the lbolt, take a look at some disk reports and see if swap was sitting on the missing disk.
strings /etc/lvmtab
then pvdisplay -v /dev/dsk/c1t1d0 | more on each one.
cstm mstm or xstm might be useful in diagnosing which disk has gone.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 03:33 PM
12-13-2004 03:33 PM
Re: swap space problem
Iam sure that you disk (that contains swap logical volume) has fail.
If you have 2 internal disk and mirrored together. you should shutdown server, unplug faild disk and boot.
You can check your hardware on system by using stm, cstm, xstm (x mode),syslog.
If you do not want to unplug disk, put your server in single mode and check disk,swaplv again by:
pvdisplay -v /dev/dsk/cxtxdx
swapinfo
vi /var/adm/syslog/syslog.log
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2004 09:53 PM
12-14-2004 09:53 PM
Re: swap space problem
swapinfo display with lvol2 and /vg01/lvswap and as I talk above, I setted swap on lvswap with priority 0 (greater than 1 in lvol2) so I think that it will not use lvol2 as swapspace except lvswap used full.
In /etc/fstab I editted it automatically mount /dev/vg01/lvswap as swap space.
Up to now, I have not changed any parameters of OS and Oracle.
I started to single user mode and checked system but there 's no warning/abnormal signal in syslog.log, rc.log, /tombstones/ts99 and shutdownlog.
I don't have glance tool and it's OK when pvdisplay with the disk including O.S
Hi Tien and happy to meet a Vietnam person. Following your question, disks are not mirrored and I can't unplug the fail disk because it containt HP-UX O.S.
Some days ago, I decided replacing a new one and used ignite tape to recover O.S in new disk. It has worked well till now.
Many thanks for all of your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2004 05:50 PM
12-23-2004 05:50 PM