Guest User!

You are not Sophos Staff.

[8.910][BUG] Webadmin excessively bloated

I know that with all the new changes to webadmin some sacrifices will have to be made to the memory footprint but this is kind of excessive. I have a 2GB vmware instance running and after the update and starting snort, I am already swapping about 170Mb ram. What I have noticed is that there is a new process called asg.plx introduced in this version and whenever webadmin is launched, it takes up about 150megs of ram. I don't have anything new enabled for this version like hotspot etc. so the usage has increased for some other reason compared to previous versions. This added to the cssd daemon adds up to be almost 300megs increase in baseline compared to v8.3x

There are other threads about wwwrun cpu usage and I am sure it will be optimized but the memory footprint of webadmin is getting very large at this point. I hate to cry over memory usage all the time but something has to be optimized somewhere. 

gatekeeper:/var/log # ps aux |grep wwwrun
wwwrun    4327  0.0  0.0   8320  1732 ?        S    12:46   0:00 /bin/httpd -f /etc/httpd/httpd.conf
wwwrun    7920  0.9  2.8  74268 59548 ?        S    13:15   0:06 /var/webadmin/index.plx
wwwrun    7954  0.4  2.1  54768 44656 ?        S    13:15   0:03 /var/webadmin/asg.plx
wwwrun    7955  0.5  2.1  54768 44792 ?        S    13:15   0:03 /var/webadmin/asg.plx
wwwrun    7957  0.5  2.1  54768 43944 ?        S    13:15   0:03 /var/webadmin/asg.plx
wwwrun    8229  0.2  1.0  36256 22284 ?        S    13:17   0:01 /var/jape/index.plx
wwwrun    8286  0.0  0.1   9360  3600 ?        S    13:19   0:00 /bin/httpd -f /etc/httpd/httpd.conf
wwwrun    8324  1.2  2.3  60468 48092 ?        S    13:21   0:04 /var/webadmin/index.plx
wwwrun    8325  1.3  2.3  60688 48268 ?        S    13:21   0:04 /var/webadmin/index.plx
wwwrun    8326  0.9  2.1  55988 43808 ?        S    13:21   0:03 /var/webadmin/index.plx
wwwrun    8395  0.0  0.1   9368  3504 ?        S    13:22   0:00 /bin/httpd -f /etc/httpd/httpd.conf
root      8633  0.0  0.0   2168   472 pts/0    D+   13:26   0:00 grep wwwrun


Regards
Bill
Parents
  • yeah this also means the 2 gig appliances are going to be struggling as they are now under 8.3.

    Owner:  Emmanuel Technology Consulting

    http://etc-md.com

    Former Sophos SG(Astaro) advocate/researcher/Silver Partner

    PfSense w/Suricata, ntopng, 

    Other addons to follow

  • yeah this also means the 2 gig appliances are going to be struggling as they are now under 8.3.

    The ram acts a little different in hardware appliance compared to a virtual one but you are right. I only have about half the IPS rules enabled but I have local cff database running and I am still swapping with uptime of less than a day and swappiness at zero. If you do major webadmin work with multiple admins at the same time, I bet that ram usage would be even higher.

    Regards
    Bill

    Edit: Here is the output of ps from one of our ASGs at work (v8.31)before webadmin launch
    authority:/home/login # ps aux |grep wwwrun
    
    wwwrun    8535  0.0  0.0   6800   956 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    8553  0.0  0.0   6864   972 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    root     29329  0.0  0.0   3476   760 pts/0    S+   10:49   0:00 grep wwwrun

    and after launching webadmin
    authority:/home/login # ps aux |grep wwwrun
    
    wwwrun    8535  0.0  0.0   6800  1360 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    8553  0.0  0.1   7796  3800 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun   29490  0.2  0.1   7880  3928 ?        S    10:49   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun   29491  9.7  2.9  63980 61956 ?        S    10:49   0:08 /var/webadmin/index.plx
    root     29651  0.0  0.0   3476   756 pts/0    S+   10:51   0:00 grep wwwrun
Reply
  • yeah this also means the 2 gig appliances are going to be struggling as they are now under 8.3.

    The ram acts a little different in hardware appliance compared to a virtual one but you are right. I only have about half the IPS rules enabled but I have local cff database running and I am still swapping with uptime of less than a day and swappiness at zero. If you do major webadmin work with multiple admins at the same time, I bet that ram usage would be even higher.

    Regards
    Bill

    Edit: Here is the output of ps from one of our ASGs at work (v8.31)before webadmin launch
    authority:/home/login # ps aux |grep wwwrun
    
    wwwrun    8535  0.0  0.0   6800   956 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    8553  0.0  0.0   6864   972 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    root     29329  0.0  0.0   3476   760 pts/0    S+   10:49   0:00 grep wwwrun

    and after launching webadmin
    authority:/home/login # ps aux |grep wwwrun
    
    wwwrun    8535  0.0  0.0   6800  1360 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun    8553  0.0  0.1   7796  3800 ?        S    08:27   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun   29490  0.2  0.1   7880  3928 ?        S    10:49   0:00 /bin/httpd -f /etc/httpd/httpd.conf
    wwwrun   29491  9.7  2.9  63980 61956 ?        S    10:49   0:08 /var/webadmin/index.plx
    root     29651  0.0  0.0   3476   756 pts/0    S+   10:51   0:00 grep wwwrun
Children
No Data