Hi,

I'm in the early stages of testing qpsmtpd-apache.

I'm using the CentOS httpd-2.2.3-22 package, and the following
qpsmtpd.conf file:

Listen 0.0.0.0:25 smtp
AcceptFilter smtp none

<Perl>
    use lib qw( /usr/lib/perl5/site_perl );
    use Apache::Qpsmtpd;
    $ENV{QPSMTPD_CONFIG} = "/etc/qpsmtpd";
</Perl>

<VirtualHost _default_:25>
    PerlModule Apache::Qpsmtpd
    PerlProcessConnectionHandler Apache::Qpsmtpd
</VirtualHost>

I was struck that the apache processes seem to use a lot of memory
compared to qpsmtpd-forkserver:

e.g.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND


 7876 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.07 httpd


 7877 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.07 httpd


 7878 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.07 httpd


 7879 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.08 httpd


 7880 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.07 httpd


 7881 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.07 httpd


 7882 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.07 httpd


 7883 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.06 httpd


 7884 apache    15   0  255m  18m 2808 S  0.0  1.8   0:00.06 httpd


However, that 255m is shared across all processes, isn't it? i.e. the
amount of memory used per connection is relatively small, right?

R.

Reply via email to