Home » International » Russian » Количество mount -t proc в VPS
Количество mount -t proc в VPS [message #32692] |
Sun, 24 August 2008 18:45 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
renton
Messages: 6 Registered: August 2008
|
Junior Member |
|
|
Привет друзья
Существует ли какое-либо ограничение на количество:
* mount --bind
* mount -t proc
* mount -t devpts
?
У меня сейчас:
* mount bind'ов - 2761
* devpts - 212
При попытке смонтировать еще и proc, на любом элементе (по счету) монтирования получаю зависший процесс mount:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3738 root 25 0 7900 576 472 R 105 0.0 1:08.20 mount -t proc proc /home/blabla/user455/proc
который "жрет" CPU на все 100% и не прибивается по сигналу KILL ![Wink](images/smiley_icons/icon_wink.gif)
strace этого дела:
strace mount -t proc proc /home/blabla/user455/proc
execve("/bin/mount", ["mount", "-t", "proc", "proc", "/home/blabla/user455/pr"...], [/* 27 vars */]) = 0
brk(0) = 0x610000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aeb762e4000
uname({sys="Linux", node="l5v1.in-solve.ru", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=24559, ...}) = 0
mmap(NULL, 24559, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aeb762e5000
close(3) = 0
open("/lib/libblkid.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20;\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=42832, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aeb762eb000
mmap(NULL, 2138136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aeb764e5000
mprotect(0x2aeb764ee000, 2093056, PROT_NONE) = 0
mmap(0x2aeb766ed000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x2aeb766ed000
mmap(0x2aeb766ef000, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aeb766ef000
close(3) = 0
open("/lib/libuuid.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\27\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18768, ...}) = 0
mmap(NULL, 2113936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aeb766f0000
mprotect(0x2aeb766f4000, 2093056, PROT_NONE) = 0
mmap(0x2aeb768f3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x2aeb768f3000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\334\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1293456, ...}) = 0
mmap(NULL, 3399928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aeb768f5000
mprotect(0x2aeb76a2b000, 2093056, PROT_NONE) = 0
mmap(0x2aeb76c2a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x2aeb76c2a000
mmap(0x2aeb76c2f000, 16632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aeb76c2f000close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aeb76c34000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aeb76c35000
arch_prctl(ARCH_SET_FS, 0x2aeb76c34de0) = 0
mprotect(0x2aeb76c2a000, 16384, PROT_READ) = 0
mprotect(0x2aeb768f3000, 4096, PROT_READ) = 0
mprotect(0x2aeb766ed000, 4096, PROT_READ) = 0
mprotect(0x60d000, 4096, PROT_READ) = 0
mprotect(0x2aeb764e3000, 4096, PROT_READ) = 0
munmap(0x2aeb762e5000, 24559) = 0
brk(0) = 0x610000
brk(0x631000) = 0x631000
umask(022) = 022
open("/dev/null", O_RDWR) = 3
close(3) = 0
getuid() = 0
geteuid() = 0
lstat("/etc/mtab", {st_mode=S_IFLNK|0777, st_size=12, ...}) = 0
stat("/sbin/mount.proc", 0x7fff347dd090) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0
stat("/sbin/mount.proc", 0x7fff347dd090) = -1 ENOENT (No such file or directory)
mount("proc", "/home/blabla/user455/proc", "proc"..., MS_MGC_VAL, NULL
mmap(0x2aeb766ef000, 24, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aeb766ef000
close(3) = 0
open("/lib/libuuid.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\27\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18768, ...}) = 0
mmap(NULL, 2113936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aeb766f0000
mprotect(0x2aeb766f4000, 2093056, PROT_NONE) = 0
mmap(0x2aeb768f3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x2aeb768f3000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\334\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1293456, ...}) = 0
mmap(NULL, 3399928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aeb768f5000
mprotect(0x2aeb76a2b000, 2093056, PROT_NONE) = 0
mmap(0x2aeb76c2a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x2aeb76c2a000
mmap(0x2aeb76c2f000, 16632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aeb76c2f000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aeb76c34000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aeb76c35000
arch_prctl(ARCH_SET_FS, 0x2aeb76c34de0) = 0
mprotect(0x2aeb76c2a000, 16384, PROT_READ) = 0
mprotect(0x2aeb768f3000, 4096, PROT_READ) = 0
mprotect(0x2aeb766ed000, 4096, PROT_READ) = 0
mprotect(0x60d000, 4096, PROT_READ) = 0
mprotect(0x2aeb764e3000, 4096, PROT_READ) = 0
munmap(0x2aeb762e5000, 24559) = 0
brk(0) = 0x610000
brk(0x631000) = 0x631000
umask(022) = 022
open("/dev/null", O_RDWR) = 3
close(3) = 0
getuid() = 0
geteuid() = 0
lstat("/etc/mtab", {st_mode=S_IFLNK|0777, st_size=12, ...}) = 0
stat("/sbin/mount.proc", 0x7fff347dd090) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV RTMIN RT_1], NULL, 8) = 0
stat("/sbin/mount.proc", 0x7fff347dd090) = -1 ENOENT (No such file or directory)
mount("proc", "/home/blabla/user455/proc", "proc"..., MS_MGC_VAL, NULL
Linux 2.6.18-028s053
|
|
|
Re: Количество mount -t proc в VPS [message #32703 is a reply to message #32692] |
Mon, 25 August 2008 07:47 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
День добрый!
А с failcounter'ами как там дела?
--
Konstantin
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
Re: Количество mount -t proc в VPS [message #32707 is a reply to message #32705] |
Mon, 25 August 2008 08:45 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
и после увеличения лимитов - mount -t procfs всё равно не работает?
Не растут ли failcount'ы при попытках выполнить этот mount?
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
Re: Количество mount -t proc в VPS [message #32714 is a reply to message #32712] |
Mon, 25 August 2008 13:13 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
понятно.
Ну, надо нам смотреть, воспроизводить пытаться.
А можно глупый вопрос, к делу мало относящийся?
Зачем столько монтировать?
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|
|
Goto Forum:
Current Time: Mon Aug 26 23:22:37 GMT 2024
Total time taken to generate the page: 0.03294 seconds
|