removido
(usa Nenhuma)
Enviado em 15/11/2013 - 01:11h
Olá pessoal, tenho um servidor debian 7 com squid3 no virtualbox, toda vez que eu tento iniciar o serviço aparece o seguinte erro no terminal:
Starting Squid HTTP Proxy 3.x: squid3[ 333.930519] Out of memory: Kill process 2687 (squid3) score 949 or sacrifice child 333.931487] killed process 2687 (squid3) total-vm:1509148kB, anon-rss:1007676 file-rss:36kB
failed!
Aqui esta o arquivo de configuração e alguns arquivos de log para auxilia no problema ( Detalhe os arquivos de log foram limpados antes da tentar executar o squid3, para que tivessem somente informações da tentativa de execução do processo)
Conteúdo do /etc/squid3/squid.conf
### Porta e Nome do Proxy ###
http_port 3128
visible_hostname wseg.inf.net
### Declaração de ACL's ###
acl localhost src 127.0.0.1/32
acl eth1 src 192.168.100.0/24
acl
[*****] url_regex -i "/etc/squid3/blacklist/
[*****]"
### Bloqueio ###
http_access deny
[*****] eth1
### Permissão ###
http_access allow localhost
http_access allow eth1
Conteudo do /var/log/syslog
Nov 15 00:48:32 debian kernel: [ 625.975243] squid3 invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Nov 15 00:48:32 debian kernel: [ 625.975317] squid3 cpuset=/ mems_allowed=0
Nov 15 00:48:32 debian kernel: [ 625.975367] Pid: 2994, comm: squid3 Not tainted 3.2.0-4-486 #1 Debian 3.2.51-1
Nov 15 00:48:32 debian kernel: [ 625.975397] Call Trace:
Nov 15 00:48:32 debian kernel: [ 625.975484] [<c1079c10>] ? dump_header.isra.13+0x46/0x130
Nov 15 00:48:32 debian kernel: [ 625.975539] [<c1132ce3>] ? ___ratelimit+0x8c/0x95
Nov 15 00:48:32 debian kernel: [ 625.975579] [<c1079e11>] ? oom_kill_process+0x30/0x1c4
Nov 15 00:48:32 debian kernel: [ 625.975619] [<c107a04f>] ? select_bad_process.constprop.19+0xaa/0xfe
Nov 15 00:48:32 debian kernel: [ 625.975662] [<c107a2d5>] ? out_of_memory+0xe8/0x120
Nov 15 00:48:32 debian kernel: [ 625.975702] [<c107ca80>] ? __alloc_pages_nodemask+0x503/0x637
Nov 15 00:48:32 debian kernel: [ 625.975777] [<c1077669>] ? __page_cache_alloc+0xe/0x10
Nov 15 00:48:32 debian kernel: [ 625.975817] [<c1079533>] ? filemap_fault+0x204/0x2d7
Nov 15 00:48:32 debian kernel: [ 625.975855] [<c108af9d>] ? __do_fault+0xa0/0x2cd
Nov 15 00:48:32 debian kernel: [ 625.975894] [<c108cf78>] ? handle_pte_fault+0x232/0x63d
Nov 15 00:48:32 debian kernel: [ 625.975934] [<c108d43a>] ? handle_mm_fault+0xb7/0xc9
Nov 15 00:48:32 debian kernel: [ 625.975988] [<c1286bdc>] ? do_page_fault+0x33f/0x35b
Nov 15 00:48:32 debian kernel: [ 625.976027] [<c128689d>] ? spurious_fault+0x88/0x88
Nov 15 00:48:32 debian kernel: [ 625.976066] [<c128689d>] ? spurious_fault+0x88/0x88
Nov 15 00:48:32 debian kernel: [ 625.976104] [<c1284b05>] ? error_code+0x65/0x70
Nov 15 00:48:32 debian kernel: [ 625.976132] Mem-Info:
Nov 15 00:48:32 debian kernel: [ 625.976162] DMA per-cpu:
Nov 15 00:48:32 debian kernel: [ 625.976187] CPU 0: hi: 0, btch: 1 usd: 0
Nov 15 00:48:32 debian kernel: [ 625.976213] Normal per-cpu:
Nov 15 00:48:32 debian kernel: [ 625.976240] CPU 0: hi: 186, btch: 31 usd: 48
Nov 15 00:48:32 debian kernel: [ 625.976266] HighMem per-cpu:
Nov 15 00:48:32 debian kernel: [ 625.976294] CPU 0: hi: 42, btch: 7 usd: 16
Nov 15 00:48:32 debian kernel: [ 625.976319] active_anon:125980 inactive_anon:126044 isolated_anon:0
Nov 15 00:48:32 debian kernel: [ 625.976354] active_file:7 inactive_file:4 isolated_file:9
Nov 15 00:48:32 debian kernel: [ 625.976374] unevictable:0 dirty:0 writeback:0 unstable:0
Nov 15 00:48:32 debian kernel: [ 625.976383] free:3047 slab_reclaimable:451 slab_unreclaimable:1216
Nov 15 00:48:32 debian kernel: [ 625.976383] mapped:5 shmem:0 pagetables:465 bounce:0
Nov 15 00:48:32 debian kernel: [ 625.976512] DMA free:4072kB min:64kB low:80kB high:96kB active_anon:5888kB inactive_anon:5924kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:24kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Nov 15 00:48:32 debian kernel: [ 625.976594] lowmem_reserve[]: 0 865 1000 1000
Nov 15 00:48:32 debian kernel: [ 625.976683] Normal free:7980kB min:3728kB low:4660kB high:5592kB active_anon:430300kB inactive_anon:430412kB active_file:28kB inactive_file:16kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:885944kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:0kB slab_reclaimable:1804kB slab_unreclaimable:4864kB kernel_stack:536kB pagetables:1192kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:90 all_unreclaimable? yes
Nov 15 00:48:32 debian kernel: [ 625.976786] lowmem_reserve[]: 0 0 1079 1079
Nov 15 00:48:32 debian kernel: [ 625.976864] HighMem free:136kB min:132kB low:276kB high:420kB active_anon:67732kB inactive_anon:67840kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):36kB present:138120kB mlocked:0kB dirty:0kB writeback:0kB mapped:16kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:644kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:57 all_unreclaimable? yes
Nov 15 00:48:32 debian kernel: [ 625.976944] lowmem_reserve[]: 0 0 0 0
Nov 15 00:48:32 debian kernel: [ 625.976995] DMA: 0*4kB 1*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 4072kB
Nov 15 00:48:32 debian kernel: [ 625.977306] Normal: 5*4kB 3*8kB 2*16kB 3*32kB 2*64kB 0*128kB 0*256kB 3*512kB 2*1024kB 0*2048kB 1*4096kB = 7980kB
Nov 15 00:48:32 debian kernel: [ 625.977471] HighMem: 6*4kB 0*8kB 1*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 136kB
Nov 15 00:48:32 debian kernel: [ 625.977640] 175 total pagecache pages
Nov 15 00:48:32 debian kernel: [ 625.977664] 157 pages in swap cache
Nov 15 00:48:32 debian kernel: [ 625.977692] Swap cache stats: add 248834, delete 248677, find 3002/3101
Nov 15 00:48:32 debian kernel: [ 625.977722] Free swap = 0kB
Nov 15 00:48:32 debian kernel: [ 625.977744] Total swap = 498684kB
Nov 15 00:48:32 debian kernel: [ 625.991853] 262112 pages RAM
Nov 15 00:48:32 debian kernel: [ 625.991883] 34802 pages HighMem
Nov 15 00:48:32 debian kernel: [ 625.991907] 3463 pages reserved
Nov 15 00:48:32 debian kernel: [ 625.991931] 82 pages shared
Nov 15 00:48:32 debian kernel: [ 625.991953] 255345 pages non-shared
Nov 15 00:48:32 debian kernel: [ 625.991977] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
Nov 15 00:48:32 debian kernel: [ 625.992028] [ 278] 0 278 649 4 0 -17 -1000 udevd
Nov 15 00:48:32 debian kernel: [ 625.992070] [ 1787] 0 1787 1295 1 0 0 0 dhclient
Nov 15 00:48:32 debian kernel: [ 625.992112] [ 1863] 0 1863 594 13 0 0 0 rpcbind
Nov 15 00:48:32 debian kernel: [ 625.992153] [ 1894] 102 1894 662 1 0 0 0 rpc.statd
Nov 15 00:48:32 debian kernel: [ 625.992195] [ 1908] 0 1908 644 1 0 0 0 rpc.idmapd
Nov 15 00:48:32 debian kernel: [ 625.992238] [ 2208] 0 2208 7208 57 0 0 0 rsyslogd
Nov 15 00:48:32 debian kernel: [ 625.992278] [ 2272] 0 2272 469 5 0 0 0 acpid
Nov 15 00:48:32 debian kernel: [ 625.992305] [ 2277] 0 2277 538 1 0 0 0 atd
Nov 15 00:48:32 debian kernel: [ 625.992504] [ 2336] 0 2336 952 13 0 0 0 cron
Nov 15 00:48:32 debian kernel: [ 625.992545] [ 2606] 101 2606 1850 1 0 0 0 exim4
Nov 15 00:48:32 debian kernel: [ 625.992585] [ 2655] 0 2655 710 1 0 0 0 login
Nov 15 00:48:32 debian kernel: [ 625.992625] [ 2656] 0 2656 945 1 0 0 0 getty
Nov 15 00:48:32 debian kernel: [ 625.992684] [ 2657] 0 2657 945 1 0 0 0 getty
Nov 15 00:48:32 debian kernel: [ 625.992724] [ 2658] 0 2658 945 1 0 0 0 getty
Nov 15 00:48:32 debian kernel: [ 625.992786] [ 2659] 0 2659 945 1 0 0 0 getty
Nov 15 00:48:32 debian kernel: [ 625.992825] [ 2660] 0 2660 945 1 0 0 0 getty
Nov 15 00:48:32 debian kernel: [ 625.992863] [ 2661] 0 2661 1331 131 0 0 0 bash
Nov 15 00:48:32 debian kernel: [ 625.992904] [ 2804] 0 2804 648 19 0 -17 -1000 udevd
Nov 15 00:48:32 debian kernel: [ 625.992943] [ 2805] 0 2805 648 20 0 -17 -1000 udevd
Nov 15 00:48:32 debian kernel: [ 625.992980] [ 2843] 0 2843 1130 1 0 0 0 mount.ntfs
Nov 15 00:48:32 debian kernel: [ 625.993021] [ 2984] 0 2984 483 1 0 0 0 squid3
Nov 15 00:48:32 debian kernel: [ 625.993061] [ 2994] 0 2994 376909 251650 0 0 0 squid3
Nov 15 00:48:32 debian kernel: [ 625.993094] Out of memory: Kill process 2994 (squid3) score 948 or sacrifice child
Nov 15 00:48:32 debian kernel: [ 625.994921] Killed process 2994 (squid3) total-vm:1507636kB, anon-rss:1006580kB, file-rss:20kB
Conteudo do /var/log/messages
Nov 15 00:43:32 debian kernel: [ 326.112448] squid3 invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
Nov 15 00:43:33 debian kernel: [ 326.112504] squid3 cpuset=/ mems_allowed=0
Nov 15 00:43:33 debian kernel: [ 326.112955] Pid: 2726, comm: squid3 Not tainted 3.2.0-4-486 #1 Debian 3.2.51-1
Nov 15 00:43:33 debian kernel: [ 326.112987] Call Trace:
Nov 15 00:43:33 debian kernel: [ 326.113643] [<c1079c10>] ? dump_header.isra.13+0x46/0x130
Nov 15 00:43:33 debian kernel: [ 326.123227] [<c1132ce3>] ? ___ratelimit+0x8c/0x95
Nov 15 00:43:33 debian kernel: [ 326.123582] [<c1079e11>] ? oom_kill_process+0x30/0x1c4
Nov 15 00:43:33 debian kernel: [ 326.123855] [<c107a04f>] ? select_bad_process.constprop.19+0xaa/0xfe
Nov 15 00:43:33 debian kernel: [ 326.124069] [<c107a2d5>] ? out_of_memory+0xe8/0x120
Nov 15 00:43:33 debian kernel: [ 326.124240] [<c107ca80>] ? __alloc_pages_nodemask+0x503/0x637
Nov 15 00:43:33 debian kernel: [ 326.124380] [<c1077669>] ? __page_cache_alloc+0xe/0x10
Nov 15 00:43:33 debian kernel: [ 326.124495] [<c1079533>] ? filemap_fault+0x204/0x2d7
Nov 15 00:43:33 debian kernel: [ 326.124591] [<c108af9d>] ? __do_fault+0xa0/0x2cd
Nov 15 00:43:33 debian kernel: [ 326.124671] [<c108cf78>] ? handle_pte_fault+0x232/0x63d
Nov 15 00:43:33 debian kernel: [ 326.124744] [<c108d43a>] ? handle_mm_fault+0xb7/0xc9
Nov 15 00:43:33 debian kernel: [ 326.124818] [<c1286bdc>] ? do_page_fault+0x33f/0x35b
Nov 15 00:43:33 debian kernel: [ 326.124873] [<c109101b>] ? sys_mprotect+0x169/0x1c2
Nov 15 00:43:33 debian kernel: [ 326.124925] [<c109106a>] ? sys_mprotect+0x1b8/0x1c2
Nov 15 00:43:33 debian kernel: [ 326.124993] [<c128689d>] ? spurious_fault+0x88/0x88
Nov 15 00:43:33 debian kernel: [ 326.125030] [<c128689d>] ? spurious_fault+0x88/0x88
Nov 15 00:43:33 debian kernel: [ 326.125065] [<c1284b05>] ? error_code+0x65/0x70
Nov 15 00:43:33 debian kernel: [ 326.125112] Mem-Info:
Nov 15 00:43:33 debian kernel: [ 326.125151] DMA per-cpu:
Nov 15 00:43:33 debian kernel: [ 326.125176] CPU 0: hi: 0, btch: 1 usd: 0
Nov 15 00:43:33 debian kernel: [ 326.125201] Normal per-cpu:
Nov 15 00:43:33 debian kernel: [ 326.125225] CPU 0: hi: 186, btch: 31 usd: 52
Nov 15 00:43:33 debian kernel: [ 326.125248] HighMem per-cpu:
Nov 15 00:43:33 debian kernel: [ 326.125273] CPU 0: hi: 42, btch: 7 usd: 6
Nov 15 00:43:33 debian kernel: [ 326.125319] active_anon:126052 inactive_anon:126101 isolated_anon:0
Nov 15 00:43:33 debian kernel: [ 326.125345] active_file:9 inactive_file:38 isolated_file:12
Nov 15 00:43:33 debian kernel: [ 326.125365] unevictable:0 dirty:0 writeback:0 unstable:0
Nov 15 00:43:33 debian kernel: [ 326.125383] free:3033 slab_reclaimable:430 slab_unreclaimable:1134
Nov 15 00:43:33 debian kernel: [ 326.125402] mapped:6 shmem:0 pagetables:463 bounce:0
Nov 15 00:43:33 debian kernel: [ 326.125463] DMA free:4072kB min:64kB low:80kB high:96kB active_anon:5888kB inactive_anon:5936kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:24kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Nov 15 00:43:33 debian kernel: [ 326.125537] lowmem_reserve[]: 0 865 1000 1000
Nov 15 00:43:33 debian kernel: [ 326.125591] Normal free:7932kB min:3728kB low:4660kB high:5592kB active_anon:430536kB inactive_anon:430628kB active_file:36kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):48kB present:885944kB mlocked:0kB dirty:0kB writeback:0kB mapped:4kB shmem:0kB slab_reclaimable:1720kB slab_unreclaimable:4536kB kernel_stack:472kB pagetables:1216kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:90 all_unreclaimable? yes
Nov 15 00:43:33 debian kernel: [ 326.125736] lowmem_reserve[]: 0 0 1079 1079
Nov 15 00:43:33 debian kernel: [ 326.125810] HighMem free:128kB min:132kB low:276kB high:420kB active_anon:67784kB inactive_anon:67840kB active_file:0kB inactive_file:152kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:138120kB mlocked:0kB dirty:0kB writeback:0kB mapped:20kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:612kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:9 all_unreclaimable? yes
Nov 15 00:43:33 debian kernel: [ 326.125885] lowmem_reserve[]: 0 0 0 0
Nov 15 00:43:33 debian kernel: [ 326.125932] DMA: 0*4kB 1*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 4072kB
Nov 15 00:43:33 debian kernel: [ 326.126441] Normal: 19*4kB 20*8kB 17*16kB 4*32kB 2*64kB 0*128kB 2*256kB 1*512kB 2*1024kB 0*2048kB 1*4096kB = 7932kB
Nov 15 00:43:33 debian kernel: [ 326.126597] HighMem: 2*4kB 1*8kB 1*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 128kB
Nov 15 00:43:33 debian kernel: [ 326.126764] 254 total pagecache pages
Nov 15 00:43:33 debian kernel: [ 326.126805] 194 pages in swap cache
Nov 15 00:43:33 debian kernel: [ 326.127183] Swap cache stats: add 124853, delete 124659, find 17/36
Nov 15 00:43:33 debian kernel: [ 326.127214] Free swap = 0kB
Nov 15 00:43:33 debian kernel: [ 326.127236] Total swap = 498684kB
Nov 15 00:43:33 debian kernel: [ 326.143832] 262112 pages RAM
Nov 15 00:43:33 debian kernel: [ 326.143860] 34802 pages HighMem
Nov 15 00:43:33 debian kernel: [ 326.143909] 3463 pages reserved
Nov 15 00:43:33 debian kernel: [ 326.143932] 51 pages shared
Nov 15 00:43:33 debian kernel: [ 326.143954] 255388 pages non-shared
Nov 15 00:43:33 debian kernel: [ 326.143977] [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
Nov 15 00:43:33 debian kernel: [ 326.144094] [ 278] 0 278 649 1 0 -17 -1000 udevd
Nov 15 00:43:33 debian kernel: [ 326.144154] [ 756] 0 756 648 1 0 -17 -1000 udevd
Nov 15 00:43:33 debian kernel: [ 326.144200] [ 758] 0 758 648 1 0 -17 -1000 udevd
Nov 15 00:43:33 debian kernel: [ 326.144246] [ 1787] 0 1787 1295 1 0 0 0 dhclient
Nov 15 00:43:33 debian kernel: [ 326.144296] [ 1863] 0 1863 594 13 0 0 0 rpcbind
Nov 15 00:43:33 debian kernel: [ 326.144342] [ 1894] 102 1894 662 1 0 0 0 rpc.statd
Nov 15 00:43:33 debian kernel: [ 326.144392] [ 1908] 0 1908 644 1 0 0 0 rpc.idmapd
Nov 15 00:43:33 debian kernel: [ 326.144444] [ 2208] 0 2208 7208 1 0 0 0 rsyslogd
Nov 15 00:43:33 debian kernel: [ 326.144485] [ 2272] 0 2272 469 5 0 0 0 acpid
Nov 15 00:43:33 debian kernel: [ 326.144530] [ 2277] 0 2277 538 1 0 0 0 atd
Nov 15 00:43:33 debian kernel: [ 326.144572] [ 2336] 0 2336 952 13 0 0 0 cron
Nov 15 00:43:33 debian kernel: [ 326.144611] [ 2606] 101 2606 1850 1 0 0 0 exim4
Nov 15 00:43:33 debian kernel: [ 326.144649] [ 2655] 0 2655 710 1 0 0 0 login
Nov 15 00:43:33 debian kernel: [ 326.144688] [ 2656] 0 2656 945 1 0 0 0 getty
Nov 15 00:43:33 debian kernel: [ 326.144732] [ 2657] 0 2657 945 1 0 0 0 getty
Nov 15 00:43:33 debian kernel: [ 326.144774] [ 2658] 0 2658 945 1 0 0 0 getty
Nov 15 00:43:33 debian kernel: [ 326.144818] [ 2659] 0 2659 945 1 0 0 0 getty
Nov 15 00:43:33 debian kernel: [ 326.144863] [ 2660] 0 2660 945 1 0 0 0 getty
Nov 15 00:43:33 debian kernel: [ 326.144903] [ 2661] 0 2661 1319 1 0 0 0 bash
Nov 15 00:43:33 debian kernel: [ 326.144942] [ 2716] 0 2716 483 1 0 0 0 squid3
Nov 15 00:43:33 debian kernel: [ 326.144982] [ 2726] 0 2726 377202 251932 0 0 0 squid3