Forum Discussion
Open Port Issue Exists after implementing Entra Id containers
Hello
The issue you are describing seems to involve open TCP ports between the Entra ID container and WebLogic, which can potentially lead to resource management problems and requires you to bounce the container when the port count exceeds a threshold.
Can you first check the following steps?
Check for Unclosed Connections: Investigate why ports are not being closed. It could be due to:
- Long-lived or idle sessions.
- Improper connection handling in WebLogic or the Entra ID container.
Review Application Logs: Analyze logs from WebLogic and Entra ID for errors or unusual behaviors related to connection handling.
Configure Timeouts:
- Adjust timeout settings in WebLogic for idle connections.
- Set appropriate timeouts for the Entra ID container.
TCP Keep-Alives:
- Ensure that TCP keep-alive settings are properly configured to detect and close stale connections
Connection Limits:
- Define connection limits in WebLogic and the container to prevent excessive open connections.
Monitoring Tools: (Monitor and Automate Port Management)
- Use tools like Prometheus, Nagios, or Dynatrace to monitor open connections in real time.
Automate Container Restarts:
- Implement scripts or container orchestration (e.g., Kubernetes) to automatically restart the container when TCP port usage reaches a critical threshold.
Connection Pools: (WebLogic Tuning)
- Ensure that WebLogic connection pools are optimized to reuse existing connections and release unused ones promptly.
Thread Management:
- Review and adjust thread pool configurations to handle requests efficiently.
Idle Connection Timeout at Network Level: (Networking and Firewall Settings)
- Configure firewalls or load balancers to terminate idle connections after a certain period.
and Lastly,
Ensure that both PeopleSoft (8.61.07) and WebLogic are running the latest supported versions with all relevant patches applied. Sometimes, issues like this are addressed in newer updates.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Best Regards,
Ali Koc