Skip to contentSkip to conversation

kernel 2.4.19 & 2.5.38 - coredump sysctl

PATCH Andi Kleen 3 participants 4 messages Sep 20, 2002 – Sep 21, 2002 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#4 lore raw
Quoted 2 lines · Andrew Morton

True, but it's all more code and I don't believe that it adds much value. It means that people need to run off and find

One useful feature of it would be that you can get core dumps for each thread by including the pid (or tid later with newer threading libraries) Currently threads when core dumping overwrite each others cores so you lose the registers of all but one.

Doing multithreaded coredump correctly is a lot more code than this.

Another useful application of an arbitary path name would be dumping to a named pipe and having a dr.watson that logs the backtrace to the system log (of course this has interesting deadlock possibilities when you're not careful...)

I would find the feature useful.

-Andi

#5 lore raw
Quoted 10 lines · Andi Kleen
Quoted 2 lines · Andrew Morton

True, but it's all more code and I don't believe that it adds much value. It means that people need to run off and find

One useful feature of it would be that you can get core dumps for each thread by including the pid (or tid later with newer threading libraries) Currently threads when core dumping overwrite each others cores so you lose the registers of all but one.

Oh sure, I agree that it's a useful feature. But I don't agree that we need to allow users to specify how the final filename is pasted together. Just give them host-uid-gid-comm.core. ie: everything.

author
#6 lore raw
Quoted 7 lines · Andrew Morton
Quoted 6 lines · Andi Kleen
Quoted 2 lines · Andrew Morton

True, but it's all more code and I don't believe that it adds much value. It means that people need to run off and find

Quoted 8 lines
Quoted 4 lines

One useful feature of it would be that you can get core dumps for each thread by including the pid (or tid later with newer threading libraries) Currently threads when core dumping overwrite each others cores so you lose the registers of all but one.

Oh sure, I agree that it's a useful feature. But I don't agree that we need to allow users to specify how the final filename is pasted together. Just give them host-uid-gid-comm.core. ie: everything.

That wouldn't support the Dr.Watson thing.

-Andi

#7 lore raw

Andi Kleen <[email protected]> :

Quoted 1 line · Andrew Morton

[...]

Quoted 5 lines
Quoted 3 lines

Oh sure, I agree that it's a useful feature. But I don't agree that we need to allow users to specify how the final filename is pasted together. Just give them host-uid-gid-comm.core. ie: everything.

That wouldn't support the Dr.Watson thing.

Time to upgrade to directory notification enabled Dr.Watson ?

Signature · 1 line
Ueimor