I host my site on webcity and have done for 6-7months. Most of the time, I publish my web and the changes appear virtually immediately.
Some weeks ago, the lag between publishing and appearing began to take hours. I advised webcity support and the next day back to normal.
Yesterday, it started again. I emailed webcity and their reposnse was - it's your cache. I rang webcity and again was advised - it's your cache (or something your ISP is doing).
I don't believe it is cache. I can refresh the page, close the browser, reboot the computer, clear all temp files (run CC Cleaner) - no difference.
For some reason on a box I have, it takes 25 seconds from the time I hit enter for a usernames password for it to login via SSH. I am running CentOS 4.4
Is there something I can check to see why it is taking so long and/or fix this?
I have six dedicated servers on a VPR. I use one of these as the Database server and the other five connects to that server to read the Database.
When I setup my scripts for the first time I used the external IP to connect to the DB server. Everything worked perfect for these weeks:
mysql_connect('174.xxx.xxx.xx', 'user', 'pass');
Since three days ago I finally received the internal IPs of my servers and now I use the internal IP of the DB server:
mysql_connect('10.0.0.1:3306', 'user', 'pass');
When I did this last change this my database started to collapse. Queries stuck on a bottleneck every 10 minutes. Here's an example:
40468 simon 10.0.0.7:47002 pkindigo_db Query 115 Locked update `captured` set hp_left = '79', status = 'normal', att1pp = '25', att2pp = '30', att3p 40523 simon 10.0.0.2:58080 pkindigo_db Query 115 Locked update `captured` set experience = '5120', level = '16', hp_left = '58', hp = '58', status = ... (tons of locked queries before) ...
As you may see table is locked since 115 seconds for a simple update... after some hours this ends on a "#1135 - Can't create a new thread (errno 13); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug" and even some of my tables finally crashing.
I think that my Database stuck because of a DNS lookup delay. When I had this problem before using the external IPs, I added skip-name-resolve and the problem was fixed. But now with the internal IPs it seems that's not enough.
I'm running Apache 2.4.4 Win32 on a Windows 2008 server. When trying to optimize a website I noticed a random reoccurring 2550ms delay in Time To First Byte. A file could have a TTFB of 200ms several times but suddenly it would get 2750ms. This could be a static file (image, html, js) or php. I've measured using ApacheBench (locally and remotely), webpagetest.org and bytecheck.com. After much trial and error I found the problem was with mod_rewrite. Disabling this and everything is fine.
I have setup a blank/new install with only basic config change (Listen, ServerRoot etc) to replicate result without anything else interfering. Following is the rewrite section I add to config.
Code: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule (^/Pictures.*) /$1 [L] </IfModule>
After Apache has started I execute "ab http://my.example.com/Pictures/Thumbnails/tmb_400X400_FFFFFF_660.jpg" and always get the delay. If I execute again it's normal. If I wait at least 30 seconds I get the delay. Following is a section from error.log with trace8 logging.
Code: [Tue Mar 12 23:28:56.123519 2013] [rewrite:trace3] [pid 7624:tid 888] mod_rewrite.c(468): [client 69.x.y.90:36279] 69.x.y.90 - - [my.example.com/sid#42c748][rid#26df0d0/initial] applying pattern '(^/Pictures.*)' to uri '/Pictures/Thumbnails/tmb_400X400_FFFFFF_660.jpg'
[Code] ....
As you see from line 3 to line 4 the time skips 2550ms. When the TTFB is normal then the log is identical except time doesn't change from line 3 to line 4. If I delete the rewrite section in config then TTFB is always normal, no matter what.
When I testet on the live server the time for fully loaded increase from 3800-4000ms to 8500-10500ms when mod_rewrite is enabled. And that is about 30 requests (php+css+js+images). So the impact is significant.
What can this be? I'm having a hard time believing it's a bug. Isn't mod_rewrite used a lot? I'm running Ubuntu (linux) at home, I'm going to install Apache there and see if I get the same result.
VPS: Openvz, 512mb, 50gb hd, 10mbit shared located in Kansas.
Problem: After entering in my username / password I experience a 2-5 minute delay before the login is processed. I have tried logging in from 3 different ISP's (AT&T, Comcast, T-mobile via Blackberry), 1 webserver (ssh), and HyperVM's Java client. Each produces the same result.
Also, apps such as yum and traceroute produce the same long delays ranging from 2-5 minutes as though the vps locks up or the node has zero resources.
When I use the command center via HyperVM I receive the same long delays. Rebuilding the VPS does nothing. O/S has no affect.
Despite long discussions with the VPS staff they insist there are no problems on their end and that no one else is experiencing this problem. What gives?
I am using apache proxypass to proxy to 4 different ports (java/jsp applications) with the following configurations (for each):
<VirtualHost *:80> ProxyPreserveHost On ProxyRequests Off ServerName *****.org ProxyPass / http://*****.org:8080/ retry=0 ProxyPassReverse / http://*****.org:8080/ </VirtualHost>
Everything seems work fine until an awkward delay / connection timeout occurs. The web application hangs for about 5 to 15 seconds and starts working normally after that period. It's certainly not the application's issue because everything is fine when using IP address to access it.
When I enabled the debug log in apache, I found out that every time the server seems to hang, the following error appears in the apache error log and the number of apache child processes keep on increasing (ps aux | grep apache).
[Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 4 in child 13208 for worker proxy:reverse [Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1837): proxy: worker proxy:reverse already initialized [Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1934): proxy: initialized single connection worker 4 in child 13208 for (*) [Thu Apr 11 10:20:41 2013] [debug] proxy_util.c(1818): proxy: grabbed scoreboard slot 3 in child 13208 for worker http://*****.org:8080/ ..... Also, the access log (access.log) completely stops during that hang period.
This debug message keeps on repeating as long as Apache/web-application is not responding. The application starts to work normally after that duration and the number of apache child process decrease to the normal number.
Apache version : 2.2.16 (Debian) OS : Debian GNU/Linux 6.0 root@server:~# apache2 -V Server version: Apache/2.2.16 (Debian) Server built: Nov 30 2012 08:58:36
basically it has to do with supporting filenames(or urls) in non English (Arabic) encoding in apache webserver....
I'm assuming that its apache that needs to be configured for this, i can't think of anything else except encoding support on the o/s too.....
funny thing is, i can upload and download non Arabic file names through ftp, and ftp displays them correctly, but they can't be accessed through a webbrowser.....
hmmmm, actually firefox can access them, it screws up the file name into funny signs but actually displays the file, I.E can't access them at all....
So, how can I enable Arabic language support on my webserver?
It's very dangerous to display Google ads on your website! ("adsense"). If they decide they don't like your website, for any reasons, for example political reasons (they told it to me), then instead of displaying their regular ads, and even instead of displaying a blank space instead - they display a frame with big "Action canceled" at the top of your website and your customers might think you went out of business or something like that (they are not displaying any relation to Google). They did it to my and my website, www.speedywhois.com (currently .net), look for yourself, read this post and especially the images attached (MSIE and MZFF) and especially if you're politically active as I am and support human rights and especially in China or Israel or criticize Google or the United States of America then you can find "Action canceled" frames on the top of your website too.
http://www.speedy.net/uri/blog/?p=84
I currently don't have a computer and I'm using public computers to connect to the internet (it costs) and when I noticed this "Action canceled" on the top of my website it was shabbat (weekend) but since this is a top security issue and I didn't want my customers to think I went bankrupt and stop using Speedy Whois, I removed google ads and put a warning to other webmasters too.
By the way I also asked them why they stopped displaying my ads for Speedy Whois on their websites ("adwords"), I wrote them in english and my website is english and my language preferences are english but instead they wrote me something in hebrew about them hating me and my website which I didn't even bother to read. I asked them to reply in english and they refused so I'm not advertising with them either. Godaddy is also not displaying whois data to my customers so they are together (Google & Godaddy) doing their best to cause my customers to stop using my website.
Google also caused me problems with sending mail from my gmail and they are censoring me big time because of my political views. I'm against wars and I wrote some things against war crimes on my website and it made them very angry about me.
I am hosting my site on cpanel server, but there is a little problem, my images in the application are not getting displayed, whereas they are displaying alright on my local server, i've tried different methods to ressolve this issue, but, i wonder is it something to do with the server.
i installed the latest version of the mail scanner on my linux server. It has been tested to be scanning and running properly. But one thing that is unusual is that the emails that is being processed by the mailscanner does not get tagged as its being processed by it. Hence i do not really know whether it has been processed.
When i check the email full headers, i am missing information like spam score, spam information and spam status. I did a check in the mailscanner.conf and the configuration was done correctly.
how can we set these information to show on the email header that it has been processed.
I am trying to do reverse proxy for several web servers in my network.I have successfully configure the reverse proxy.However , when website with multimedia webpages are requested , the multimedia content is not displaying. What is is that I am missing in my config file.
I was asked by a user why he only saw a page with 'related links' when he went to the web site. I checked and saw the same thing if I typed www.domain.tld. If I just typed domain.tld, the page displayed fine. In trying different things tonite, I cleared my cache and now neither url works.
I am using Parallels Plesk Panel 11.5.3. If I click the 'Preview' button on the panel, everything looks great. If I click the 'Open' button, I get the 'related links' page.Today, the shcnf.com link seems to be working fine and the 'Open' button in Parallels Plesk Panel works, but the www.shcnf.com link is still showing a 'related links' page.
My DNS settings show:
shcnf.com record type: A value: 198.144.188.31 www.shcnf.com record type: CNAME value: shcnf.com
I do not currently have a preferred domain set in my hosting settings. I tried setting one the other night with no luck, though I was also playing with the DNS settings (I tried setting www.shcnf.com to an A value with the IP, hoping to force it to work).
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE plesk parrells ,12.0.18 ,Update #26 ,centos 7 , 64 bit PROBLEM DESCRIPTION file in documenRoot folder eg httpdocs wont display properly STEPS TO REPRODUCE create a new sLTubscriptions , then ftp files into document root folder using filezilla
[Code] ....
The weird thing is when I put the files into a subdirectory (eg www.example.com/home /) the site itself shows correctly. But when I put the files back into the document root folder(eg httpdocs) it doesn't show correctly. Also no css or javascript error messages show up in the chrome debug window?
i have Suhosin installed on my server now some of my sites are facing problem i.e forums like ipb , vbulliten ,phpbb3 with the images on the forum are not displaying properly..
So is this problem related to the values of these two fields present in Suhosin
I run a FreeBSD box as my file and webserver I use a DynDns domain name and run the little update program. But anyway when ever I use my lappy and when ever my lappy makes an outgoing connection a login prompt comes up asking to connect to my domain. It used to just say my public IP but I edited hosts.rc so now it says my domain on the prompt.
Is this somthing to do with samba or apache on BSD or is windows detecting that I host my own or what.
You contact a company for a quote, however this company has not replied in days, so you contact again and it takes them a few more days to finally respond; this is a pretty common scenario.
I emailed 3 companies 3 days ago. One replied within 6 hours with a quote, and the other two still have yet to respond, guess which company I am most likely to go with?
So do you get put off by a lack of a sales team / delays? To me its like they don't want my service.
I couldn't keep my mouth shut (technically fingers). A customer wanted to upgrade servers and he needed a way to move the data across. Since I don't allow hard drives to be swapped, they have to do it manually all by themselves. I generally allow up-to 4 days for them to transfer data and make DNS changes, etc. But this time, I offered help! I agreed to move the data (darn me) and it just came out of me, involuntarily.
God knows what just happened... but in a positive way, customer is extremely happy!
So...
Both servers are on cPanel - with root access (duh)
200 odd files which total to 25 GB
1 database about 100 MB in size (no biggie)
I was planning on using one of my Windows 2003 servers (via remote desktop) to download the 25 GB and upload the 25 GB, but that sounds like a waste of resources and time.