30 Seconds To Initial Response - Wordpress / Apache On Linux VPS

Oct 17, 2013

My site will wait for 30s almost everytime before loading any of the page itself.Specs of my install:

- DigitalOcean Droplet (VPS) with Ubuntu Server 12.10: 512 Ram and 20GB SSD (not even coming close to needing more RAM, still have 240MB free according to top)
- Wordpress 3.6.1
- 5 plugins: W3 Total Cache, Wordpress SEO by yoast, WP Better Security, WP Smush.it, and Redirection (problem occured before adding the last 2, I can't remember about the others)
- No traffic to speak of. I get maybe 10 uniques/day.
- Apache 2.2.22
- MySQL 5.5.32

I've optimized my site itself the best I can, minifying and combine js and css files, using the WP Smush. It plugin to compress images, serving jQuery from a CDN, but none of that worked the 30 second wait (though it did shave about 10 seconds off the load time after the wait for response).

I was using cloudflare and had to fiddle with the nameservers of my domain, but cloudflare didn't work at all and I switched the nameservers back to normal pointing DNS directly at my site to eliminate the obvious causes. I'm comfortable with Linux and the command line. This is the link to my site: [URL] ....

View 3 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Page Loading Time 50-60 Seconds

Jun 7, 2015

I have installed NGINX + PHP-FPM + PHP5Memcached + Memcached + APC on my VServer. My Problem is Page loading time of around 40-60 seconds. Installed is 12.0.18 Update #49

[URL] .....

Connection Setup: TIME
Stalled: 1.860 ms
Request/Response
TIME
Request sent: 0.214 ms
Waiting (TTFB): 47.08 s
Content Download: 41.757 ms
Explanation 47.12 

I have reconfigured the Domains but nothing changed and Bootstrap Repair

Code:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh repair
If I disable Nginx and use "Apache Module" for PHP than the TTFB time is shorter but is not the prefered way. If I use "CGI" or "FASTCGI" without Nginx than the Page loading time is a little bit shorter but with Erros on the Website.

I tried to reinstall Nginx from Plesk but this gave me Error after enable it

root@vserver:/# /usr/local/psa/admin/sbin/nginxmng -e
[2015-06-08 00:26:12] ERR [util_exec] proc_close() failed
...
[2015-06-08 00:26:13] ERR [util_exec] proc_close() failed
[2015-06-08 00:26:15] ERR [panel] Apache config (14337159720.96731500) generation failed: Template_Exception: Destination directory '/etc/nginx/plesk.conf.d/vhosts' not exist
file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
Destination directory '/etc/nginx/plesk.conf.d/vhosts' not existClick to expand...

View 3 Replies View Related

Plesk 12.x / Linux :: Initial Message Of SSH

Dec 29, 2014

If you want to change the sign in message of SSH

you can edit "/etc/motd" ( message of the day ) 

View 2 Replies View Related

Plesk 12.x / Linux :: Browsing Using File Manager Or Clicking On Domains Or Sitting Idle For Like 15 Seconds

Oct 24, 2014

It seems that since my latest update of 12.0.18. Now everytime I login to the Admin interface of plesk. I am prompted to relogin several times when browsing using file manager or clicking on domains or sitting idle for like 15 seconds.

It can do this up to 5 times in a 5 minute period or while not even being idle.

View 9 Replies View Related

Apache :: Httpd Do Not Response Occasionally

Jun 16, 2014

My development environment is:

OS: Windows 2003 SP2
Httpd: 2.4.9
JDK: 1.7.0_60
Tomcat: 7.0.45
mod_jk: 1.2.40

When I deploy my application into tomcat, and bind httpd with AJP, httpd do not response occasionally, it will halt 2-3 minutes. The quickly way is restart httpd

View 1 Replies View Related

Apache :: Rewrite JSON / XML Response Possible?

Oct 21, 2014

I have setup a reverse proxy that allows users to query an internal server. That internal server returns a JSON or XML response.

In that response some URLS need to be rewritten as they cannot be resolved externally. Is it possible to rewrite JSON/XML response bodies?

I experimented with "ProxyHTMLURLMap 1.1.1.1 2.2.2.2" but that did not work (seems to ignore the JSON response entirely)...

View 1 Replies View Related

Apache :: How To Remove Connection And Keep Alive From Response Headers

Aug 17, 2012

How can i remove "Connection and keep-alive" from response headers ? I am using Apache http server to load balance two tomcat nodes

Apache Server- Apache/2.4.2
mod_jk - 1.2.27
Apache tomcat - Apache Tomcat/7.0.23
JDK - 1.6

I have also enabled SSL in the apache http server using mod_ssl. The load balancing works fine, but in all the response headers these connection attributes are added "Connection: keep-alive keep-alive: timeout=5"

Is there a way to remove these headers? I do not want these headers to be added in the response. I have also tried mod_header to unset these headers, but no use. HTTP/1.1 protocol is being used, so eventhough the connection is not present in the header, the connection would should be considered as persistent. Why is apache sending these attributes explicitly in each response. I just want to get rid of these attribute...

View 7 Replies View Related

Apache :: Serve XML File As Response For Appropriate Request When Web Service Is Down

May 30, 2013

I am using the latest version of Apache on an Windows XP machine

When my web service is down for maintenance, since Apache is will still be up and running, I would like for Apache to serve an xml file as a response for the appropriate request. I have three operations available, makePayment, calculateFee, and voidPayment.

Is it possible to have Apache determine what type of request is made for example if I have an xml error page for each operation; how will Apache know which xml file to serve based on the operation request from the client

To make it more clear: What is the best practice for modifying apache to know what request is being made in order to serve the appropriate xml file?

View 1 Replies View Related

Apache :: Disabling Server Info Into Response Header

Mar 4, 2014

We are trying to disable server info into response header.

Header unset Server
Header set Server "unknown"

It is not working.We have installed "Apache 2.4.6-x86 server" on Win 2008 R2 Standard server (64-Bit).

View 3 Replies View Related

Apache :: 2.4.4 Forward Proxy - Response Slow When Tested From Browser

Jan 22, 2014

I have Configured Apache2.4.4 for forward Proxy and tested from my browser the response is very slow and even not coming complete Response for some requests.

I also Tested the same for Apache2.2 Forward Proxy it is very fast and good.

May I know what is the Problem in Apache 2.4

Is there any Issues in proxy modules (mod_proxy,mod_proxy_connect.so,mod_proxy_http.so) in Apache2.4

This is the same configuration i used for Apache2.2 and Apache2.4

##########################################################################
## Apache Forward proxy
##########################################################################
<IfModule !proxy_module>
LoadModule proxy_module modules/mod_proxy.so
</IfModule>

<IfModule !proxy_connect_module>
LoadModule proxy_connect_module modules/mod_proxy_connect.so

[Code] ....

View 1 Replies View Related

Godaddy Linux Server Response Very Slow

Jul 11, 2008

Godaddy linux server respons very slow

View 6 Replies View Related

Plesk 12.x / Linux :: API Subscription Response Timeout

Apr 9, 2015

I'm using the API to dynamically create new subscriptions. However, I frequently never receive a response back for my request.

I have enabled graceful restart, which has made an improvement, but my requests still fail to return a response every now and then.

This is problematic, because the script needs to know whether the subscription has been successfully created or not. Often times, when the script times out, the subscription was successfully created. But Once and and a while that's not true, and it is causing inconsistencies in my system.

View 1 Replies View Related

Plesk 11.x / Linux :: Slow SMTP Response From Qmail

Jun 16, 2015

We are seeing intermittent slow responses from SMTP on a RHEL6 server running Qmail on Plesk 11.5. The response is being measured from a remote Zabbix server.

The response time seems to be slow (>10s) for a period of 2-3 minutes and then returns to normal (<1s). All other services continue to be ok during the period of slowness.

The server_args line in /etc/xinetd.d/smtp_psa already contains "-Rt0" and all the DNS servers in /etc/resolv.conf are resolving properly.

From looking at the maillog file the server was receiving about 35 SMTP connections a minute at the time of the slowdown. We have the server configured to use 2 x RBL's.

I wonder if we are hitting a limit on the maximum amount of SMTP connections. The file /var/qmail/control/concurrencyincoming does not exist so, according to the Qmail manual, there shouldn't be a limit on the number of incoming SMTP connections.

View 9 Replies View Related

Plesk 12.x / Linux :: Prematurely Closed Connection While Reading Response Header From Upstream

Jun 25, 2015

I get "502 Bad Gateway" errors in browser and found this in logs:

- upstream prematurely closed connection while reading response header from upstream

- failed (111: Connection refused) while connecting to upstream

restarting Apache solves the problem temporarily.I tried tweaking both nginx and php-fpm config files without success.

View 9 Replies View Related

Apache :: Domain Mapping That Don't Involve Wordpress?

May 6, 2015

I used to have a server which had domain mapping via wordpress... a friend of mine had this up for me and every time I added a new website to the same server/ip-address, I just modified the .htaccess for example:

RewriteCond %{HTTP_HOST} !^www.
RewriteCond %{HTTP_HOST} domain.com
RewriteCond $1 !^domain
RewriteRule (.*) /domain/$1 [L]

Anyway, I no longer have this server and as a result, I have websites that are not being mapped correctly, many domains point to the same ip address.

I have tried to use name-based virtual hosts but it seems as if this is being ignored... I did restart Apache by sudo service apache2 restart

I'd really like to get my websites working again without buying multiple ip-addresses.

View 1 Replies View Related

Apache :: Cannot Configure Wordpress File In Wamp

Jan 21, 2014

I have installed wamp for editing word press theme every thing is ok but when I create new data base and start configuring my wordpress project file optional message appear when I click submit what should I do ?

View 4 Replies View Related

Apache :: Wordpress Redirect Breaks Virtualhost

Feb 9, 2014

Running Apache 2.2.22 on Ubuntu 12.04...Here's (in addition to default) my papertower config in sites-available: URL....

When I restart, I get this message: [URL] ....

I'm coming from Apache on Windows and trying to set up the same workflow I had there. Basically, if I placed a folder in /www/papertower/ it would become accessible via directoryname.papertower.dev after adding the host.

I'm having a strange issue getting it going again. Oddly, when I didn't have the wordpress config set up properly and went to site.papertower.dev, it would give me the "failed to connect to database" message. This made me happy, as it meant it was pointing at the right folder. Once I fixed the database config file, however, and go to site.papertower.dev, it thinks for a moment, then goes to www.site.papertower.dev and gives me a "Oops! Google Chrome could not find www.site.papertower.dev".

I double-checked that all the appropriate mods were enabled (especially rewrite), but that hasn't made a difference.

View 4 Replies View Related

Apache :: Mamp And Local Wordpress Install Not Working

Feb 11, 2013

I can't get MAMP to work. I sadly uninstalled and AppZapped MAMP and reinstalled it. Now I can't get WordPress to install. I can make a DB on PHP MyAdmin but I get "not found" when I try the WordPress install. I can't get the PHP info? line to work either. How do you troubleshoot MAMP? 

View 4 Replies View Related

Cronjob Every X Seconds

Mar 26, 2007

to set up a serious of scheduled tasks. For example at 9:35:12 PM I would need a php script to run. And its very important that it run at the 12 second mark for the 35th minute. This seems like an application for a cronjob. Anyway, it looks like you can only have cronjobs run every minute, not seconds.

View 1 Replies View Related

Plesk 12.x / Linux :: Php-fpm And Wordpress Permalinks

Apr 15, 2015

I've searched and tried every solution to this I could find. When Plesk 12.1 is configured to process php by nginx, I just can't get Wordpress permalinks to work. If I switch permalinks to default the pages will appear, but if I use something like day and date for the permalinks I get a Nginx 404 error. Of course if I'm just using Apache and it can read the .htaccess file everything works fine. I think part of the reason the solutions I find won't work is my main site is static with the wordpress blog in the /blog/ subdirectory. What would I add in Plesk to get permalinks to work correctly with wordpress in a /blog subdirectory. I'd also like to get WP Super cache working as well if possible.

View 1 Replies View Related

Server Crashes Every 600 Seconds

Feb 13, 2007

Today, I put a new server on our racks.

Problem: the machine crashes exactly every 10 minutes. The crash occurs with no entry on the logs and with 0.00 load. It is as if someone take out the current every 10 minutes.

Here are the specs:

- 2 CPU Intel Xeon 2.0
- 8 Gb RAM ECC
- 2 x 250 Gb HDs

This machine needs plenty of current. I wonder if I am not going over the rack power quota. May be there is a system to allow overages for then 10 minutes, then it cut back the current to the rack quota.

View 2 Replies View Related

Apache :: Will Editing HTAccess File In Cpanel Effect All Wordpress Domains And Subdomains

Mar 26, 2014

I added the following to my cpanel .htaccess file on my hosting account:

<FilesMatch ".pdf$">header set x-robots-tag: noindex
</FilesMatch>

This was to stop Google from crawling and indexing my PDFs, will this work accross all my addon domains and subdomains (which are wordpress) on my hosting account or do I need to take extra measure?

View 4 Replies View Related

Plesk 12.x / Linux :: Wordpress Updates Notifications?

Aug 31, 2014

Is there a way to receive notifications for Wordpress updates? (core, themes, and plugins).

View 2 Replies View Related

Plesk 12.x / Linux :: Wordpress Scan Not Seeing Install Of 4.1.1?

Apr 1, 2015

So I have a client using Wordpress 3.6, so the scan does little good.

I update the Wordpress to 4.1.1 and do the Scan again. Plesk cannot find the updated install of WP still?

View 5 Replies View Related

Plesk 12.x / Linux :: WordPress - Cannot Access Files Via FTP

Nov 21, 2014

I have some issues access my files through FTP. I created a new FTP user, that match the domain name, so it is easy for me to terminate access if i choose to delete the domain.

I can only access / see files that i uploaded with that specific FTP user. If i install a plugin inside Wordpress, i can not access those files via FTP.

If i login via SSH, with the root user, i can see all files.

I have tried to add the FTP user to the psacln group, but no luck.

View 2 Replies View Related

Plesk 12.x / Linux :: Wordpress Install Error?

Mar 10, 2015

HTTP Error (404)

[URL] ....

This is the error I get when trying to install wordpress

View 10 Replies View Related

Plesk 12.x / Linux :: Show Wordpress Version?

Nov 13, 2014

how can i show in putty during ssh session the version of wordpress used for a specific domain ?

View 4 Replies View Related

Plesk 12.x / Linux :: Change WordPress URL In Parallels

Nov 8, 2014

I recently changed the main domain url from website.com to www.website.com, this resulted in 404-errors when i navigated to wordpress...

I found a solution on the internet and updated the records with phpmyadmin [URL] ....

When I click on Login at the the WordPress Installations I'm still being navigated to the old website url. It supprices me that there is no option to change it on Plesk level after wordpress is deployed.

How can i change or update the wordpress path once it is installed in Plesk?

I'm using CentOS 6.2, maybe there is a config file or an database for Plesk?

View 2 Replies View Related

Plesk 12.x / Linux :: Wordpress Installations Not Recognized?

Aug 2, 2014

All Wordpress installations were recognized but they are not selectable and all have a parse error:

PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in /usr/share/plesk-wp-cli/php/wp-cli.php(18) eval()'d code on line 89

{err_code";0,"err_message":/n<h1> Error establishing database connection . . .

See the attached jpeg for the complete error message.

All the sites are working okay so we know the databases are accessible and working. We have the latest version of Plesk 12 with micro updates done daily. This is a plain installation with no mods to the system files or software. This is hosted at 1and1.com; our other server at Rackspace found the WP installations without any problems.

Component nameComponent version
awstats7.3-14050621.parallels
bind9.8.2-0.23.rc1.el6_5.1

[Code]....

View 7 Replies View Related

Plesk 12.x / Linux :: Wordpress 404 Not Found Nginx

Dec 19, 2014

i went to server setting and checked manage php with nginx then start getting 404 Not Found nginx. It was clear that it s a problem with the wordpress permanent links so i went in wordpress back-end and switched to default links then it start working but when i switched to permanent link againi got the previous error again

I searched for a while on internet and i found . URL.... So the problem that i have is that i added this piece of code manually in : /var/www/vhosts/system/domaine.com/conf/nginx.conf....Since it s mentioned above

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved