OpenVZ Forum


Home » General » Support » Capture core dump inside VE
Capture core dump inside VE [message #8345] Thu, 16 November 2006 12:31
iziz is currently offline  iziz
Messages: 10
Registered: October 2006
Junior Member
Hello,

I'm trying to capture core dump file inside particular Virtual Enviroinment. I set up in root node kernel.core_pattern kernel parameter and I'm able to see the change inside VE with `sysctl -a | grep kernel.core_pattern`:

kernel.core_pattern = /var/tmp/core

I also set up ulimit -c unlimited in /etc/profile (commenting line with default `ulimit -S -c 0 > /dev/null 2>&1` command) and restarted application I want to debug.

But when I kill it with 11 signal for example, I do not see any core dumps in /var/tmp/core. And it does not seem that they are generated in some unknown location, since typically my application writes "possible core dump in /some/dir" if it really generates dump.

However above operations are valid way to switch core dumps on inside usual Linux machine.

What are the reasons for that? How to switch core dumps on in OpenVZ?
Previous Topic: *SOLVED* sysctl from inside VE fails to set a parameter
Next Topic: How to increase SHMMAX for virtual OS?
Goto Forum:
  


Current Time: Sat May 18 03:27:56 GMT 2024

Total time taken to generate the page: 0.01501 seconds