Arthur Tumanyan wrote: > > > > Gonzalo Arana-2 wrote: >> >> On 9/21/07, Arthur Tumanyan <arthurtumanyan@xxxxxxxxx> wrote: >> >> You should break the main loop when fgets() returns NULL. >> >> Regards, >> >> -- >> Gonzalo A. Arana >> >> > Ok,I did it,thanks!Now the redirectors shutting down with squid.But I note > that when i try to open some page in browser,i get timeout error,and the > following line > in cache.log. > > Otherwise,the timeout error exists,but without "2007/09/20 16:38:33| Open > FD READ/WRITE 6 shaga_redir #1" line. > > And "Page faults with physical i/o: 6" = "Page faults with physical i/o: > 0" > > 2007/09/20 16:30:31| FD 23 Closing ICP connection > 2007/09/20 16:30:31| WARNING: Closing client 127.0.0.1 connection due to > lifetime timeout > 2007/09/20 16:30:31| http://forum.sysadmins.ru/viewtopic.php?p=7817630 > 2007/09/20 16:30:31| Closing unlinkd pipe on FD 20 > 2007/09/20 16:30:31| storeDirWriteCleanLogs: Starting... > 2007/09/20 16:30:31| Finished. Wrote 0 entries. > 2007/09/20 16:30:31| Took 0.0 seconds ( 0.0 entries/sec). > CPU Usage: 0.055 seconds = 0.041 user + 0.014 sys > Maximum Resident Size: 4000 KB > Page faults with physical i/o: 6 > 2007/09/20 16:30:31| Open FD READ/WRITE 6 shaga_redir #1 > 2007/09/20 16:30:31| Squid Cache (Version 2.6.STABLE14): Exiting normally. > > What this can mean? > I get the error reason!There must be a "\n" in the end of return line. Now all is working normally!Thanks for help!!!:) -- View this message in context: http://www.nabble.com/after-squid-shut-down-redirector-still-working-tf4488899.html#a12819969 Sent from the Squid - Users mailing list archive at Nabble.com.