<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I tried using the default config. No difference</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
2022/03/03 21:49:17 kid1| Set Current Directory to /var/cache/squid
<div>2022/03/03 21:49:17 kid1| Starting Squid Cache version 4.17 for x86_64-pc-linux-gnu...</div>
<div>2022/03/03 21:49:17 kid1| Service Name: squid</div>
<div>2022/03/03 21:49:17 kid1| Process ID 382776</div>
<div>2022/03/03 21:49:17 kid1| Process Roles: worker</div>
<div>2022/03/03 21:49:17 kid1| With 1024 file descriptors available</div>
<div>2022/03/03 21:49:17 kid1| Initializing IP Cache...</div>
<div>2022/03/03 21:49:17 kid1| DNS Socket created at [::], FD 5</div>
<div>2022/03/03 21:49:17 kid1| DNS Socket created at 0.0.0.0, FD 8</div>
<div>2022/03/03 21:49:17 kid1| Adding nameserver 8.8.8.8 from /etc/resolv.conf</div>
<div>2022/03/03 21:49:17 kid1| Logfile: opening log daemon:/var/log/access.log</div>
<div>2022/03/03 21:49:17 kid1| Logfile Daemon: opening log /var/log/access.log</div>
<div>2022/03/03 21:49:17 kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec</div>
<div>2022/03/03 21:49:17 kid1| Store logging disabled</div>
<div>2022/03/03 21:49:17 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects</div>
<div>2022/03/03 21:49:17 kid1| Target number of buckets: 1008</div>
<div>2022/03/03 21:49:17 kid1| Using 8192 Store buckets</div>
<div>2022/03/03 21:49:17 kid1| Max Mem size: 262144 KB</div>
<div>2022/03/03 21:49:17 kid1| Max Swap size: 0 KB</div>
<div>2022/03/03 21:49:17 kid1| Using Least Load store dir selection</div>
<div>2022/03/03 21:49:17 kid1| Set Current Directory to /var/cache/squid</div>
<div>2022/03/03 21:49:17 kid1| Finished loading MIME types and icons.</div>
2022/03/03 21:49:17 kid1| HTCP Disabled.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
netstat -tunpal shows</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;"> netstat -tunpal | grep squid</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div>udp 0 0 0.0.0.0:21638 0.0.0.0:* 382776/(squid-1)</div>
<div>udp6 0 0 ::1:40383 ::1:50900 ESTABLISHED 382776/(squid-1)</div>
<div>udp6 0 0 ::1:50900 ::1:40383 ESTABLISHED 382776/(squid-1)</div>
udp6 0 0 :::15633 :::* 382776/(squid-1)<br>
</div>
<div id="divRplyFwdMsg" dir="ltr">
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On 3/03/22 14:48, ben wrote:<br>
> Hi,Alex,<br>
> <br>
> <br>
> Thanks for your help. I run squid with the option d1 and its output is <br>
> as followings<br>
> 2022/03/03 09:17:39 kid1| Current Directory is /root<br>
> 2022/03/03 09:17:39 kid1| Starting Squid Cache version 4.17 for <br>
> x86_64-pc-linux-gnu...<br>
> 2022/03/03 09:17:39 kid1| Service Name: squid<br>
> 2022/03/03 09:17:39 kid1| Process ID 239617<br>
> 2022/03/03 09:17:39 kid1| Process Roles: worker<br>
> 2022/03/03 09:17:39 kid1| With 1024 file descriptors available<br>
> 2022/03/03 09:17:39 kid1| Initializing IP Cache...<br>
> 2022/03/03 09:17:39 kid1| DNS Socket created at [::], FD 5<br>
> 2022/03/03 09:17:39 kid1| DNS Socket created at 0.0.0.0, FD 8<br>
> 2022/03/03 09:17:39 kid1| Adding nameserver 8.8.8.8 from /etc/resolv.conf<br>
> 2022/03/03 09:17:39 kid1| Logfile: opening log <br>
> daemon:/var/log/squid/access.log<br>
> 2022/03/03 09:17:39 kid1| Logfile Daemon: opening log <br>
> /var/log/squid/access.log<br>
> 2022/03/03 09:17:39 kid1| Local cache digest enabled; rebuild/rewrite <br>
> every 3600/3600 sec<br>
> 2022/03/03 09:17:39 kid1| Store logging disabled<br>
> 2022/03/03 09:17:39 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 <br>
> objects<br>
> 2022/03/03 09:17:39 kid1| Target number of buckets: 1008<br>
> 2022/03/03 09:17:39 kid1| Using 8192 Store buckets<br>
> 2022/03/03 09:17:39 kid1| Max Mem size: 262144 KB<br>
> 2022/03/03 09:17:39 kid1| Max Swap size: 0 KB<br>
> 2022/03/03 09:17:39 kid1| Using Least Load store dir selection<br>
> 2022/03/03 09:17:39 kid1| Current Directory is /root<br>
> 2022/03/03 09:17:39 kid1| Finished loading MIME types and icons.<br>
> 2022/03/03 09:17:39 kid1| HTCP Disabled.<br>
> <br>
> the only line in squid.conf is http_port 3128<br>
<br>
<br>
That itself could be the problem.<br>
<br>
Please at least use the default config file shown in <br>
<<a href="https://wiki.squid-cache.org/Squid-4">https://wiki.squid-cache.org/Squid-4</a>>, or better use the squid.conf
<br>
file built with your custom binary.<br>
<br>
<br>
<br>
Cheers<br>
Amos<br>
_______________________________________________<br>
squid-users mailing list<br>
squid-users@lists.squid-cache.org<br>
<a href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</div>
</span></font></div>
</body>
</html>