Apache HIGH CPU usage!

General stuff of the Tine 2.0 effort

Apache HIGH CPU usage!

Postby szafar » Thu Aug 16, 2012 10:17 pm

Hi Guys,

i came across a new problem, we have some users with huge emails data ( 4-5 are under 5 GB each, and 2 are with more than 10 GB). we are using HMAILSERVER on backend. When we add their IMAP accounts into TINE20 (Milan), its respond time increase a lo with HIGH CPU usage up to 100% all time. after seeing all this, we configure 'memcached' but its not seems to help alot. CPU usage decreased a bit but still in 90%. i have seen alot of thing, and lot of thing but nothing working for me.

here is the setup file:

<?php
return array (
'setupuser' =>
array (
'username' => 'admin',
'password' => '011222222222222222222222222',
),
'database' =>
array (
'adapter' => 'pdo_mysql',
'host' => '192.168.1.42',
'port' => 3306,
'dbname' => 'xxxx',
'username' => 'xxxx',
'password' => 'xxxx',
'tableprefix' => 'xxxx_',
),
'logger' =>
array (
'active' => false,
'filename' => 'C:\\WINDOWS\\TEMP\\tine20.log',
'priority' => 5,
),
'caching' =>
array (
'active' => true,
'path' => 'C:\\WINDOWS\\TEMP',
'lifetime' => 3600,
),
'tmpdir' => 'C:\\WINDOWS\\TEMP',
'session' =>
array (
'lifetime' => 86400,
'backend' => 'File',
'path' => 'C:\\WINDOWS\\TEMP\\tine20_sessions',
'host' => 'localhost',
'port' => 6379,
),
'filesdir' => 'C:\\WINDOWS\\TEMP',
'mapPanel' => false,
'profiler' => 'true',
'queryProfiles' => true,
'cronuserid' => '7ad41bc0c70ed0dae590a3147f5dba5431eb21f1',
'sessionIpValidation' => FALSE,
'caching' =>
array (
'active' => true,
'backend' => 'Memcached',
'host' => '127.0.0.1',
'port' => 11211,
),
'pdfexport' => array(
'fontpath' => '/var/www/tine20/test/unifont.ttf',
'fontpathbold' => '/var/www/tine20/test/unifont.ttf',
'fontembed' => true
),
'actionqueue' =>
array (
'adapter' => 'Db',
'driverOptions' =>
array (
'host' => '192.168.1.44',
'dbname' => 'xxxx',
'username' => 'xxxx',
'password' => 'xxxx',
'type' => 'pdo_mysql',
),
),
);


i need to fix this thing quickly,
any help?

Thanks
szafar
 
Posts: 13
Joined: Mon Jun 25, 2012 11:38 pm

Re: Apache HIGH CPU usage!

Postby ph_il » Fri Aug 24, 2012 2:11 pm

the email message cache needs to be filled. but only the headers are cached. during the cache update, cpu usage could go up, but > 90% is a lot. perhaps you need to run this overnight? should not take longer than a few ours to fill the cache and afterwards it should be OK.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.tine20.net (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3513
Joined: Fri Mar 07, 2008 11:41 am


Return to General [English]

Who is online

Users browsing this forum: factormedia and 5 guests

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »