similar to: File descriptor leak (?) in Python

Displaying 20 results from an estimated 1000 matches similar to: "File descriptor leak (?) in Python"

2016 Apr 01
0
Xapian 1.3.5 development snapshot released
I'm happy to be able to announce that Xapian 1.3.5 is now available. Please note that 1.3.x releases are development releases - they are made to encourage earlier and wider use and testing of new and changed code. We're closing in on a stable 1.4 release series, so please consider trying this out with your code if you haven't already. There's not a set release date for 1.4.0,
2018 Jan 22
2
How to get the serialise score returned in Xapian::KeyMaker->operator().
>A possible workaround (and perhaps a better approach) would be to >set BoolWeight as the weighting scheme, then feed in your score as >a weight using a PostingSource. Then it's available via get_weight() >on the MSetIterator object: > >https://getting-started-with-xapian.readthedocs.io/en/latest/advanced/postingsource.html > >You may find that's faster because
2007 Dec 27
4
Lost connection..
Short update: It seems that the workers go into some state in which they do not have a correct Rails environment (or db connection). When they enter this state it goes wrong all the time :( Joost Hietbrink (YelloYello) wrote: > Hi all, > > We''re experiencing some problems with Backgroundrb. > > Why is "# master_reactor_instance.result_hash = {}" commented in
2008 Jun 18
1
Vpim gem
On Wed, Jun 18, 2008 at 6:32 AM, Joost Hietbrink <joost at joopp.com> wrote: > Hi Sam Roberts, > First of all. Thanks for the Vpim gem. We use it at www.yelloyello.com and > it works great. I''m glad to hear that. > We''ve only encountered the following error: > # NoMethodError (undefined method `to_str'' for []:Array): > # >
2003 Apr 27
1
--delete bug?
I have a script that does a weekly backup on a local backup harddrive with the following command: # rsync -aRxW --delete / /mnt/backup Today I got errors because the target drive was full. It appeared nothing on the targed drive ever got deleted. When I used the following command to backup only my home dir, it worked as it should. # rsync -aRxW --delete /home/joost /mnt/backup Using rsync
2012 Nov 29
2
Oggenc producing a different file every time
We are using the Ogg file format in our game Awesomenauts. Now whenever I rebuild our compressed music files from our uncompressed sources (WAV to OGG), oggenc.exe produces different files. They sound the same, but there are differences in the file. I did a checksum on the hex, and it turns out there are small pieces of similar differences throughout the file. This is a serious problem for us:
2012 Oct 22
1
Package "Design"
Hi all, I'm planning to work through the book "Analyzing Linguistic Data" by R.H. Baayen, which is an introduction to R used for, well, what the title says. ;-) On the first page of the book, Baayen says that in order to work with the book, R needs to download and install a number of packages from CRAN. The problem is that one of these packages, "Design", has apparently
2016 May 03
2
Weighting recent results
On 5/2/2016 9:03 PM, Olly Betts wrote: > On Fri, Apr 22, 2016 at 12:23:15PM -0400, Alex Aminoff wrote: >> I did some digging and found a thread from 2011 talking about how to >> subclass Xapian::PostingSource in order to incorporate the date or >> recency of a document in its weighting: >> >> http://thread.gmane.org/gmane.comp.search.xapian.general/8849/focus=8856
2016 Apr 22
2
Weighting recent results
I did some digging and found a thread from 2011 talking about how to subclass Xapian::PostingSource in order to incorporate the date or recency of a document in its weighting: http://thread.gmane.org/gmane.comp.search.xapian.general/8849/focus=8856 As in that thread, I want to be clear that I don't want to sort by date, but rather incorporate date information into the score by which I
2006 Apr 04
5
Not routing for 1 host?
Hi, I want to stop routing for 1 particular host in my network. I thought that this would do it: iptables -D INPUT -d aaa.bbb.ccc.ddd -j DROP iptables -D INPUT -s aaa.bbb.ccc.ddd -j DROP But that still shows traffic. What is the corract way to do that? Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail:
2010 Aug 27
1
Using relevance when sorting by generated key
Hi all, I am trying to implement a scheme where documents in an MSet will be sorted based on relevance as well as geographical distance from a given (non-fixed) point. I understand that this can be accomplished by using PostingSource in order to implement a custom weighting scheme that would combine BM25 weighting and distance. The problem is that I am using perl and PostingSource is not
2007 Jun 14
2
GUI or other tools for traffic shaping
Hi, Are there GUI (preferable) or scripting tools available somewhere that can help me with traffic shaping? I have found MasterShaper and tcng but hey seem both unmaintained. Directly writing scripts is still a bit out of my reach, so I would like to learn by using tools... TIA Joost
2004 Oct 31
2
rsync retry after connection failure
I was wondering if there's a way to get rsync reconnect every specified secs/mins when a connection can't be established at the time rsync is initiated. That would mean that no remote (WAN) backups will ever fail again on me, because it just will retry untill the remote side will be available. Thanks, Joost
2004 Aug 06
1
frame size
Joost Witteveen (joost@iliana.nl) wrote: > > So, each UDP package with 20 bytes speex-data, we send: > > 20 bytes speex > 12 bytes ogg headers (and others?) > 28 bytes UDP/IP headers (2 IP numerbers, 2 portnumbers, checksum, etc, etc) > > and, if it goes over the phone, each package has a few ppp headers. > > Am I overlooking something, or does this fixed frame
2004 Aug 05
6
TC-ng questions/problems
Hi all, We have 2 class C networks that are connected by a Linux router with the internet. We want to apply traffic control (bandwidth control). For that we wrote the tcc script below. We have 2 problems: 1. To establish a 2 megagit download we must actually set the value to 2500kbps. Is there a possible reason for that? 2. If we enable the WAN device we get very hight ping times (they change
2006 Feb 21
3
ogg_stream_flush
Hi, While building an ogg-vorbis stream encoder, I encountered some problems with silence in the audiostream. The bitrate drops to almost zero, and pages going out less then ones a minute what makes the stream to stop / buffer. In earlier postings I read that I shout use ogg_stream_flush as an alternative to ogg_stream_pageout, in case of silence. My question is this; Is there any
2006 May 31
2
Routing based on source address
Hi, Is it possible to create a routing rule that depends on the source host/network, besides the target host/network? E.g. route everything from 192.168.0.x to 10.0.0.1, and route everything from 192.168.1.x to 10.0.0.1. TIA -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl
2007 Feb 26
5
Panel Slider (like on maps.google.com)
Hi, I want to create a panel slider like shown on maps.google.com (click the little triangle on the left side of the map (in the vertical- middle)). I tried several scriptaculous treasure chest thingies .. but they didn''t work. Does anyone know of a way to do this? Thanks, Joost --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
2007 Feb 02
7
Mongrels 1.0.1 falling asleep w/ Rails 1.2
I''m a bit surprised I can''t find anything about this in the mailing list archives. Basically since Mongrel 1.0.1 I''ve had Mongrels fall asleep without any real cause. A deep sleep, actually more like a coma. The mongrel in question (I''m using a cluster of three) can not be revived. A cluster::stop, then cluster::start is nessesary. A ::restart would not
2020 Feb 07
2
prioritizing aggregated DBs
Hey all, I've been using ->add_database for a few years to tie sharded DBs together and it works great. Now, I want to be able to search across several DBs which aren't sharded, say: linux-DB, glibc-DB, freebsd-DB. I want to search for something across all of them, but prioritize results to favor one or some of those DBs over others. Is there a way to do that without reindexing? Or