[Apache2] Enable/disable Concurrent Connections

Apr 28, 2009

Currently I use WHM/cPanel latest on a few boxes, I have (at least to my knowledge) copied the exact compile settings between servers, yet some of my servers allow me to do concurrent file downloads (using DownThemAll or another "accelerator") whilst others only let me make 1 connection. These servers also don't show me the final filesize while downloading. So my question is, what did I set/unset to cause this to happen? It's been bugging me for a month or so now and no amount of recompiling has fixed the issue (aside from a clean install of the OS/cPanel). I can provide a list of modules and other config settings if required.

View 3 Replies


ADVERTISEMENT

Max Concurrent Connections

Apr 21, 2009

i have a vps, and im current use lighttpd, but i want move to litespeed Standard. And i see they limit Max Concurrent Connections =150 on standard version.

but what is Max Concurrent Connections? where can i find it.

and is it the number connection via port 80 (netstat -nt | grep :80 | wc -l)?

View 3 Replies View Related

Host With Max Concurrent SQL Connections

Apr 23, 2008

Iam currently on godaddy on shared hosting but my site with php and mysql is very slow on queries and get a lot of timeouts

So far i have contacted the below providers and asked them how many concurrent connections on mysql database they support

hostgator - 25 connections
powweb - 20 connections
hostmonster - 30 connections
Servage - 20 connections
anhosting - 50 connections

How is most reliable and i can count on ? I want to tranfer my domain.

View 14 Replies View Related

Unlimited Concurrent Connections

Oct 6, 2008

Is there any host with a shared connection that will allow Unlimited concurrent connections to both http and to mysql.

I Got a myspace clone that just blows through connections when my users are logged in.

View 13 Replies View Related

Linux Cisco VPN Client - Two Concurrent Connections Possible?

Jun 21, 2008

Server: Dell 2950
onboard NIC only
CentOS 4.6

Is it possible to run two concurrent VPN connections using the Linux Cisco VPN client? We need to have one server be able to communicate over two different vendors gateways.

Do we need to possibly add an additional NIC to the server first?

When we try to connect to another profile we get the error:

Initializing the VPN connection.

Secure VPN Connection terminated locally by the Client

Reason: A connection already exists.

View 0 Replies View Related

Windows Server Licensing Per Device Or Per Concurrent Connections

Aug 12, 2008

I will be running Plesk.

I only need 1 user, Administrator with full Remote Desktop Connection access.

But I need to be able to serve websites using Plesk.

View 2 Replies View Related

How To Limit Apache2 Global Per IP Connections

Jan 27, 2008

Some limit connection mods can limit max connections per vhost, any mod can limit connections to apache server per IP?

View 3 Replies View Related

Suexec Enable Or Disable

Mar 25, 2009

is it good or not and why we should enable or disable it in cpanel server or other server?

View 11 Replies View Related

How To Enable/disable Mail() Function

Feb 16, 2009

how to know if mail() function is enabled or disabled on my server? how to enable/disable it?

can it be done via server control panel or is there a shell command for it?

one more thing, where to get/edit the SMTP data for my server?

View 14 Replies View Related

How To Enable/disable Cronjobs For All Account On WHM/cPanel?

Aug 31, 2007

I'm manage on dedicated server.

I need to know method enable/disable cronjobs for all account on WHM/cPanel?

View 2 Replies View Related

Enable Php-fpm Serverwide - Disable Apache Module

Jun 1, 2014

Is there a possibility to enable php-fpm serverwide and to disable running php as apache on the server?

This for both existing subscriptions as for new subscriptions ?

View 6 Replies View Related

Plesk 12.x / Linux :: Enable / Disable Nginx Per Domain

Feb 24, 2015

Is it possible to control if nginx is active on a per domain basis? If so, how do we configure this. If not, how do we disable nginx completely?

View 3 Replies View Related

Plesk 12.x / Linux :: Enable Webmail In A Domain With Disable Website

Jun 23, 2015

I have a Plesk 12 server running under Debian 7. I have a website with only mail so I disable web hosting. The problem is that the client needs to use webmail but webmail does not work (maybe because web hosting is disabled)...

View 1 Replies View Related

15,000,000 Concurrent Sessions Using Only 2 Dedicated Servers

Jan 10, 2009

I was looking at some load balancers hosting companies offer and some of the load balancer specs say they can handle up to 15million concurrent sessions(users online at the same time), so does this mean if i had a site like wikipedia that had 15 million users online at the same time, would i be able to do this with only 2 dedicated servers, or will the Cpu's not be enough?

View 3 Replies View Related

How Many Concurrent Users Support A P4 3ghz With 2gb Of Ram?

Nov 24, 2008

how many concurrent users support a p4 3ghz with 2gb of ram?

server is running about 10 sites using php/mysql and when there are 30/40 concurrent requests on apache2 the cpu load go to 5/6 until 10 in some cases

is this normal? i need to upgrade my hardware or i need to optimize mysql/php/apache?

View 6 Replies View Related

How Many Concurrent Users On The Average VPS Plan

Jul 26, 2008

I'm on a vps using Dell PowerEdge Servers and 750 GB of transfer.

I have concurrent users settings to where i now have them at "50" and I'm wondering how much higher i can go without troubles.

My app is a perl cgi script in flat files and 95% of visitors will pass through my domain without seeing my webpage. They are only there approx 1 second, maybe 2 as they are quickly redirected from this platform.

My host has a custom solution installed to check for apache stalls every few minutes and it will restart apache when it sticks - and it will stick from time to time.

Just now i do about 75000 per day but plan to double to 150,000 next week and soon after will triple to 225,000 visitors per day.

Should i increase concurrent users now in prep for the increase to 150k or at what level.

Please give some suggestions for concurrent settings at future traffic levels. This host has a multiple server set up in case one fails - i should be good, i think.

75000
150000
225000
300000
400000
500000

View 2 Replies View Related

Hosting / Number Of Concurrent Users

Apr 2, 2008

I am planning to set up a forum. What kind of server do I need? I am expecting to
have

- 40-50 concurrent users

Do I need a dedicated server (2 GB) - which would cost me about - 350$ per month - or is it

possible to find a cheaper solution?

View 3 Replies View Related

Limit Concurrent Users In MySQL

Jan 15, 2008

I try to search and not found the solutions to limit concurrent of db users to connect to MySQL in same time for example:

Limit user root to connect to MySQL maximum 5 connections in same time

There have max_connections setting but it limit for all users in all connection to MySQL.

But I found that in version 4.1.x there have max_connections property in user table (Users and global privileges) of mysql database, this setting is limit connection in 60 minutes.

I would like to know if there any setting or code modify for this solution that I want.

View 1 Replies View Related

How To Calculate Concurrent Sessions Off Linux Machine

Mar 23, 2009

I am planning to get a Juniper firewall, but due to SSG140 has a maximum of 48,000 concurrent sessions per second, so it triggers me how do I measure the concurrent session of a linux server of the total throughput instead of just port 80?

OS: CentOS

View 3 Replies View Related

Apache :: Limit Max Number Of Concurrent Access To Specified URL

Jul 11, 2014

Is it possible to limit the max number of concurrent access to an url?

Let's see the following example: URL...

/a1 concurrent access should be limited to for example 20.

While we have an other url:
https:/ssss.com/a2

/a2 should be limited to 30.

Is it possible to do it with some apache config?

View 1 Replies View Related

Plesk 12.x / Linux :: Concurrent Visitors Max CPU Multiple Php-cgi

Jun 25, 2015

I am running Plesk 12.0.18 on Centos 6.4

I have noticed that the CPU on my VPS maxes out. This occurs when there are many concurrent visitors to any of the 7 domains. 6 of the domains run Wordpress and 1 runs php-bb forum. When I run top during high cpu I see multiple "php-cgi":

32664 xxxx 30 10 211m 38m 8228 S 21.0 0.9 0:03.70 php-cgi
32675 xxxx 30 10 209m 38m 7992 S 25.8 0.9 0:02.08 php-cgi
30809 apache 30 10 422m 98m 2492 S 8.8 2.2 0:18.07 httpd

Looking at the process

PID TTY STAT TIME COMMAND
32664 ? SN 0:01 /usr/bin/php-cgi -c /var/www/vhosts/system/websitex.com/etc/php.ini

The net result is CPU hits 100% and visitors are greeted with Service Unavailable ...

Output from /usr/local/psa/bin/php_handler --list

id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false

View 4 Replies View Related

Concurrent Users On Game Websites Like Wildtangent And Instantaction?

Jul 17, 2008

Like the topic suggested, anybody have a rough estimate of how many concurrent users game websites such as wildtangent and instantaction have? Also, what kind of server configuration would be necessary to support those kind of users assuming you have 1 server for web and 1 for database.

View 3 Replies View Related

Maximizing Linux (CentOS) For Maximum Concurrent Users

Jul 28, 2009

I am running lighttpd and eccelerator.

I have stripped the php-cgi.

I have tried forking anywhere from 50 to 300 to 1000 fastcgi children with PHP_FCGI_CHILDREN (through lighttpd, I'll attempt to do with same with spawn-fastcgi and fpm)

Server stats:

Intel Core i7 920
12GB DDR
250GB 7.2k RPM SATAII 16MB Cache

I am using to lighttpd's lighttpd-status to estimate concurrent connections.

When I refresh the panel, it shows that there are around 100-150 connections and around 150 requests/s in the last 5 seconds.

My vmstats show that CPU is 98% idle. Blocks written/read is neglible. MySql key_buffer set to 2gb and I'm pretty sure it's not mysql. The overwhelming majority of requests do not access mysql.

EDIT: Uh oh, I just realized that tcp_mem could be a huge bottle neck.

I just set it to:

net.ipv4.tcp_mem = 4096000 87380000 4194304000

It was previously:
net.ipv4.tcp_mem = somenumber somenumber 393,216 <<<--- WTF!

x1000 for my read values (it's an access server only). I can't benchmark the server right now so let me know if you have any suggestions besides this. I do think that this was the problem. When under load images could not be accessed either.

View 4 Replies View Related

Apache2 Worm?

Apr 28, 2009

Usually our website traffic is about 50 MB/day in our dedicated server. From these past 2 days it's consuming 5 GB/day and Apache2 opens so many processes/connections that our router can't handle and turns our WAN/LAN extremely SLOW!

If the reboot the server, it calms down but soon the apache2 starts again to open the connection (+1000).

Can this be a worm? I'm using Ubuntu Server 8.04.

View 2 Replies View Related

Advantages Of Apache2?

Oct 25, 2007

I am still running apache 1.3 something on my debian vps but debian would really like to upgrade to apache 2 (Ie PHP5 updates).

So I wanted to ask what the advantages and disavantages of running apache2 is?

Can apache2 use a 1.3 httpd.conf?

View 4 Replies View Related

Restarting Apache2

Apr 4, 2009

Ive had this problem numerous times (website failed to connect error) before and the web management team tell me that apache2 needs to be restarted, seeing as they are not replying to my emails im gona try and do it myself.

i open up putty, login as root user, then what?

View 2 Replies View Related

Apache2 Hangs The VPS Up

May 7, 2008

I have a problem. When MSN Search robot looks through my VPS, the machine is going "asleep", e.g. Apache2 (Port 80) doesn't answer at all. Here is the last falling:

Code:
23:14:15 up 4 days, 9:06, 5 users, load average: 37.18, 31.25, 27.46
I hardly ever can enter 'pkill apache2' to kill Apache2 processes. Here is my Apache2 configuration (timeouts, prefork, e.g.):

Code:
Timeout 30
KeepAlive On
MaxKeepAliveRequests 20
KeepAliveTimeout 5

<IfModule mpm_prefork_module>
StartServers 2
MinSpareServers 2
MaxSpareServers 5
MaxClients 10
MaxRequestsPerChild 400
</IfModule>

Maybe I configured Apache2 wrongly, but I only want to prevent this bad thing.

View 2 Replies View Related

Apache2 Lagging

Apr 13, 2008

I just wondered if anyone can help me out with an Apache problem. I currently run Debian 3.1 (on 10 GB space and 256 MB of RAM) with Apache 2.0.59 installed through apt-get.

Apache runs with 10 child processes running simultaneously to handle multiple requests at once. I have set up Apache to use virtual hosts for every single account since they are hosted on their own domains/subdomains.

I put in a crontab to restart Apache every 15 minutes. The reason being is because after a while, Apache will start lagging to display web pages. When it's restarted, it works just fine and fast. After roughly 10 minutes now, it will take roughly a minute for the request to finally send the data back to the browser. It's not the web page that causes it, it's Apache or some factor effecting it's performance.

Does anyone know what the cause may be or how to fix it? Personally, I think it might be a memory issue.

View 10 Replies View Related

Can't Get PHP Working With Apache2

Jul 30, 2007

I had php4 running as a module of apache2 on a debian sarge os.

i did the following to upgrade to PHP5

apt-get install php5 libapache2-mod-php5 php5-gd php5-mysql

But when i tried to start apache i got an error message saying that libphp5.so is corrupted or something.. (garbled - perhaps this is not an Apache module DSO?)

Now i just want to retore php4 working as it was !

i did apt-get remove php5 libapache2-mod-php5 php5-gd php5-mysql
and apt-get install php4 libapache2-mod-php4 php4-gd php4-mysql

but i can't find the php4.conf and php4.load on the /modules-enabled or /modules-available

tried to write those files manualy as php4.so exists with other libs.

apache does not load php

Quote:

host:/etc/init.d# apt-get install php4 php4-mysql php4-cli libapache2-mod-php4
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Paquets suggérés :
php-pear php4-pear
Les NOUVEAUX paquets suivants seront installés :
libapache2-mod-php4 php4 php4-cli php4-mysql
0 mis à jour, 4 nouvellement installés, 0 à enlever et 275 non mis à jour.
Il est nécessaire de prendre 0o/3258ko dans les archives.
Après dépaquetage, 6517ko d'espace disque supplémentaires seront utilisés.
Sélection du paquet libapache2-mod-php4 précédemment désélectionné.
(Lecture de la base de données... 35624 fichiers et répertoires déjà installés.)
Dépaquetage de libapache2-mod-php4 (à partir de .../libapache2-mod-php4_6%3a4.4.7-0.dotdeb.0_i386.deb) ...
Sélection du paquet php4 précédemment désélectionné.
Dépaquetage de php4 (à partir de .../php4_6%3a4.4.7-0.dotdeb.0_all.deb) ...
Sélection du paquet php4-cli précédemment désélectionné.
Dépaquetage de php4-cli (à partir de .../php4-cli_6%3a4.4.7-0.dotdeb.0_i386.deb) ...
Sélection du paquet php4-mysql précédemment désélectionné.
Dépaquetage de php4-mysql (à partir de .../php4-mysql_6%3a4.4.7-0.dotdeb.0_i386.deb) ...
Paramétrage de libapache2-mod-php4 (4.4.7-0.dotdeb.0) ...

Paramétrage de php4 (4.4.7-0.dotdeb.0) ...

Paramétrage de php4-cli (4.4.7-0.dotdeb.0) ...

Paramétrage de php4-mysql (4.4.7-0.dotdeb.0) ...

host:/etc/init.d# /etc/init.d/apache2 force-reload
Forcing reload of web server (apache2)...apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php4.load: API module structure `php4_module' in file /usr/lib/apache2/modules/libphp4.so is garbled - perhaps this is not an Apache module DSO?

View 1 Replies View Related







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