Hi everyone!
I encountered with a problem when I had tried to set up a proxy server. I installed fresh FreeBSD 10.0-RELEASE amd64, then installed www/squid33. The problem is squid goes down immediately if I want to use AUFS store type instead of traditional UFS. Squid can't even perform '
Bad.
So, I tried to set cache_dir to diskd. Good, it works... for a first glance. Diskd went down after some time with small load. Again and again. In the end squid exited with 'Exiting due to repeated, frequent failures' message.
Config is simple:
I performed some testing with i386/amd64, here is result:
FreeBSD 10.0-RELEASE amd64 and i386
ufs - works well
aufs - goes down, can't do 'squid -z'
diskd - works for some time, then goes down
FreeBSD 9.2-RELEASE amd64 and i386
ufs - works well
aufs - works well (!!!!!)
diskd - works for some time, then goes down
Can anybody confirm such behaviour?
Or I do something wrong?
I encountered with a problem when I had tried to set up a proxy server. I installed fresh FreeBSD 10.0-RELEASE amd64, then installed www/squid33. The problem is squid goes down immediately if I want to use AUFS store type instead of traditional UFS. Squid can't even perform '
squid -z
' to initialize cache directory. Segfault and core dumped.Bad.
So, I tried to set cache_dir to diskd. Good, it works... for a first glance. Diskd went down after some time with small load. Again and again. In the end squid exited with 'Exiting due to repeated, frequent failures' message.
Config is simple:
Code:
visible_hostname bla-bla
http_access allow all
http_port 3128
cache_dir (ufs|aufs|diskd) /var/squid/cache 10240 16 256
FreeBSD 10.0-RELEASE amd64 and i386
ufs - works well
aufs - goes down, can't do 'squid -z'
diskd - works for some time, then goes down
FreeBSD 9.2-RELEASE amd64 and i386
ufs - works well
aufs - works well (!!!!!)
diskd - works for some time, then goes down
Can anybody confirm such behaviour?
Or I do something wrong?