Jump to content

Optimizing whmcs 6 performance


TommyK

Recommended Posts

Hi,

 

I am getting quite bad performance with WHMCS 6 compared to my old installation.

 

The problem is that I have changed server entirely, but php 5.6 alone should give a boost from 5.3. Now my clientarea.php is loading in 0.250s which is ~150ms more than my old installation.

 

---
#php -v
PHP 5.6.9-0+deb8u1 (cli) (built: Jun  5 2015 11:03:27) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
   with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.14, Copyright (c) 2002-2015, by ionCube Ltd.
   with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
---

---
# nginx -v
nginx version: nginx/1.6.2
---

---
# ab -n 1 [url]https://*******/clientarea.php[/url]
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, [url]http://www.zeustech.net/[/url]
Licensed to The Apache Software Foundation, [url]http://www.apache.org/[/url]

Benchmarking ******* (be patient).....done


Server Software:        nginx/1.6.2
Server Hostname:        *******
Server Port:            443
SSL/TLS Protocol:       TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256

Document Path:          /clientarea.php
Document Length:        8971 bytes

Concurrency Level:      1
Time taken for tests:   0.245 seconds
Complete requests:      1
Failed requests:        0
Total transferred:      9320 bytes
HTML transferred:       8971 bytes
Requests per second:    4.08 [#/sec] (mean)
Time per request:       244.931 [ms] (mean)
Time per request:       244.931 [ms] (mean, across all concurrent requests)
Transfer rate:          37.16 [Kbytes/sec] received

Connection Times (ms)
             min  mean[+/-sd] median   max
Connect:        4    4   0.0      4       4
Processing:   241  241   0.0    241     241
Waiting:      236  236   0.0    236     236
Total:        245  245   0.0    245     245
---

Anyone have any ideas on how to speed things up? How does your performance compare to ours?

Link to comment
Share on other sites

  • 6 months later...

Having the same performance issues on mine. index.php (only 13.5kb in size) has a GET request of 800ms - 2.3s. Super frustrating. WHMCS has provided ZERO assistance in coming up with a solution. Other users are consistently seeing the same issues on several different servers: http://forum.whmcs.com/showthread.php?104715-WHMCS-slowness-performance-problems

Link to comment
Share on other sites

Hello,

 

Is this related to the WHMCS front-end template or WHMCS itself? It would be interesting to know if it's the new Six template that is causing the loading issues. It's a much heavier template than the previous default template.

 

I don't believe that's the issue. Using the same template from v5.3.2 which had an average GET request of 200ms for index.php, now takes 1.2s-2s on the same page.

Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated