OpenVZ Forum


Home » General » Support » *SOLVED* optimization on privvmpages failcnt
Re: optimization on privvmpages failcnt [message #8153 is a reply to message #8134] Thu, 09 November 2006 14:56 Go to previous messageGo to previous message
victorskl is currently offline  victorskl
Messages: 28
Registered: September 2006
Junior Member
Thanks thanks..

I used latest RHEL Kernel as stated at my signature... The VE use CentOS template.

[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-023stab032.1-enterprise #1 SMP Fri Oct 20 03:13:34 MSD 2006 i686 i686 i386 GNU/Linux
[root@localhost ~]# 


These are for example, after that respective VE getting mad...
[root@localhost ~]# /usr/sbin/vzctl exec 102 service --status-all
bash: error while loading shared libraries: libtermcap.so.2: failed to map segment from shared object: Cannot allocate memory
[root@localhost ~]# /usr/sbin/vzctl enter 102
entered into VE 102
Unable to set raw mode: Interrupted system call
-bash: error while loading shared libraries: libtermcap.so.2: failed to map segment from shared object: Cannot allocate memory
exited from VE 102
[root@localhost ~]# 


This is the last portion of dmesg..
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
VZDQ: detached inode not in creation, orig 5, dev dm-0, inode 73828039, fs ext3
current 18761 (httpd), VE 102, time 77463.605075
 [<ed79c296>] vzquota_det_qmblk_recalc+0x256/0x270 [vzdquota]
 [<ed79c302>] vzquota_inode_qmblk_recalc+0x52/0x70 [vzdquota]
 [<ed79c573>] vzquota_inode_data+0xb3/0xf0 [vzdquota]
 [<ed79c449>] vzquota_inode_init_call+0x19/0x80 [vzdquota]
 [<021fb940>] ext3_delete_inode+0x0/0x120
 [<ed79e47f>] vzquota_initialize+0xf/0x20 [vzdquota]
 [<0219d983>] generic_delete_inode+0x173/0x190
 [<021996f6>] dput_recursive+0x56/0x230
 [<0217f333>] __fput+0x123/0x1b0
 [<0217d4c2>] filp_close+0x52/0xa0
 [<0217d57a>] sys_close+0x6a/0xa0
VZDQ: detached inode not in creation, orig 5, dev dm-0, inode 73827282, fs ext3
current 8753 (mysqld), VE 102, time 77463.644383
 [<ed79c296>] vzquota_det_qmblk_recalc+0x256/0x270 [vzdquota]
 [<ed79c302>] vzquota_inode_qmblk_recalc+0x52/0x70 [vzdquota]
 [<ed79c573>] vzquota_inode_data+0xb3/0xf0 [vzdquota]
 [<ed79c449>] vzquota_inode_init_call+0x19/0x80 [vzdquota]
 [<021fb940>] ext3_delete_inode+0x0/0x120
 [<ed79e47f>] vzquota_initialize+0xf/0x20 [vzdquota]
 [<0219d983>] generic_delete_inode+0x173/0x190
 [<021996f6>] dput_recursive+0x56/0x230
 [<0217f333>] __fput+0x123/0x1b0
 [<0217d4c2>] filp_close+0x52/0xa0
 [<0212e17a>] put_files_struct+0x6a/0xf0
 [<0212f6d0>] do_exit+0x1b0/0x560
 [<02138665>] __dequeue_signal+0x115/0x210
 [<0212fb60>] do_group_exit+0x40/0xb0
 [<0213ab3b>] get_signal_to_deliver+0x2ab/0x410
 [<0210877b>] do_signal+0x9b/0x180
 [<02194f04>] sys_select+0x444/0x530
 [<0210ab6d>] handle_IRQ_event+0x5d/0xb0
 [<02108897>] do_notify_resume+0x37/0x40
VZDQ: detached inode not in creation, orig 5, dev dm-0, inode 73828028, fs ext3
current 8753 (mysqld), VE 102, time 77463.652955
 [<ed79c296>] vzquota_det_qmblk_recalc+0x256/0x270 [vzdquota]
 [<ed79c302>] vzquota_inode_qmblk_recalc+0x52/0x70 [vzdquota]
 [<ed79c573>] vzquota_inode_data+0xb3/0xf0 [vzdquota]
 [<ed79c449>] vzquota_inode_init_call+0x19/0x80 [vzdquota]
 [<021fb940>] ext3_delete_inode+0x0/0x120
 [<ed79e47f>] vzquota_initialize+0xf/0x20 [vzdquota]
 [<0219d983>] generic_delete_inode+0x173/0x190
 [<021996f6>] dput_recursive+0x56/0x230
 [<0217f333>] __fput+0x123/0x1b0
 [<0217d4c2>] filp_close+0x52/0xa0
 [<0212e17a>] put_files_struct+0x6a/0xf0
 [<0212f6d0>] do_exit+0x1b0/0x560
 [<02138665>] __dequeue_signal+0x115/0x210
 [<0212fb60>] do_group_exit+0x40/0xb0
 [<0213ab3b>] get_signal_to_deliver+0x2ab/0x410
 [<0210877b>] do_signal+0x9b/0x180
 [<02194f04>] sys_select+0x444/0x530
 [<0210ab6d>] handle_IRQ_event+0x5d/0xb0
 [<02108897>] do_notify_resume+0x37/0x40
VZDQ: detached inode not in creation, orig 5, dev dm-0, inode 73828029, fs ext3
current 8753 (mysqld), VE 102, time 77463.661461
 [<ed79c296>] vzquota_det_qmblk_recalc+0x256/0x270 [vzdquota]
 [<ed79c302>] vzquota_inode_qmblk_recalc+0x52/0x70 [vzdquota]
 [<ed79c573>] vzquota_inode_data+0xb3/0xf0 [vzdquota]
 [<ed79c449>] vzquota_inode_init_call+0x19/0x80 [vzdquota]
 [<021fb940>] ext3_delete_inode+0x0/0x120
 [<ed79e47f>] vzquota_initialize+0xf/0x20 [vzdquota]
 [<0219d983>] generic_delete_inode+0x173/0x190
 [<021996f6>] dput_recursive+0x56/0x230
 [<0217f333>] __fput+0x123/0x1b0
 [<0217d4c2>] filp_close+0x52/0xa0
 [<0212e17a>] put_files_struct+0x6a/0xf0
 [<0212f6d0>] do_exit+0x1b0/0x560
 [<02138665>] __dequeue_signal+0x115/0x210
 [<0212fb60>] do_group_exit+0x40/0xb0
 [<0213ab3b>] get_signal_to_deliver+0x2ab/0x410
 [<0210877b>] do_signal+0x9b/0x180
 [<02194f04>] sys_select+0x444/0x530
 [<0210ab6d>] handle_IRQ_event+0x5d/0xb0
 [<02108897>] do_notify_resume+0x37/0x40
VZDQ: detached inode not in creation, orig 5, dev dm-0, inode 73828038, fs ext3
current 8753 (mysqld), VE 102, time 77463.671746
 [<ed79c296>] vzquota_det_qmblk_recalc+0x256/0x270 [vzdquota]
 [<ed79c302>] vzquota_inode_qmblk_recalc+0x52/0x70 [vzdquota]
 [<ed79c573>] vzquota_inode_data+0xb3/0xf0 [vzdquota]
 [<ed79c449>] vzquota_inode_init_call+0x19/0x80 [vzdquota]
 [<021fb940>] ext3_delete_inode+0x0/0x120
 [<ed79e47f>] vzquota_initialize+0xf/0x20 [vzdquota]
 [<0219d983>] generic_delete_inode+0x173/0x190
 [<021996f6>] dput_recursive+0x56/0x230
 [<0217f333>] __fput+0x123/0x1b0
 [<0217d4c2>] filp_close+0x52/0xa0
 [<0212e17a>] put_files_struct+0x6a/0xf0
 [<0212f6d0>] do_exit+0x1b0/0x560
 [<02138665>] __dequeue_signal+0x115/0x210
 [<0212fb60>] do_group_exit+0x40/0xb0
 [<0213ab3b>] get_signal_to_deliver+0x2ab/0x410
 [<0210877b>] do_signal+0x9b/0x180
 [<02194f04>] sys_select+0x444/0x530
 [<0210ab6d>] handle_IRQ_event+0x5d/0xb0
 [<02108897>] do_notify_resume+0x37/0x40
VPS: 102: stopped
VPS: 102: started
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
Fatal resource shortage: privvmpages, UB 102.
VPS: 102: stopped
VPS: 102: started
VPS: 102: stopped
VPS: 102: started
VPS: 102: stopped
VPS: 102: started


Indeed, this VE loaded Bind, Apache (mod_security and other modules..), MySQL, PostgreSQL, Postfix, Cyrus IMAP, vsftp, denyhosts, ..

The occurrence of problem is really unpredictable. What i m guilty of is that it could be due to my poor configuration over those daemons.. Sometime during ftp, i get this problem.. Right now i was thinking to turn off mod_security which i suspect the most and according to apache error log.

I dont mind to pm this VE login details. Please let me know if you might need sudoer. So that i will create temp account and add in to wheel group for temporary..

thanks....


http://static.openvz.org/userbars/openvz-user.png
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: rsync problem
Next Topic: *SOLVED* Disc disappear from fstab
Goto Forum:
  


Current Time: Sun Sep 01 07:25:48 GMT 2024

Total time taken to generate the page: 0.07803 seconds