• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Very slow scripts working

Status
Not open for further replies.

liss

Chevereto Member
I have dedicated (powerful server) server in France only to run Chevereto scripts. But im facing VERY slow site load. I added time counters in index.php to check how many seconds it woking and sometimes I see 20 seconds for index page. I thought maybe its bcos of server or internet connection but my hoting company checked server and connection and say server is OK not loaded even on 1% and I have 1Gbps shared line with only 10% of load.
Please help me to solve this problem
Thanks.
 
We have:
------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 1921461120 5250676 1818599180 1% /
tmpfs 8144044 0 8144044 0% /dev/shm
/dev/sda1 194241 59998 124003 33% /boot
------------

Tests:
------------
1) hdparm -Tt /dev/sda

/dev/sda:
Timing cached reads: 23660 MB in 2.00 seconds = 11849.36 MB/sec
Timing buffered disk reads: 444 MB in 3.01 seconds = 147.32 MB/sec

2) dd if=/dev/zero of=/root/testfile bs=1G count=1 oflag=direct
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 6.49342 s, 165 MB/s

3) dd if=/dev/zero of=/root/testfile bs=1G count=1 oflag=dsync
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 7.14608 s, 150 MB/s


Pretty fast.
 
I would test it with a different script to exclude a software problem on your server.


EDIT: BTW: CentOS 6 does not offer a official PHP 5.4 which is needed. What PHP version do you use?
 
Last edited:
php -v
PHP 5.4.39 (cli) (built: Mar 19 2015 06:59:35)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies



Will try other scripts maybe....
 
Internally you can test the system execution time by simply tracking the execution time in PHP which you can do with xdebug profiler or with a simple microtime echo.

I've tested Chevereto in several servers and is very fast so I'm guessing that the issue could be in your server setup and that could mean bad PHP settings, slow hardware, bad network, etc. Sometimes a website can feel slow only because the network is bad.
 
Status
Not open for further replies.
Back
Top