To change the default path where the core file is dumped for IBM HTTP Server 2.0.47 on AIX
1- Go to IBM HTTP server conf directory (ex: /usr/IBMIHS/conf)
2- Open httpd.conf
3- Edit the "CoreDumpDirectory" to the required directory (ex: CoreDumpDirectory "/usr/IBMIHS/corefiles")
Showing posts with label core. Show all posts
Showing posts with label core. Show all posts
Wednesday, April 28, 2010
Kill signal to dump core file
To kill a process and make it dump a core file, use the "6" signal
kill -6 PID
kill -6 PID
How to enable full core on AIX
1- To obtain full core files on AIX, set the following ulimit options:
ulimit -c unlimited turn on corefiles with unlimited size
ulimit -n unlimited allows an unlimited number of open file
descriptors
ulimit -d unlimited sets the user data limit to unlimited
ulimit -f unlimited sets the file limit to unlimited
You can display the current ulimit settings with:
ulimit -a
2- Set the following in smitty:
1. Start smitty as root
2. Go to System Environments -> Change/Show Characteristics of Operating System
3. Set the Enable full CORE dump option to TRUE
Alternatively, you can run chdev -l sys0 -a fullcore='true' as root.
You can check the setting with lsattr -D -c sys -a fullcore -H, which should produce output similar to this:
attribute deflt description user_settable
fullcore false Enable full CORE dump True
Reference: IBM Web Site, AIX Help
ulimit -c unlimited turn on corefiles with unlimited size
ulimit -n unlimited allows an unlimited number of open file
descriptors
ulimit -d unlimited sets the user data limit to unlimited
ulimit -f unlimited sets the file limit to unlimited
You can display the current ulimit settings with:
ulimit -a
2- Set the following in smitty:
1. Start smitty as root
2. Go to System Environments -> Change/Show Characteristics of Operating System
3. Set the Enable full CORE dump option to TRUE
Alternatively, you can run chdev -l sys0 -a fullcore='true' as root.
You can check the setting with lsattr -D -c sys -a fullcore -H, which should produce output similar to this:
attribute deflt description user_settable
fullcore false Enable full CORE dump True
Reference: IBM Web Site, AIX Help
Subscribe to:
Posts (Atom)