Page 1 of 1
web proxy - No buffer space available
Posted: Mon Sep 19, 2011 11:52 am
by vectieba
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.
Re: web proxy - No buffer space available
Posted: Mon Sep 19, 2011 4:22 pm
by sergejs
Please make screenshot from your browser during the problem and post it here.
Re: web proxy - No buffer space available
Posted: Tue Sep 20, 2011 9:31 am
by vectieba
Here is a screenshot
Re: web proxy - No buffer space available
Posted: Tue Sep 20, 2011 9:50 am
by vectieba
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.
Re: web proxy - No buffer space available
Posted: Tue Sep 20, 2011 4:33 pm
by abdonetwork
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
Re: web proxy - No buffer space available
Posted: Tue Sep 20, 2011 5:11 pm
by vectieba
I have made the changes you suggested. I will let you know what happens, thanks.
Re: web proxy - No buffer space available
Posted: Tue Sep 20, 2011 7:11 pm
by vectieba
Still getting the same message, here is a screenshot of the server status
Re: web proxy - No buffer space available
Posted: Tue Sep 20, 2011 8:32 pm
by abdonetwork
well !!!
print
-----
/ip firewall nat> print
/ip firewall mangle> print
/ip proxy> print
Re: web proxy - No buffer space available
Posted: Wed Sep 21, 2011 7:49 am
by vectieba
[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
Re: web proxy - No buffer space available
Posted: Wed Sep 21, 2011 2:58 pm
by abdonetwork
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
Re: web proxy - No buffer space available
Posted: Wed Sep 21, 2011 7:35 pm
by vectieba
Thanks for the help, I will try it and if I get it working I will post it on here.