Squid3-dev parando o serviço.



  • Bom dia.... tudo bem?
    Estou com um problema no Squid instalado em um servidor PFsense. Ele funciona normalmente durante todo o dia vindo a parar na virada do dia, ou seja as 00:00hs. Segue o log:

    2019/04/13 00:00:50 kid1| Creating missing swap directories
    2019/04/13 06:33:39 kid1| Starting Squid Cache version 3.3.10 for amd64-portbld-freebsd8.3...
    2019/04/13 06:33:39 kid1| parse error while reading template file: /usr/pbi/squid-amd64/etc/squid/errors/pt-br/error-details.txt
    2019/04/13 06:33:39 kid1| Unable to load default error language files. Reset to backups.
    2019/04/13 06:33:39 kid1| parse error while reading template file: /usr/pbi/squid-amd64/etc/squid/errors/templates/error-details.txt
    2019/04/13 06:33:39 kid1| WARNING: failed to find or read error text file error-details.txt
    2019/04/13 06:33:39| pinger: Initialising ICMP pinger ...
    2019/04/14 00:00:17 kid1| Creating missing swap directories
    2019/04/14 00:00:17 kid1| Creating missing swap directories
    2019/04/14 00:00:17 kid1| Creating missing swap directories
    2019/04/14 00:00:17 kid1| Creating missing swap directories
    2019/04/14 00:00:17 kid1| Creating missing swap directories
    FATAL: Failed to make swap directory /var/squid/cache/00/10: (17) File exists
    Squid Cache (Version 3.3.10): Terminated abnormally.
    CPU Usage: 0.076 seconds = 0.076 user + 0.000 sys
    Maximum Resident Size: 36112 KB
    Page faults with physical i/o: 0
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    FATAL: Failed to make swap directory /var/squid/cache/00/2E: (17) File exists
    Squid Cache (Version 3.3.10): Terminated abnormally.
    CPU Usage: 0.079 seconds = 0.063 user + 0.016 sys
    Maximum Resident Size: 36128 KB
    Page faults with physical i/o: 0
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    2019/04/14 00:00:19 kid1| Creating missing swap directories
    FATAL: Failed to make swap directory /var/squid/cache/00/B5: (17) File exists
    Squid Cache (Version 3.3.10): Terminated abnormally.
    CPU Usage: 0.075 seconds = 0.075 user + 0.000 sys
    Maximum Resident Size: 36112 KB
    Page faults with physical i/o: 0
    FATAL: Failed to make swap directory /var/squid/cache/00/B7: (17) File exists
    Squid Cache (Version 3.3.10): Terminated abnormally.
    CPU Usage: 0.077 seconds = 0.068 user + 0.009 sys
    Maximum Resident Size: 36128 KB

    Desde já agradeço a todos pela ajuda.

    Grande abraço!!!



    1. This is an English forum. Please speak English here. If you prefer Spanish, please use the Spanish forum.

    2. Your pfSense is ancient. It looks like 2.1.x from 2013-2014. You need to upgrade. Nobody wants to troubleshoot something that has long since been fixed in an update version.



  • I'm sorry for posting in Portuguese ...
    The version of PFsense is old yes (2.1.3), because the configuration of my server is a bit outdated, I have already requested a new server to update. Anyway thank you for replying.
    Thank you!



  • My mistake, Portuguese not Spanish.

    The log is complaining about missing cache folders and then errors when creating them again. Is your disk full? If not, try wiping the cache folder.

    In the future, any posts about Squid belong in the Cache/Proxy forum.



  • @KOM Good morning, how are you?
    The disc is only 4% use. I have already cleared the cache and the problem continues.
    Thank you!!!



  • Next I would manually delete the cache folder via

    rm -r /var/squid/cache/
    

    and then manually recreate it using

    squid -z
    

    Any error messages?



  • Good Morning....
    I've already performed this procedure to delete the folder and re-create ...
    But the problem continues ...
    I have verified that the "Clear cache on log rotate" option was enabled, so that disabling this option resolves the problem?

    Thank you very much!



  • No idea then. Upgrade and see if the problem persists.



  • @KOM I will wait for the purchase of the new Hardware and perform the system update. Thanks a lot for the help.


Log in to reply