В логе сообщения о PV entries

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Neman
ефрейтор
Сообщения: 63
Зарегистрирован: 2008-12-03 11:21:07

В логе сообщения о PV entries

Непрочитанное сообщение Neman » 2009-01-23 4:08:26

версия ОС - 7.1-STABLE FreeBSD
ядро GENERIC
машинка старая - ОЗУ 514Мб
крутятся SQID, HAVP, Apache13 (для lightsquid), rejik

ядро GENERIC, указан только тип процессора и удалены неиспользуемые драйвера.

В messages появилась запись

Код: Выделить всё

 +pid 778 (winbindd), uid 0: exited on signal 6 (core dumped) Approaching 
+the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
+Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.

top

Код: Выделить всё

last pid: 10746;  load averages:  0.03,  0.07,  0.02                                                                                 up 1+18:06:38  09:02:45
96 processes:  1 running, 95 sleeping
CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  0.0% idle
Mem: 187M Active, 93M Inact, 98M Wired, 23M Cache, 60M Buf, 89M Free
Swap: 2048M Total, 88M Used, 1960M Free, 4% Inuse

  PID USERNAME  THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
  893 squid       1   4    0   106M 89196K kqread   8:31  0.00% squid
  726 havp        1   8    0 68992K 65620K nanslp   1:14  0.00% havp
 5560 root        1  44    0  9648K  2676K select   0:20  0.00% winbindd
  769 root        1  44    0  9648K  1392K select   0:19  0.00% winbindd
  761 root        1  44    0  8496K   844K select   0:11  0.00% nmbd
 7334 alex        1  44    0  8480K   932K select   0:05  0.00% sshd
  823 root        1  44    0  5928K  1056K select   0:04  0.00% sendmail
  800 root        1  44    0  4100K  1516K select   0:04  0.00% httpd
 7142 squid       1   4    0  7408K  2396K sbwait   0:02  0.00% redirector
  917 root        1  44    0  9668K  1012K select   0:02  0.00% winbindd
  793 clamav      1  20    0  4360K  1140K pause    0:01  0.00% freshclam
  833 root        1   8    0  3260K   432K nanslp   0:01  0.00% cron
  765 root        1  44    0 11108K  1520K select   0:01  0.00% smbd
  622 root        1  44    0  3232K   516K select   0:00  0.00% syslogd
 7168 squid       1   4    0  8536K   772K sbwait   0:00  0.00% ntlm_auth
 7331 root        1   4    0  8480K   924K sbwait   0:00  0.00% sshd
10165 havp        1  -8    0 68992K 65788K piperd   0:00  0.00% havp
 5766 root        1   4    0  8640K     0K accept   0:00  0.00% <python2.5>
  926 squid       1  -8    0  2488K   920K piperd   0:00  0.00% unlinkd
10134 havp        1  -8    0 68992K 65788K piperd   0:00  0.00% havp
 7143 squid       1   4    0  7408K  1332K sbwait   0:00  0.00% redirector
 7176 squid       1   4    0  4788K  1212K sbwait   0:00  0.00% perl5.8.8
10700 root        1  44    0  6424K  2752K select   0:00  0.00% mc
 7170 squid       1   4    0  8536K   760K sbwait   0:00  0.00% ntlm_auth
10125 havp        1  -8    0 68992K 65772K piperd   0:00  0.00% havp
 7173 squid       1   4    0  8536K   760K sbwait   0:00  0.00% ntlm_auth
 7171 squid       1   4    0  8536K   760K sbwait   0:00  0.00% ntlm_auth
 7175 squid       1   4    0  8488K     0K sbwait   0:00  0.00% <ntlm_auth>
 7172 squid       1   4    0  8536K   760K sbwait   0:00  0.00% ntlm_auth
10740 root        1  44    0  3544K  1652K RUN      0:00  0.00% top
 7174 squid       1   4    0  8488K     0K sbwait   0:00  0.00% <ntlm_auth>
10183 havp        1  -8    0 68992K 65780K piperd   0:00  0.00% havp
10215 havp        1  -8    0 68992K 65784K piperd   0:00  0.00% havp
10181 havp        1  -8    0 68992K 65784K piperd   0:00  0.00% havp
10699 havp        1  -8    0 68992K 65748K piperd   0:00  0.00% havp
  918 root        1  44    0  9652K   828K select   0:00  0.00% winbindd
  933 root        1  44    0  9652K   800K select   0:00  0.00% winbindd
  827 smmsp       1  20    0  5928K   652K pause    0:00  0.00% sendmail
10253 havp        1  -8    0 68992K 65780K piperd   0:00  0.00% havp
 7166 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
 7145 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
 7147 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
 7148 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
10133 havp        1   4    0 68992K 65808K accept   0:00  0.00% havp
 7180 squid       1   4    0  4788K     0K sbwait   0:00  0.00% <perl5.8.8>
10124 havp        1   4    0 68992K 66104K accept   0:00  0.00% havp
 7152 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
10329 havp        1  -8    0 68992K 65776K piperd   0:00  0.00% havp
 7150 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
10164 havp        1   4    0 68992K 65756K accept   0:00  0.00% havp
 7154 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
 7157 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>
 7162 squid       1   4    0  7408K     0K sbwait   0:00  0.00% <redirector>

Я так понимаю, что нужно оптимизировать виртуальную память? И как собственно помочь серверу?

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
manefesto
Группенфюррер
Сообщения: 6934
Зарегистрирован: 2007-07-20 8:27:30
Откуда: Пермь
Контактная информация:

Re: В логе сообщения о PV entries

Непрочитанное сообщение manefesto » 2009-01-23 15:52:54

Код: Выделить всё

sysctl vm.pmap.shpgperproc
sysctl vm.pmap.pv_entry_max
я такой яростный шо аж пиздеЦ
Изображение

Neman
ефрейтор
Сообщения: 63
Зарегистрирован: 2008-12-03 11:21:07

Re: В логе сообщения о PV entries

Непрочитанное сообщение Neman » 2009-01-26 4:37:47

Пока сообщения не повторялись, но все же хочется устранить подобное в будущем.

Текущие значения такие

vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 926352


Какие значения разумно установить в будущем? Из чего исходить?

paradox
проходил мимо
Сообщения: 11620
Зарегистрирован: 2008-02-21 18:15:41

Re: В логе сообщения о PV entries

Непрочитанное сообщение paradox » 2009-01-26 5:07:36

думаю ответ стоит это поискать в той программе которая хочет их потюнить
я ж так понимаю winbind или кто там их требует?

Аватара пользователя
MASiK
лейтенант
Сообщения: 625
Зарегистрирован: 2008-09-19 20:09:41
Откуда: Оттуда
Контактная информация:

Re: В логе сообщения о PV entries

Непрочитанное сообщение MASiK » 2009-11-11 9:53:09

Чёт не понял чем всё кончилось?
У меня таже хрень, тока ещё и

Код: Выделить всё

# sysctl vm.pmap.shpgperproc=400
sysctl: oid 'vm.pmap.shpgperproc' is read only
# sysctl vm.pmap.pv_entry_max=8000000
sysctl: oid 'vm.pmap.pv_entry_max' is read only
Не даёт не чё поменять, ребутаться не хочу

а орёт на squid в связке с havp

Это у нас Что вообще? Макс кол-во запрашиваемых страниц?

Код: Выделить всё

Nov 11 09:31:45 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:32:48 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:33:49 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:34:50 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:35:50 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:36:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:37:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:38:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:39:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:40:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:41:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:42:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:43:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:44:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:45:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:46:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:47:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:48:51 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:49:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:50:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:51:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:52:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:53:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:54:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:55:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:56:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:57:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Nov 11 09:58:52 office kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Самурай

Legat
проходил мимо
Сообщения: 3
Зарегистрирован: 2010-01-14 10:51:54

Re: В логе сообщения о PV entries

Непрочитанное сообщение Legat » 2010-01-19 10:22:57

У меня та же проблема :(
версия ОС - 7.2-STABLE FreeBSD
Стоит на VMWARE vSphere
машинка старая - ОЗУ 514Мб
крутятся SQID, SAMS, HAVP, Apache22 rejik - NTLM
текущие значения такие
vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 926352

spf
ефрейтор
Сообщения: 58
Зарегистрирован: 2009-11-05 15:28:46

Re: В логе сообщения о PV entries

Непрочитанное сообщение spf » 2010-01-21 8:56:31

Можно нужные значения
vm.pmap.shpgperproc
vm.pmap.pv_entry_max
прописать в /boot/loader.conf

У меня такие же ошибки появились после профилактического сдувания пыли с материнки.
Вылечилось заменой памяти.

jrmm
рядовой
Сообщения: 24
Зарегистрирован: 2009-04-17 8:15:55

Re: В логе сообщения о PV entries

Непрочитанное сообщение jrmm » 2010-04-22 16:06:42

Вижу то же самое

%sysctl vm.pmap.shpgperproc
vm.pmap.shpgperproc: 200
%sysctl vm.pmap.pv_entry_max
vm.pmap.pv_entry_max: 1745520

Машинка не влезает в оперативку, 6% от свопа used

Не знаю, что прописать, насколько увеличить. :Search:

exey
проходил мимо

Re: В логе сообщения о PV entries

Непрочитанное сообщение exey » 2010-05-17 14:37:36

zrouter# uname -a

Код: Выделить всё

FreeBSD zrouter 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Fri May  7 14:28:31 UTC 2010     exey@zrouter:/usr/src/sys/i386/compile/zrouter  i386
аналогично временами появляется:

Код: Выделить всё

May 11 12:47:07 zrouter kernel: Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable
vm.pmap.shpgperproc: 200
vm.pmap.pv_entry_max: 1743504

RemiZOffAlex
рядовой
Сообщения: 46
Зарегистрирован: 2010-04-13 15:11:02
Контактная информация:

Re: В логе сообщения о PV entries

Непрочитанное сообщение RemiZOffAlex » 2011-02-20 2:25:22

Такая гадость перестала сыпаться после того, как посмотрел на трафик зашкаливающий и извне порт havp закрыл к чертям. Наступил на грабли что называется.
Самурай без меча подобен самураю с мечом, но только без меча, однако как-будто с мечом, которого у него нет, но и без него он как с ним...

Robert
проходил мимо

Re: В логе сообщения о PV entries

Непрочитанное сообщение Robert » 2011-08-09 5:00:45

у меня такая хрень начала сыпаться когда одно приложение было сконфигурено писать большой файл в /tmp и там очень быстро заканчивалось место.

alexmrrc
рядовой
Сообщения: 23
Зарегистрирован: 2011-08-15 15:27:36

Re: В логе сообщения о PV entries

Непрочитанное сообщение alexmrrc » 2011-08-18 13:08:58

У меня такая хрень сыпется из-за связки squid-3.1.14 + drwebd, но в sysctl описываемых параметров нет во FreeBSD 6.2-RELEASE, видимо:

Код: Выделить всё

# sysctl vm.pmap.shpgperproc
sysctl: unknown oid 'vm.pmap.shpgperproc'
# sysctl vm.pmap.pv_entry_max
sysctl: unknown oid 'vm.pmap.pv_entry_max'
Через /boot/loader.conf задать их тоже не удастся же? И как быть?

strelokr
мл. сержант
Сообщения: 93
Зарегистрирован: 2011-01-11 15:17:14
Контактная информация:

Re: В логе сообщения о PV entries

Непрочитанное сообщение strelokr » 2012-03-28 8:01:31

8.1-RELEASE i386 squid-3.1.14 +p5-Mail-SpamAssassin-3.3.1_2 +clamav-0.97.1 mp5 и плюс всякое

Код: Выделить всё

Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
Approaching the limit on PV entries, consider increasing either the vm.pmap.shpgperproc or the vm.pmap.pv_entry_max tunable.
сыпется такое регулярно. Что делать.

strelokr
мл. сержант
Сообщения: 93
Зарегистрирован: 2011-01-11 15:17:14
Контактная информация:

Re: В логе сообщения о PV entries

Непрочитанное сообщение strelokr » 2012-03-28 8:18:54

Памяти хватает
CPU: 0.0% user, 0.0% nice, 0.0% system, 0.6% interrupt, 99.4% idle
Mem: 1542M Active, 513M Inact, 244M Wired, 106M Cache, 112M Buf, 54M Free
Swap: 8192M Total, 52M Used, 8140M Free

Аватара пользователя
manefesto
Группенфюррер
Сообщения: 6934
Зарегистрирован: 2007-07-20 8:27:30
Откуда: Пермь
Контактная информация:

Re: В логе сообщения о PV entries

Непрочитанное сообщение manefesto » 2012-03-28 9:01:12

увеличь указанный лимиты
я такой яростный шо аж пиздеЦ
Изображение