Hello!
Sometimes starting Squid in OpenBSD 4.9 fails with the following message
in cache.log:
> diskHandleWrite: FD 10: disk write error: (14) Bad address
So far, I was unable to get some more information when enabling some
debug options. The only bit of information I was able to gather was a
ktrace:
> 7990 squid 1319702036.377575 CALL stat(0x3c17e4c0,0xcfbdc7d0)
> 7990 squid 1319702036.377577 NAMI
"/var/squid/cache/cache-127.0.0.1:24567/0F"
> 7990 squid 1319702036.377582 RET stat 0
> 7990 squid 1319702036.377586 CALL open(0x3c17dfc0,0x209,0x1a4)
> 7990 squid 1319702036.377588 NAMI
"/var/squid/cache/cache-127.0.0.1:24567/swap.state"
> 7990 squid 1319702036.377602 RET open 10/0xa
> 7990 squid 1319702036.377605 CALL fcntl(0xa,0x1,0)
> 7990 squid 1319702036.377607 RET fcntl 0
> 7990 squid 1319702036.377608 CALL fcntl(0xa,0x2,0x1)
> 7990 squid 1319702036.377610 RET fcntl 0
> 7990 squid 1319702036.377619 CALL stat(0x89107d80,0xcfbdc76c)
> 7990 squid 1319702036.377622 NAMI
"/var/squid/cache/cache-127.0.0.1:24567/swap.state"
> 7990 squid 1319702036.377628 RET stat 0
> 7990 squid 1319702036.377630 CALL close(0xa)
> 7990 squid 1319702036.377632 RET close 0
> 7990 squid 1319702036.377635 CALL open(0x82016680,0x609,0x1a4)
> 7990 squid 1319702036.377637 NAMI
"/var/squid/cache/cache-127.0.0.1:24567/swap.state.new"
> 7990 squid 1319702036.377647 RET open 10/0xa
> 7990 squid 1319702036.377649 CALL fcntl(0xa,0x1,0)
> 7990 squid 1319702036.377651 RET fcntl 0
> 7990 squid 1319702036.377653 CALL fcntl(0xa,0x2,0x1)
> 7990 squid 1319702036.377655 RET fcntl 0
> 7990 squid 1319702036.377659 CALL write(0xa,0x8a624fd0,0x34)
> 7990 squid 1319702036.377682 RET write -1 errno 14 Bad address
> 7990 squid 1319702036.377694 CALL
mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
> 7990 squid 1319702036.377698 RET mmap -2101538816/0x82bd1000
> 7990 squid 1319702036.377705 CALL gettimeofday(0x3c15cdb8,0)
> 7990 squid 1319702036.377708 RET gettimeofday 0
> 7990 squid 1319702036.377712 CALL write(0x3,0x7e7dd000,0x50)
> 7990 squid 1319702036.377714 GIO fd 3 wrote 80 bytes
> "2011/10/27 09:53:56| diskHandleWrite: FD 10: disk write error: (14)
Bad address"
> 7990 squid 1319702036.377716 RET write 80/0x50
The error is unfortunately hard to reproduce. One of about 10 startups
the problem occurs.
Thanks for any advice!
Greetings,
Matthias
Received on Thu Nov 03 2011 - 14:50:46 MDT
This archive was generated by hypermail 2.2.0 : Thu Nov 03 2011 - 12:00:02 MDT