Community discussions

MikroTik App
 
User avatar
vectieba
just joined
Topic Author
Posts: 24
Joined: Mon Oct 26, 2009 3:04 pm
Location: South Africa

web proxy - No buffer space available

Mon Sep 19, 2011 11:52 am

Hi,
I am running RouterOS 5.6 on x86. The pc is a Pentium 4 2.8ghz with 1Gb Ram and 80GB Hard Disk Drive. When web proxy is active I get a mesaage on my web browser after a while saying No buffer space available.

Has anyone had this problem and how do I solve it?

Thanks.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: web proxy - No buffer space available

Mon Sep 19, 2011 4:22 pm

Please make screenshot from your browser during the problem and post it here.
 
User avatar
vectieba
just joined
Topic Author
Posts: 24
Joined: Mon Oct 26, 2009 3:04 pm
Location: South Africa

Re: web proxy - No buffer space available

Tue Sep 20, 2011 9:31 am

Here is a screenshot
You do not have the required permissions to view the files attached to this post.
 
User avatar
vectieba
just joined
Topic Author
Posts: 24
Joined: Mon Oct 26, 2009 3:04 pm
Location: South Africa

Re: web proxy - No buffer space available

Tue Sep 20, 2011 9:50 am

I have my web proxy setup to (max. cache size: unlimited) and cache on disk enabled. Max client connections and server connections is set at 600, max fresh time is 3 days. In firewall NAT i redirect all port 80 traffic to the proxy on 8080.
 
User avatar
abdonetwork
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Fri May 15, 2009 5:30 pm
Location: Palestine

Re: web proxy - No buffer space available

Tue Sep 20, 2011 4:33 pm

I have my web proxy setup to (max. cache size: unlimited) and cache on disk enabled. Max client connections and server connections is set at 600, max fresh time is 3 days. In firewall NAT i redirect all port 80 traffic to the proxy on 8080.
------------------------
[admin@Hotspot-Server] /ip firewall nat> print 
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; place hotspot rules here
     chain=unused-hs-chain action=passthrough 

 1   ;;; masquerade hotspot network
     chain=srcnat action=masquerade src-address=192.168.30.0/24 

 2   ;;; masquerade hotspot network
     chain=srcnat action=masquerade src-address=192.168.32.0/24 

 3   ;;; PPPoE
     chain=srcnat action=masquerade src-address=10.0.0.0/24 

 4   ;;; Proxy
     chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-port=80 

------------------
add number 4 to your NAT
------------------
[admin@Hotspot-Server] /ip firewall mangle> print 
Flags: X - disabled, I - invalid, D - dynamic 
 0   ;;; Accept Proxy
     chain=output action=accept dscp=4 

 1   ;;; ping
     chain=prerouting action=mark-packet new-packet-mark=ping_requests passthrough=yes protocol=icmp 

 2   ;;; QoS OF PING
     chain=postrouting action=mark-connection new-connection-mark=ping-ip passthrough=yes protocol=icmp 

 3   ;;; QoS OF PING
     chain=postrouting action=mark-packet new-packet-mark=packet_ip passthrough=yes connection-mark=ping-ip 
-----
((chain=output action=accept dscp=4 )) must be the first one in mangle
----
then
[admin@Hotspot-Server] /ip proxy> print 
                 enabled: yes
             src-address: 0.0.0.0
                    port: 8080
            parent-proxy: 0.0.0.0
       parent-proxy-port: 0
     cache-administrator: "Skynet Hello..!! reload your page"
          max-cache-size: unlimited
           cache-on-disk: yes
  max-client-connections: 1000
  max-server-connections: 1000
          max-fresh-time: 1d
   serialize-connections: no
       always-from-cache: yes
          cache-hit-dscp: 4
             cache-drive: primary-master

-----------
then tell me :)
 
User avatar
vectieba
just joined
Topic Author
Posts: 24
Joined: Mon Oct 26, 2009 3:04 pm
Location: South Africa

Re: web proxy - No buffer space available

Tue Sep 20, 2011 5:11 pm

I have made the changes you suggested. I will let you know what happens, thanks. :D
 
User avatar
vectieba
just joined
Topic Author
Posts: 24
Joined: Mon Oct 26, 2009 3:04 pm
Location: South Africa

Re: web proxy - No buffer space available

Tue Sep 20, 2011 7:11 pm

Still getting the same message, here is a screenshot of the server status
You do not have the required permissions to view the files attached to this post.
 
User avatar
abdonetwork
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Fri May 15, 2009 5:30 pm
Location: Palestine

Re: web proxy - No buffer space available

Tue Sep 20, 2011 8:32 pm

well !!!
print
-----
/ip firewall nat> print

/ip firewall mangle> print

/ip proxy> print
 
User avatar
vectieba
just joined
Topic Author
Posts: 24
Joined: Mon Oct 26, 2009 3:04 pm
Location: South Africa

Re: web proxy - No buffer space available

Wed Sep 21, 2011 7:49 am

[root@Load Balancer] > ip firewall nat print

Flags: X - disabled, I - invalid, D - dynamic
0 X ;;; proxy
chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-port=80

1 chain=srcnat action=masquerade

2 chain=dstnat action=dst-nat to-addresses=192.168.10.20 to-ports=8081 protocol=tcp dst-port=8081

3 chain=dstnat action=dst-nat to-addresses=192.168.10.110 to-ports=8082 protocol=tcp dst-port=8082

4 chain=dstnat action=dst-nat to-addresses=10.0.0.249 to-ports=2210 protocol=tcp dst-port=2210

[root@Load Balancer] > ip firewall mangle print

Flags: X - disabled, I - invalid, D - dynamic
0 ;;; accept proxy - no limits
chain=output action=accept dscp=4

[root@Load Balancer] > ip proxy print

enabled: yes
src-address: 0.0.0.0
port: 8080
parent-proxy: 0.0.0.0
parent-proxy-port: 0
cache-administrator: webmaster
max-cache-size: unlimited
cache-on-disk: yes
max-client-connections: 1000
max-server-connections: 1000
max-fresh-time: 1d
serialize-connections: no
always-from-cache: yes
cache-hit-dscp: 4
cache-drive: primary-master
 
User avatar
abdonetwork
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Fri May 15, 2009 5:30 pm
Location: Palestine

Re: web proxy - No buffer space available

Wed Sep 21, 2011 2:58 pm

i think :)
in ip firewall nat you need to move
0 X ;;; proxy
chain=dstnat action=redirect to-ports=8080 protocol=tcp dst-port=80

down

4 chain=dstnat action=dst-nat to-addresses=10.0.0.249 to-ports=2210 protocol=tcp dst-port=2210
===
and check
[admin@Server] /store>

then check your firewall too maybe you need some new settings in firewall when you using Load Balance

and you can send e-mail the support in finally

sorry that is all i have help
 
User avatar
vectieba
just joined
Topic Author
Posts: 24
Joined: Mon Oct 26, 2009 3:04 pm
Location: South Africa

Re: web proxy - No buffer space available

Wed Sep 21, 2011 7:35 pm

:D Thanks for the help, I will try it and if I get it working I will post it on here.

Who is online

Users browsing this forum: Bing [Bot], eworm, glushkoo, HansHolgersson, sebi099, woland and 109 guests