- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- core keeps generating
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
03-02-2003 06:39 PM
03-02-2003 06:39 PM
core keeps generating
Usually, / is 43% used in our server.
However, there is a core file that keeps generating and will burst the root filesystem to 100%.
I am not sure what triggered this, but the command "sar" does have the effect to generate the core file.
Not that I could find anything unusual, from glance and def processes. No backup and application running, too.
Please advice. Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 06:44 PM
03-02-2003 06:44 PM
Re: core keeps generating
find /dev -type f
...to parse the /dev sub directory.
Also,
du -x / | sort -rn | head
...will list large to small files in /.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 06:50 PM
03-02-2003 06:50 PM
Re: core keeps generating
du -x / |sort -rn | head did not give me any interesting clues..
What should I do next?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 06:53 PM
03-02-2003 06:53 PM
Re: core keeps generating
Do you know where the core file is and is so do you have a copy of it? You can use the 'file' command or the 'strings' command to see which executable generated the core file. Try a 'file core' to see what you get.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 07:06 PM
03-02-2003 07:06 PM
Re: core keeps generating
Core file from 'sar'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 07:15 PM
03-02-2003 07:15 PM
Re: core keeps generating
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 07:20 PM
03-02-2003 07:20 PM
Re: core keeps generating
By moving root's HOME to another directory, you will make your system much more reliable and if the core file is created by sar, / will not be affected (assuming you have a standard LVM layout).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2003 07:22 PM
03-02-2003 07:22 PM
Re: core keeps generating
I've attached a backgroud sar script that you can run on a mounted filesystem. Core files from that won't be in /
Don't ever run these scripts in / fs
Also, don't run these scripts until you've patched up your box.
Patch list for 11.00
PHKL_28003
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_28003&context=hpux:800:11:00
PHCO_25174
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_25174&context=hpux:800:11:00
PHSS_26793
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_26792&context=hpux:800:11:00
PHSS_26792
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_23901&context=hpux:800:11:00
PHKL_28602
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_28602&context=hpux:800:11:00
PHSS_19005
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_19005&context=hpux:800:11:00
Special instructions, read and follow them.
The links will let you build a patch bundle with dependencies.
They will require a system boot.
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
03-03-2003 01:10 AM
03-03-2003 01:10 AM
Re: core keeps generating
by the way, file core or strings should help you find some hint what is generating the core file as suggested earlier..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 07:58 PM
03-03-2003 07:58 PM
Re: core keeps generating
Thank you very much for all your valued advices.
Steven, we have more than 100 servers here, all fitted with Sept 2002 patch bundles. Strange thing is - only this particular server has this problem...?
Bill, I dun think moving the root's HOME directory will help, it will only accomodate the coredump but I need to know why it triggers off the core file.
I seemed to be at a loss.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 02:19 AM
03-04-2003 02:19 AM
Re: core keeps generating
I don't know if it really helps, you but I'm facing strange behaviour on one HP machine.
When I login the sh is started, as specified in /etc/passwd. Then I try to start bash manualy. However sometimes it ends with core (but it is not a rule). Thats the reason why I don't vave bash in /etc/passwd.
But, when it starts doing it for the first time (heavy morning?) I'm sure it will happen again at the next try.
What I have to do then is to perform cd before starting bash. It doesn't matter where I cd to. I can also do it twice, to return to the directory I started from (of course - my home directory).
After its done I can start bash without problem.
Till now I don't understand it. Mayby you have something so mysterious also?
Good luck
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 03:12 AM
03-04-2003 03:12 AM
Re: core keeps generating
To prevent any problem due to root filesystem full disable the core files.
As root give this command.
#ulimit -c 0
Put the above line in some startup scripts.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:31 AM
03-04-2003 07:31 AM
Re: core keeps generating
swverify \* check the output for errors.
Maybe the September Patch set has problems or other patches do.
Could be a hardware issue messing up the system.
run cstm or mstm or in X xstm and test out those hard disks, make sure they don't have any errors.
Are you getting anything in /var/adm/crash ?
If so use the attachment to analyze the dumps and send them to HP.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com