cyrus-murder problems with database corruption in the frontend/master
João Assad
jfassad at parperfeito.com.br
Fri Apr 8 15:38:09 EDT 2005
João Assad wrote:
> Managed to get a backtrace using debug_command ( thanks for this nifty
> feature Henrique de Moraes )
and now a strace from the production server.. Im sending just the last few lines of it. its really big.
16:18:02.399469 accept(4, 0, NULL) = 104
16:18:02.470386 getpeername(104, {sa_family=AF_INET, sin_port=htons(33978), sin_addr=inet_addr("10.1.5.202")}, [16]) = 0
16:18:02.470523 getpeername(104, {sa_family=AF_INET, sin_port=htons(33978), sin_addr=inet_addr("10.1.5.202")}, [16]) = 0
16:18:02.470658 getsockname(104, {sa_family=AF_INET, sin_port=htons(3905), sin_addr=inet_addr("10.1.5.101")}, [16]) = 0
16:18:02.470782 open("/etc/hosts.allow", O_RDONLY) = 112
16:18:02.470850 fstat64(112, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
16:18:02.470958 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb691d000
16:18:02.471015 read(112, "#\n", 4096) = 2
16:18:02.471079 read(112, "", 4096) = 0
16:18:02.471135 close(112) = 0
16:18:02.471185 munmap(0xb691d000, 4096) = 0
16:18:02.471244 open("/etc/hosts.deny", O_RDONLY) = 112
16:18:02.471307 fstat64(112, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
16:18:02.471411 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb691d000
16:18:02.471466 read(112, "#\n", 4096) = 2
16:18:02.471526 read(112, "", 4096) = 0
16:18:02.471577 close(112) = 0
16:18:02.471625 munmap(0xb691d000, 4096) = 0
16:18:02.471683 time([1112987882]) = 1112987882
16:18:02.471750 rt_sigaction(SIGPIPE, {0x585aa0, [], SA_RESTORER, 0x4f4f48}, {SIG_IGN}, 8) = 0
16:18:02.471838 send(5, "<23>Apr 8 16:18:02 cyrus/mupdat"..., 61, 0) = 61
16:18:02.471927 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
16:18:02.472012 write(3, "\4\0\0\0\24b\0\0", 8) = 8
16:18:02.472086 write(7, "h\0\0\0", 4) = 4
16:18:02.472588 accept(4, 0, NULL) = 106
16:18:02.498519 getpeername(106, {sa_family=AF_INET, sin_port=htons(33979), sin_addr=inet_addr("10.1.5.202")}, [16]) = 0
16:18:02.498661 getpeername(106, {sa_family=AF_INET, sin_port=htons(33979), sin_addr=inet_addr("10.1.5.202")}, [16]) = 0
16:18:02.498793 getsockname(106, {sa_family=AF_INET, sin_port=htons(3905), sin_addr=inet_addr("10.1.5.101")}, [16]) = 0
16:18:02.498918 open("/etc/hosts.allow", O_RDONLY) = 112
16:18:02.498987 fstat64(112, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
16:18:02.499125 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb691d000
16:18:02.499183 read(112, "#\n", 4096) = 2
16:18:02.499250 read(112, "", 4096) = 0
16:18:02.499301 close(112) = 0
16:18:02.499351 munmap(0xb691d000, 4096) = 0
16:18:02.499408 open("/etc/hosts.deny", O_RDONLY) = 112
16:18:02.499473 fstat64(112, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
16:18:02.499585 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb691d000
16:18:02.499639 read(112, "#\n", 4096) = 2
16:18:02.499700 read(112, "", 4096) = 0
16:18:02.499749 close(112) = 0
16:18:02.499799 munmap(0xb691d000, 4096) = 0
16:18:02.499856 time([1112987882]) = 1112987882
16:18:02.499920 rt_sigaction(SIGPIPE, {0x585aa0, [], SA_RESTORER, 0x4f4f48}, {SIG_IGN}, 8) = 0
16:18:02.500004 send(5, "<23>Apr 8 16:18:02 cyrus/mupdat"..., 61, 0) = 61
16:18:02.500090 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
16:18:02.500180 write(3, "\4\0\0\0\24b\0\0", 8) = 8
16:18:02.500253 write(7, "j\0\0\0", 4) = 4
16:18:02.500326 accept(4, 0, NULL) = 104
16:18:02.595693 getpeername(104, {sa_family=AF_INET, sin_port=htons(33980), sin_addr=inet_addr("10.1.5.202")}, [16]) = 0
16:18:02.595830 getpeername(104, {sa_family=AF_INET, sin_port=htons(33980), sin_addr=inet_addr("10.1.5.202")}, [16]) = 0
16:18:02.595964 getsockname(104, {sa_family=AF_INET, sin_port=htons(3905), sin_addr=inet_addr("10.1.5.101")}, [16]) = 0
16:18:02.596087 open("/etc/hosts.allow", O_RDONLY) = 106
16:18:02.596161 fstat64(106, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
16:18:02.596266 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb691d000
16:18:02.596324 read(106, "#\n", 4096) = 2
16:18:02.596389 read(106, "", 4096) = 0
16:18:02.596439 close(106) = 0
16:18:02.596489 munmap(0xb691d000, 4096) = 0
16:18:02.596548 open("/etc/hosts.deny", O_RDONLY) = 106
16:18:02.596615 fstat64(106, {st_mode=S_IFREG|0644, st_size=2, ...}) = 0
16:18:02.596718 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb691d000
16:18:02.596772 read(106, "#\n", 4096) = 2
16:18:02.596834 read(106, "", 4096) = 0
16:18:02.596884 close(106) = 0
16:18:02.596932 munmap(0xb691d000, 4096) = 0
16:18:02.596993 time([1112987882]) = 1112987882
16:18:02.597057 rt_sigaction(SIGPIPE, {0x585aa0, [], SA_RESTORER, 0x4f4f48}, {SIG_IGN}, 8) = 0
16:18:02.597151 send(5, "<23>Apr 8 16:18:02 cyrus/mupdat"..., 61, 0) = 61
16:18:02.597236 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
16:18:02.597320 write(3, "\4\0\0\0\24b\0\0", 8) = 8
16:18:02.597394 write(7, "h\0\0\0", 4) = 4
16:18:02.597840 accept(4, 0, NULL) = ? ERESTARTSYS (To be restarted)
16:18:02.797127 +++ killed by SIGSEGV (core dumped) +++
why did accept return ERESTARTSYS ?
shouldnt the kernel transfor it to EINTR ?
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list