Hi Hans,
It would indeed be interesting to know why the Linux kernel
>>>kills the application rather than returning failure.
Sure, but how to do that? Any guidelines?
What do you see on the console? Anything in the system log? Does
strace tell you anything?
Below is the last part of "strace -f -F -i -v". It doesn't really look
like there's anything of value?
// Martin
[pid 75] [0f833558] write(1, "*** MEM CHUNK TAKEN: 8388608\n", 29***
MEM CHUNK TAKEN: 8388608
) = 29
[pid 75] [0f839834] brk(0x12d15000) = 0x12d15000
[pid 75] [0f839834] brk(0x12d25000) = 0x12d25000
[pid 75] [0f81126c] getpid() = 75
[pid 75] [0f799444] kill(77, SIGPWR <unfinished ...>
[pid 76] [0f840e2c] <... poll resumed> [{fd=3, events=POLLIN,
revents=POLLIN}
], 1, 2000) = 1
[pid 75] [0f799444] <... kill resumed> ) = 0
[pid 76] [0f81127c] getppid() = 75
[pid 76] [0f833548] read(3,
"\20\7/\234\0\0\0\4\17\374$0\20\7/\240$\0\0B\17\3
72j(\177"..., 148) = 148
[pid 76] [0f840e2c] poll( <unfinished ...>
[pid 75] [0f799444] kill(77, SIGXCPU) = 0
[pid 75] [0f839834] brk(0x13525000) = 0x13525000
[pid 75] [0f833558] write(1, "*** MEM CHUNK TAKEN: 8388608\n", 29***
MEM CHUNK TAKEN: 8388608
) = 29
[pid 75] [0f839834] brk(0x13535000) = 0x13535000
[pid 75] [0f839834] brk(0x13545000) = 0x13545000
[pid 75] [0f839834] brk(0x13d45000) = 0x13d45000
[pid 75] [0f833558] write(1, "*** MEM CHUNK TAKEN: 8388608\n", 29***
MEM CHUNK TAKEN: 8388608
) = 29
[pid 76] [0f840e2c] <... poll resumed> [{fd=3, events=POLLIN}], 1,
2000) = 0
[pid 76] [0f840e2c] --- SIGTERM (Terminated) ---
#