View Issue Details

IDProjectCategoryView StatusLast Update
0001257SOGoSOPEpublic2014-12-30 18:23
ReporterwsourdeauAssigned To 
PrioritynormalSeveritytweakReproducibilityhave not tried
Status newResolutionopen 
Summary0001257: persistent sockets across forks
Description

The HTTP listening and accepted sockets are passed down to children processes such as "sendmail" when a fork occurs.
If the forked process hangs and SOGo is restarted, SOGo will no longer be able to restart its listening socket.

TagsNo tags attached.

Activities

wsourdeau

wsourdeau

2011-04-12 14:13

viewer   ~0002373

Playing with fcntl and FD_CLOEXEC should solve the issue but has not worked so far for me with this setup:
flag applied on the listening socket right after fork, from the child, and on the accepted socket...

Issue History

Date Modified Username Field Change
2011-04-12 14:12 wsourdeau New Issue
2011-04-12 14:13 wsourdeau Note Added: 0002373
2014-12-30 18:23 ludovic Severity major => tweak