squid
pbern@pbern.biz
pbern w pbern.biz
Nie, 20 Lis 2005, 01:56:48 CET
Od ostatniej aktualizacji mam powazny problem ze squidem.
Mianowicie podczas wykonywania logrotate sie wysypuje.
przy czym nie killowany, ale jego proces jest aktywny ale juz poprawnie
nie fukncjonuje
w zalaczniku strace z squid -k rotate
squid-2.5.STABLE12-3
przy czym przy 12-2 byl identyczny problem.
a w syslogu pozostaje tylko takie info
Nov 20 01:03:21 nautilus syslog-ng[2148]: SIGHUP received, restarting
syslog-ng
Nov 20 01:03:21 nautilus syslog-ng: syslog-ng got -HUP succeeded
Nov 20 01:03:22 nautilus syslog-ng[2148]: new configuration initialized
Nov 20 01:18:32 nautilus squid: squid shutdown failed
Nov 20 01:18:32 nautilus squid[9877]: Squid Parent: child process 9879
started
Nov 20 01:18:32 nautilus squid: squid startup succeeded
Nov 20 01:43:31 nautilus squid[9877]: Squid Parent: child process 9879
exited due to signal 9
Nov 20 01:43:31 nautilus squid: squid shutdown succeeded
Nov 20 01:43:33 nautilus squid: squid startup succeeded
Nov 20 01:43:33 nautilus squid[10233]: Squid Parent: child process 10236
started
Nov 20 01:45:27 nautilus squid: squid shutdown failed
Nov 20 01:45:28 nautilus squid[10457]: Squid Parent: child process 10459
started
Nov 20 01:45:28 nautilus squid: squid startup succeeded
Pozdrawiam
Pawel Bernadowski
GG 3377, email kontakt w pbern.biz
-------------- następna część ---------
execve("/usr/sbin/squid", ["/usr/sbin/squid", "-k", "rotate"], [/* 22 vars */]) = 0
uname({sys="Linux", node="nautilus", ...}) = 0
brk(0) = 0x8259d94
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=16220, ...}) = 0
mmap2(NULL, 16220, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\t\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34104, ...}) = 0
mmap2(NULL, 197404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4001b000
mmap2(0x40023000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0x40023000
mmap2(0x40025000, 156444, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40025000
close(3) = 0
open("/usr/lib/libssl.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\204\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=198808, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4004c000
mmap2(NULL, 199504, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4004d000
mmap2(0x4007b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e) = 0x4007b000
close(3) = 0
open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\316\2"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1037256, ...}) = 0
mmap2(NULL, 1055096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4007e000
mmap2(0x4016a000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xeb) = 0x4016a000
mmap2(0x4017c000, 14712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4017c000
mprotect(0xbffff000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\v\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9508, ...}) = 0
mmap2(NULL, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40180000
mmap2(0x40182000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x40182000
close(3) = 0
open("/lib/tls/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\35"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=30532, ...}) = 0
mmap2(NULL, 33352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40184000
mmap2(0x4018b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0x4018b000
close(3) = 0
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360H\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=63644, ...}) = 0
mmap2(NULL, 70104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4018d000
mmap2(0x4019b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x4019b000
mmap2(0x4019d000, 4568, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4019d000
close(3) = 0
open("/lib/tls/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p3\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=136904, ...}) = 0
mmap2(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4019f000
mmap2(0x401c0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20) = 0x401c0000
close(3) = 0
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20Q\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1148008, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401c2000
mmap2(NULL, 1154236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401c3000
mmap2(0x402d7000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x114) = 0x402d7000
mmap2(0x402db000, 7356, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402db000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402dd000
mprotect(0x402d7000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x402dd6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40017000, 16220) = 0
set_tid_address(0x402dd708) = 10303
rt_sigaction(SIGRTMIN, {0x40191420, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x401914a0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION, 0, 20969, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0xbffff9b0, 36, (nil), 0}) = 0
brk(0) = 0x8259d94
umask(07) = 022
umask(022) = 07
time(NULL) = 1132447511
gettimeofday({1132447511, 276126}, NULL) = 0
brk(0x827ad94) = 0x827ad94
brk(0x827b000) = 0x827b000
open("/etc/squid/squid.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=110273, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "\n#\tWELCOME TO SQUID 2\n#\t--------"..., 4096) = 4096
read(3, "ion does not affect whether or n"..., 4096) = 4096
read(3, "\n#\t\t \'closest-only\' indicate"..., 4096) = 4096
read(3, "e. You can treat some domains d"..., 4096) = 4096
read(3, "e others. When\n#\tadditional spa"..., 4096) = 4096
read(3, "ent policy you should increase\n#"..., 4096) = 4096
read(3, " -F\n#\n#Default:\n# cache_dir ufs "..., 4096) = 4096
read(3, "tput, Full debugging (level 9) "..., 4096) = 4096
read(3, "ple: dns_nameservers 10.0.0.1 19"..., 4096) = 4096
read(3, "et this line to something like\n#"..., 4096) = 4096
read(3, "off\n#\n#\t=== NTLM scheme options "..., 4096) = 4096
read(3, "equested port\n#\t %METHOD\tReques"..., 4096) = 4096
read(3, "ms which\n#\t\tit causes.\n#\t\t\n#\tBas"..., 4096) = 4096
read(3, "You\n#\tmay also set different tim"..., 4096) = 4096
read(3, "om_regex a reverse lookup is tr"..., 4096) = 4096
read(3, "ookup via a helper class defined"..., 4096) = 4096
read(3, "(http://www.squid-cache.org/FAQ/"..., 4096) = 4096
read(3, "o the UID/GID specified below. "..., 4096) = 4096
read(3, "s at off if you have multiple ba"..., 4096) = 4096
read(3, "info http://... acl\n#\tExample: d"..., 4096) = 4096
read(3, "dir\n#\t\tutilization\n#\t\tvia_header"..., 4096) = 4096
read(3, "\n#\n#\t\tacl local-external dstdoma"..., 4096) = 4096
read(3, "ult:\n# short_icon_urls off\n\n# T"..., 4096) = 4096
read(3, "each delay pool. There must be "..., 4096) = 4096
read(3, "erage\n# TAG: min_icp_poll_cnt\n#"..., 4096) = 4096
read(3, "ctive.\n#\n#Default:\n# nonhierarch"..., 4096) = 4096
read(3, "quests to closer\n#\tmatch that of"..., 4096) = 3777
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
stat64("/etc/squid/mime.conf", {st_mode=S_IFREG|0640, st_size=11651, ...}) = 0
stat64("/usr/lib/squid/unlinkd", {st_mode=S_IFREG|0755, st_size=3376, ...}) = 0
stat64("/usr/share/squid/icons", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/share/squid/errors/English", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
geteuid32() = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=277, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 277
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=16220, ...}) = 0
mmap2(NULL, 16220, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbffff4d0) = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbffff4d0) = -1 ENOENT (No such file or directory)
open("/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbffff4d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbffff4d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbffff4d0) = -1 ENOENT (No such file or directory)
open("/usr/lib/libnss_db.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
munmap(0x40017000, 16220) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=16220, ...}) = 0
mmap2(NULL, 16220, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\33\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34188, ...}) = 0
mmap2(NULL, 37516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x402de000
mmap2(0x402e6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0x402e6000
close(3) = 0
munmap(0x40017000, 16220) = 0
open("/etc/passwd", O_RDONLY) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=872, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 872
close(3) = 0
munmap(0x40017000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/group", O_RDONLY) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=659, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "root::0:root\nbin::1:root,bin,dae"..., 4096) = 659
close(3) = 0
munmap(0x40017000, 4096) = 0
setgroups32(1, [91]) = 0
setgid32(91) = 0
geteuid32() = 0
setresuid32(91, 91, 0) = 0
prctl(0x4, 0x1, 0, 0xbffffd14, 0) = 0
open("/var/run/squid.pid", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "10236\n", 4096) = 6
close(3) = 0
munmap(0x40017000, 4096) = 0
kill(10236, SIGUSR1) = 0
exit_group(0) = ?
Więcej informacji o liście dyskusyjnej pld-devel-pl