Hi Adi, Quick trick: You can try reduce the number of apache process. ( try to play with some <IfModule prefork.c> values in /etc/httpd/conf/httpd.conf file... )
This should help you to lower your memory usage on your system but, keep in mind that lowering the number of server will also lower the amount of available apache process for handling any requests for your captive portal. M-A Le 11-02-01 09:46, Melcher, Kerry a écrit : > Hi Adi, > It looks like you only have 644Mb of RAM in your system. The ZEN > documentation shows that you need 1Gb of RAM for the VM. If you add more > memory to your VM system the utilization should go down. > > Kerry Melcher > Supervisor of Network Services > South Kitsap School District > Phone: 360-874-7031 > > ________________________________ > > From: Adi Ariyanto [mailto:[email protected]] > Sent: Mon 1/31/2011 11:05 PM > To: [email protected] > Subject: [Packetfence-users] Packetfence Memory Usage > > > > Hi.. > > I want ask what normal PF memory usage that your PF have ? my PF Zen run with > memory 640 M and memory usage is 91 %, I check with top command and found > that httpd perhaps cause this high memory usage. > > > > What can I do to make my PF memory usage between 50 - 60 %, 91 I think it too > high > > > > [root@localhost ~]# top > > top - 13:59:40 up 23:32, 2 users, load average: 0.25, 0.28, 0.19 > > Tasks: 143 total, 2 running, 141 sleeping, 0 stopped, 0 zombie > > Cpu(s): 0.3%us, 0.3%sy, 0.0%ni, 88.4%id, 0.0%wa, 9.3%hi, 1.7%si, 0.0%st > > Mem: 644964k total, 602704k used, 42260k free, 14528k buffers > > Swap: 1048568k total, 157728k used, 890840k free, 40484k cached > > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > 7793 root 18 0 2420 1052 800 R 0.3 0.2 0:00.07 top > > 1 root 15 0 2152 628 544 S 0.0 0.1 0:00.84 init > > 2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0 > > 3 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 > > 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 > > 5 root 10 -5 0 0 0 S 0.0 0.0 0:00.37 events/0 > > 6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper > > 7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread > > 10 root 10 -5 0 0 0 S 0.0 0.0 0:00.39 kblockd/0 > > 11 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid > > 73 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0 > > 76 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd > > 78 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 kseriod > > 140 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd > > 141 root 15 0 0 0 0 S 0.0 0.0 0:00.77 pdflush > > 142 root 21 0 0 0 0 S 0.0 0.0 0:03.77 pdflush > > 143 root 10 -5 0 0 0 S 0.0 0.0 0:01.38 kswapd0 > > 144 root 19 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0 > > 297 root 18 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused > > 327 root 10 -5 0 0 0 S 0.0 0.0 0:00.01 mpt_poll_0 > > 328 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 mpt/0 > > 329 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0 > > 332 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0 > > 333 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux > > 338 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kstriped > > 347 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ksnapd > > 358 root 17 -5 0 0 0 S 0.0 0.0 0:08.68 kjournald > > 383 root 19 -5 0 0 0 S 0.0 0.0 0:00.00 kauditd > > 416 root 19 -4 2364 532 396 S 0.0 0.1 0:00.43 udevd > > 584 pf 18 0 22388 3404 1696 S 0.0 0.5 0:00.01 httpd > > 586 pf 15 0 26084 9424 3900 S 0.0 1.5 0:00.30 httpd > > 587 pf 15 0 25564 8908 3848 S 0.0 1.4 0:00.46 httpd > > 1125 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kmpathd/0 > > 1126 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kmpath_handlerd > > 1148 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald > > 1156 root 21 0 2868 724 512 S 0.0 0.1 0:00.05 dhcpd > > 1831 root 14 -4 12620 724 544 S 0.0 0.1 0:00.06 auditd > > > > Regards, > > Adi Ariyanto > > > The above message is for the intended recipient only and may contain > confidential information and/or may be subject to legal privilege. If you are > not the intended recipient, you are hereby notified that any dissemination, > distribution, or copying of this message, or any attachment, is strictly > prohibited. If it has reached you in error please inform us immediately by > reply e-mail or telephone, reversing the charge if necessary. Please delete > the message and the reply (if it contains the original message) thereafter. > Thank you. > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > > > _______________________________________________ > Packetfence-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/packetfence-users -- Marc-Andre Jutras [email protected] :: +1.514.447.4918 (x110) :: http://www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Packetfence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
