AnsweredAssumed Answered

Memory swaping on Linux with SugarCRM CE

Question asked by Diego Najar on Jul 26, 2016
Latest reply on Jul 27, 2016 by Diego Najar

Hi,

we recently installed SugarCRM CE version 6.5.23, on a virtual machine over VMware, with the next features:

- Centos 6.6

- 16GB RAM

- 16 CPU

- 600GB

 

We have some problem with the configuration because the sever is swaping a lot.

 

Here are some information:

 

[root@sugar]# free -m

             total       used       free     shared    buffers     cached

Mem:         15948      15680        268          0          1        181

-/+ buffers/cache:      15497        451

Swap:         1635       1267        368

 

[root@sugar]# cat /proc/cpuinfo | grep processor | wc -l

16

 

In the file of apache configuration, /etc/httpd/conf/httpd.conf

<IfModule prefork.c>

ServerLimit             25

Timeout 30

KeepAlive On

MaxKeepAliveRequests    100

MinSpareServers         1

MaxSpareServers         5

StartServers            5

MaxClients              25

MaxRequestsPerChild     1000

LimitRequestFields      500

</IfModule>

 

/etc/php.ini

memory_limit = 512M

 

[root@sugar]# ps aux | grep http | wc -l

27

 

Thanks for the advice!

Diego

Outcomes