Changeset: 353d2d859af3 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=353d2d859af3
Modified Files:
        monetdb5/modules/mal/mal_mapi.c
Branch: default
Log Message:

we cannot write on the (non blocked) stream when the api requires
it to be an blocked stream. So when thread creation (and blocked
stream creation) fails only output error on console/log file, do
not report this to the client. Only solves block size error, not
the real problem of running out of threads..


diffs (13 lines):

diff --git a/monetdb5/modules/mal/mal_mapi.c b/monetdb5/modules/mal/mal_mapi.c
--- a/monetdb5/modules/mal/mal_mapi.c
+++ b/monetdb5/modules/mal/mal_mapi.c
@@ -384,9 +384,6 @@ SERVERlistenThread(SOCKET *Sock)
                        continue;
                }
                if (MT_create_thread(&tid, doChallenge, data, MT_THR_JOINABLE) 
< 0) {
-                       mnstr_printf(data->out, "!internal server error (cannot 
fork new "
-                                                "client thread), please try 
again later\n");
-                       mnstr_flush(data->out);
                        showException(GDKstdout, MAL, "initClient",
                                                  "cannot fork new client 
thread");
                        closesocket(msgsock);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to