Welcome to the Sophos User Bulletin Board.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Reply
 
LinkBack Thread Tools Display Modes
Alvin's Avatar
Senior Member
Join Date: Jul 2003
Posts: 462
#1 (permalink)  
Old 02-15-2013, 07:38 PM
Default Force Rebuild Local Web Content Cache

- I have been using the Local Web Content Cache for a long time.

- Recently browing websites is Seriously Slow with Time Out Reading from web content server.

- I rebooted my Internet Router and tested connection to be fine.

- I rebooted my Astaro.

- I suspect the Local Cache may be corrupted and wants to Delete the current data and force it to redownload entire database.

I set it to None for now instead of MEM.
__________________
Astaro Latest Version, HP ML110 G3 Server, P4HT 3.0GHz , (02 x 512MB, 02 x 1GB = 3GB RAM), 01 x Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express Build in, 02 x Broadcom Corporation NetXtreme BCM5705_2 Gigabit Ethernet Add On Card.
Reply With Quote
Alvin's Avatar
Senior Member
Join Date: Jul 2003
Posts: 462
#2 (permalink)  
Old 02-15-2013, 07:41 PM
Default

Looking at Live Logs.

sub="http" request="(nil)" function="sc_handle_cmd" file="scr_scanner.c" line="532" message="cffs17.astaro.com: read response: Connection reset by peer"

I used to see a result in miliseconds on the connection.
__________________
Astaro Latest Version, HP ML110 G3 Server, P4HT 3.0GHz , (02 x 512MB, 02 x 1GB = 3GB RAM), 01 x Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express Build in, 02 x Broadcom Corporation NetXtreme BCM5705_2 Gigabit Ethernet Add On Card.
Reply With Quote
Alvin's Avatar
Senior Member
Join Date: Jul 2003
Posts: 462
#3 (permalink)  
Old 03-07-2013, 03:02 AM
Default

Any advice on which file to delete so that the Local Cache would Rebuild.

Currently I set to NONE as the local cache is "corrupted" and blocking everything.
__________________
Astaro Latest Version, HP ML110 G3 Server, P4HT 3.0GHz , (02 x 512MB, 02 x 1GB = 3GB RAM), 01 x Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express Build in, 02 x Broadcom Corporation NetXtreme BCM5705_2 Gigabit Ethernet Add On Card.
Reply With Quote
Alvin's Avatar
Senior Member
Join Date: Jul 2003
Posts: 462
#4 (permalink)  
Old 03-14-2013, 06:23 PM
Default

cc set http sc_local_db none

/var/mdw/scripts/httpproxy restart


/var/storage/chroot-http/var/pattern/sfcontrol # rm sfcontrol
/var/storage/chroot-http/var/pattern/sfcontrol # ls

cc set http sc_local_db mem

/var/mdw/scripts/httpproxy restart
__________________
Astaro Latest Version, HP ML110 G3 Server, P4HT 3.0GHz , (02 x 512MB, 02 x 1GB = 3GB RAM), 01 x Broadcom Corporation NetXtreme BCM5721 Gigabit Ethernet PCI Express Build in, 02 x Broadcom Corporation NetXtreme BCM5705_2 Gigabit Ethernet Add On Card.
Reply With Quote
Senior Member
Join Date: Oct 2012
Posts: 102
#5 (permalink)  
Old 04-30-2013, 12:17 PM
Default

Thank you very much for this info.

I have one question.... If i had my setting set to disk... and i decided I want to change it to mem... is it just a matter of typing the command below? ro do I have to do what you said and delete the data?

cc set http sc_local_db mem

/var/mdw/scripts/httpproxy restart
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:17 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

These pages are specifically maintained for the discussion of firewall issues within the Open Source community, and might already reflect new alpha/beta releases under development. Please refer to our product specifications for the functionality of the actual release. Discussions of new/enhanced functionality does not constitute a commitment of Astaro, to integrate this functionality into future releases.