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.
I'm using PUTTY SSH right now to a server, and it's taking forever to extracting a 500GB tar.gz file... I need to restart this workstation, is there anyway I can resume my PUTTY SSH session on another workstation without having to restart my extracting process?
I got a new server and at present it is not allowing resume of disconnected uploads. I remember on my last server I have to add a line on a config file to enable this but for the life of me I cannot remember.
When using a download manager to download stuff from server, download manager detects server unable to support resume and parallel downloads, is there a way to set the server to allow it?
I am unable to find how to resume file transfor via sftp and command line:
I use PUT command to upload file, but when connections fails and I start again, the transfer starts from its beginning - how could I made it to check the uploaded part and then resume?
Sometime around May I decided to have my website transfered over to zone.net as I outgrew Dreamhost.
Dreamhost, which now offers quite some cool setups (such as pimping up your server by additional ram etc), has kind of "chucked me" off due to excessive CPU use that was triggered by my Wordpress install (running WP-Cache of course).
I was told, I outgrew a shared environment and should opt to either switch to their (at this time) 360$/month plan or get another hosting provider. when asked what to get, I was told "a vps with plenty of ram".
I had a particular setup in mind and was thinking of either joining jaguar pc hosting or zone.net.
What I did like at zone.net at this point was the working live-support. I clicked "live support" - chat now and within seconds I was talking to someone who had a clue and cared about getting me to move over.
I opted zone.net as they promised to set-up my domain(s) in before of moving for free and making the transition happen without any downtime.
It worked this way, I sent my sql databases to them and uploaded a four gig rar-file to third-party server (always handy to have another one at hand). They downloaded everything and setup my VPS with CentOs, plesk and virtuozzo.
From my GoDaddy-domains I know there were plenty of discount codes around- as I couldnt find any for zone.net I blunty asked them if they had a promotion campaign running and if there was a zone.net discount code.
Their honest reply, which I appreciate, was "yes" and I was given the code to discount my setup and monthly fee by 10%. Seeing as I did not find any codes on Google, this was a good catch.
The transfer went smooth and the first weeks passed. Without any trouble, my site(s) ran smoothly, quicker than ever and with no downtime. Thanks to the watchdog module, that one employee installed, services that killed itself were automatically loaded again.
Ever since I moved my site to zone.net it has been growing prosperously with 15,000 visitors daily and increasing. Wordpress and WP-Cache are working smoothly, Permalinks with htaccess are operational, too.
When I had trouble setting up WP-Cache (at one point you have to run a shell command to create a sym-link file), their Live-support helped me out in seconds.
I really liked the free and high-quality support at zone.net and the polite, yet direct employees.
The advantage of "sticking" with a company with a dozen employees is that in due progress you get to know everyone and they get to know you. You dont have to explain your setup and problems all over again, as your setup is known and sending passwords over etc has become obsolete.
Amongst my domains are also two German denic (DE) domains, the setup of them is very annoying, as you have to observe all kinds of regulations (like specific TTL time), different class C ips etc. - zone.net has been so accommodating to setup those different C-class ips for free.
I am quite sure that I would have had to pay additional money at almost every other company.
At my VPS I had Plesk and CentOS running, what I did not know is that you SHOULD not (seriously!) try to update your VPS (plesk) manually. I pressed "auto-update" under plesk, and the whole vps went into full-out lockup mode. zone.net´s experienced techies had the website up within minutes, but still plesk was unaccessible.
This was the case for a week roughly and I did not receive any email for one week. This really annoyed me, but who to blame? It was all my fault- if I had not played around with things it would not have locked up so bad (internal errors all over the place). I decided to wait one week for them to find a solution, as the website was up, I was earning good money with it (around 40$ a day) and I did not care about emails... since it was only a secondary email address.
yet I wanted to have my plesk back.- so one employee worked on my vps for two days in a row and tried all kinds of hacks. still I did not work. so without asking, and I appreciate that, they cloned my "running" site and setup another vps and routed all traffic over there. wow. I did not know this was technically possible!
anyway, I had my plesk back and every setting I had done, was input kindly by the zone.net tech-man. If I had to do this all myself I would have lost valuable time at university that (at this point) I did not have.
Just a few weeks ago I received an email saying that my vps (and basically) every VPS had to be moved, as zone.net had bought their own network or net of servers or datacenter, I cannot remember what it was, anyway... my vps had to be moved, meaning starting at "zero". A new vps was setup again, but since the ips changed, too I had to undergo the whole IPs annoyance with the german denic domains again.
luckily zone.net helped me out quickly and assured me things would work.
Indeed it did, the transfer went very smooth, as the old vps was not shutdown until the new one had been successfully "talking" with my nameserver.
Bad thing though was, that I lost several posts and comments, as in the meantime I was accessing (randomly) two different sites on different servers.
At one time, the old site loaded, the next hour the new one loaded and vice versa.
If you plan to transfer sites, you should not post anything and close comments. just as a matter of fact, that was my learning...
What I did not like about zone.net is that after the server move and in the meantime, they have seem to taken off the live-support. I loved to quickly address my problems and have them sorted out.
Now I have to reside to their (working!) ticket system, where I usually receive a reply within hours, but sometimes also days (but that´s my fault then again to not "bump" my tickets every now and then).
In general, I am very satisfied with the performance at zone.net, the level of support and the possibility of having almost EVERYTHING customized to my needs. I appreciate being a customer there, seriously! as soon as I experience something else, I will post it here, promised!
For one of my new websites, I need to have the ability to record a video. The basic idea will be that a COD4 player uploads a demo file, which isn't a video file at all. Just a file with actions in the game which the engine then represents. So the user uploads the demo file, and then this is transferred to a server, where the game loads up and then records the demo. Does anyone know any software which has a API of some sort which I can use to control how long to record.
Maybe a hardware screen recorder would be better suited, but which provider would offer this?
Should I be running linux or windows? Windows has more games written for it so I was thinking that but I'm honestly not sure.
I have a server that crash at random time intervals. Mostly it crashes in between 7 days. The console is just chowing a blank screen.
The specs of the system are: Linux Distro: CentOS 4.5, kernel 2.6.9-55.0.6.ELsmp (tried multiple kernels). Control Panel: cPanel 11.x Hardware Info:Tyan server barebone - GT20 B5350G20S4H dual processor intel xeon 4 GB Reg. DDR RAM 4 x 250 GB Western Digital WD2500JS-00 Hard Disks ARECA-1110 4xSATAII PCI-X Raid controller.
I tried everything on the software part. Update the kernel, keep system software up to date. Nothing workerd. The load is just normal and memory usage is only 1GB out of 4GB. There are no entries in the log files witch are pointing to an error.
Everything is leading to an hardware issue. I suspect the raid controller or memory. The power supply is not an problem I think because the server consumes still power when it has a blank screen.
So, let me start off by saying I am completely new to website and FTP server hosting. I've hosted game servers in the past so I know about port forwarding and the like but this is obviously a step-up. I've managed to get a fully-functioning FTP server that works great on the domain I'm using but the website using Apache just gives people a blank white screen (as stated in the description). I'm using port 55567 for the website as I don't know want to use 80 because of security risks and what not. The domain being used is delawaretexasrepository.t28.net. Below are the error.log, httpd.conf and httpd-vhosts.conf.
After a few minutes or after specific actions Plesk shows the login screen without obvious reason. For example when I am trying to modify a file online and try to save it for the second time it always shows the login screen.
Also, when I enter the credentials I can see that the previous session(s) remain open. I have configured the session idle time to 1000 minutes, although I do not remain idle for 300 min anyway.
I am trying to access my server remotely using Windows' Remote Desktop Connection. It functions perfectly, but it does not go full screen because my local screen res is 1680x1050 ...
Does anyone know any other remote desktop applications which work better in this way?
I know I could just change the local res settings but it is a bit of a nuisance and looks really weird if I set it to something non-wide-screen...
To start the process in the background how and hide him?
In the system CentOS is command "screen" There is the command screen a system debian does not have this command, only "&" but I do not know her to use.
I'd like to put up here a base question which I hope some will have the goodwill to answer even though it might touch some business secrecies.
We're a gameserver hoster since around ten years, running also vserver products since over two years now. Renting a few Racks in Europe since some time we're a bit in a question mark how rootserver companies deal with the initial hardware costs for every new customer.
Rackspace and today specially power costs are huge cash eaters here in Europe. Dedicated Rootservers are huge space & power consumers per customer ratio. The initial Hw costs for every new rootserver customer might be covered after 4-6 months (if the machine has to be bought newly), adding the bandwidth and power costs it might take up to 8-9 months until a benefit might come in.
Is this the business normality in the rootserver market (waiting 9 months for any benefit, or counting only on the benefit of the 2nd customer using the older Hw), or are the better ways to handle those "initial" costs or keep them affordably low?
In My server i Can see lotz of /usr/local/apache/bin/httpd -k start -DSSL Process also some time it lead to crash of my server,is this caused to improper httpd.con file iam have 200-250 online users here i will give my apachi cofig file