Two Sessions Active At The Same Time With Same Socket Application

Sep 28, 2009

i hosted one server socket application in my dedicated server which is recving the data from different units(vehicle tracking system) through port no 4444.in dedicated machine i am keeping one active session always...that means my socket application exe is opened always in an active session ie sectionA.This session is not logged off insted i used to close the rdp for keeping this session active.Based on settings if userA accessing SessionA then userB cannot able to reach the active sessionA at the same time instead new sessionB will open for userB.

now my question is

if userB also opened socket application in SessionB with same portno ,then which soket application will recive data from the units...whther the applictaion from sessionA or from SessionB?

View 2 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: Active Sessions Unknown User / IP?

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

Socket Application Hosting

Jun 14, 2008

I am currently developing a PHP socket server for a flash application that needs constant client -> server communication. I understand that this is not typical for hosting solutions so does anyone know of a host that would allow me to run a custom application running on a non-standard port?

View 5 Replies View Related

Missing Data In Server Socket Application

Oct 6, 2009

i developed a socket application to recive data from port.this application recvng data from a unit through port no 4444(Vehicle Tracking unit). this application recvng data and evrything is ok....but some times no anydata is coming in to this application.for eg:if application recves data 2 days after that 2 days it will recve one or two data only....again after 2 days it will recve all data correcly....that means lot of missing data we have....my question is whether this missing data is bse of my socket application or unit?

The manufacturing company telling us unit is sending the data continuiously..but some times this socket application is not recvng data in 2 days interval....i dont know how to solve this issue....is any other setting is required in server to recve data continuously....

i think socket application 100% is ok...unit maufactures telling unit also sending data continuously...then where the problem is???can anybdy share ur idea about this?

View 2 Replies View Related

Windows 2003 VPS + RDP (more Than 2 Sessions Opened At One Time)

Nov 13, 2008

I'm running a Windows 2003 based Vps, I'm looking to have more than 2 sessions of RDP at one time, I think every people know that is setted to 2.

I want only one more, at the moment I have admin acc always running, #1 friend account (where there are running 2 process always) and now I want #2 friend account for run another process.

View 3 Replies View Related

Virtuozzo : Getpeername Error 88 (Socket Operation On Non-socket)

Jun 19, 2009

When trying to migrate a server to Virtuozzo i get the following error : getpeername error 88 (Socket operation on non-socket)

Anyone got any idea what this might be?

View 2 Replies View Related

Can't Write To Data Socket. Socket Error = #10054.

Oct 2, 2007

"Can't write to data socket. Socket error = #10054. fix?"

search around a few websites couldn't find a fix.. just people chatting about there error

View 1 Replies View Related

Plesk 12.x / Linux :: Error Installing Application From Application Installer

Oct 13, 2014

whenever one of my customers tries to install an application from the application installer, they get an error that looks like this.

Error: Installation of WordPress at http://*******.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.

Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.Click to expand...

View 2 Replies View Related

Socket F <-> Socket 940 Heatsinks

Oct 8, 2007

If you have a socket F m/b, does a socket 940 heatsink works nicely on a socket F m/b? I can fit the original socket 940 heatsink on a socket F m/b but I am not sure whether there are any cooling related problems?

According to the thermal design guide, it says:

Quote:

The heat sink, fan, mounting spring clip, and thermal interface material used for the AMD PIB thermal solution for socket F (1207) processors are the same as the heat sink, fan, mounting spring clip, and thermal interface material used for systems based on the socket 940 processor.

The plastic retention frame, made of 20% glass-filled Lexan, is a two-piece implementation rather than the single-piece frame used for socket 940. This change accommodates the larger foot-print of socket F (1207) processors.

[url]

So are they interchangeable?

I do have socket F heatsinks just to save the hassle of testing and breaking things.

The reason I am asking is that it is tough to find socket F heatsinks here, and there are some socket 940 HSF floating around so I might as well use socket 940 HSF when somehow the ones that I have are not working or I run out of socket F coolers.

View 2 Replies View Related

Sessions

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

PHP 5.2.3 And Sessions

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

Php Sessions In Server

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

Php.ini Store Sessions In Database

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

RDP Sessions - Forcing New Session

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

IIS 6.0 Sessions Problem Since SP2 Installed

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

Windows 2003 VPS Sessions

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

Sessions Created With No Permissions Set

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

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

Windows 2003 Server Max Sessions

Apr 10, 2007

I have a server Windows 2003 Server

I have a problem for ask WHT. I have 3 session in my Windows 2003 Server but we can only 2 person connect but i want 4 or more connection to my server. Hown can i do it?

View 4 Replies View Related

Server Is Taking Sessions Errors

Dec 5, 2008

suddendly some of my sites in my server is taking sessions errors...then after a while all its going ok and then again the same problem...the problem still continues.from what might be the problem?a php update?mysql update?any exprerience?

i havent made any change.my server is linux has centos 4.7

View 5 Replies View Related

Apache :: Limit Number Of Sessions

Nov 18, 2014

I implemented a Reverse Proxy using apache2 v. 2.4... What i need to do is limit number of sessions against a Virtual Host. Is that possible?

View 13 Replies View Related

Apache :: Mod Rewrite - How To Differentiate Sessions

Nov 5, 2014

I am trying to capture 3-4 digits when sent as part of a URL, for them to be proxied to another URL. I have no control over how the source sends this data, I am supposed to redirect it. Which works.

#RewriteCond %{HTTP:whoisd-ussd-message} ([d]{2,4})
#RewriteRule ^/original/individual.do(.*)$ https://other.server.com/somewhere/011$1 [P]

The problem is this works for all URLs that have digits to this server. I am expecting to trap URLs that send digits as part of the first call to the server, but this also affects URL calls that are part of other server call transactions, once digits appear, it gets redirected. What can I do to stop this interference?

View 1 Replies View Related

Status:ACTIVE

Aug 22, 2007

I have a message in queue for about 24 hours and checking the delivery log I found this.

LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 4 args: exim -v -M 1INUw5-0007VU-DZ
delivering 1INUw5-0007VU-DZ
Connecting to mx.uol.xxx.br [xxx.xxx.com.br]:25 ... connected
SMTP<< 220 starfury20.xxx.com.br ESMTP
SMTP>> EHLO svr01.xx***********
SMTP<< 250-starfury20.xxx.com.br
250-PIPELINING
250-SIZE 20971520
250-VRFY
250-ETRN
250 8BITMIME
SMTP>> MAIL FROM: SIZE=3111
SMTP>> RCPT TO:
SMTP>> DATA
SMTP<< 250 Ok
SMTP<< 450 Client host rejected: cannot find your hostname, [74.86.12.2]
SMTP<< 554 Error: no valid recipients
SMTP>> QUIT

I have checked dnsreport for this domain and found this

WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record.

***********.co claims to be host svr01.xx*********** [but that host is at 74.xx.xx.2 (may be cached), not 74.xx.xxx.13]. <br />

What should i do to correct this error? btw, I host about 100 sites on this server.

View 3 Replies View Related

Squirrelmail: Email Arrives With Different Time Than Server Time

Nov 11, 2008

This is a rare issue i have on a RHEL 5.2 + cPanel server.

Server time is:

Tue Nov 11 17:02:51 CST 2008
Squirrelmail time show:
Code:
Last Refresh:
Tue, 5:02 pm

So, that is correct too..

But email arrives with -4 hours time, example:

webmaster@xxx.com 1:03 pm testing email

I already rebooted httpd, exim, and imap server, and the server itself too.. and problem stills.

View 11 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

PHP Sessions In Load Balanced Enviroment, Database Or NFS

Mar 31, 2008

We have setup and are currently testing a load balanced cluster using heartbeat and ldirectord. One of the problems we have come across is that we are unable to reliably use the same web server for connections from the same user. As a result the php sessions are getting in a bit of a muddle.

Obviously its not something that we can easily sync between servers like the customers other web content. We are looking at either storing the sessions in a database or NFS.

The site is pretty busy and we are a bit worried that when the site goes live both these options will slow everything down.

Apart from using different load balancing software is there any other solutions we could use for this? Has anyone stored php sessions in a database on a busy site or on a NFS?

View 3 Replies View Related

More Than 'max_user_connections' Active Connections

Jun 1, 2007

i am having an website like a webdirectory. BUT i am getting this error after every 5-10 mintues :

Warning: mysql_pconnect() [function.mysql-pconnect]: User USERNAME
has already more than 'max_user_connections' active connections in
/FIELPATH on line 93
Database error: pconnect(localhost,bstitne_netclass, $Password)failed.
MySQL Error)
Session halted.

PLEASE suggest how can i solve this. May be it is an server issue

View 4 Replies View Related

More Than 'max_user_connections' Active Connections

Apr 29, 2007

Since moving over to a new server, I have had to reboot my sql server about 5 times a day due to it crashing, and I always get the error:

Warning: mysql_connect() [function.mysql-connect]: User food_user has already more than 'max_user_connections' active connections in /home/food/public_html/includes/functions.php on line 9
Not connected : User food_user has already more than 'max_user_connections' active connections

I dont understand what is causing this...I used the tweaking guide as found on here and my.cnf file looks like this:

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-locking
skip-innodb
query_cache_limit=8M
query_cache_size=256M
query_cache_type=1
max_connections=500
max_user_connections=10
interactive_timeout=20
wait_timeout=20
connect_timeout=6
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
# Try number of CPU's*2 for thread_concurrency
thread_concurrency=4
myisam_sort_buffer_size=64M
#log-bin
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

[mysqldump]
quick
max_allowed_packet=16M

[mysql]
no-auto-rehash
#safe-updates

[isamchk]
key_buffer=32M
sort_buffer=32M
read_buffer=16M
write_buffer=16M

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

Through my WHM, i went to "Show Mysql Processes" and heres what it displays www.brinked.com/mysql.txt

This problem has also occured on another one of my websites on the same server that makes use of mysql. Am I doing something wrong here? I dont think its the script because it ran for years on another server just fine.

View 7 Replies View Related

What Is Best Socket Am2 940 Cpu

Mar 5, 2008

I am working on doing some various upgrades to my workstation computer. I got it back in Nov and have been adding to it every since. The motherboard was bad when I first got it so I had to buy a new one. I already had an athlon 5600 so I figured I would get the mobo for that. Upon advice from various people I got the abit kn9 sli, for socket am2 940 processors and nvidia nforce 570 sli mcp

I am wanting to upgrade the processor now but I havent really found much info on what would be the highest level processor I could drop in. I know the phenoms dont work and some have told me that the athlon 6400 would be the biggest i could drop in but that isnt much more then I have now so would be no point.

So basically I was posting to see if anyone knew the best processor I could drop in this or the best socket am2 940 processor there is

View 0 Replies View Related

Socket

Dec 14, 2008

This is on a Debian VPS with Apache installed. I figured this forum would be more appropriate because I think this is an OS level issue. I'm running a basic php client / php server. The php script is requested by the web browser and connects to the php server on the backend. However, if I connect more than a few times by clicking refresh I get this:

Warning: fsockopen() [function.fsockopen]: unable to connect to 127.0.0.1:1240 (Unknown error) in /home/www/client_connect.php on line 3
error opening fp
It should also be noted that I've gotten this same error when I try to do over 20 simultaneous connections with stream_sock_client() running from the command-line (non-root). Or when I try to connect to my backend from my frontend.
Warning: stream_socket_client(): unable to connect to xx.xxx.xx.xxx:1838 (Unknown error) in /home/adam/server/test.php on line 488
failed to connect to xx.xxx.xx.xxx:1838 errno:0 errstr:
~/www$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
max nice (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) unlimited
max rt priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

What can I do to trouble shoot this?

View 1 Replies View Related







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