Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-01-03 14:55:17

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Textpattern running slow on Parallels Plesk

Hello,

I’ve textpattern running on windows server on a shared hosting.
Textpattern seems to work really very slow.
Probably its problem with php running slow. I’ve read about using php.ini in the textpattern’s directory.
But I dont see it helping.

Is there anything I can do to fix this issue. I am aware of the fact that php on windows server can not be as fast as that of linux servers but I need to get it to work faster.

If this helps, the server is Parallels Plesk Panel 9.5. The website is on shared hosting thus there’s nothing much I can do with Apache or anything that relates to php.

Its really very urgent.

Thank you.

Offline

#2 2012-01-03 15:29:58

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Textpattern running slow on Parallels Plesk

Hi Vineet.

Is the whole website running slow? Or just one (or a few) particular page?
Also, could you post a tag trace?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2012-01-03 15:36:05

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Textpattern running slow on Parallels Plesk

@maniqui

Hi,
No the whole website is running slow. Thanks for introducing me with Tag Trace. You can find it below.

.

————————-x————————-

.

<!— Runtime: 0.0496 —>
<!— Query time: 0.015798 —>
<!— Queries: 10 —>
<!— Memory: 3688Kb, <txp:site_url /> —>
<!— txp tag trace:
[SQL (0.0113189220428): select name, data from txp_lang where lang=‘en-gb’ AND ( event=‘public’ OR event=‘common’)]
[SQL (0.00108194351196): select name, code, version from txp_plugin where status = 1 AND type IN (0,1) order by load_order]
[SQL (0.00021505355835): select page, css from txp_section where name = ‘default’ limit 1]
[SQL (0.00086498260498): select host from txp_log where ip=‘118.94.135.116’ limit 1]
[SQL (0.000365972518921): insert into txp_log set `time`=now(),page=’/home/Index.php’,ip=‘118.94.135.116’,host=‘118.94.135.116’,refer=’‘,status=‘200’,method=‘GET’]
[SQL (0.000673055648804): select user_html from txp_page where name=‘default’]
[Page: default]
<txp:output_form form=“meta” /> [SQL (0.00020694732666): select Form from txp_form where name=‘meta’] [Form: meta] <txp:site_name /> <txp:site_slogan /> <txp:css format=“link” /> <txp:rsd /> <txp:site_url /> <txp:output_form form=“fancybox” /> [SQL (0.000200033187866): select Form from txp_form where name=‘fancybox’] [Form: fancybox] <txp:site_url /> <txp:site_url /> <txp:site_url /> <txp:site_url /> <txp:site_url /> <txp:site_url /> <txp:site_url />
<txp:if_section name=”“> [<txp:if_section name=”“>: true]
</txp:if_section>
<txp:text item=“go_content” />
<txp:text item=“go_nav” />
<txp:text item=“go_search” />
<txp:soo_if_frontpage> [<txp:soo_if_frontpage>: true]
</txp:soo_if_frontpage>
<txp:output_form form=“footer” /> [SQL (0.000183820724487): select Form from txp_form where name=‘footer’] [Form: footer]
[ ~~~ secondpass ~~~ ] —>

.
——————

I hope this helps. Thanks for quick reply!

Offline

#4 2012-01-03 15:45:06

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Textpattern running slow on Parallels Plesk

vineonardo wrote:

I’ve textpattern running on windows server on a shared hosting.

Please, could you be more specific of what the server’s configuration actually is? Can you post your high diagnostics report (TXP/Admin/Diagnostics > Select High)?

Textpattern seems to work really very slow.

Any statistics of how slow and what specifically is slow? Could provide a tag trace (along with the provided execution time information) from a slow page?

I’ve read about using php.ini in the textpattern’s directory

You have read of what? PHP.ini is for server-wide runtime configuration. As of PHP 5.3.0, PHP does support directory-based user level configuration files, but that needs to be enabled first of all and only offers same level of access as setting configuration directives from .htaccess files.

I am aware of the fact that php on windows server can not be as fast as that of linux servers but I need to get it to work faster.

I’m not exactly sure what you are aware of. That claim is somewhat moot.

the server is Parallels Plesk Panel 9.5.

Parallels’ Plesk is a control panel (application).

Offline

#5 2012-01-03 15:53:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Textpattern running slow on Parallels Plesk

vineonardo wrote

No the whole website is running slow. […]

<!— Runtime: 0.0496 —>
<!— Query time: 0.015798 —>
<!— Queries: 10 —>
<!— Memory: 3688Kb, <txp:site_url /> —>

That page’s runtime seems excellent. Textpattern and your pages are executed very fast. If the pages are served slowly, then bottleneck is somewhere else than PHP’s execution speed, or Textpattern. Like in the server configuration.

Offline

#6 2012-01-03 17:28:19

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Textpattern running slow on Parallels Plesk

@Gocom

Thanks for reply. I am really a newbie in servers & also new to textpattern. This is very first time I am using Windows servers.
As you said that “bottleneck is somewhere else than PHP’s execution speed, or Textpattern. Like in the server configuration.”
Does it mean it’s a problem with server?
If that’s so then I am unable to understand how html (with flash content which also loads pretty fast) is loading with normal speed?
Is it possible that server is affecting php scripts?

I am really worried about the performance so I am asking so many questions, I really appreciate your help.

Below is complete diagnostics report details.
Thanks again!

Textpattern version: 4.4.1 (r3575)
Last Update: 2011-12-20 09:23:16/2011-06-17 17:47:14
Document root:
$path_to_site: C:\inetpub\vhosts\domainname.com\httpdocs\home
Textpattern path: C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern
Permanent link mode: messy
upload_tmp_dir: C:\Windows\Temp
Temporary directory path: http://domainname.com/home/textpattern/tmp
Site URL: domainname.com/home
PHP version: 5.2.13
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: UTC
Server Local Time: 2012-01-03 17:08:00
DST enabled?: 0
Automatically adjust DST setting?: 0
Time Zone: Asia/Calcutta (19800)
MySQL: 5.0.45-community-nt
Locale: English_United Kingdom.1252
Server: Microsoft-IIS/7.5
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Windows NT 6.1
Active plugins: ob1_pagination-2.5, asv_breadcrumb-1.0, cbs_category_list-0.9, zem_contact_lang-4.0.3.6, zem_contact_reborn-4.0.3.20, soo_if_frontpage-0.1.8, upm_image-0.6.2, ebl-image-edit-2.0, esq_sectionsort-1.07
Admin-side theme: classic 4.4.1

Pre-flight check:
————————————
File directory path is not writable: http://domainname.com/home/files
Temporary directory path is not writable: http://domainname.com/home/textpattern/tmp
————————————

.htaccess file contents:
————————————
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/

RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]

RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php

RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

————————————

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: C:\Program Files (x86)\Parallels\Plesk\Databases\MySQL\share\charsets\
17 Tables: OK

10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)

PHP extensions: bcmath, calendar, com_dotnet/0.1, ctype, date/5.2.13, filter/0.11.0, ftp, hash/1.0, iconv, json/1.2.1, odbc/1.0, pcre, Reflection/0.1, session, libxml, standard/5.2.13, tokenizer/0.1, zlib/1.1, SimpleXML/0.1, dom/20031129, SPL/0.2, wddx, xml, xmlreader/0.1, xmlwriter/0.1, cgi-fcgi, curl, gd, gettext, imap, mbstring, mssql, mysql/1.0, PDO/1.0.4dev, pdo_sqlite/1.0.1, sockets, SQLite/2.0-dev, xsl/0.1

C:\inetpub\vhosts\domainname.com\httpdocs\home\index.php: r3189 (5dfca604bf4976675f92222dd5628b0a)
C:\inetpub\vhosts\domainname.com\httpdocs\home\css.php: r3189 (b53deffeb21070b8d493af6846db8ac3)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\css.php: r3189 (820df954c923979eabace541888feb4a)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\import\import_b2.php: r3446 (7a044ad474fd04ae61063d0df15e05d8)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\import\import_blogger.php: r3446 (4eade881581bd9932f05a7ff6e2a6e1f)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\import\import_mt.php: r3446 (f0ab362246e60f37d3c52ef3f004e79d)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\import\import_mtdb.php: r3488 (22628f6ba8d15645498ba09eb48bab32)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\import\import_wp.php: r3488 (977d7be6fad569982ad175225e8e4df5)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_admin.php: r3570 (7925fc6a6c15f944ab255a0a7e239dab)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_article.php: r3560 (c12a042e5f56efeb4f5af57be4d42023)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_auth.php: r3571 (dea6f26aa1af3ef10a0dc002f3a397ea)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_category.php: r3534 (37ecab71b01c146dd58da97d9b5c6439)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_css.php: r3535 (8cbc6b0e164b1cb790bea0264e867915)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_diag.php: r3521 (fac584135850fcae546cb8c59bf94688)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_discuss.php: r3569 (9e1d3b6ab40fde25a41d192e5f573ef7)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_file.php: r3569 (a1848e934804174886ae3b57d418ebd2)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_form.php: r3560 (06f2ddc008dbc82ce8d50af615f5f1a0)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_image.php: r3569 (a77c218d6db978157ec9f289d561cd33)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_import.php: r3556 (f8187a926ca6a379c1b0dd79fc194bec)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_link.php: r3569 (412a2382de98901a535548e5cf2def96)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_list.php: r3569 (91d67b3a1576a5dee3a128a03cdf9f04)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_log.php: r3569 (fd8cd943143eb3537074563625521033)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_page.php: r3560 (180b3a6b8669add7dab51a67ec76f89b)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_plugin.php: r3551 (51152310c17015cf906fb26ddaa68275)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_prefs.php: r3555 (6e844f30b97b1454c3d201914a2464a9)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_section.php: r3552 (89aacca63f7afc9fe28dc111cb61fa5d)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\include\txp_tag.php: r3560 (d22e90318bd6fdf006198ebd33c5e6b3)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\index.php: r3575 (c2c7bf18468d74254c77570a9573b46b)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\jquery.js: unknown (a34f78c3aecd182144818eb4b7303fda)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\IXRClass.php: r3394 (e0b53564e1504316b35872309780edab)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\admin_config.php: r3559 (52d8b15bbf633de98c565252b9ef8ceb)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\class.thumb.php: r3301 (78f52a89b91018c8fa00ddd73cd398f5)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\classTextile.php: r3566 (03d537017f6fc1f43535fa8d18f4cd48)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\constants.php: r3488 (aa0ea1b5749497d3b19f0ed07acccaa2)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\taglib.php: r2868 (5738c5e31820cda422f32701c71cb77e)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_admin.php: r3488 (e7f66b6f8cc7e5a51eb05555ad3cb6dc)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_db.php: r3389 (0e7462a104d815a33d25c5a6e775f84d)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_forms.php: r3531 (a4dbb070460ecc5698ab80bba2cdfe5b)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_head.php: r3560 (1a82941e28253d6df3735c05df5f7ebd)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_html.php: r3569 (84ee78759355041d1ebb2c36bf565d80)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_misc.php: r3569 (ea1314b56962fc9c67885691d977a3c5)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_theme.php: r3388 (51ad413813a10071873571304bea9f97)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_update.php: r2812 (52029367bf0aef18c1879d5ff2cf3d46)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\lib\txplib_wrapper.php: r2931 (17472ff98d9ffb3dbcc9ebdf222d11ac)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\publish.php: r3500 (e3bba9bec573b33dea759c0344db96a8)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\publish\atom.php: r3399 (f4470b45eedc8e1ad4a48f8e74b45233)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\publish\comment.php: r3395 (9e8596ada0a85ebdd52e1548fda81314)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\publish\log.php: r3505 (8401dab65b91b1b1021fc876daf473bd)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\publish\rss.php: r3399 (f8cb3ec280bffb8a15832ee3143f576c)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\publish\search.php: r2812 (e2355f5b045bf80acc3a52ba32dddb1a)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\publish\taghandlers.php: r3567 (6e87e8065d71acaa25512f8901d57938)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\textpattern.js: r3560 (d0f6e8f931eb32d945112b712a45e32b)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\theme\classic\classic.php: r3191 (f5337d226aef1552c4d4d99fe3bee912)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_1.0.0.php: r3047 (d631745cc332531712480f2bd6dfae29)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.0.2.php: r3462 (a08e1b95ea2256a33effab779989d1fd)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.0.3.php: r3047 (888328073220c66f316c1f04e5498692)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.0.4.php: r3047 (3da0f3b179ad98a49f8846c4e328cd0d)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.0.5.php: r2894 (e5150247c0e2d8882f65e24c938df1d6)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.0.6.php: r3047 (faeb0eaa7c042d18e79ded54ad3f68b3)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.0.7.php: r3014 (59dfb80496aa6f8bbcb486f26488f65d)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.0.8.php: r3057 (89382671f0509e1d880707bbd293f86c)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.2.0.php: r3480 (7bb41aac414aff7fa81cf960b5a42c1c)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.3.0.php: r3304 (59fcf5b4e1dc7870d6729c63b824e55f)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_to_4.4.0.php: r3498 (4b3bd3eadb29f3a9df6398126e137a87)
C:\inetpub\vhosts\domainname.com\httpdocs\home\textpattern\update\_update.php: r3575 (3386cdffb48e0b00c2b77e00ef57daec)

————————————

(Domain name changed to avoid negative SEO)

Offline

Board footer

Powered by FluxBB