Welcome to the Linux Foundation Forum!

Squid Error:(diskHandleWrite: FD 14: disk write ..


I have a squid server for transprent proxy but after a few days encounter following error and internet access is down


storeDirWriteCleanLogs: Starting...

WARNING: Closing open FD 14

diskHandleWrite: FD 14: disk write error: (28) No space left on device


please help me


  • mfillpot
    mfillpot Posts: 2,177
    The error message is stating that you do not have any space left, have you run "df -h" to see how much space is available on each partition so you can determine what needs to be cleaned out?
  • How i can config squid that when dedicated space for save log file is full ,
    log process overwrite on old log data and never encounter this squid error .
  • mfillpot
    mfillpot Posts: 2,177
    As far as I know you cannot tell squid to monitor the size of the log file but you can choose to use logrotate to cycle and compress the logs at regular intervals as instructed in http://www.linuxconfig.org/Logrotate, or you could also look at making a bash script that is scheduled through cron to check the size of the log file once and hour and if the file is past your chosen size transfer it to another server and create an empty file to replace it on the daemon server.


Upcoming Training