OpenVZ Forum


Home » International » Russian » Cannot allocate memory
Cannot allocate memory [message #37002] Mon, 10 August 2009 07:02 Go to previous message
srv38 is currently offline  srv38
Messages: 4
Registered: August 2009
Location: Russia, Siberia, Zarinsk
Junior Member
ОС gentoo, ядро 2.6.27-openvz-briullov.1-r1, железо
i686 Intel(R) Xeon(R) CPU 5130 @ 2.00GHz имеет на борту 4 гига памяти, вертятся 2 виртуалки, почта и веб сервер,в логах(/var/log/maillog) почтового сервера один раз в день обязательно появляются записи

Aug 10 13:10:50 mail postfix/smtpd[20080]: warning: connect #1 to subsystem public/cleanup: Cannot allocate memory
Aug 10 13:10:50 mail postfix/smtpd[20053]: warning: connect #1 to subsystem public/cleanup: Cannot allocate memory
Aug 10 13:10:52 mail amavis[17707]: (17707-17) ClamAV-clamd: Can't create UNIX socket: Cannot allocate memory, retrying (1)
Aug 10 13:10:52 mail amavis[18600]: (18600-16) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.sock: Cannot allocate memory, retrying (1)
Aug 10 13:10:53 mail postfix/qmgr[26513]: warning: connect to transport virtual: Cannot allocate memory
Aug 10 13:10:53 mail postfix/qmgr[26513]: warning: connect to transport retry: Cannot allocate memory
Aug 10 13:10:53 mail amavis[17707]: (17707-17) (!)ClamAV-clamd: Can't create UNIX socket: Cannot allocate memory, retrying (2)
Aug 10 13:10:54 mail postfix/smtpd[20079]: warning: connect #1 to subsystem public/cleanup: Cannot allocate memory
Aug 10 13:10:54 mail postfix/smtpd[19607]: warning: connect #1 to subsystem public/cleanup: Cannot allocate memory
Aug 10 13:10:55 mail postfix/smtpd[20114]: warning: connect #1 to subsystem private/rewrite: Cannot allocate memory
Aug 10 13:11:01 mail amavis[17707]: (17707-17-2) ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.sock: Cannot allocate memory, retrying (1)
Aug 10 13:11:02 mail postfix/smtpd[16282]: warning: connect #1 to subsystem public/cleanup: Cannot allocate memory
Aug 10 13:11:02 mail amavis[17707]: (17707-17-2) (!)ClamAV-clamd: Can't connect to UNIX socket /var/run/clamav/clamd.sock: Cannot allocate memory, retrying (2)
Aug 10 13:11:02 mail pop3d: authdaemon: socket() failed: Cannot allocate memory
Aug 10 13:11:02 mail pop3d: authentication error: Cannot allocate memory
Aug 10 13:11:04 mail postfix/smtpd[20079]: warning: connect #2 to subsystem public/cleanup: Cannot allocate memory
Aug 10 13:11:04 mail postfix/smtpd[19607]: warning: connect #2 to subsystem public/cleanup: Cannot allocate memory


хотя, что на хост машине что на виртуалках всегда есть свободная память, машина можно сказать не загружена, отловить этот момент не получается т.к. он идет всегда менее 30 секунд потом все приходит в норму, конфигурации виртуалок приведу ниже, скажите что может быть не так?

cat /etc/vz/conf/100.conf
KMEMSIZE="11055923:11377049"
LOCKEDPAGES="256:256"
PRIVVMPAGES="2048M:2304M"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
NUMFILE="9312:9312"
DCACHESIZE="3409920:3624960"
NUMIPTENT="128:128"
AVNUMPROC="180:180"
CPUUNITS="1000"
ONBOOT="yes"
ORIGIN_SAMPLE="vps.basic"
DISKSPACE="63G:64G"
DISKINODES="2000000:2200000"
QUOTATIME="0"


cat /etc/vz/conf/200.conf
KMEMSIZE="11055923:11377049"
LOCKEDPAGES="256:256"
PRIVVMPAGES="1024M:1280M"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
NUMFILE="9312:9312"
DCACHESIZE="3409920:3624960"
NUMIPTENT="128:128"
AVNUMPROC="180:180"
CPUUNITS="1000"
ONBOOT="yes"
ORIGIN_SAMPLE="vps.basic"
DISKSPACE="21G:22G"
DISKINODES="200000:220000"
QUOTATIME="0"

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Создание лайф диска openvz
Next Topic: 2 ethernet интерфейса на HWnode
Goto Forum:
  


Current Time: Mon Nov 04 05:24:34 GMT 2024

Total time taken to generate the page: 0.03385 seconds