we wrote too clients :
- java client - runs on linux with AXIS toolkit
- c# client - runs on windows using .net FCL and WSE 3.0
both clients crashed after a while with the error : "too many open files" of "out of resources"
the problem is the use of many TCP ports without release (that managed automatically by OS)
The OS allow you to use limited number of port concurrently and free the unused ports once in a while - if you want more ports in the interval it will fail
2 solutions
- Set HTTP keep-alive both on client and server that means that you use the same port for each request (this can be problem if using built in load balancing feature)
- Raise the port number limit
To raise the port number:
On Windows Registry: set the following
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TCPTimedWaitDelay"=dword:0000001e
"MaxUserPort"=dword:0000fffe
On Linux:
open the file etc/security/limits.conf and set nofiles=N
visit our site: Bina
1 comments:
Hello!
Quality assurance is implemented at the schematic design stage. Mansour Engineering’s quality assurance is an inclusive review of each discipline as well as an overall discipline coordination. Quality assurance procedures include analysis of the worst case scenario for verification of specific design parameters and for each discipline’s task. Project management overview integrates schedule and cost control into each and every aspect of design. Mansour Engineering project management objective is to develop a design that satisfies all requirements and is economically feasible to construct. To that end, cost estimating is within the preview and capabilities of each discipline project leader. Without sacrificing quality control or cost control, Mansour Engineering understands that scheduling is of the utmost importance. Mansour Engineering prepare a detailed timeline for each item on the project deliverable list and proceed on schedule by adjusting manpower activity to finish on time.
[url=http://www.mansour.ca] click here to go to Mansour Engineering[/url]
http://www.mansour.ca
Post a Comment