How To Tweak Linux For File Serving

Sep 14, 2007

i have few servers that just serve files (1MB-100MB)

Suse Linux on all

the servers have minimal apps installed and i already got a llarge performance increase by dumping apache

now im look at tweaking at the OS level

any settings in Linux itself to speed up sending files down the pipe?

net.ipv4.tcp... in /etc/sysctl.conf?

View 0 Replies


ADVERTISEMENT

Static File Serving - Performance

Jun 24, 2008

I'm planning to setup a server ONLY for hosting of static binary files varying from few KB to few MB in size.

I've seen some of the litespeedtech performance benchmarks, which you can find here: [url]

From the "small static file" benchmark chart, i can see that IIS6 beats lighttpd in this test.

So i'm wondering does the IIS6 really have better performance at file hosting than lighttpd.

Actually it does not matter which operating system i will be using at this server, since i will use it only for file serving. With lots of concurrent connections. Possibly thousands of connections.

I need some feedbacks on this, so i can decide, IIS or lighttpd.

Few more bucks for win2k3 won't be an issue here, if it's performance is better than lighttpd for this kind of use.

View 11 Replies View Related

What Type Of Server And Os, Etc For Just File Serving- Small Files Like Under 10kb

Sep 26, 2008

I have a website that just serves small files, under 10kb most of them. I just need a server that lets me ftp the file to it, set up subdomains and domains for one website. Don't need to manage mysql or anything. Not even php. Just serve files.

A good fast OS? Something like lighttpd? Ioono?

I'm currently doing 600gb of bandwidth per month. I'm expecting to do about 1000gb by the end of the year. Would a small server like a pentium 4 be able to handle just serving files?

View 14 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

Tweak Mod_userdir Security

Jun 17, 2009

mod_userdir Protection:
Apache's mod_userdir allows users to view their sites by entering a tilde(~) and their username as the uri on a specific host. For example http://test.cpanel.net/~fred/ will bring up the user fred's domain. The disadvantage of this feature is that any bandwidth usage used by this site will be put on the domain it is accessed under (in this case test.cpanel.net). mod_userdir protection prevents this from happening. You may however want to disable it on specific virtual hosts (generally shared ssl hosts.)

We have enabled mod_userdir Protection for all our users but some our clients want to view their website via For example [url]

in this section there is mentioned that You may however want to disable it on specific virtual hosts (generally shared ssl hosts.)

but when i select a domain which i want to disable mod_userdir Protection & then ticked marked on Exclude Protection check box then i have restarted apache web server but still i am unable to view selected domain via IP based

View 2 Replies View Related

Best Configuration For My.cnf To Tweak MySQL

Jul 25, 2008

I just got a new server that has 2 quad core intel processors and 4GB of RAM. I am running about 1000 queries per second and have been having some issues where users are being denied a connection to the database every few minutes. I am not sure how to tweak the my.cnf file correctly to solve this issue. The contest of my.cnf are below:

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
max_user_connections=2000
max_connections=2000
interactive_timeout=100
wait_timeout=100
connect_timeout=100
thread_cache_size=128
key_buffer=16M
join_buffer=1M
max_allowed_packet=16M
table_cache=1024
record_buffer=1M
sort_buffer_size=2M
read_buffer_size=2M
max_connect_errors=10
thread_concurrency=8
myisam_sort_buffer_size=64M
server-id=1

#[mysql.server]
#user=mysql
#basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/lib/mysql/mysql.pid
open_files_limit=8192

View 5 Replies View Related

Cpanel PHP Open_basedir Tweak

May 10, 2008

if i enable PHP open_basedir Tweak in cpanel, it disables all sites and none load, do note that the other tweak called Apache mod_userdir Tweak is also enabled.

Now i am wondering is if they both clash with each other to compete for the security ?

Anyone else noticed this also?

Info :
WHM 11.15.0 cPanel 11.18.6-S24255
CENTOS Enterprise 5 i686 on standard - WHM X v3.1.0

View 4 Replies View Related

Horde Tweak In Greek Language

Apr 5, 2008

i want horde email to be default in greek language...i mean when someone clicks in horde email icon to go automatically on his box...i don't want the screen where he choose the language...is that possible?

View 1 Replies View Related

Tweak Amount Of Php Process Spawn-fcgi

Apr 5, 2009

Where do I find the file to tweak spawn-fcgi process. I look in lighttpd.conf and php.ini I couldn't find any. I use lighttpd.

View 3 Replies View Related

Links Files In Linux (file.txt For File.php)

Jul 9, 2007

Today I found some cstomer on the servers make a link for named it file.txt and link it to other customer php file.

so that customer have the ability to show the other custoer file content when visiting the url because it is a text wile originally it is a php file.

the php file was a config file, so now he know the database password , and because he is in the same server he can use that databse.

the question , how to avoide this prolem in the future?

notes , the SuExec is rnning and the open_basedir protection is enabled, but the problem still exists.

View 12 Replies View Related

IIS Just Stopped Serving..

Aug 2, 2008

I have been hosting a site for the past number of weeks on IIS on Server 2003..I have a no-ip a/c which is working fine along with port forwarding on my router..

The other day I restarted my server for something but now I cant seem to access my site from across the internet and according down for everyone or just me (website) it is down. I can, however, access the site using domain name from within my lan.

I'm not too hot on server 2003 or IIS. What can I do to debug/diagnose the problem?

View 2 Replies View Related

10 Second Lag Serving Static HTML

Mar 21, 2007

this isn't my server, so I don't have a lot of information about it, other than it's a Linux/Apache Dedicated server at EV1. (cPanel/WHM)

There are other sites on the server, and they are running fine.

One site has a terrible lag. It takes about 10 seconds to serve up a static HTML file..

Now, it's not like the server is slow. It's like this: You request a small HTML file. The site sits and thinks about it for about 10 seconds, and then after that everything processes quickly.

The forum on the site is the same way. Everything you click on works fine and loads quickly after that initial delay passes.

Is there a common configuration problem that might be causing this?

If you want to see this phenomenon, here are a few test files:
[url]
[url]
[url]
[url]

View 7 Replies View Related

Servint - Serving Porn On My Sites

Jul 7, 2008

What is up with servint?

I have domains and a vps through them.

The vps is now serving up porn on all the sites.

When I call servint they say I don't own the name but a whois shows i DO INDEED own the name for another year and it is registered to me and they are the registrar!!!

The portal user/pass suddenly stopped working so I can't even put in a support ticket

All I get is a message machine ... does anyone know if servint staff ever come on this board.

It has probably been hacked but it is pretty disturbing when they say I don't own the domain but it is CLEAR THAT I do own it.

View 14 Replies View Related

Speed Up Serving Large Files

Nov 9, 2009

I'm working on a web site which will basically be a flash games portal. I have a dedicated server running Apache 2 on a 100mbit dedicated line but my download speed for large files (flash files of over 5mbs) is really slow. I am thinking this is because of Apache but I don't know much about this. I've read that I should change for a lighter http server for serving static files. The way my server is set up is I have 2 virtual machines running, one doing the PHP processing and the other serving static files, both running Apache, so if I have to change HTTP server for the static files it would be very easy. Although I am not sure if this is necessary or if I can tune Apache to push files faster than this.

View 8 Replies View Related

Serving Data From 2 Hard Disks

Mar 1, 2009

I have a server with 2 hard drives, say drive A and drive B. Right now all my files, database and data is on drive A, and drive B is empty. Since I have another drive available, I want to split the load between the two drives. I'm ok with having the web pages and the database on one drive. I mostly want to just have the data (I have about 500GB of data) split between the two drives. Note that I want to avoid duplicating the data. I want to have each file on either drive A XOR drive B.

Should I map a separate subdomain to drive B and then use that subdomain to serve the half of the data thats there? Is there something I can do with hard/soft links on the server so that even though the data is on 2 drives, users still use the same url to access data on either drive? Any other options?

View 6 Replies View Related

Media Serving And Cache Daemon

Dec 11, 2008

what I want to do, have a "node" somewhere serve media (static) files from a central server, but cache the static files the first time they are hit, so subsequent requests to the "node" don't require getting the file from the central server.

Is there readily available solution to this?

View 1 Replies View Related

Serving & Playing Breeze FIles

May 15, 2007

Having trouble hosting Macromedia Breeze files on a brand new dedicated 2003 NT box.

Anything I need to adjust?

When someone visits the URL, it loads the presentation main screen, but it's supposed to auto-play several movies and it won't. It works fine locally and on 2 unix servers I tested it on, but not the new NT box.

The weird thing is, if I remote desktop to that server, I can't play that presentation locally or server thru the linux boxes. I figured it was an extensions thing, but like I said the intro still does appear, and if I go to Adobe.com and play a new "Adobe Presenter" presentation - it works fine.

View 1 Replies View Related

Preferred Operating System For Web Serving

May 13, 2007

I have been online since 95 and I've got a lot of information I could help others with regarding web development and interface design.

One thing I'm terrible at is System Administration, but I'm getting better and my first step is to pick a reliable operating system for both the webservers and the database servers. Would anyone be willing to answer the following questions or point me to a thread that already discusses these?

A little background, our site has 200k members, 30k active and is growing by about 5k a week. We still run MySQL 4.0.27 on the DB servers and they are running FC2. The webservers are Apache 1.3.37 and PHP 4.4.2 running FC2 and FC4 as well.

My questions

1. What OS would you prefer to upgrade to for the web servers? and a
"few" reasons why?

2. What OS would you prefer to upgrade to for the database servers?
and a "few" reasons why?

View 14 Replies View Related

Apache Serving Blank Pages

Oct 1, 2007

I am having this issue with a new box where Apache at random serves blank pages and won't serve anything but until it's restarted. I see no errors in /var/log/messages either to show why this is happening.

It's not all pages either just several various ones. I know it's not a programming issue either because the only thing the server is running is one instance of vBulletin.

I look at top during this and CPU and RAM usage are very low.

The only fix to get Apache to serve the pages is to restart it.

Anyone have any clues on what it could be?

I set my php.ini memory limit to a gig (I have 16 gigs in the sever)

View 1 Replies View Related

Apache :: Server Not Serving HTML

Mar 18, 2014

On a newly installed 2.4 on a fresh Gentoo, I created the following test index.html file

View 3 Replies View Related

Serving Domain Through Apache And Lighttpd At Same Time

Jan 11, 2008

There are 2 different domains with the same IP being served by Apache. I want one of the domains to be served by lighttpd, is it possible without having to change the IP of that domain?

View 11 Replies View Related

Problem Serving Gzipped Static Content

Nov 21, 2007

I'm trying to serve as much gzipped content as possible on my web site. I will gzip dynamic pages on the fly using PHP, and I plan to gzip static content just one time, not to use much CPU, and serve css.gz, .js.gz files, etc... So, I uploaded a test.html file and a .css file that changes the color of the text to red. I gzipped the css file:

%gzip style.css

I also uploaded an .htaccess file with this content:

RewriteEngine on
RewriteBase /gzip/
RewriteCond %{HTTP_ACCEPT_ENCODING} gzip
RewriteRule ^(([^.]+.)+)css$ /$1css.gz

For now I'm not going to include any gunzipped style sheet, just to make sure my browser picks the gzipped style sheet. I also uploaded a phpinfo.php file to make sure I have mod_gzip. So, here's the list of files I have:

- .htaccess
- style.css.gz
- test.html
- phpinfo.php

But when I open the test.html file: [url] the style sheet isn't applied. If I upload a regular style.css file, it works fine. It seems the Rewrite rules aren't taken into account. Do you know how I could server the gzipped style sheet instead?

View 4 Replies View Related

An Otherwise Great Performing Server Now Delays Prior To Serving PHP/mysql

Nov 7, 2008

One of my dedicateds (Fedora 7 / apache 1.39 / php5 mysql5) has been running flawlessly but now has a strange ~4-5 second delay when serving up PHP/mysql pages such as Wordpress.

I say delay because it appears to think about it for several seconds, then when the page finally begins the refresh process, everything serves up lightning fast. Latency is low, direct file downloads are faster than ever.

ModSecurity is running, and accounts for about 1 second of that delay (tested with it on and off), but the other 3-4 seconds is a mystery.

View 3 Replies View Related

Change File Name In Linux

Jul 29, 2009

I have a file and i need to change this file name.

But its have space now.

Its: My File Name.tar.gz

How can change this file name to: My-File-Name.tar.gz

View 2 Replies View Related

How To Rename A File In Linux

Apr 1, 2009

I have a list of files in a folder like this:

/home/files/[url]

And I need to rename them to this format:

awstats092008.[url]

I've played around with sed, rename, and a bunch of others.. but I just can't figure this out.

server is CentOS 5.2

View 2 Replies View Related

Plesk 12.x / Linux :: 404 File Not Found

Jul 23, 2014

When trying to access any files or pages I'm getting the error:"Not Found...The requested URL /wp-login.php was not found on this server.Apache Server at calmcomputing.net Port 80"

The standard default page displays but my Wordpress installation does not (nor does anything for that matter). I've looked in the file manager (and via ftp) and all the files are there like they should be. This is the same for any of the subdomains that I've setup as well.

View 3 Replies View Related

1.com/file.php, 2.com/file.php Where File.php Is Hosted On Main.com/file.php

May 26, 2008

Say I have 2 websites and they all use file.php which is located on mainserver.com/file.php.

I want to use the file like this:
website1.com/file.php
website2.com/file.php

View 2 Replies View Related

Plesk 11.x / Linux :: PHP Script Can't Upload File

Jun 4, 2014

All my PHP script can't upload file. I have tried to set CGI Application or FastCGI Application to my domain, but I can't resolve this issue.

View 6 Replies View Related







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