|
-
Jun 12th, 2002, 03:51 AM
#1
Thread Starter
Hyperactive Member
CPU Maxing Problem
Guys,
First off, THIS IS NOT MY DESIGN....second off, I need your expertise, suggestions (constructive please ) about anything I can do to sort my problem out....
Now, niceties out the way, heres' the problem:
One Server. On that server there is an EXE that instantiates another EXE using CreateprocessA API to listen to ports 1 thru to 80 (each port has a separate EXE instantiated).
The spawned EXE listens for activity on the port, interrogates a database & sends VT Character data back thru the port.
Each port is connected to a wireless scanning gun via a base station.
The problem is that once 30 spawned exe's have been created, the processor on the server simply maxes out.
Is there any way, given the current design to cap the CPU usage of the spawned EXE ?
Reason being, once CPU maxes out, the SQL Server that resides on the same machine cannot find enough process space to field information back to each of the EXEs & then the whole server jams up ?
Your comments & enlightenment most appreciated !!!
FATBOY....

Best Bar.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|