Bugs item #1454407, was opened at 2006-03-20 11:39
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1454407&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF general
Group: (zombie: Pathfinder 0.10.2)
>Status: Closed
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Joris van Rantwijk (jvrantwijk)
Assigned to: Niels Nes (nielsnes)
Summary: Mserver does not close XQuery sockets

Initial Comment:
MonetDB does not close the socket connection to the
client after processing an XQuery. Every new connection
to the XQuery port opens a new socket which does not
get closed. When sending many queries to MonetDB using
MapiClient -lxquery, the server eventually runs out of
filehandles.

I tested this on Linux with MonetDB 4.10.3 and the CVS
XQuery_10 branch of Pathfinder; but the relevant code
has not changed since Pathfinder 0.10.2
>From looking at the source code in pathfinder.mx, I
believe that it is also leaking stream buffer structures.

The attached patch fixes the problem for me. I'm not
sure if this is the right way to fix it though, since I
am very far from a MonetDb expert.


----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2007-02-19 17:34

Message:
Logged In: YES 
user_id=43607
Originator: NO

Added tests in the form of the smack00 and smack01 tests.

----------------------------------------------------------------------

Comment By: Stefan Manegold (stmane)
Date: 2006-11-29 10:58

Message:
Logged In: YES 
user_id=572415
Originator: NO

Re-opened, as no test has been provided, yet.

User (submitter) and/or developer (assignee),
please supply a respective test,
or explain why a test is not required/possible.


----------------------------------------------------------------------

Comment By: Fabian (mr-meltdown)
Date: 2006-03-21 13:56

Message:
Logged In: YES 
user_id=963970

ok, thanks, will be fixed in x.12 releases

----------------------------------------------------------------------

Comment By: Joris van Rantwijk (jvrantwijk)
Date: 2006-03-21 13:50

Message:
Logged In: YES 
user_id=1480851

You are right. The development branch does not seem to have
this problem; only the stable branch.

----------------------------------------------------------------------

Comment By: Fabian (mr-meltdown)
Date: 2006-03-21 13:04

Message:
Logged In: YES 
user_id=963970

I just ran 11000 `MapiClient -lxquery` connects and
disconnects on the current development version without any
problem.

Could you try this on the current (development) CVS branch?
 If not, I think this bug has already been fixed because the
code that handles the connections has been largerly rewritten.

----------------------------------------------------------------------

Comment By: Fabian (mr-meltdown)
Date: 2006-03-21 12:28

Message:
Logged In: YES 
user_id=963970

Thanks for your patch!

This looks like code Niels made some changes to.  I'm not
sure if your patch retains the behaviour that is envisioned,
so I guess he should say something about it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1454407&group_id=56967

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to