105: No buffer space available
Дмитрий Леоненко
dmitry.leonenko at gmail.com
Tue Dec 26 16:03:56 MSK 2006
Подскажите, чем полечить повальное появление ошибок:
2006/12/26 08:36:25 [alert] 23427#0: *302761 socket() failed (105: No buffer
space available) while connecting to upstream, client: 212.16.215.100,
server: xxxx, URL: "/images/navbits_start.gif", upstream: "
http://xx.xx.xx.xx:80/images/navbits_start.gif", host: "www.nowa.cc",
referrer: "http://www.xxxxxx/showthread.php?t=27818"
Линукс, арендованный VPS
[root at 5628 logs]# uname -a
Linux 5628.host2.servers.highway.ru 2.4.20-021stab028.5.777-enterprise #1
SMP Tue Feb 22 17:44:46 MSK 2005 i686 i686 i386 GNU/Linux
[root at 5628 logs]# sysctl -A
abi.fake_utsname = 0
abi.trace = 0
abi.defhandler_libcso = 68157441
abi.defhandler_lcall7 = 68157441
abi.defhandler_elf = 0
abi.defhandler_coff = 117440515
dev.raid.speed_limit_max = 100000
dev.raid.speed_limit_min = 100
dev.rtc.max-user-freq = 64
debug.ubc_sk_debug = 0
debug.ksoftirqd = 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 00 0 0 0
0 0 0 0 0
fs.sendfile-emu-warn = 0
fs.ve-area-access-check = 0
fs.inode-dirtlim = 131072 2047204 0
fs.inode-param = 256 2048 256 2048 4096 4096 16
0 0
fs.lease-break-time = 45
fs.dir-notify-enable = 1
fs.leases-enable = 1
fs.overflowgid = 65534
fs.overflowuid = 65534
fs.dentry-state = 269575 6807 45 0 0 0
fs.dquot-nr = 0 0
fs.file-max = 131072
fs.file-nr = 269 0 131072
fs.inode-state = 31441 12361 307 131072 2047204 0 0
fs.inode-nr = 31441 12361
vm.max_map_count = 65536
vm.max-readahead = 31
vm.min-readahead = 3
vm.page-cluster = 3
vm.pagetable_cache = 25 50
vm.kswapd = 512 32 8
vm.overcommit_memory = 0
vm.bdflush = 30 500 0 0 2000 12000 60 20 0
kernel.sem = 250 32000 32 128
kernel.msgmnb = 16384
kernel.msgmni = 16
kernel.msgmax = 8192
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 33554432
kernel.domainname = NIS.HW.GLDN
kernel.hostname = 5628.host2.servers.highway.ru
kernel.pid-max = 32768
kernel.silence-level = 0
kernel.fairsched-max-latency = 25
kernel.fairsched-tree-depth = 4
kernel.overflowgid = 65534
kernel.overflowuid = 65534
kernel.random.uuid = 74e9dfe6-151e-4f48-a54d-3e9dca97aece
kernel.random.boot_id = 75b5d6bc-3bdf-4718-9db5-d13404b7dbcb
kernel.random.write_wakeup_threshold = 128
kernel.random.read_wakeup_threshold = 8
kernel.random.entropy_avail = 4096
kernel.random.poolsize = 512
kernel.threads-max = 32767
kernel.cad_pid = 1
kernel.sysrq = 1
kernel.rtsig-max = 1024
kernel.rtsig-nr = 0
kernel.hotplug = /sbin/hotplug
kernel.modprobe = /sbin/modprobe
kernel.printk = 6 4 1 8
kernel.ctrl-alt-del = 0
kernel.real-root-dev = 2304
error: "Operation not permitted" reading key "kernel.cap-bound"
kernel.tainted = 1
kernel.core_uses_pid = 1
kernel.panic = 0
kernel.version = #1 SMP Tue Feb 22 17:44:46 MSK 2005
kernel.osrelease = 2.4.20-021stab028.5.777-enterprise
kernel.ostype = Linux
net.unix.max_dgram_qlen = 10
net.core.hot_list_length = 128
net.core.optmem_max = 10240
net.core.message_burst = 50
net.core.message_cost = 5
net.core.mod_cong = 290
net.core.lo_cong = 100
net.core.no_cong = 20
net.core.no_cong_thresh = 20
net.core.netdev_max_backlog = 300
net.core.dev_weight = 64
net.core.rmem_default = 65535
net.core.wmem_default = 65535
net.core.rmem_max = 131071
net.core.wmem_max = 131071
net.ipv4.ip_forward = 0
net.ipv4.conf.venet0.arp_filter = 0
net.ipv4.conf.venet0.tag = 0
net.ipv4.conf.venet0.log_martians = 0
net.ipv4.conf.venet0.bootp_relay = 0
net.ipv4.conf.venet0.medium_id = 0
net.ipv4.conf.venet0.proxy_arp = 0
net.ipv4.conf.venet0.accept_source_route = 0
net.ipv4.conf.venet0.send_redirects = 1
net.ipv4.conf.venet0.rp_filter = 1
net.ipv4.conf.venet0.shared_media = 1
net.ipv4.conf.venet0.secure_redirects = 1
net.ipv4.conf.venet0.accept_redirects = 1
net.ipv4.conf.venet0.mc_forwarding = 0
net.ipv4.conf.venet0.forwarding = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.tag = 0
net.ipv4.conf.lo.log_martians = 0
net.ipv4.conf.lo.bootp_relay = 0
net.ipv4.conf.lo.medium_id = 0
net.ipv4.conf.lo.proxy_arp = 0
net.ipv4.conf.lo.accept_source_route = 0
net.ipv4.conf.lo.send_redirects = 1
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.lo.shared_media = 1
net.ipv4.conf.lo.secure_redirects = 1
net.ipv4.conf.lo.accept_redirects = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.tag = 0
net.ipv4.conf.default.log_martians = 0
net.ipv4.conf.default.bootp_relay = 0
net.ipv4.conf.default.medium_id = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.shared_media = 1
net.ipv4.conf.default.secure_redirects = 1
net.ipv4.conf.default.accept_redirects = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.tag = 0
net.ipv4.conf.all.log_martians = 0
net.ipv4.conf.all.bootp_relay = 0
net.ipv4.conf.all.medium_id = 0
net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.send_redirects = 1
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.all.shared_media = 1
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.accept_redirects = 1
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.all.forwarding = 0
net.ipv4.ipfrag_secret_interval = 600
net.ipv4.tcp_tw_reuse = 0
net.ipv4.icmp_ratemask = 6168
net.ipv4.icmp_ratelimit = 100
net.ipv4.tcp_use_sg = 1
net.ipv4.tcp_adv_win_scale = 2
net.ipv4.tcp_app_win = 31
net.ipv4.tcp_rmem = 4096 87380 174760
net.ipv4.tcp_wmem = 4096 16384 131072
net.ipv4.tcp_mem = 40960 45056 49152
net.ipv4.tcp_dsack = 1
net.ipv4.tcp_ecn = 1
net.ipv4.tcp_reordering = 3
net.ipv4.tcp_fack = 1
net.ipv4.tcp_orphan_retries = 0
net.ipv4.inet_peer_gc_maxtime = 120
net.ipv4.inet_peer_gc_mintime = 10
net.ipv4.inet_peer_maxttl = 600
net.ipv4.inet_peer_minttl = 120
net.ipv4.inet_peer_threshold = 65664
net.ipv4.icmp_ignore_bogus_error_responses = 0
net.ipv4.icmp_echo_ignore_broadcasts = 0
net.ipv4.icmp_echo_ignore_all = 0
net.ipv4.ip_local_port_range = 32768 61000
net.ipv4.tcp_max_syn_backlog = 1024
net.ipv4.tcp_rfc1337 = 0
net.ipv4.tcp_stdurg = 0
net.ipv4.tcp_abort_on_overflow = 0
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_syncookies = 0
net.ipv4.tcp_fin_timeout = 60
net.ipv4.tcp_retries2 = 15
net.ipv4.tcp_retries1 = 3
net.ipv4.tcp_keepalive_intvl = 75
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_keepalive_time = 7200
net.ipv4.ipfrag_time = 30
net.ipv4.ip_dynaddr = 0
net.ipv4.ipfrag_low_thresh = 196608
net.ipv4.ipfrag_high_thresh = 262144
net.ipv4.tcp_max_tw_buckets = 180000
net.ipv4.tcp_max_orphans = 32768
net.ipv4.tcp_synack_retries = 5
net.ipv4.tcp_syn_retries = 5
net.ipv4.ip_nonlocal_bind = 0
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.ip_autoconfig = 0
net.ipv4.ip_default_ttl = 64
net.ipv4.tcp_retrans_collapse = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
error: "Invalid argument" reading key "net.ipv4.route.flush"
net.ipv4.route.secret_interval = 600
net.ipv4.route.min_adv_mss = 256
net.ipv4.route.min_pmtu = 552
net.ipv4.route.mtu_expires = 600
net.ipv4.route.gc_elasticity = 8
net.ipv4.route.error_burst = 500
net.ipv4.route.error_cost = 100
net.ipv4.route.redirect_silence = 2048
net.ipv4.route.redirect_number = 9
net.ipv4.route.redirect_load = 2
net.ipv4.route.gc_interval = 60
net.ipv4.route.gc_timeout = 300
net.ipv4.route.gc_min_interval = 5
net.ipv4.route.max_size = 262144
net.ipv4.route.gc_thresh = 16384
net.ipv4.route.max_delay = 10
net.ipv4.route.min_delay = 2
net.ipv4.route.src_check = 0
Конфиг:
worker_processes 1;
error_log logs/error.log;
events {
worker_connections 1024;
}
http {
default_type application/octet-stream;
server {
listen *:80;
server_name .xxx.xx .xxxx.ru;
location / {
proxy_pass http://xx.xx.xx.xx;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20061226/92723248/attachment.html>
More information about the nginx-ru
mailing list