VPCLASS 'cpu' not enough physical procs for affinity
本帖最后由 flyinweb_cu 于 2010-08-27 12:03 编辑官方解释配置错误:
VPCLASS classname Not enough physical procs for affinity.
Cause
The physical processors in the affinity specification for the VP class classname do not exist or are offline. The problem might be with the VPCLASS parameter for cpu class VPs or with the AFF_SPROC and AFF_NPROCS parameters.
Action
Make sure the named processors are online. Correct the affinity specification for the named VP class. Restart the database server.
硬件配置如下:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 8
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4258.82
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4256.13
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4256.10
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4256.11
processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4256.09
processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 9
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4255.99
processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 10
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4256.00
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5506@ 2.13GHz
stepping : 5
cpu MHz : 2128.429
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 11
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc pni monitor ds_cpl est tm2 xtpr popcnt
bogomips : 4256.01
onconfig:
MULTIPROCESSOR1 # 0 for single-processor, 1 for multi-processor
NUMCPUVPS 4 # Number of user (cpu) vps
SINGLE_CPU_VP 0 # If non-zero, limit number of cpu vps to one
NOAGE 0 # Process aging
AFF_SPROC 0 # Affinity start processor
AFF_NPROCS 5 # Affinity number of processors
调整了多次,还是出现相同错误:
$ onstat -m
Informix Dynamic Server 2000 Version 9.21.UC2 -- On-Line -- Up 00:02:52 -- 2364968 Kbytes
Message Log File: /home/informix/online.log
11:56:39Booting Language <builtin> from module <>
11:56:39Loading Module <BUILTINNULL>
11:56:44Informix Dynamic Server 2000 Version 9.21.UC2
11:56:51Informix Dynamic Server 2000 Initialized -- Shared Memory Initialized.
11:56:51Physical Recovery Started.
11:56:51Physical Recovery Complete: 0 Pages Restored.
11:56:51Logical Recovery Started.
11:56:5110 recovery worker threads will be started.
11:56:54Logical Recovery Complete.
0 Committed, 0 Rolled Back, 0 Open, 0 Bad Locks
11:56:55Onconfig parameter AFF_NPROC modified from 8 to 5.
11:56:55Dataskip is now OFF for all dbspaces
11:56:55On-Line Mode
11:56:55VPCLASS 'cpu' not enough physical procs for affinity
11:56:55Checkpoint Completed:duration was 0 seconds.
11:56:55Checkpoint loguniq 70429, logpos 0x1b018 4个CPUVP 绑定到5个CPU上? 4个CPUVP 绑定到5个CPU上?
liaosnet 发表于 2010-08-27 12:39 http://bbs.chinaunix.net/images/common/back.gif
您的意思是设置
NUMCPUVPS、AFF_NPROCS 的值为相同的值即可吗?
页:
[1]