<div dir="ltr">Thank you Jason.<div><br></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px">lsof /var/log | grep -i delete does not show anything</span><br></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px">Likewise for lsof /var/log/squid | grep -i delete</span><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px">Thank you Antony</span></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px">No, we have a lot of disk space.</span></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"lucida console",sans-serif;font-size:13.3333px"><br></span></div><div><div>root@paproxy:/var/log# lsof /var/log/squid | grep -i delete</div><div>root@paproxy:/var/log# lsof /var/log/squid | more</div><div>root@paproxy:/var/log# ps -ax | grep squid</div><div> 1708 pts/0 S+ 0:00 grep --color=auto squid</div><div>25482 ? Ss 0:00 /usr/sbin/squid -YC -f /etc/squid/squid.conf</div><div>25484 ? S 2:27 (squid-1) -YC -f /etc/squid/squid.conf</div><div>25485 ? S 0:03 (logfile-daemon) /var/log/squid/access.log</div><div>root@paproxy:/var/log# lsof /var/log/squid | grep -i delete</div><div>root@paproxy:/var/log# cd squid</div><div>root@paproxy:/var/log/squid# ls -al</div><div>total 15540</div><div>drwxr-xr-x 2 proxy proxy 4096 Mar 23 06:25 .</div><div>drwxrwxr-x 9 root syslog 4096 Mar 23 06:25 ..</div><div>-rw-r----- 1 proxy proxy 15759111 Mar 17 06:24 access.log.1</div><div>-rw-r----- 1 proxy proxy 63 Mar 23 06:25 cache.log</div><div>-rw-r----- 1 proxy proxy 63 Mar 22 06:25 cache.log.1</div><div>-rw-r----- 1 proxy proxy 63 Mar 19 06:25 cache.log.2</div><div>-rw-r----- 1 proxy proxy 83 Mar 21 06:25 cache.log.2.gz</div><div>-rw-r----- 1 proxy proxy 117223 Mar 17 05:52 netdb.state</div><div>root@paproxy:/var/log/squid#</div></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 22, 2017 at 8:23 AM, Jason B. Nance <span dir="ltr"><<a href="mailto:jason@tresgeek.net" target="_blank">jason@tresgeek.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:lucida console,sans-serif;font-size:10pt;color:#000000"><div>If you do "lsof /var/log | grep -i delete" does it show squid writing to a deleted access.log / cache.log?<br></div><div><br></div><div>j<br></div><div><br></div><div><br></div><hr id="m_2673440292563701752zwchr"><div><b>From: </b>"Chee M Gui" <<a href="mailto:cheemeng@function.com" target="_blank">cheemeng@function.com</a>><br><b>To: </b><a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.<wbr>org</a><br><b>Sent: </b>Wednesday, March 22, 2017 10:17:32 AM<br><b>Subject: </b>[squid-users] Squid stopped working after cache.log and access.log rotation<br></div><div><br></div><div><div><div class="h5"><div dir="ltr"><br clear="all"><div><div>Hi All</div><br><div>We recently installed Squid 3.5.12-1ubuntu7.3 on Ubuntu 16.04.2 LTS. It ran fine at first but stopped working after a while. telnet server 3128 still works, i.e., opens a blank window, but Squid is just not accepting requests. Then we realized that there is no new access.log file. The access.log file stopped rotated at 6:24AM on 3/17/2017. It looks like Squid wasn't able to create a new access.log? We could not find any error message in syslog or the cache.log. We haven't rebooted the server because we want to know what went wrong. It isn't the firewall blocking Squid because Squid was working fine all the while until recently. Also after it stopped working, we disabled the firewall to see if it would work but it still didn't work.</div><br><div>root@paproxy:/var/log/squid# ls -alt</div><div>total 15536</div><div>drwxr-xr-x 2 proxy proxy 4096 Mar 21 06:25 .</div><div>-rw-r----- 1 proxy proxy 63 Mar 21 06:25 cache.log</div><div>drwxrwxr-x 9 root syslog 4096 Mar 21 06:25 ..</div><div>-rw-r----- 1 proxy proxy 63 Mar 20 06:25 cache.log.1</div><div>-rw-r----- 1 proxy proxy 83 Mar 19 06:25 cache.log.2.gz</div><div>-rw-r----- 1 proxy proxy 15759111 Mar 17 06:24 access.log.1</div><div>-rw-r----- 1 proxy proxy 117223 Mar 17 05:52 netdb.state</div><br><div>Any ideas what went wrong?</div><br><div>Thank you very much in anticipation.</div></div><br><div>Gui</div>
</div>
<br></div></div><span class="">______________________________<wbr>_________________<br>squid-users mailing list<br><a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.<wbr>org</a><br><a href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank">http://lists.squid-cache.org/<wbr>listinfo/squid-users</a><br></span></div></div></div></blockquote></div><br><br clear="all"><div><br></div>
</div></div>