Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
как отключить кешированите в squid?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Drew82
n00b
n00b


Joined: 08 Apr 2005
Posts: 30

PostPosted: Fri Jun 10, 2005 8:00 pm    Post subject: как отключить кешированите в squid? Reply with quote

использую его в кач-ве прозрачного прокси солвместно с режиком. исключительно для обрезки банеров.
вот как бы кеширование вырубить чтобы пошустрее работал?
Back to top
View user's profile Send private message
EdiG
n00b
n00b


Joined: 05 Apr 2005
Posts: 62
Location: Russia/Moscow

PostPosted: Fri Jun 10, 2005 8:42 pm    Post subject: Reply with quote

http://squid.opennet.ru/
Code:

ccache_mem 0 MB
ache_dir ufs /var/cache/squid 0 0 0
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Sat Jun 11, 2005 7:06 am    Post subject: Reply with quote

Code:

cache_mem 0 MB
cache_dir ufs /var/cache/squid 0 0 0

Попровил, а то потом прийдет ругаться, что не работает :)
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
Drew82
n00b
n00b


Joined: 08 Apr 2005
Posts: 30

PostPosted: Sat Jun 11, 2005 7:28 am    Post subject: Reply with quote

и прийду!

Code:
server ~ # squid -z
FATAL: storeUfsDirParse: invalid size value
Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
CPU Usage: 0.017 seconds = 0.010 user + 0.007 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted


а вот так нормально:

Code:
cache_mem 1 KB
cache_dir ufs /var/cache/squid 1 1 1
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Sat Jun 11, 2005 7:37 am    Post subject: Reply with quote

Drew82 wrote:
и прийду!

Code:
server ~ # squid -z
FATAL: storeUfsDirParse: invalid size value
Squid Cache (Version 2.5.STABLE10): Terminated abnormally.
CPU Usage: 0.017 seconds = 0.010 user + 0.007 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Aborted


а вот так нормально:

Code:
cache_mem 1 KB
cache_dir ufs /var/cache/squid 1 1 1

Попробуй просто заремить эти строчки и запустить без них.
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
Drew82
n00b
n00b


Joined: 08 Apr 2005
Posts: 30

PostPosted: Sat Jun 11, 2005 7:45 am    Post subject: Reply with quote

гениально! про дефолтные значения слышали?
Back to top
View user's profile Send private message
serg_sk
Guru
Guru


Joined: 10 Jul 2004
Posts: 315
Location: Ukraine

PostPosted: Sat Jun 11, 2005 8:02 am    Post subject: Reply with quote

Drew82 wrote:
гениально! про дефолтные значения слышали?

Извиняюсь, давно кеш не настраивал :) Раз настроил и на всю жизнь :)
_________________
Sorry for my bad englilsh. :)
irc.freenode.net #fluxbox-ru - Fluxbox russian speaking channel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum