Feche o squid primeiro, depois inicie do terminal com squid -d5
O loader.php aqui não funcionava, vamos ver se é o mesmo bug.
Versão Imprimível
Feche o squid primeiro, depois inicie do terminal com squid -d5
O loader.php aqui não funcionava, vamos ver se é o mesmo bug.
root@palmito:~# /etc/init.d/squid status
* squid is not running
root@palmito:~# squid -d5
root@palmito:~# 2009/08/24 20:46:25| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2009/08/24 20:46:25| Process ID 4115
2009/08/24 20:46:25| With 1024 file descriptors available
2009/08/24 20:46:25| Using epoll for the IO loop
2009/08/24 20:46:25| Performing DNS Tests...
2009/08/24 20:46:25| Successful DNS name lookup tests...
2009/08/24 20:46:25| DNS Socket created at 0.0.0.0, port 38914, FD 6
2009/08/24 20:46:25| Adding nameserver 189.7.40.15 from /etc/resolv.conf
2009/08/24 20:46:25| Adding nameserver 189.7.40.16 from /etc/resolv.conf
2009/08/24 20:46:25| helperOpenServers: Starting 200 'loader.php' processes
2009/08/24 20:46:47| User-Agent logging is disabled.
2009/08/24 20:46:47| Referer logging is disabled.
2009/08/24 20:46:47| logfileOpen: opening log /var/log/squid/access.log
2009/08/24 20:46:47| Unlinkd pipe opened on FD 211
2009/08/24 20:46:47| Swap maxSize 4194304 KB, estimated 322638 objects
2009/08/24 20:46:47| Target number of buckets: 16131
2009/08/24 20:46:47| Using 16384 Store buckets
2009/08/24 20:46:47| Max Mem size: 16384 KB
2009/08/24 20:46:47| Max Swap size: 4194304 KB
2009/08/24 20:46:47| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/08/24 20:46:47| logfileOpen: opening log /var/log/squid/store.log
2009/08/24 20:46:47| Rebuilding storage in /var/spool/squid (CLEAN)
2009/08/24 20:46:47| Using Least Load store dir selection
2009/08/24 20:46:47| Current Directory is /root
2009/08/24 20:46:47| Loaded Icons.
2009/08/24 20:46:52| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 213.
2009/08/24 20:46:52| Accepting ICP messages at 0.0.0.0, port 3130, FD 214.
2009/08/24 20:46:52| HTCP Disabled.
2009/08/24 20:46:52| WCCP Disabled.
2009/08/24 20:46:52| Ready to serve requests.
2009/08/24 20:46:52| Done reading /var/spool/squid swaplog (2535 entries)
2009/08/24 20:46:52| Finished rebuilding storage from disk.
2009/08/24 20:46:52| 2535 Entries scanned
2009/08/24 20:46:52| 0 Invalid entries.
2009/08/24 20:46:52| 0 With invalid flags.
2009/08/24 20:46:52| 2535 Objects loaded.
2009/08/24 20:46:52| 0 Objects expired.
2009/08/24 20:46:52| 0 Objects cancelled.
2009/08/24 20:46:52| 0 Duplicate URLs purged.
2009/08/24 20:46:52| 0 Swapfile clashes avoided.
2009/08/24 20:46:52| Took 5.5 seconds ( 458.3 objects/sec).
2009/08/24 20:46:52| Beginning Validation Procedure
2009/08/24 20:46:52| Completed Validation Procedure
2009/08/24 20:46:52| Validated 2535 Entries
2009/08/24 20:46:52| store_swap_size = 27824k
2009/08/24 20:46:53| storeLateRelease: released 0 objects
dai continuo abrindo aquele tanto de processo...
dai vi que esta abrindo 200 processos eu alterei na configuração do squid(squid.conf)
estava assim redirect_children 200 (mudei para 10) abriram 10 processos agora ....
acho que isso nao deveria fazer isso nao.... deveria?? o.O'
Description redirect_children
This tag is used to set the number of redirect processes to spawn
Essa qntidade de loader.php acontecia com uma versão anterior do thunder, mas ja foi solucionado, utilize a ulltimo thunder postado no repositorio Index of /repo se continuar, verefique as permissões do loader.php, e do downloader.php, e nao esqueça de fazer os links simbolicos do thunder.php, thundercache.php e thunder.css para a pasta var/www .... outro detalhe é ver a configuração do seu thunder.conf, posta ele.
Boa sorte
pois é to usando aquele thunder cache v21 as permissões certas e os link's tbm foram criados ... o.O'
mas ainda ta abrindo 10 processos iguais mencionei ... ingraçado !!!
Citação:
thunder.conf
<?php
/**
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* (C) Copyright 2008-2009 Thunder Cache
*
* For more information check http://thundercache.org
*
* Configurations of system
*
* @author rodrigo manga <[email protected]>
*/
$cache_dir = "/var/www/thunder";
$disk_max = 80; // in percent
$cache_scr = "/etc/squid";
$server_ip = "189.35.169.62";
$cache_url = "http://$server_ip/thunder";
$download_speed = 1024; // kbytes
$logadd_on = false;
$redir = ""; // keep empty if you need a internal rewriter
$proxy_host = ""; // keep it empty if you dont need proxy
$proxy_port = "3128";
//limpeza
$time_delete = 15; // in Day
$disk_limit = 60; // in percent
$list_files = 50; // in number
//advanced params - IF YOU DONT KNOW, DONT TOUCH!
$packet_size = 5900; // in bytes
$packet_delay = 60000; // time in micro second
$download_timeout = 25;
?>