OpenVZ Forum


Home » International » Russian » *RESOLVED* Какого ресурса нехватает?
*RESOLVED* Какого ресурса нехватает? [message #16342] Sat, 01 September 2007 18:48 Go to next message
Hibin is currently offline  Hibin
Messages: 7
Registered: August 2007
Junior Member
Подскажите пожалуйста, какого ресурса не хватает в VE, если...

Quote:

ping N.N.N.N
connect: No buffer space available


Не всегда, но очень часто.

В /proc/user_beancounters "failcnt" нулевой.

[Updated on: Wed, 05 September 2007 04:54] by Moderator

Report message to a moderator

Re: Какого ресурса нехватает? [message #16367 is a reply to message #16342] Mon, 03 September 2007 09:22 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
В принципе ресурсы ноды могут кончиться быстрее чем VE упрется в свои лимиты...

Попробуйте потрейсить ping, чтобы было понятно, что именно происходит:
https://wiki.openvz.org/Stracing_a_program

С уважением,
Василий Аверин

[Updated on: Mon, 03 September 2007 09:23]

Report message to a moderator

Re: Какого ресурса нехватает? [message #16368 is a reply to message #16342] Mon, 03 September 2007 11:02 Go to previous messageGo to next message
Hibin is currently offline  Hibin
Messages: 7
Registered: August 2007
Junior Member
Вот что выдал strace:

7933  execve("/bin/ping", ["ping", "N.N.N.N"], [/* 17 vars */]) = 0
7933  uname({sys="Linux", node="ve106.domain.ru", ...}) = 0
7933  brk(0)                            = 0x555555670000
7933  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac3ebe70000
7933  access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
7933  open("/etc/ld.so.cache", O_RDONLY) = 3
7933  fstat(3, {st_mode=S_IFREG|0644, st_size=21020, ...}) = 0
7933  mmap(NULL, 21020, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ac3ebe71000
7933  close(3)                          = 0
7933  open("/lib64/libresolv.so.2", O_RDONLY) = 3
7933  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2406\0\0"..., 832) = 832
7933  fstat(3, {st_mode=S_IFREG|0755, st_size=90672, ...}) = 0
7933  mmap(NULL, 1133256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac3ebf71000
7933  mprotect(0x2ac3ebf82000, 1063624, PROT_NONE) = 0
7933  mmap(0x2ac3ec082000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x2ac3ec082000
7933  mmap(0x2ac3ec084000, 6856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac3ec084000
7933  close(3)                          = 0
7933  open("/lib64/tls/libc.so.6", O_RDONLY) = 3
7933  read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\304"..., 832) = 832
7933  fstat(3, {st_mode=S_IFREG|0755, st_size=1617520, ...}) = 0
7933  mmap(NULL, 2314184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac3ec086000
7933  mprotect(0x2ac3ec1b2000, 1085384, PROT_NONE) = 0
7933  mmap(0x2ac3ec2b2000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c000) = 0x2ac3ec2b2000
7933  mmap(0x2ac3ec2b7000, 16328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac3ec2b7000
7933  close(3)                          = 0
7933  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac3ec2bb000
7933  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac3ec2bc000
7933  mprotect(0x2ac3ec2b2000, 12288, PROT_READ) = 0
7933  mprotect(0x2ac3ec082000, 4096, PROT_READ) = 0
7933  mprotect(0x2ac3ebf6f000, 4096, PROT_READ) = 0
7933  arch_prctl(ARCH_SET_FS, 0x2ac3ec2bbe20) = 0
7933  munmap(0x2ac3ebe71000, 21020)     = 0
7933  socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
7933  getuid()                          = 0
7933  setuid(0)                         = 0
7933  socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
7933  connect(4, {sa_family=AF_INET, sin_port=htons(1025), sin_addr=inet_addr("N.N.N.N")}, 16) = -1 ENOBUFS (No buffer space available)
7933  dup(2)                            = 5
7933  fcntl(5, F_GETFL)                 = 0x8002 (flags O_RDWR|O_LARGEFILE)
7933  brk(0)                            = 0x555555670000
7933  brk(0x555555691000)               = 0x555555691000
7933  fstat(5, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
7933  mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac3ebe71000
7933  lseek(5, 0, SEEK_CUR)             = -1 ESPIPE (Illegal seek)
7933  write(5, "connect: No buffer space availab"..., 35) = 35
7933  close(5)                          = 0
7933  munmap(0x2ac3ebe71000, 4096)      = 0
7933  exit_group(2)                     = ?
Re: Какого ресурса нехватает? [message #16387 is a reply to message #16368] Tue, 04 September 2007 06:36 Go to previous messageGo to next message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
Это может быть Neighbour table overflow

Посмотрите
http://nice3z.myfinejob.com/node/3
и
http://www.ibm.com/developerworks/ru/library/es-clusterserie spt2/
Увеличение размера ARP-таблицы

Надеюсь, это поможет разрешить Вашу проблему

С уважением,
Василий Аверин
icon14.gif  Re: Какого ресурса нехватает? [message #16395 is a reply to message #16342] Tue, 04 September 2007 13:20 Go to previous message
Hibin is currently offline  Hibin
Messages: 7
Registered: August 2007
Junior Member
Судя по всему помогло, сегодня ошибка больше не появлялась Smile

Огромное спасибо!
Previous Topic: Наверное баян, но... не могу выставить нормально лимиты
Next Topic: VE на NFS
Goto Forum:
  


Current Time: Wed Nov 06 00:46:54 GMT 2024

Total time taken to generate the page: 0.03545 seconds