Issues with Perdition 2.1 in FreeBSD

Egoitz Aurrekoetxea <[email protected]> Thu, 5 Mar 2015 16:59:45 +0100
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
--===============2056193587==
Content-Type: multipart/alternative; boundary="Apple-Mail=_85C6AC99-BD59-47D9-9736-5395FC511D34"


--Apple-Mail=_85C6AC99-BD59-47D9-9736-5395FC511D34
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

God afternoon,

I=E2=80=99m running some issues in a FreeBSD 10.1 RELENG machine with =
Perdition 2.1. Once or twice a day the parent process of POP3 or IMAP4 =
service dies. After doing some=20
investigations have seen the problem comes when at =
vanessa_socket_server.c file at __vanessa_socket_server_accept() when it =
does the accept(). It seems accept() is failing=20
with 53 (which continues) and later with 35 (talking about errno of =
course) with which exits with -1. So later is returning to =
__vanessa_socket_server_acceptv() and this one returns to=20
vanessa_socket_server_acceptv due to :=20

if (child < 0)
		return status;

At this function (the last one) does exist :=20

			child =3D __vanessa_socket_server_acceptv(&g, =
ufds[i].fd,
						listen_socketv,=20
						maximum_connections,=20
						return_from, return_to, =
flag);
			VANESSA_LOGGER_DEBUG("EGOITZ 1E");
			if (child < 0) {
				VANESSA_LOGGER_DEBUG(
					=
"__vanessa_socket_server_acceptv");
				goto err;


Perhaps this file be (please ignore the debugging literals) could be =
like this ?

--- vanessa_socket_server.c	2010-06-22 09:21:37.000000000 +0200
+++ vanessa_socket_server.c	2015-03-05 16:50:25.000000000 +0100
@@ -388,10 +388,20 @@
 		addrlen =3D sizeof(from);
 		*g =3D accept(listen_socket, (struct sockaddr *) &from, =
&addrlen);
 		if (*g  < 0) {
+			char codigo[20];
+			sprintf(codigo, "%d", errno);
+			VANESSA_LOGGER_DEBUG("Falla accept con el =
error");
+			=
VANESSA_LOGGER_DEBUG("=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D");
+			VANESSA_LOGGER_DEBUG(codigo);
+			=
VANESSA_LOGGER_DEBUG("=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D");		=09
+			if (errno =3D=3D EAGAIN)=20
+			{
+				VANESSA_LOGGER_DEBUG("TENEMOS UN =
EAGAIN");
+			}
 			if(errno =3D=3D EINTR || errno =3D=3D =
ECONNABORTED) {
 				continue; /* Ignore EINTR  and =
ECONNABORTED */
 			}
-			if (errno =3D=3D EAGAIN || errno =3D=3D =
EWOULDBLOCK)
+			if (errno =3D=3D EWOULDBLOCK || errno =3D=3D =
EAGAIN)
 				return -1; /* Don't log EAGAIN or =
EWOULDBLOCK */
 			VANESSA_LOGGER_DEBUG_ERRNO("accept");
 			return(-1);
@@ -551,7 +561,10 @@
 							flag);
 	if (child < 0) {
 		if (errno =3D=3D EAGAIN || errno =3D=3D EWOULDBLOCK)
+		{
 			status =3D 0;
+			VANESSA_LOGGER_DEBUG("EGOITZ STATUS -----> 0");
+		}
 		else {
 			=
VANESSA_LOGGER_DEBUG("__vanessa_socket_server_accept");
 			status =3D -1;
@@ -561,6 +574,7 @@
 	if (!(opt & O_NONBLOCK) && child &&
 	    fcntl(listen_socket, F_SETFL, opt) < 0) {
 		VANESSA_LOGGER_DEBUG_ERRNO("fcntl: F_SETFL 2");
+		VANESSA_LOGGER_DEBUG("ERROR 0000001 AAAAA");
 		status =3D -1;
 	}
 =20
@@ -570,6 +584,7 @@
 	if (!(opt & O_NONBLOCK) && (flag & VANESSA_SOCKET_NO_FORK || =
!child) &&
 	    fcntl(*g, F_SETFL, opt) < 0) {
 		VANESSA_LOGGER_DEBUG_ERRNO("fcntl: F_SETFL 3");
+		VANESSA_LOGGER_DEBUG("ERROR 0000002 BBBB");
 		status =3D -1;
 	}
 =09
@@ -632,6 +647,10 @@
 					=
"__vanessa_socket_server_acceptv");
 				goto err;
 			}
+			if (!child && g < 0)
+			{
+				break;
+			}=09
 			if (flag & VANESSA_SOCKET_NO_FORK || !child) {
 				status =3D g;
 				goto out;

Mainly talking about :=20

+			if (!child && g < 0)
+			{
+				break;
+			}=09

That way polling again socket fds instead of exiting and stop servicing =
the affected protocol in each case (POP3 or IMAP4)??

Have done this last modification without having the luck of having an =
abnormal termination again, in order to check if this works=E2=80=A6

Has anyone have noticed about something similar?.

Thank you so much,
Regards,=20


Egoitz Aurrekoetxea
Departamento de sistemas
944 209 470
Parque Tecnol=C3=B3gico. Edificio 103
48170 Zamudio (Bizkaia)
[email protected] <mailto:[email protected]>
www.sarenet.es <http://www.sarenet.es/>
Antes de imprimir este correo electr=C3=B3nico piense si es necesario =
hacerlo.


--Apple-Mail=_85C6AC99-BD59-47D9-9736-5395FC511D34
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">God afternoon,<div class=3D""><br class=3D""></div><div =
class=3D"">I=E2=80=99m running some issues in a FreeBSD 10.1 RELENG =
machine with Perdition 2.1. Once or twice a day the parent process of =
POP3 or IMAP4 service dies. After doing some&nbsp;</div><div =
class=3D"">investigations have seen the problem comes when at =
vanessa_socket_server.c file at&nbsp;__vanessa_socket_server_accept() =
when it does the accept(). It seems accept() is failing&nbsp;</div><div =
class=3D"">with 53 (which continues) and later with 35 (talking about =
errno of course) with which exits with -1. So later is returning =
to&nbsp;__vanessa_socket_server_acceptv() and this one returns =
to&nbsp;</div><div class=3D"">vanessa_socket_server_acceptv due to =
:&nbsp;</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"">if (child &lt; 0)</div><div class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">		=
</span>return status;</div><div apple-content-edited=3D"true" =
class=3D""><br class=3D""></div><div apple-content-edited=3D"true" =
class=3D"">
At this function (the last one) does exist :&nbsp;</div><div =
apple-content-edited=3D"true" class=3D""><br class=3D""></div><div =
apple-content-edited=3D"true" class=3D""><div =
apple-content-edited=3D"true" class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">			</span>child =3D =
__vanessa_socket_server_acceptv(&amp;g, ufds[i].fd,</div><div =
apple-content-edited=3D"true" class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">						=
</span>listen_socketv,&nbsp;</div><div apple-content-edited=3D"true" =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
				=
</span>maximum_connections,&nbsp;</div><div apple-content-edited=3D"true" =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
				</span>return_from, return_to, =
flag);</div><div apple-content-edited=3D"true" class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG("EGOITZ 1E");</div><div =
apple-content-edited=3D"true" class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	<b class=3D"">		</b></span><b =
class=3D"">if (child &lt; 0) {</b></div><div apple-content-edited=3D"true"=
 class=3D""><b class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">				=
</span>VANESSA_LOGGER_DEBUG(</b></div><div apple-content-edited=3D"true" =
class=3D""><b class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">					=
</span>"__vanessa_socket_server_acceptv");</b></div><div =
apple-content-edited=3D"true" class=3D""><b class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">				=
</span>goto err;</b></div><div apple-content-edited=3D"true" =
class=3D""><br class=3D""></div><div apple-content-edited=3D"true" =
class=3D""><br class=3D""></div><div apple-content-edited=3D"true" =
class=3D"">Perhaps this file be (please ignore the debugging literals) =
could be like this ?</div><div apple-content-edited=3D"true" =
class=3D""><br class=3D""></div><div apple-content-edited=3D"true" =
class=3D""><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">--- vanessa_socket_server.c<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>2010-06-22 09:21:37.000000000 =
+0200</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+++ vanessa_socket_server.c<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>2015-03-05 16:50:25.000000000 =
+0100</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">@@ -388,10 +388,20 @@</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">		=
</span>addrlen =3D sizeof(from);</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">		=
</span>*g =3D accept(listen_socket, (struct sockaddr *) &amp;from, =
&amp;addrlen);</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">		</span>if (*g&nbsp; &lt; 0) =
{</div><div style=3D"margin: 0px; font-size: 10px; font-family: Monaco; =
color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+<span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
	</span>char codigo[20];</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>sprintf(codigo, "%d", errno);</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG("Falla accept con el error");</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG("=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D");</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG(codigo);</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG("=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D");<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">			</span></div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>if (errno =3D=3D EAGAIN)&nbsp;</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>{</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+<span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
		</span>VANESSA_LOGGER_DEBUG("TENEMOS UN =
EAGAIN");</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+<span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
	</span>}</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">			</span>if(errno =3D=3D =
EINTR || errno =3D=3D ECONNABORTED) {</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">				=
</span>continue; /* Ignore EINTR&nbsp; and ECONNABORTED */</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
			</span>}</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">-<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>if (errno =3D=3D EAGAIN || errno =3D=3D EWOULDBLOCK)</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>if (errno =3D=3D EWOULDBLOCK || errno =3D=3D EAGAIN)</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
				</span>return -1; /* Don't log EAGAIN or =
EWOULDBLOCK */</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG_ERRNO("accept");</div><div style=3D"margin: =
0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>return(-1);</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">@@ -551,7 +561,10 @@</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">				=
			</span>flag);</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>if (child =
&lt; 0) {</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
		</span>if (errno =3D=3D EAGAIN || errno =3D=3D =
EWOULDBLOCK)</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">+<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">		</span>{</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
			</span>status =3D 0;</div><div style=3D"margin: =
0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG("EGOITZ STATUS -----&gt; 0");</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">		=
</span>}</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
		</span>else {</div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);" class=3D"">&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">			=
</span>VANESSA_LOGGER_DEBUG("__vanessa_socket_server_accept");</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
			</span>status =3D -1;</div><div style=3D"margin: =
0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">@@ -561,6 +574,7 =
@@</div><div style=3D"margin: 0px; font-size: 10px; font-family: Monaco; =
color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
	</span>if (!(opt &amp; O_NONBLOCK) &amp;&amp; child =
&amp;&amp;</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
	</span>&nbsp; &nbsp; fcntl(listen_socket, F_SETFL, opt) &lt; 0) =
{</div><div style=3D"margin: 0px; font-size: 10px; font-family: Monaco; =
color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
		</span>VANESSA_LOGGER_DEBUG_ERRNO("fcntl: F_SETFL =
2");</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+<span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
</span>VANESSA_LOGGER_DEBUG("ERROR 0000001 AAAAA");</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
		</span>status =3D -1;</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>}</div><p =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 14px;" =
class=3D"">&nbsp;&nbsp;<br class=3D"webkit-block-placeholder"></p><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=3D"">@@ =
-570,6 +584,7 @@</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>if (!(opt &amp; O_NONBLOCK) =
&amp;&amp; (flag &amp; VANESSA_SOCKET_NO_FORK || !child) =
&amp;&amp;</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
	</span>&nbsp; &nbsp; fcntl(*g, F_SETFL, opt) &lt; 0) {</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
		</span>VANESSA_LOGGER_DEBUG_ERRNO("fcntl: F_SETFL =
3");</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+<span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
</span>VANESSA_LOGGER_DEBUG("ERROR 0000002 BBBB");</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
		</span>status =3D -1;</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>}</div><p =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 14px;" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
	</span><br class=3D"webkit-block-placeholder"></p><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=3D"">@@ =
-632,6 +647,10 @@</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">					=
</span>"__vanessa_socket_server_acceptv");</div><div style=3D"margin: =
0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">&nbsp;<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">				=
</span>goto err;</div><div style=3D"margin: 0px; font-size: 10px; =
font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, =
0, 0);" class=3D"">&nbsp;<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">			</span>}</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>if (!child &amp;&amp; g &lt; 0)</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">			=
</span>{</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+<span class=3D"Apple-tab-span" style=3D"white-space:pre">		=
		</span>break;</div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);" class=3D"">+<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">			</span>}<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span></div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
			</span>if (flag &amp; VANESSA_SOCKET_NO_FORK || =
!child) {</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
				</span>status =3D g;</div><div =
style=3D"margin: 0px; font-size: 10px; font-family: Monaco; color: =
rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
				</span>goto out;</div><div class=3D""><br =
class=3D""></div><div class=3D"">Mainly talking about :&nbsp;</div><div =
class=3D""><br class=3D""></div><div class=3D""><div style=3D"margin: =
0px; font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">			=
</span>if (!child &amp;&amp; g &lt; 0)</div><div style=3D"margin: 0px; =
font-size: 10px; font-family: Monaco; color: rgb(245, 245, 245); =
background-color: rgb(0, 0, 0);" class=3D"">+<span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">			=
</span>{</div><div style=3D"margin: 0px; font-size: 10px; font-family: =
Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" =
class=3D"">+<span class=3D"Apple-tab-span" style=3D"white-space: pre;">		=
		</span>break;</div><div style=3D"margin: 0px; font-size: =
10px; font-family: Monaco; color: rgb(245, 245, 245); background-color: =
rgb(0, 0, 0);" class=3D"">+<span class=3D"Apple-tab-span" =
style=3D"white-space: pre;">			</span>}<span =
class=3D"Apple-tab-span" style=3D"white-space: pre;">	=
</span></div></div><div class=3D""><br class=3D""></div><div =
class=3D"">That way polling again socket fds instead of exiting and stop =
servicing the affected protocol in each case (POP3 or IMAP4)??</div><div =
class=3D""><br class=3D""></div><div class=3D"">Have done this last =
modification without having the luck of having an abnormal termination =
again, in order to check if this works=E2=80=A6</div><div class=3D""><br =
class=3D""></div><div class=3D"">Has anyone have noticed about something =
similar?.</div><div class=3D""><br class=3D""></div><div class=3D"">Thank =
you so much,</div><div class=3D"">Regards,&nbsp;</div><div class=3D""><br =
class=3D""></div></div>
<div style=3D"clear:both; text-align:left;" class=3D"firmasarenet">
  <div style=3D"margin:0 0 10px 0" class=3D"imgsarenet"><img =
src=3D"http://www.sarenet.es/estaticos/LogoSarenetEmails.png?13022013" =
alt=3D"sarenet" class=3D""></div>
  <div style=3D"font-family:Helvetica, Arial, sans-serif; =
font-weight:bold; font-size:14px; color:#333333" =
class=3D"titulosarenet"><strong class=3D"">Egoitz =
Aurrekoetxea</strong></div>
  <div style=3D"font-family:Helvetica, Arial, sans-serif; =
font-weight:normal; font-size:12px; color:#333333" =
class=3D"dptosarenet">Departamento de sistemas</div>
  <div style=3D"font-family:Helvetica, Arial, sans-serif; =
font-weight:normal; font-size:12px; color:#333333" =
class=3D"textosarenet">944 209 470<br class=3D"">Parque Tecnol=C3=B3gico. =
Edificio 103<br class=3D"">48170 Zamudio (Bizkaia)</div>
  <div style=3D"font-family:Helvetica, Arial, sans-serif; =
font-weight:normal; font-size:12px; color:#007AC4; line-height:1.2" =
class=3D"lnksarenet"><a id=3D"mailto" style=3D" font-size:12px; =
color:#007AC4; text-decoration:underline;" =
href=3D"mailto:[email protected]" class=3D""><label id=3D"label_email" =
class=3D"">[email protected]</label></a></div>
  <div style=3D"font-family:Helvetica, Arial, sans-serif; =
font-weight:normal; font-size:12px; color:#007AC4; line-height:1.2" =
class=3D"lnksarenet"><a href=3D"http://www.sarenet.es" style=3D" =
font-size:12px; color:#007AC4; text-decoration:underline;" =
class=3D"">www.sarenet.es</a></div>
  <br class=3D"">
  <div style=3D"font-family:Helvetica, Arial, sans-serif; =
font-weight:normal; font-size:10px; color:#A0C361" =
class=3D"imprimirsarenet">Antes de imprimir este correo electr=C3=B3nico =
piense si es necesario hacerlo.</div>
</div>

</div>
<br class=3D""></div></body></html>=

--Apple-Mail=_85C6AC99-BD59-47D9-9736-5395FC511D34--

--===============2056193587==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users

--===============2056193587==--