Community discussions

MikroTik App
 
thermant
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Sat Apr 21, 2007 6:17 am

Proxy: Unable to cache to disk. A little help?

Thu Nov 12, 2009 11:37 am

Hi guys,

I've recently upgraded from ROS 3.2x to 3.30. On 3.2x, I've setup the webproxy to use the existing HD (the one ROS is installed in, let's call it "system") for the cache, NAT redirect rules are set, and life is good.

It's recently come to my notice that for some weird reason the proxy is not using system as the storage. If I opened the web proxy setting in winbox, the "Cache Drive" section in the "General" tab is empty. Shouldn't there be something there?

Here's my proxy setting printout:
                 enabled: yes
             src-address: 0.0.0.0
                    port: 8080
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
     cache-administrator: "theSuperAdmin"
          max-cache-size: unlimited
           cache-on-disk: yes
  max-client-connections: 1000
  max-server-connections: 1000
          max-fresh-time: 3w
   serialize-connections: no
       always-from-cache: no
          cache-hit-dscp: 4
The regular, standard setting, really. Oh, and no settings were changed in the upgrade.

When I opened the "status" tab, "Hits" is 0, "Cache Used" is 0 (it's usually much more than 0), "Total RAM Used" is 4000KiB+, and "Hits Sent to Clients" is 0. The NAT counter is going up like usual, so the proxy seems to be, well, proxying, things. It just won't save to system.

If I could just change the "cache drive" part to system, I think it should work normally like before, but since it's read-only, I'm kinda stuck...

A little help please?

-Z-

edit: Oh, right... I also use system to save mikrotik logs (DNS, systemlog, proxy, etc), but there should still be ample space left for data cache.

edit2: Hmm... for some reason, when I reopened the "General" tab again, the max cache size is none, which is understandable, since the cache drive is none...
 
thermant
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Sat Apr 21, 2007 6:17 am

Re: Proxy: Unable to cache to disk. A little help?

Thu Nov 12, 2009 1:39 pm

Never mind...

Rebooted the router, and it all came back.

Hmm... Weird...

Can somebody close this thread please?
Thanks.

-Z-
 
thermant
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 93
Joined: Sat Apr 21, 2007 6:17 am

Re: Proxy: Unable to cache to disk. A little help?

Tue Nov 24, 2009 12:32 pm

OK, the problem came back. :?

The "Cache Drive" in the proxy setting in winbox shows nothing, empty, nada. Hence, nothing is cached. Well, I -think- nothing is cached. I don't know if it's just a display issue, but I don't think so.

It might be fixed with a reboot, but does anyone know why this problem happened in the first place? Am I not supposed to put the routerOS installation and the cache in the same hard drive? I don't have any problems like this before upgrading to 3.30.

Think an upgrade to the latest will help? What -is- the latest version, anyway? 4.x? When I checked mikrotik's site, the latest 3.x version is 3.30. Argh, my license is only good to 3.x. Oh well...

So, any ideas?

-Z-

Who is online

Users browsing this forum: holvoetn and 9 guests