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
ADVERTISEMENT
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
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
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
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
Aug 28, 2014
i saw very often in the active sessions site following line:
Username Empty IP empty Date Nov 30, -0001 12:00 AM Idle time 00:45:39
What is that and how can is stop this or get it fixed ?
View 1 Replies
View Related
Dec 12, 2008
I am currently researching the options open to me for Virtualisation, the two main ones I have seen are Xen or KVM.
I mainly use CentOS (RHEL), but have read that the version of Xen with it is very old, broken and unstable. KVM isn't included in the kernel that ships with CentOS, as it is too old, apparently it was first featured in Kernel v2.6.20. There isn't likely to be an update till RHEL6, which is due for release first quarter of 2010. I can't wait over a year, so need to find another Distro for use as the Host OS/Hypervisor.
I have built a pretty powerful server, it has an Intel Xeon 3230 which has VT - so I might be better off using KVM over Xen. I am going to collocate this server, so realistically I can make this decision only once - as it would be a PITA to re-install a host Linux distro remotely.
I did a search on distrowatch for distros with the latest version of the kernel, and Slackware came up as being just one minor version behind the most current (v2.6.27.7).
Now this distro is very mature, so should be a fairly safe bet, but it is a 32bit version and can't host 64bit VMs. I have 8GB of ram so want to be able to use it all, and offer the choice of 32/64bit VMs. So that's that out of the window.
I have used Arch Linux on and off for a couple of years as a workstation OS, but because it is so bleeding edge, when pacman updates it can break itself. But I suppose if I just use it as the Host OS, and never let it update/reboot, then it won't break. It should be fairly lightweight and stable, as I will be installing the bare minimum packages. I have a management card, so if the server fails to boot, then I can still remote in to fix it.
If I do want to update the kernel, is it possible to update without rebooting? I think it is somehow... unless I can just reboot during an unused time at 3am or something.
As you can tell I am leaning towards KVM on Arch Linux (x86_64). Is this a good plan?
View 9 Replies
View Related
Aug 17, 2007
I was wondering if anyone can help me out or point me to a guide that will allow me to to create a Windows 2003 x64 Virtual MAchine using VMWare server on a CentOS or Redhat installation.
View 6 Replies
View Related
Jun 27, 2009
I have a dedicated machine collocated at some hosting provider and after a while (14 days or so, but timeframe is not constant) it hangs for no apparent reason. It happened 2 times already. Nothing in the logs (it logs everything), nothing at all.
Before the commission the machine was running for a month without any problems.
The first time it happened the tech guy plugged in monitor and keyboard and could not see anything on the display. Before that machine was not loaded with any traffic, nobody should have actually known it is there (except for some DNS traffic). It took some 20 days of uptime.
The second time it happened was yesterday, after some 15 days of uptime.
I suspect hardware malfunction because I have 2 "identical" (OS & progs, not the hardware) systems running without any problems. It is an HP DL380 G5 machine, the problematic one.
View 3 Replies
View Related
Apr 17, 2009
how to manage different e-mail accounts in linux, we are moving a cpanel hosted account into a bare-linux machine.
I can get all the services setup, however the question remains how do I add different mailboxes with different domains?
Do I have to create a linux user for each mailbox?
View 7 Replies
View Related
Oct 24, 2008
We have a domain portal controller for windows. All the machines in the n/w are connected to it. So, when ever an user enters the user name and password it gets authenticated from the domain portal controller. So, my login can be accessed anywhere in the netowrk.
Example : my login is sabarishks which can be used in any machine under this domain controller.
But, if the system is installed with both linux and windows only windows username will be authenticated using the domain controller. Whereas, the linux users will work with in the system using /etc/shadow file. Hope, I am clear so far.
The requirement is same as above. The authentication mechanism for linux should work as windows. When ever an user is entered with a username and passwd, it should get authenticated from domain controller.
I mean, the user created in a windows machine should be used for linux login also. More importantly, It should work in all systems.
Which technology can be used to do this? Samba,Ldap, NFs or what?
View 1 Replies
View Related
May 8, 2009
If I will have one user streaming video 24/7 to a server that is being hosted, from the server's perspective it will be considered inbound traffic, and the average throughput of the stream will be 200Kbps how much hosting bandwidth do I need for that user per month?
View 12 Replies
View Related
Oct 24, 2007
i saw 1000gb bandwith what does it mean.
T1, T3 vs...
View 1 Replies
View Related
Nov 1, 2009
Hii want to ask about unmetered servers
How to calculate unmetered BW in 20mb or 100mb?
View 3 Replies
View Related
Sep 24, 2007
I'm using an unmanaged switch on my server rack connected to about 11 server machine. Most of these machines are not mine as I offer colocation service to my local customers.
How do I calculate the total monthly bandwidth usage?
I do not have access to each server to install MRTG or something.
View 3 Replies
View Related
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
Aug 16, 2007
I operate vbulletin across my site including a couple of subdomains. I've just moved to a new server only to find that sessions are no longer recorded unless the user actually visits the forum (ie. forum.mysite.com).
The rest of my site uses the following code to track sessions / maintain connection to database:
PHP Code:
// vB Global File$cwdir = getcwd();chdir('/home/mysite/public_html/forum/');require_once 'global.php';chdir($cwdir);
Would anyone know what could be the problem? I'm running vBulletin 3.6.8, PHP 5.2.3, Apache 1.3 and MySQL 4.1.22. Safe mode is off, mod_security is off, open_basedir is off.
View 2 Replies
View Related
Aug 23, 2007
I recently upgraded to PHP 5.2.3 and now some of my customers sites are throwing errors.
Apache 1 with PHP 5.2.3 on RH.
Code:
Warning: session_start() [function.session-start]: Unknown session.serialize_handler. Failed to decode session object. in /home/kaaoscom/public_html/wow/raids/auth/auth_phpraid.php on line 70
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kaaoscom/public_html/wow/raids/auth/auth_phpraid.php:70) in /home/kaaoscom/public_html/wow/raids/auth/auth_phpraid.php on line 70
Warning: Unknown: Unknown session.serialize_handler. Failed to encode session object. in Unknown on line 0
View 3 Replies
View Related
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
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
Dec 2, 2007
I'm having some problems configuring my server sessions in php.
Server espec:
WHM 11.2.0 cPanel 11.11.0-S18033
CENTOS Enterprise 4.5 i686 on standard - WHM X v3.1.0
PHP version 5.2.4
MySQL version 4.1.22-standard
Apache version 1.3.39 (Unix)
Sessions def. in php.ini:
Quote:
Code:
[Session]
session.save_handler = "files"
session.save_path = "/tmp/sessions"
; in the case of files, this is the
; path where data files are stored
session.use_cookies = 1
session.name = "PHPSESSID"
; name of the session
; is used as cookie name
session.auto_start = 0
session.cookie_lifetime = 0
; or if 0, until browser is restarted
session.cookie_path = "/ "
session.cookie_domain =
session.serialize_handler = "php "
; php is the standard serializer of PHP
session.gc_probability = 1
; 'garbage collection' process is started
; on every session initialization
session.gc_maxlifetime = 1440
; data will be seen as 'garbage' and
; cleaned up by the gc process
session.referer_check =
; externally stored URLs containing ids
session.entropy_length = 0
session.entropy_file =
; session.entropy_length = 16
; session.entropy_file = /dev/urandom
session.cache_limiter = "nocache "
; determine HTTP caching aspects
session.cache_expire = 180
session.use_trans_sid = 1
; by compiling with --enable-trans-sid
Register globals are ON
First I recieved about 7 e-mails from clients saying that in joomla pre instllation teste sessions.save_path was unwritable.
I went to /temp created a sessions folder and chmoded it to 777
After that they still can't login on the admin area
Error: Warning: session_start() [function.session-start]: Cannot find save handler files in /home/asasdosa/public_html/site00/administrator/index.php on line 111
From what I could read on-line in joomla this means that clients can't save sessions file in the session.save_path although it is writable. But never saw a solution for it, because it was all client oriented. All the solutions were contact your isp.
Well they did contact, but the isp doesn't know how to fix it
View 3 Replies
View Related
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
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
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
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
May 28, 2008
Is there a way in the php.ini file to force all sessions to be stored in a database? For example, in ColdFusion you can configure sessions to be stored in a db. Can you do this in PHP? Thereby forcing all sessions no matter what the customer specifies to be stored in a db.
View 3 Replies
View Related
Sep 3, 2008
I've come across an issue where our users are not logging out of their terminal services session properly. Whether via TSWeb or MSTSC (remote desktop), if they close the browser or RDP window using the x it keeps the session alive for upto 1 minute.
The problem with this is that we use terminal services to host an application for users who can't install it, so other users that login (using a generic username and password) are adopting/hijacking the original session and seeing someone elses data.
Does anyone know of a way to force a new session each time a user connects to RDP? Whether via TSWeb or MSTSC (remote desktop)?
View 7 Replies
View Related
Jun 28, 2007
I have a fairly good understanding of IIS 6.0 and so this is beginning to confuse me some what.
Our clients are running on Windows 2003 server with IIS 6.0 which in turn runs the site that we had created. The thing is our site does rely on sessions so when one ends it runs the Session_OnEnd within the global.asa and runs some other functions.
But just recently a number of our clients are experiencing the problem that the sessions are not ending so the Session_OnEnd is not running therefore causing some major problems with their sites.
Two of our clients has said recently that they had installed SP2 but I am not sure if this would change any of the settings or **cough** BUGS **cough**. Can anyone please shed some light on what the SP2 actually did and if any of the settings for IIS 6.0 would of been reset.
View 3 Replies
View Related
Jul 27, 2007
While I was using my VPS, I was disconnected 2 times and when I re-connected again, it told me to choose 1 from 2 sessions to continue? Can anyone please tell me how can I create sessions like this and how to delete one of them ?
View 4 Replies
View Related
Apr 16, 2007
I'm in the process of configuring my company's new server and I've hit a slight stumbling block. What's happening is that PHP is creating its sessions like normal with the exception of no permissions being set for them. This then means that errors are thrown up when PHP attempts to open the session files. Can anybody tell me why this is happening? I have set the sessions directory to octal 0777 for the time being.
The server is running Linux redhat.
View 0 Replies
View Related