OpenVZ Forum


Home » General » Support » Weird memory numbers
Re: Weird memory numbers [message #20203 is a reply to message #20198] Thu, 13 September 2007 09:21 Go to previous messageGo to previous message
dagr is currently offline  dagr
Messages: 83
Registered: February 2006
Member
4. So the only thing to understand left: why privvmpages << "writeable/private" * 100, correct?

Yes

1. MPM prefork implies simple forking just like in Apache 1.3 - no threads at all.
tgid - you mean gid ?

[root@vps-10811 extra]# ps -eo "sz,size,rss,vsize,pid,gid,ppid,cmd" | grep httpd
                                                                                
 1452 1248 2488 5808 25791   0     1 /vps_core/apache-2.2.3/bin/httpd -k start  
 1485 1380 1704 5940 30233   2 25791 /vps_core/apache-2.2.3/bin/httpd -k start  
 1485 1380 1700 5940 30234   2 25791 /vps_core/apache-2.2.3/bin/httpd -k start  


group 2 - daemon

2.
[root@vps-10811 extra]# pmap -d 30233                                    
30233:   /vps_core/apache-2.2.3/bin/httpd -k start                       
Address   Kbytes Mode  Offset           Device    Mapping                
00111000      56 r-x-- 0000000000000000 007:0000f libpthread-2.3.4.so    
0011f000       4 r---- 000000000000d000 007:0000f libpthread-2.3.4.so    
00120000       4 rw--- 000000000000e000 007:0000f libpthread-2.3.4.so    
00121000       8 rw--- 0000000000121000 000:00000   [ anon ]             
00123000      76 r-x-- 0000000000000000 007:0000f libgssapi_krb5.so.2.2  
00136000       4 rw--- 0000000000013000 007:0000f libgssapi_krb5.so.2.2  
00137000      60 r-x-- 0000000000000000 007:0000f libresolv-2.3.4.so     
00146000       4 r---- 000000000000f000 007:0000f libresolv-2.3.4.so     
00147000       4 rw--- 0000000000010000 007:0000f libresolv-2.3.4.so     
00148000       8 rw--- 0000000000148000 000:00000   [ anon ]             
001fc000      36 r-x-- 0000000000000000 007:0000f libnss_files-2.3.4.so  
00205000       4 r---- 0000000000008000 007:0000f libnss_files-2.3.4.so  
00206000       4 rw--- 0000000000009000 007:0000f libnss_files-2.3.4.so  
00229000       8 r-x-- 0000000000000000 007:0000f libuuid.so.1.2         
0022b000       4 rw--- 0000000000001000 007:0000f libuuid.so.1.2         
002c5000      60 r-x-- 0000000000000000 007:0000f libz.so.1.2.1.2        
002d4000       4 rw--- 000000000000e000 007:0000f libz.so.1.2.1.2        
002f5000      76 r-x-- 0000000000000000 0fd:00000 libaprutil-1.so.0.2.7  
00308000       4 rw--- 0000000000012000 0fd:00000 libaprutil-1.so.0.2.7  
00319000      84 r-x-- 0000000000000000 007:0000f ld-2.3.4.so            
0032e000       4 r---- 0000000000015000 007:0000f ld-2.3.4.so            
0032f000       4 rw--- 0000000000016000 007:0000f ld-2.3.4.so         
00349000     100 r-x-- 0000000000000000 0fd:00000 libexpat.so.0.1.0   
00362000       8 rw--- 0000000000019000 0fd:00000 libexpat.so.0.1.0   
00385000     124 r-x-- 0000000000000000 0fd:00000 libapr-1.so.0.2.7   
003a4000       4 rw--- 000000000001f000 0fd:00000 libapr-1.so.0.2.7   
003a9000     132 r-x-- 0000000000000000 007:0000f libm-2.3.4.so       
003ca000       4 r---- 0000000000020000 007:0000f libm-2.3.4.so       
003cb000       4 rw--- 0000000000021000 007:0000f libm-2.3.4.so       
003e9000      32 r-x-- 0000000000000000 007:0000f librt-2.3.4.so      
003f1000       4 r---- 0000000000007000 007:0000f librt-2.3.4.so      
003f2000       4 rw--- 0000000000008000 007:0000f librt-2.3.4.so      
003f3000      40 rw--- 00000000003f3000 000:00000   [ anon ]          
00475000     196 r-x-- 0000000000000000 007:0000f libssl.so.0.9.7a    
004a6000      12 rw--- 0000000000031000 007:0000f libssl.so.0.9.7a    
004a9000    1172 r-x-- 0000000000000000 007:0000f libc-2.3.4.so       
005ce000       8 r---- 0000000000124000 007:0000f libc-2.3.4.so       
005d0000       8 rw--- 0000000000126000 007:0000f libc-2.3.4.so       
005d2000       8 rw--- 00000000005d2000 000:00000   [ anon ]          
0097f000     128 r-x-- 0000000000000000 007:0000f libk5crypto.so.3.0  
0099f000       4 rw--- 0000000000020000 007:0000f libk5crypto.so.3.0  
009a3000     396 r-x-- 0000000000000000 007:0000f libkrb5.so.3.2      
00a06000       8 rw--- 0000000000063000 007:0000f libkrb5.so.3.2      
00b87000       8 r-x-- 0000000000000000 007:0000f libcom_err.so.2.1   
00b89000       4 rw--- 0000000000001000 007:0000f libcom_err.so.2.1   
00bf4000       8 r-x-- 0000000000000000 007:0000f libdl-2.3.4.so      
00bf6000       4 r---- 0000000000001000 007:0000f libdl-2.3.4.so        
00bf7000       4 rw--- 0000000000002000 007:0000f libdl-2.3.4.so        
00cf1000     848 r-x-- 0000000000000000 007:0000f libcrypto.so.0.9.7a   
00dc5000      72 rw--- 00000000000d4000 007:0000f libcrypto.so.0.9.7a   
00dd7000      12 rw--- 0000000000dd7000 000:00000   [ anon ]            
00f15000      20 r-x-- 0000000000000000 007:0000f libcrypt-2.3.4.so     
00f1a000       4 r---- 0000000000004000 007:0000f libcrypt-2.3.4.so     
00f1b000       4 rw--- 0000000000005000 007:0000f libcrypt-2.3.4.so     
00f1c000     156 rw--- 0000000000f1c000 000:00000   [ anon ]            
08048000     668 r-x-- 0000000000000000 0fd:00000 httpd                 
080ef000      16 rw--- 00000000000a6000 0fd:00000 httpd                 
080f3000      20 rw--- 00000000080f3000 000:00000   [ anon ]            
09520000    1080 rw--- 0000000009520000 000:00000   [ anon ]            
b7fc2000      48 rw-s- 0000000000000000 000:00033   [ anon ]            
b7fce000      20 rw--- 00000000b7fce000 000:00000   [ anon ]            
bfff7000      28 rw--- 00000000bfff7000 000:00000   [ stack ]           
ffffe000       4 ----- 0000000000000000 000:00000   [ anon ]            
mapped: 5944K    writeable/private: 1564K    shared: 48K                




3. So you say that real consumption is oomguarpages. May be oomguarpages << privmpages when processes idle or processing same document - in other words, in docs you call privmpages some kind of memusage prediction. So in what case apache will consume privmpages which i see now?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Opensuse Template ... Discontinued?
Next Topic: Can not make VE work on external IP
Goto Forum:
  


Current Time: Sun Jul 20 23:19:57 GMT 2025

Total time taken to generate the page: 0.09834 seconds