AdminAleksin
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору Приветствую профи этого раздела, и софта. Не могу побороть squid чтобы работал стабильно. Уже пробовал больше памяти выделять, выключал NOD32 и другие способы что советовали в схожих темах. У меня проблема squid толи заваливается толи не совсем корректно настроен из моего не большого опыта. Суть в следующем у пользователей Интернета практически нету, он появляется на 1-ну минуту максимум затем пропадает (невозможно отобразить страницу), затем ждем и обновляем страницу вроде появился но не надолго и так постоянно. В сети 30 машин, канал на модеме 10мб на 1.5 мб. Проблем с модемом нет и каналом так как сам сижу когда выключен squid абсолютно без каких бы то ни было проблем. squid.conf http_port 172.18.6.2:3128 icp_port 0 hierarchy_stoplist cqi-bin ? cache_mem 512 MB #выделил место на диске для кэша #cache_dir 100 4096 #cache_dir ufs /usr/local/squid/cache 1024 10 128 #cache_dir ufs /var/spool/squid 10240 16 256 maximum_object_size 4096 KB minimum_object_size 0 KB maximum_object_size_in_memory 8 KB cache_access_log c:/squid/var/logs/access.log visible_hostname MAIN refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^qopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 acl all src 0.0.0.0/0.0.0.0 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 444 563 543 4443 4445 5190 5445 # https, snews acl CONNECT method CONNECT acl allowed_sites dstdomain "c:\squid\etc\allowed_sites.conf" acl limited_IP src "c:\squid\etc\limited_IP.conf" acl localhost src 127.0.0.0/8 acl LocalNet src 172.18.6.0/24 acl denied_sites url_regex "c:\squid\etc\denied_ext.conf" acl LocalNetTime time M T W H F A 00:00-19:30 #списки доступа acl admins src 172.18.6.2/32 #acl admins src 172.18.6.147/32 acl LocalNet src 172.18.6.0/24 #права доступа http_access allow admins http_access allow LocalNet #блокируем скачивание мах 5МБ для LocalNet #reply_body_max_size 5000000 allow LocalNet #reply_body_max_size 0 deny all #создаем 2 пула 1 и 3 уровня (всего бывает 3 вида) delay_pools 2 delay_class 1 1 delay_class 2 3 #зададим принадлежность групп доступа к пулам delay_access 1 allow admins delay_access 1 deny all delay_access 2 allow LocalNet delay_access 2 deny all #параметры пулов delay_parameters 1 64000/128000 8000/8000 delay_parameters 2 -1/-1 64000/128000 8000/8000 cache.log Squid Cache (Version 2.6.STABLE18): Terminated abnormally. CPU Usage: 0.297 seconds = 0.188 user + 0.109 sys Maximum Resident Size: 9432 KB Page faults with physical i/o: 2497 2011/05/27 11:34:48| storeDirWriteCleanLogs: Starting... 2011/05/27 11:34:48| WARNING: Closing open FD 14 2011/05/27 11:34:48| Finished. Wrote 6350 entries. 2011/05/27 11:34:48| Took 0.0 seconds (423333.3 entries/sec). 2011/05/27 11:34:49| Starting Squid Cache version 2.6.STABLE18 for i686-pc-winnt... 2011/05/27 11:34:49| Running as squid26 Windows System Service on Windows XP 2011/05/27 11:34:49| Service command line is: 2011/05/27 11:34:49| Process ID 3076 2011/05/27 11:34:49| With 2048 file descriptors available 2011/05/27 11:34:49| With 2048 CRT stdio descriptors available 2011/05/27 11:34:49| Windows sockets initialized 2011/05/27 11:34:49| Using select for the IO loop 2011/05/27 11:34:49| Performing DNS Tests... 2011/05/27 11:34:49| Successful DNS name lookup tests... 2011/05/27 11:34:49| DNS Socket created at 0.0.0.0, port 4380, FD 5 2011/05/27 11:34:49| Adding nameserver 80.94.225.5 from Registry 2011/05/27 11:34:49| Adding nameserver 80.94.225.254 from Registry 2011/05/27 11:34:49| User-Agent logging is disabled. 2011/05/27 11:34:49| Referer logging is disabled. 2011/05/27 11:34:49| Unlinkd pipe opened on FD 8 2011/05/27 11:34:49| Swap maxSize 102400 KB, estimated 7876 objects 2011/05/27 11:34:49| Target number of buckets: 393 2011/05/27 11:34:49| Using 8192 Store buckets 2011/05/27 11:34:49| Max Mem size: 524288 KB 2011/05/27 11:34:49| Max Swap size: 102400 KB 2011/05/27 11:34:49| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2011/05/27 11:34:49| Rebuilding storage in c:/squid/var/cache (CLEAN) 2011/05/27 11:34:49| Using Least Load store dir selection 2011/05/27 11:34:49| Current Directory is C:\squid\sbin 2011/05/27 11:34:49| Loaded Icons. 2011/05/27 11:34:49| Accepting proxy HTTP connections at 172.18.6.2, port 3128, FD 14. 2011/05/27 11:34:49| Accepting HTCP messages on port 4827, FD 15. 2011/05/27 11:34:49| Accepting SNMP messages on port 3401, FD 16. 2011/05/27 11:34:49| Ready to serve requests. 2011/05/27 11:34:49| Store rebuilding is 64.5% complete 2011/05/27 11:34:49| Done reading c:/squid/var/cache swaplog (6350 entries) 2011/05/27 11:34:49| Finished rebuilding storage from disk. 2011/05/27 11:34:49| 6350 Entries scanned 2011/05/27 11:34:49| 0 Invalid entries. 2011/05/27 11:34:49| 0 With invalid flags. 2011/05/27 11:34:49| 6350 Objects loaded. 2011/05/27 11:34:49| 0 Objects expired. 2011/05/27 11:34:49| 0 Objects cancelled. 2011/05/27 11:34:49| 0 Duplicate URLs purged. 2011/05/27 11:34:49| 0 Swapfile clashes avoided. 2011/05/27 11:34:49| Took 0.1 seconds (81410.3 objects/sec). 2011/05/27 11:34:49| Beginning Validation Procedure 2011/05/27 11:34:49| Completed Validation Procedure 2011/05/27 11:34:49| Validated 6350 Entries 2011/05/27 11:34:49| store_swap_size = 92184k 2011/05/27 11:34:50| storeLateRelease: released 0 objects 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 1 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 2 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 3 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 4 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 5 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 6 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 7 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 8 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 9 2011/05/27 11:36:02| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2011/05/27 11:36:02| Select loop Error. Retry 10 FATAL: Select Loop failed! |