- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kill -3 httpd
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
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
тАО09-13-2010 06:05 AM
тАО09-13-2010 06:05 AM
I have intentaddo with a kill -3 but i am not dumps nothing
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 06:49 AM
тАО09-13-2010 06:49 AM
Re: kill -3 httpd
Assuming -3 is -QUIT, you should get a dump unless the process has a signal handler for it.
Any reason you need a dump? You could try attaching to it and having gdb create the dump.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 07:02 AM
тАО09-13-2010 07:02 AM
Re: kill -3 httpd
Another possibility, to explain the lack of a corefile, is that the 'ulimit' for core dumps associated with the process or user is zero.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 05:55 PM
тАО09-13-2010 05:55 PM
Re: kill -3 httpd
Are you sure? The http process probably has a completely different working directory. The core file probably won't be in your current directory. It completely depends on how httpd was started (hint: /sbin/init.d/apache start). Or you can simply look everywhere for the core file:
find / -type f -name core -exec ls -l {} \;
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 10:37 PM
тАО09-13-2010 10:37 PM
Re: kill -3 httpd
I have a problem with the apache server. this gradually cunsume 100% CPU
coredump(blocks) 4194303
I have done a search (find core)and i have not found nothing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 11:38 PM
тАО09-13-2010 11:38 PM
Re: kill -3 httpd
Are you on 11.31 with coreadm(1m)?
You could attach with gdb and use the gcore command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2010 11:53 PM
тАО09-13-2010 11:53 PM
Solutionhttp://httpd.apache.org/docs/2.2/mod/mpm_common.html#coredumpdirectory
-----quote-----
CoreDumpDirectory
This controls the directory to which Apache attempts to switch before dumping core. The default is in the ServerRoot directory, however since this should not be writable by the user the server runs as, core dumps won't normally get written. If you want a core dump for debugging, you can use this directive to place it in a different location.
-----end quote-----
So if you want core dumps from Apache, you definitely should make sure the CoreDumpDirectory is set in the Apache configuration and points to a directory that is writable by Apache.
MK