473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Launching an application: Does PHP limit network connections?

Hi folks,

I am having a problem using PHP to launch an application on the server.
All the basics work, but I cannot launch more than 4 instances of the
application. This application functions as a server itself, and I
specify the port number when I launch it, so my theory is that I am
reaching some limit on network connections.

This is my basic launch sequence:

<?php
$command = 'c:\\Program Files (x86)\\myprog\\myprogram.exe';
$arguments = ' /Port:' . $port;
exec('C:\\PsTools\\psexec.exe -accepteula -d -s "' . $command . '" ' .
$arguments . ' 2>&1', $output);
?>

Note that I am using psexec because I need to keep track of the process
ID number and kill the application when a user logs out. I can provide
more details if needed, but if there is indeed some upper limit on port
connections, that would certainly explain what I'm seeing.

Incidentally, if I try this same procedure launching "Internet
Explorer", my limit is 9 (instead of 4). If I launch a non-network
application, it seems that I can launch as many as I want without limit.

Note: I am using Windows XP Professional x64 Edition SP1
Jul 5 '07 #1
0 1489

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Keith Jakobs, MCP | last post by:
Greetings: I had seen several posts around the Internet about this issue from a few months back, but have been unable to find a resolution ... I have a user who is trying to get started with...
5
by: Steve - DND | last post by:
How can I exceed the number of persistent connections allowed on a ServicePoint(which is 2 connections)? I believe this is the cause of the problems with my thread from earlier titled "Unable to...
4
by: Chris Tanger | last post by:
Context: C# System.Net.Sockets Socket created with constructor prarmeters Internetwork, Stream and TCP everything else is left at the default parameters and options except linger may be changed...
2
by: Carl Howarth | last post by:
Sorry to repost, but I am fairly desparate to get this issue resolved! Please see below, when it hangs if I leave it long enough I get a 'General Network Error', or something similar. Could this...
9
by: Abhishek Srivastava | last post by:
Hello All, In IIS 6.0 We have a concept of worker processes and application pools. As I understand it, we can have multiple worker process per appliction pool. Each worker process is dedicated...
3
by: Michael Glaesemann | last post by:
Hello all, Recently I've been thinking about different methods of managing users that log into a PostgreSQL-backed application. The users I'm thinking of are not necessarily DBAs: they're...
5
by: James | last post by:
Hello, I have written a simple logon page that redirects to another page when successful. All works fine on my computer but when I upload it I get the error message below. I have written it...
38
by: kavsak | last post by:
Hi. Not sure that this is the right place to ask but here goes. I have an application based on access97 and VB6 which I need to upgrade. It has to handle up to 20 concurrent users on a Win2k...
1
by: jacobyte | last post by:
HI have a few questions regarding IIS5.1 and the the 10 connection limit, If anyone can help clarify this I would greatly appreciate any help. - this is the situation. We host a site on a win2k3...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.