Opened 13 years ago
Last modified 10 years ago
#477 new enhancement
IZ2431: need a flag to disable connection timeout in commlib
Reported by: | pollinger | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | sge | Version: | current |
Severity: | Keywords: | Sun communication | |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2431]
Issue #: 2431 Platform: Sun Reporter: pollinger (pollinger) Component: gridengine OS: All Subcomponent: communication Version: current CC: None defined Status: NEW Priority: P3 Resolution: Issue type: ENHANCEMENT Target milestone: --- Assigned to: crei (crei) QA Contact: crei URL: * Summary: need a flag to disable connection timeout in commlib Status whiteboard: Attachments: Issue 2431 blocks: Votes for issue 2431: Opened: Mon Nov 26 08:56:00 -0700 2007 ------------------------ In the commlib, the connection_timeout member of the conneciton handle determines how long a connection should live. By default this is 10 minutes, it can be set a very long time (several years), but on 32 bit OS it's much shorter. A clean solution would be to introduce a flag that determines if the timeout should be obeyed or ignored. Suggested Fix: In file: cl_connection_list.c, function: cl_connection_list_destroy_connections_to_close, line: 305, it is tested if the connection is to be destroyed: if (connection->last_transfer_time.tv_sec + h_timeout <= now.tv_sec) { if (connection->data_flow_type == CL_CM_CT_MESSAGE) { CL_LOG(CL_LOG_WARNING,"got connection transfer timeout ..."); Here a flag use_connection_timeout could be added to determine if the timeout should be obeyed. Add this flag to the connection handler struct and create functions to set and get the state of this flag.
Note: See
TracTickets for help on using
tickets.