Sorry for repeating me. I had already presented my site here:

www.tchitchak.com

The site is working (translation filters apart, ET is still in dev state!), but it's running really slow. Impossible to have constant and steady loading time. If the content is cached the page can load quickly, except that it remains unpredictable. On the other side, an important link ( language switching for example) will take dozen of seconds loading. No to mention admin pages. It took 10 min to make a complete clear cache. Although there's very little content on the site, no active users.

Server info: It's a VPS. 512Mo Ram, 1Go burstable. Ubuntu 11.04, Apache, Mysql.

Site info: using about hundred of modules for different purposes ( only translations modules takes 33% of them ).
Every single on board cache option is on ( blocks, views...). css and js aggregating is on.

Cache modules: Boost, apc for php, auth_cache for authenticated users.

Nothing improves site performance.

Here's the site ab test results:

Server Software: Apache/2.2.17
Server Hostname: www.tchitchak.com
Server Port: 80

Document Path: /
Document Length: 84633 bytes

Concurrency Level: 10
Time taken for tests: 18.075 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 8572552 bytes
HTML transferred: 8533869 bytes
Requests per second: 5.53 [#/sec] (mean)
Time per request: 1807.463 [ms] (mean)
Time per request: 180.746 [ms] (mean, across all concurrent requests)
Transfer rate: 463.17 [Kbytes/sec] received

Connection Times (ms)
min mean[+/-sd] median max
Connect: 182 216 254.7 186 2736
Processing: 1134 1312 344.0 1207 2734
Waiting: 185 288 307.8 191 1530
Total: 1319 1528 427.6 1397 4048

Percentage of the requests served within a certain time (ms)
50% 1397
66% 1405
75% 1425
80% 1434
90% 1818
95% 2845
98% 2927
99% 4048
100% 4048 (longest request)

I checked with dev module if there were some db long queries, but that's not the issue. Page generating time is the problem, so it's application related.

I assume it's somehow possible to obtain a reasonable loading time, but at the moment, I'm short of means to achieve it. Where to start?

Thanks in advance.

Comments

nevets’s picture

Given you are doing 100 requests in 18 seconds, a 4 second maximum seems good. At that rate you are doing not simply a page load test put a mini stress test. Just visiting the front page shows a quick page load.

heretic381’s picture

What do you call mini stress test?

5 request per sec seems ok to you?

And what about admin pages:

status report: 14 sec.

By the way, does anyone know what this warning means? It's related to user register.
Warning: session_start(): Cannot send session cache limiter - headers already sent in drupal_session_start() (line 287 of /var/www/includes/session.inc).