Server Tweaking

May 3, 2008

I have just transfer a website over to a dedicated server with limestone network. A lot of times my site would not load or would load after 5-10 seconds. This is probably due to too many people connecting at once (i am guessing). The website is a myspace resource site with about 2000 uniques per day or so. how to optimze the server so the site will run better?

View 7 Replies


ADVERTISEMENT

Tweaking MySQL

Jan 14, 2008

MySQL Takes up 80-100% cpu

Processor Information Processor #1 Vendor: AuthenticAMD
Processor #1 Name: AMD Opteron(tm) Processor 242
Processor #1 speed: 1591.450 MHz
Processor #1 cache size: 1024 KB

Processor #2 Vendor: AuthenticAMD
Processor #2 Name: AMD Opteron(tm) Processor 242
Processor #2 speed: 1591.450 MHz
Processor #2 cache size: 1024 KB

Quote:

4 GB ram

Quote:

My.cnf contents

[mysqld]
safe-show-database
old_passwords
back_log = 75
skip-innodb
max_connections = 650
key_buffer = 40M
myisam_sort_buffer_size = 64M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
#table_cache = 3000
table_cache = 1024
#thread_cache_size = 128
thread_cache_size = 286
wait_timeout = 722
connect_timeout = 10
tmp_table_size = 16M
max_heap_table_size = 64M
max_allowed_packet = 64M
net_buffer_length = 16384
max_connect_errors = 10
thread_concurrency = 8
read_rnd_buffer_size = 786432
bulk_insert_buffer_size = 8M
#3 below
query_cache_limit = 1M
#16 below
query_cache_size = 16M
query_cache_type = 1
query_prealloc_size = 262144
query_alloc_block_size = 65536
transaction_alloc_block_size = 8192
transaction_prealloc_size = 4096
default-storage-engine = MyISAM

[mysqld_safe]
nice = -5
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 16M

[myisamchk]
key_buffer = 16M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M

[mysqlhotcopy]
interactive-timeout

View 7 Replies View Related

Futurehosting - Tweaking Apache To Reduce CPU Loads?

Apr 20, 2009

its 2am night here, and my sites are down....now there is no way i have too much traffic at midnight, also all my websites are new !

this is happening consistently since today morning and im getting no support apart from jargon filled replies from customer care

how do i tweak apache settings and what settings do i make to avoid this ?

im wondering what will happen after few months when my websites actually have good traffic coming in ?

We have checked your server. Please see the load average and process list given below:

The value 4.42 was the CPU load average at the time. A normal load should be below 1.00. I could see that Apache service is causing high load in your server.
So you can tweak Apache in order to reduce the CPU load. Please check and let us know if you need any further assistance.

++++++++++++++++++
[root@chi07 ~]# vzctl exec 18403 w
03:16:20 up 2 min, 0 users, load average: 4.42, 1.42, 0.50
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT

View 14 Replies View Related

Tweaking Assistance Fbsd 6.2 + Apache 2.2.4/php5.2.0

Jan 29, 2007

i can't seem to figure out what is causing this server to run out of cpu... something is running away, it has to be, load is shooting over a couple hundred.. i woke up with it dead.. but forgot to look at top to see if all 3 gigs of swap (i added some last night) was full..

View 8 Replies View Related

Improve Performance- Web Server, SSH Server, And Mail Server

May 8, 2007

I've got a VPS which is serving as the main server for a number of sites. Web Server, SSH Server, and Mail Server.

What I've got running:

Apache2, PHP5, MySQL5, Dovecot, Postfix

One of the sites is a growing forum with a MASSIVE photo album. This is the site where I notice the most slowness.

Changing the server software is not an option - Only optimization.

Quote:

Originally Posted by httpd.conf

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 300
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
StartServers 8
MinSpareServers 8
MaxSpareServers 13
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 50
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen 80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
Include conf.d/*.conf
User apache
Group apache

Quote:

Originally Posted by my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

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

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

View 8 Replies View Related

Remote Upload To Server (url/server To Server)

Mar 7, 2009

I looked a lot - can not find solution ....

I want to transfer a file from [url]to [url]or [url]Without it will pass my localcomputer (slow upload)

It can be also a script i will install like this one - this is only for images
[url](remote)

View 7 Replies View Related

Plesk 11.x / Windows :: Don't Have Root Access To Server As It Is A Webfusion Dedicated Server

Oct 16, 2013

I have Plesk 11.5 (service provider mode) on a Windows 2008 server IIS7.Most of my sites are developed in .asp and therefore i use a custom 500-100.asp error page that check s the IP of the visitor then displays either a friendly error, or if its my IP a full error of what has happened (it also emails me the error). This allows me to debug pages easily whilst developing and to keep an eye on anyone trying SQL Injection hacks on my sites (as the error and email also have session variables and IP address).I dont have root access to the server as it is a Webfusion dedicated server.I have following the Plesk documentation -

1) Switch on custom errors for the subscription
2) Look in virtual directories and navigate to error documents
3) Find the error in question (500:100) and change it to point at either a file or URL

FILE - I had the data centre add in the 500-100.asp error page in to the virtual template so that my page is available in the list of virtual files - this didn't work but that maybe because its not a static page??

URL - when i add the path it says its incorrect, if i add a fully qualified address, it accepts it but it doesn't work.give me a specific example of the URL that can be entered relative to the root as the format in the documentation isn't accepted. The last step is to restart IIS which is also an issue as i cant seem to do this from the Plesk panel..It is as if it isn't catching the 500:100 error, and only catching the general 500 error??

View 1 Replies View Related

Urchin 5 / Google A . Transfering From Server To Server (Serial Already Activated)

Nov 21, 2006

I am currently running Google Analytics/Urchin 5 (v5.7.02), on a server, the server has started to act up, (on its last legs etc) and now I am trying to transfer the Urchin Software to a new server, where it would work effectively.

However upon installing the urchin software on the new server and running it (localhost:9999), I am presented with An Action Items Page, and these following choices

Obtain Demo License
Buy License
Activate Pre-Purchased License

I choose ‘Activate Pre-Purchased License’ pop in the Serial number and complete the registration then…

---------------------------------------------------------
Urchin Licensing Center -- Error!

An error has occured during your transaction, please use the back button and correct the problem. The specific error message is:

• Unable to generate a license. Some possible reasons:

Your serial code is currently active <<< How do I disable it and use it on another server?
---------------------------------------------------------

So all I want to do is deactivate the serial and reactivate it on another server.

Does anyone have experience with this or a similar problem or have a solution to this problem. Any help be most appriciated.

Or even a Contact Number so that i can get some one over the phone!

View 2 Replies View Related

Cpanel Domain Name Server (DNS) Setting For Email On 2 Seperate Server

Nov 7, 2009

This is the scenario, domain.com are setup on server1, however server2 also has the same profile of domain.com as we use ns3 and ns4 using domain.com. This works fine with the nameserver setup on server2.

However I encounter problems as the emails from server2 won't reach server1 as there are duplicate profile on server2.

My question is how do I setup the DNS in cpanel/whm from server2 so the emails from server2 will reach server1?

Server1 (www.domain.com)
ns1.domain.com
ns2.domain.com

Server2
ns3.domain.com
ns4.domain.com

View 6 Replies View Related

File Server Setup With Nginx...how Do I Choose The Config For The Server

Apr 22, 2009

I just want to use a server for file sharing, it will have nginx and that's it. I'm looking at centos, or freebsd, but I been using centos forever now and I'm not sure how to use freebsd, should I just stay with centos?

Do I tell my hosting provider to just install the OS and give me ssh action and that's it? Don't install any control panels or any other stuff? I want one domain and one subdomain on it though and ftp action.

View 8 Replies View Related

Remote Spamassian With Multiple Mail Server (Smartermail Server)

May 12, 2009

Remote Spamassassin for Multiple Smartermail Server

I want to setup Remote Spamassassin(On Linux) for Multiple Smartermail servers. I want to the setup the spamassassin on a linux box

How i can setup this with multiple smartermail servers.

View 6 Replies View Related

How To Tansfer Backup Files From Linux Server To Windows Server

Jul 4, 2007

what is the fast and best way?

View 4 Replies View Related

Plesk 12.x / Linux :: Full Server Migration To New Server With Same Hostname?

Jul 20, 2015

I'm wondering whether it is possible to perform a full server migration to a new Plesk server with the same hostname or will Plesk give an error about the hostname being the same?

The new server would not be accessible by hostname (only via IP) until DNS and glue records were changed after the migration.

View 1 Replies View Related

Cheap European Server For Small Game Server

Aug 31, 2008

I've been developing a small 2D MMORPG lately. I bought a VPS to run the server on a few days ago and sadly it doesn't work so well. Sometimes the loads go pretty high (afaik not caused by me) and MySQL freezes, causing the server to just wait for MySQL to unlock, hanging all the players around on the map. Not a good thing.

Anyway, the game is very small scale, and I'm not planning to have more than maybe 30-50 players online. It does not suck up much CPU, I had ~10 guys online and loads stayed down at 0.00 on the VPS box.

Problem with getting a dedicated is our very low budget. As I'm still underage and living at home hammering my pc and don't have any real incomes, we're talking numbers like $ 30 - $ 50 USD per month - it's really hard to find for that price in Europe.

Requirements:
Monthly payment, $ 30 - $ 50 / month, no setup (or very small setup, like $ 20)
10Mbit/s or faster connection, 100GB traffic should do
500MHz CPU is all cool
512MB or more RAM
5GB diskspace is enough
Has to be in Europe due to ping times (< 100ms)
Linux, Debian 4.0 prefered

If anyone knows where I could get something like this for a low price, $ 30 to $ 50 USD, it'd be great.

View 12 Replies View Related

DNS Domain Name Server Manager In Windows Server 2008

Aug 28, 2009

I have been searching everywhere trying to find a tutorial but It is not going anywhere. Basically I need to create 2 nameservers for Godaddy and pretty much so when i type http://mysite.com it goes to my site. I can access everything from http://myip and everything works. Now is there a step by step on how to actually do it in the DNS Manager? I need help like what IP address do I use is it the router ip? The external IP?

View 7 Replies View Related

Shift Email Accounts Data To One Server To Another Server

Mar 2, 2009

i want to shift my domain to one server to another server and the problem is how can i shift my email accounts data to one server to another server.

View 8 Replies View Related

Worth Upgrading To Quadcore Server (win2003 Server)?

Dec 8, 2008

Site is currently running on a single code single cpu p4 server. Am thinking of upgrading to a quad core Xeon server.

My site is pretty dynamic with lots of hits to php / mysql, and has trouble keeping up with the requests sometimes. Would a quadcore Xeon significantly help?

Server Software:
Windows 2003 Server
php 5.2.6
apache 2
mysql 4.1

Current Setup:
P4 2.8 single core/cpu.

Proposed setup
Xeon 3210 quadcore

I guess my confusion lies in the following:

1. Can win2003 server make use of the quadcores?
2. Does php / apache / mysql make use of the quadcores?
3. Will i see a significant increase in the amount of pages i can serve?

View 5 Replies View Related

Move SSL Certificate From CPanel Server To Plesk Server

Oct 23, 2009

I need to move an SSL certificate from a cPanel server to a Plesk server.

View 3 Replies View Related

Difference Between A Virtual Private Server And A Dedicated Server?

Feb 11, 2009

What is the difference between a virtual private server and a dedicated server?

View 8 Replies View Related

Converting A Dedicated Server Into A Flash Media Server

May 10, 2009

I am going to be buying a dedicated server from kimsufi Most likely the 2XL Package.

My streamers will be using my server aswell, On weekends we will be running 3-4 streams at a time, weekdays 1-2 at a time.

Spreading all the streams out, at anyone time we will have 300 viewers.

I need to know your advice on this before i go spending money.

How do i convert my dedi into a flash media server, i need red5 or something, thats all i know so far. My streamers wil be streaming to server with FME, And i also want it coded so that my streams can only be embedded on my site.

Basically i dont have a clue where to start, how long would it take me to set up etc....

In addition, what kind of server do i need, windows / linux / traffic / burstable / standard etc..

View 9 Replies View Related

Samba Server :: Can Linux And Windows Exist On The Same Server?

Jan 10, 2008

I have a linux server for a video sharring site

The video encoder that I prefer to use will only work in a windows enviorment

The windows server would pass off the converted video to the Linux server.

Will a Samba server for Linux allow a Linux machine to connect and share files with a Windows machine work for this application.

Although it's probably a dumb question but can Linux and Windows exist on the same server?

View 3 Replies View Related

FTP Server For Windows Server 2008 Standard Edition?

Dec 1, 2008

I am not using IIS and the built FTP server. Is ther other recommended FTP server to use in a windows 2008 dedicated server?

View 5 Replies View Related

Mail Server Setup On Fedore Core 6 Server

Jan 1, 2008

for setup and configuration instructions for setting up mail server on a Fedora Core 6 server. I googled it and most of the links are described with steps while installing OS, but i need to configure a mail server on a server where my site is already running.

View 1 Replies View Related

Connecting To Lotus Notes Server From A Non Domino Web Server

Sep 25, 2007

I'm running a local department website using xampp (apache, php, mysql) and we have a corporate lotus notes mail server. Is it possible to connect to and send mail via lotus notes using something like sendmail running under xampp?

View 0 Replies View Related

Primary Server Using Script To Upload On 2nd Server Without A Domain

Oct 20, 2007

i am currently with a host, hosting my important sites. I am now going to purchase some space from another host purely for storage purposes and bandwidth usage as they are within my budget.

Now i have my primary domain with my main host, and i would like to have a script or link from my current host which leads onto my 2nd host for users to upload their images or files. Now i have a problem, the second host that i will have will not have a registered domain attached to it, but rather it will be just storage.

I would prefer to have a subdomain from my primary host pointing to my second host. The problem is where will the subdomain point to? Or will it even work that way without having to purchase another domain?

View 4 Replies View Related

ODBC Connection From A CPanel Server To A Windows Server

Dec 21, 2008

if it's possible to use ODBC to connect to a Windows box from a Linux cPanel server. We have attempted connections from PHP (both as CGI as well as Apache module) and we get:
Fatal error: Call to undefined function odbc_pconnect() in...

and

Fatal error: Call to undefined function odbc_connect() in...

Is ODBC possible on cPanel servers?

View 2 Replies View Related

Server Hacked : How Can I Find Out How They Are Uploading Files To My Server

Apr 14, 2007

I am being hacked & I don't know how they are getting files on my server. They are doing it on two of my domains, I suspended one and then they got it on the other. My FTP access log does not show anything suspicious..

How can I find their doorway?

View 4 Replies View Related







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