HTTP Anti-Virus Proxy http://havp.hege.li/forum/ |
|
temporary file full http://havp.hege.li/forum/viewtopic.php?f=3&t=368 |
Page 1 of 1 |
Author: | chaq5533 [ 11 Jun 2008 10:33 ] |
Post subject: | temporary file full |
Hi all I need help, my temporary files /var/tmp/havp can fill up with havp-xxxx files in just 2 days. My temp file space is1gb. Is there any script to force havp to delete temp file for a period of given time. I used havp 0.88 and clamav0.93. Any help would be appreciated so much Thank you Chaq |
Author: | hege [ 11 Jun 2008 19:03 ] |
Post subject: | Re: temporary file full |
HAVP will not leave temp files laying around if it's working. Do you mean there are thousands of temp files, small, big? Please show ls -l /var/tmp/havp. Any errors in logs? |
Author: | chaq5533 [ 12 Jun 2008 05:48 ] |
Post subject: | Re: temporary file full |
Thank you hege for your reply Yes you are right there are thousand of files laying in directory /var/tmp/havp/ in the form of havp-xxxx. When i did ls -l there was no size. In the havp error.log file i could see this " Invalid Scannerfile: /var/tmp/havp/havp-xxxx Error :No space left on device" then havp stop working. Actually havp been working for a month without problem.When i deleted the file manually i can start havp as usual. Sorry for giving you wrong information on my first post.....my havp version is 0.86 clamav 0.92 and our internet user is around 90. Thank you, Chaq |
Author: | MMK [ 14 Jul 2008 12:40 ] |
Post subject: | Re: temporary file full |
I have same problem. Everything working fine about 2 months and now temporary file sytem going full. what is wrong ? Br. MMK |
Author: | hege [ 14 Jul 2008 13:36 ] |
Post subject: | Re: temporary file full |
What is your OS? Is there anything in log at all? |
Author: | MMK [ 14 Jul 2008 14:08 ] |
Post subject: | Re: temporary file full |
I used linux Centos 5 and havp version is now 0.88. when temporary file system is full havp.log -> Invalid Scannerfile: /var/tmp/havp/havp-Sk738p Error: No space left on device. Br. MMK |
Author: | MMK [ 14 Jul 2008 16:36 ] |
Post subject: | Re: temporary file full |
Here is havp.log: 14/07/2008 16:22:57 All childs busy, spawning new (now: 460) - SERVERNUMBER might be too low 14/07/2008 16:22:57 Invalid Scannerfile: /var/tmp/havp/havp-5P6iaV Error: No space left on device 14/07/2008 16:22:57 Invalid Scannerfile: /var/tmp/havp/havp-CA2naV Error: No space left on device 14/07/2008 16:22:58 All childs busy, spawning new (now: 460) - SERVERNUMBER might be too low 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-b9n7aV Error: No space left on device 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-CaQcbV Error: No space left on device 14/07/2008 16:22:58 All childs busy, spawning new (now: 460) - SERVERNUMBER might be too low 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-VIITcV Error: No space left on device 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-cFtZcV Error: No space left on device 14/07/2008 16:22:58 All childs busy, spawning new (now: 460) - SERVERNUMBER might be too low 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-fMEPeV Error: No space left on device 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-sSkUeV Error: No space left on device 14/07/2008 16:22:58 All childs busy, spawning new (now: 460) - SERVERNUMBER might be too low 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-ZDgQjV Error: No space left on device 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-I2zVjV Error: No space left on device 14/07/2008 16:22:58 All childs busy, spawning new (now: 460) - SERVERNUMBER might be too low 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-bF1qCV Error: No space left on device 14/07/2008 16:22:58 Invalid Scannerfile: /var/tmp/havp/havp-kPHwCV Error: No space left on device I don't understand what wrong ? maybe clamav problem ? only delete tempfile manual or reboot server solve problem. I need help ? Br. MMK |
Author: | MMK [ 15 Jul 2008 12:41 ] |
Post subject: | Re: temporary file full |
Hi I solve this problem. HAVP stop writing Access.log. delete access.log and restart havp solve problem. Br. MMK |
Author: | dGuru [ 21 Aug 2008 10:58 ] |
Post subject: | Re: temporary file full |
Thanks for the tips and that's really helpful. BTW, to avoid this problem logrotate should be used to make this access log refresh itself with a pattern. The retention period is up to individual administrator. Cheers |
Author: | syl [ 02 Sep 2008 14:30 ] |
Post subject: | Re: temporary file full |
Hi, I think your profile is that you don't rotate your havp log in /var/log/havp/access.log and error.log. To solve it : create the following file : Code: vi /etc/logrotate.d/havp and put the following line into it: /var/log/havp/*log { rotate 6 size=100k missingok daily sharedscripts compress postrotate /etc/init.d/havp restart endscript } And then to try it with the command line: Code: logrotate -f /etc/logrotate.d/havp
|
Page 1 of 1 | All times are UTC + 2 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |