Linux / UNIX Tech Support Forum
This is a discussion on Squid Problem... within the Proxy Servers forums, part of the Mastering Servers category; Good Afternoon, I'm sorry I must ask again and bothers all people around. This should be a simple problem, but ...
Register free or login to your account to remove all advertisements.
|
|||||||
| Proxy Servers Discussion about UNIX / Linux caching proxy servers, web proxy, reverse / content filtering proxy server. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Good Afternoon,
I'm sorry I must ask again and bothers all people around. This should be a simple problem, but I don't know how to solve it. Last days, my Squid cache continuously failing with these messages (copied from /var/logs/cache.txt) : 2009/11/14 17:25:20| Starting Squid Cache version 2.7.STABLE7 for i686-pc-winnt... 2009/11/14 17:25:20| Running as SquidNT Windows System Service on Windows XP 2009/11/14 17:25:20| Service command line is: servicecommandline 2009/11/14 17:25:20| Process ID 6040 2009/11/14 17:25:20| With 2048 file descriptors available 2009/11/14 17:25:20| With 2048 CRT stdio descriptors available 2009/11/14 17:25:20| Windows sockets initialized 2009/11/14 17:25:20| Using select for the IO loop 2009/11/14 17:25:20| Performing DNS Tests... 2009/11/14 17:25:20| Successful DNS name lookup tests... 2009/11/14 17:25:20| DNS Socket created at 0.0.0.0, port 2231, FD 5 2009/11/14 17:25:20| Adding nameserver 4.2.2.1 from squid.conf 2009/11/14 17:25:20| Adding nameserver 4.2.2.3 from squid.conf 2009/11/14 17:25:20| Adding nameserver 4.2.2.5 from squid.conf 2009/11/14 17:25:20| Adding nameserver 4.2.2.2 from squid.conf 2009/11/14 17:25:20| Adding nameserver 4.2.2.4 from squid.conf 2009/11/14 17:25:20| Adding nameserver 4.2.2.6 from squid.conf 2009/11/14 17:25:20| User-Agent logging is disabled. 2009/11/14 17:25:20| Referer logging is disabled. 2009/11/14 17:25:20| logfileOpen: opening log c:/squid/var/logs/access.log 2009/11/14 17:25:20| Unlinkd pipe opened on FD 8 2009/11/14 17:25:20| Swap maxSize 102400 + 8192 KB, estimated 8507 objects 2009/11/14 17:25:20| Target number of buckets: 425 2009/11/14 17:25:20| Using 8192 Store buckets 2009/11/14 17:25:20| Max Mem size: 8192 KB 2009/11/14 17:25:20| Max Swap size: 102400 KB 2009/11/14 17:25:20| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2009/11/14 17:25:20| logfileOpen: opening log c:/squid/var/logs/store.log 2009/11/14 17:25:20| Rebuilding storage in c:/squid/var/cache (CLEAN) 2009/11/14 17:25:20| Using Least Load store dir selection 2009/11/14 17:25:20| Set Current Directory to c:/squid/var/cache 2009/11/14 17:25:20| Loaded Icons. 2009/11/14 17:25:20| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 14. 2009/11/14 17:25:20| Accepting ICP messages at 0.0.0.0, port 3130, FD 15. 2009/11/14 17:25:20| Accepting HTCP messages on port 4827, FD 16. 2009/11/14 17:25:20| Accepting SNMP messages on port 3401, FD 17. 2009/11/14 17:25:20| Ready to serve requests. 2009/11/14 17:25:20| Store rebuilding is 43.8% complete 2009/11/14 17:25:20| Done reading c:/squid/var/cache swaplog (9351 entries) 2009/11/14 17:25:20| Finished rebuilding storage from disk. 2009/11/14 17:25:20| 9351 Entries scanned 2009/11/14 17:25:20| 0 Invalid entries. 2009/11/14 17:25:20| 0 With invalid flags. 2009/11/14 17:25:20| 9351 Objects loaded. 2009/11/14 17:25:20| 0 Objects expired. 2009/11/14 17:25:20| 0 Objects cancelled. 2009/11/14 17:25:20| 0 Duplicate URLs purged. 2009/11/14 17:25:20| 0 Swapfile clashes avoided. 2009/11/14 17:25:20| Took 0.6 seconds (14588.1 objects/sec). 2009/11/14 17:25:20| Beginning Validation Procedure 2009/11/14 17:25:20| Completed Validation Procedure 2009/11/14 17:25:20| Validated 9351 Entries 2009/11/14 17:25:20| store_swap_size = 90668k 2009/11/14 17:25:21| storeLateRelease: released 0 objects 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 1 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 2 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 3 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 4 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 5 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 6 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 7 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 8 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 9 2009/11/14 17:32:10| comm_select: select failure: (10055) WSAENOBUFS, No buffer space available. 2009/11/14 17:32:10| Select loop Error. Retry 10 FATAL: Select Loop failed! Squid Cache (Version 2.7.STABLE7): Terminated abnormally. CPU Usage: 1.438 seconds = 0.469 user + 0.969 sys Maximum Resident Size: 9804 KB Page faults with physical i/o: 2635 2009/11/14 17:32:10| storeDirWriteCleanLogs: Starting... 2009/11/14 17:32:10| WARNING: Closing open FD 14 2009/11/14 17:32:10| Finished. Wrote 9355 entries. 2009/11/14 17:32:10| Took 0.0 seconds (9355.0 entries/sec). This failure can reproduced by opening lots of webpages using the proxy. I also attach the squid.conf file. Thank You, Malikussaid Last edited by Malikussaid; 15th November 2009 at 11:32 AM. Reason: Found a way to attach squid.conf. |
|
|||
|
Good Night,
Is this enough? Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Malikussaid>taskkill /IM squid.exe /F SUCCESS: The process "squid.exe" with PID 4564 has been terminated. C:\Documents and Settings\Malikussaid>cd c:\squid\var C:\squid\var>rmdir cache /S /Q C:\squid\var>rmdir logs /S /Q C:\squid\var>cd C:\squid\sbin C:\squid\sbin>squid.exe -z 2009/11/15 18:47:49| Creating Swap Directories C:\squid\sbin>squid.exe WARNING: Cannot write log file: c:/squid/var/logs/cache.log c:/squid/var/logs/cache.log: No such file or directory messages will be sent to 'stderr'. 2009/11/15 18:48:10| WARNING: Closing open FD 2 2009/11/15 18:48:10| Starting Squid Cache version 2.7.STABLE7 for i686-pc-winnt. .. 2009/11/15 18:48:10| Running on Windows XP 2009/11/15 18:48:10| Process ID 2488 2009/11/15 18:48:10| With 2048 file descriptors available 2009/11/15 18:48:10| With 512 CRT stdio descriptors available 2009/11/15 18:48:10| Windows sockets initialized 2009/11/15 18:48:10| Using select for the IO loop 2009/11/15 18:48:10| Performing DNS Tests... 2009/11/15 18:48:10| Successful DNS name lookup tests... 2009/11/15 18:48:10| DNS Socket created at 0.0.0.0, port 4461, FD 3 2009/11/15 18:48:10| Adding nameserver 4.2.2.1 from squid.conf 2009/11/15 18:48:10| Adding nameserver 4.2.2.3 from squid.conf 2009/11/15 18:48:10| Adding nameserver 4.2.2.5 from squid.conf 2009/11/15 18:48:10| Adding nameserver 4.2.2.2 from squid.conf 2009/11/15 18:48:10| Adding nameserver 4.2.2.4 from squid.conf 2009/11/15 18:48:10| Adding nameserver 4.2.2.6 from squid.conf 2009/11/15 18:48:10| User-Agent logging is disabled. 2009/11/15 18:48:10| Referer logging is disabled. 2009/11/15 18:48:10| logfileOpen: opening log c:/squid/var/logs/access.log FATAL: Cannot open 'c:/squid/var/logs/access.log' because the parent directory does not exist. Please create the directory. Squid Cache (Version 2.7.STABLE7): Terminated abnormally. CPU Usage: 0.063 seconds = 0.031 user + 0.031 sys Maximum Resident Size: 4060 KB Page faults with physical i/o: 1197 abnormal program termination C:\squid\sbin>mkdir C:\squid\var\logs C:\squid\sbin>squid.exe 2009/11/15 18:50:07| Starting Squid Cache version 2.7.STABLE7 for i686-pc-winnt... 2009/11/15 18:50:07| Running as SquidNT Windows System Service on Windows XP 2009/11/15 18:50:07| Service command line is: servicecommandline 2009/11/15 18:50:07| Process ID 5328 2009/11/15 18:50:07| With 2048 file descriptors available 2009/11/15 18:50:07| With 2048 CRT stdio descriptors available 2009/11/15 18:50:07| Windows sockets initialized 2009/11/15 18:50:07| Using select for the IO loop 2009/11/15 18:50:07| Performing DNS Tests... 2009/11/15 18:50:07| Successful DNS name lookup tests... 2009/11/15 18:50:07| DNS Socket created at 0.0.0.0, port 4519, FD 5 2009/11/15 18:50:07| Adding nameserver 4.2.2.1 from squid.conf 2009/11/15 18:50:07| Adding nameserver 4.2.2.3 from squid.conf 2009/11/15 18:50:07| Adding nameserver 4.2.2.5 from squid.conf 2009/11/15 18:50:07| Adding nameserver 4.2.2.2 from squid.conf 2009/11/15 18:50:07| Adding nameserver 4.2.2.4 from squid.conf 2009/11/15 18:50:07| Adding nameserver 4.2.2.6 from squid.conf 2009/11/15 18:50:07| User-Agent logging is disabled. 2009/11/15 18:50:07| Referer logging is disabled. 2009/11/15 18:50:07| logfileOpen: opening log c:/squid/var/logs/access.log 2009/11/15 18:50:07| Unlinkd pipe opened on FD 8 2009/11/15 18:50:07| Swap maxSize 102400 + 8192 KB, estimated 8507 objects 2009/11/15 18:50:07| Target number of buckets: 425 2009/11/15 18:50:07| Using 8192 Store buckets 2009/11/15 18:50:07| Max Mem size: 8192 KB 2009/11/15 18:50:07| Max Swap size: 102400 KB 2009/11/15 18:50:07| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2009/11/15 18:50:07| logfileOpen: opening log c:/squid/var/logs/store.log 2009/11/15 18:50:07| Rebuilding storage in c:/squid/var/cache (DIRTY) 2009/11/15 18:50:07| Using Least Load store dir selection 2009/11/15 18:50:07| Set Current Directory to c:/squid/var/cache 2009/11/15 18:50:07| Loaded Icons. 2009/11/15 18:50:07| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 14. 2009/11/15 18:50:07| Accepting ICP messages at 0.0.0.0, port 3130, FD 15. 2009/11/15 18:50:07| Accepting HTCP messages on port 4827, FD 16. 2009/11/15 18:50:07| Accepting SNMP messages on port 3401, FD 17. 2009/11/15 18:50:07| Ready to serve requests. 2009/11/15 18:50:07| Done reading c:/squid/var/cache swaplog (10 entries) 2009/11/15 18:50:07| Finished rebuilding storage from disk. 2009/11/15 18:50:07| 10 Entries scanned 2009/11/15 18:50:07| 0 Invalid entries. 2009/11/15 18:50:07| 0 With invalid flags. 2009/11/15 18:50:07| 10 Objects loaded. 2009/11/15 18:50:07| 0 Objects expired. 2009/11/15 18:50:07| 0 Objects cancelled. 2009/11/15 18:50:07| 0 Duplicate URLs purged. 2009/11/15 18:50:07| 0 Swapfile clashes avoided. 2009/11/15 18:50:07| Took 0.1 seconds ( 128.2 objects/sec). 2009/11/15 18:50:07| Beginning Validation Procedure 2009/11/15 18:50:07| Completed Validation Procedure 2009/11/15 18:50:07| Validated 10 Entries 2009/11/15 18:50:07| store_swap_size = 40k 2009/11/15 18:50:08| storeLateRelease: released 0 objects It's still not work. Thank You, Malikussaid Last edited by Malikussaid; 18th November 2009 at 04:37 AM. Reason: False copy... |
|
|||
|
Good Morning,
Unfortunately, until now, the newest available version for Windows is 2.7 STABLE7. If you have ported the newest Squid 3.0 STABLE23, or have step-by-step instruction to compile it on Windows, please reply to this thread. According to my opinion, the problem is on memory usage. If I change and add the RAM, it works just fine. Now the problem is solved, but I still wondering is there any solution to prevent or fix the problem without changing the hardware (I believe there is). Sincerely, Malikussaid |
![]() |
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Squid Problem | B!n@ry | Linux software | 3 | 15th April 2007 03:36 PM |
| problem with Squid | puppen | Linux software | 4 | 4th January 2007 02:45 PM |
| squid problem | dev_dks | Linux software | 1 | 1st August 2006 01:42 PM |
| SQUID ACL Problem | kasimani | Linux software | 15 | 13th July 2006 05:29 PM |
| Problem with squid | LRC | Linux software | 17 | 10th June 2006 07:52 PM |