[9.060][QUESTION] Two postgres processes each taking 1,1GB RAM?

Hi there,

is it normal that there are two postgres processes running, each taking 1,1GB RAM?


* PID * * *TID * * MINFLT * *MAJFLT * * VSTEXT * *VSLIBS * * *VDATA * *VSTACK * * *VSIZE * * *RSIZE * * VGROW * * *RGROW * *SWAPSZ * * RUID * * * *EUID * * * * *MEM * * CMD * * * *1/3
 9836        -         16         0      5172K     1940K       544K      136K       1.1G     47020K        0K         0K        0K     postgres    postgres       1%     postgres
25233        -       7200         0        72K    12000K     46696K      136K     60152K     40512K        0K         0K     5208K     root        root           1%     confd.plx
10564        -          0         0      5172K     2084K      2500K      136K       1.1G     36588K        0K         0K        0K     postgres    postgres       1%     postgres



Regards
Robert
Parents
  • Depending on your current configuration and used feature set, I think this is still acceptable. For comparison, on my current ASG with the latest beta, I have about 20 postgres processes with VSIZEs around 100MB (each) and RSIZEs varying from about 1-30 MB.

    Also, VSIZE only represents the "Virtual" address range of the process that has been requested/reserved, but not the amount of memory that is actually used. Since both processes have not swapped anything (SWAPSZ), the value of RSIZE (Resident memory) might be a closer approximation of the amount of memory those processes have actually accessed/used (and some of this might even be shared between those two processes).
    Regards,
      Frank
Reply
  • Depending on your current configuration and used feature set, I think this is still acceptable. For comparison, on my current ASG with the latest beta, I have about 20 postgres processes with VSIZEs around 100MB (each) and RSIZEs varying from about 1-30 MB.

    Also, VSIZE only represents the "Virtual" address range of the process that has been requested/reserved, but not the amount of memory that is actually used. Since both processes have not swapped anything (SWAPSZ), the value of RSIZE (Resident memory) might be a closer approximation of the amount of memory those processes have actually accessed/used (and some of this might even be shared between those two processes).
    Regards,
      Frank
Children
No Data