No reconnect after "Process too big"



Hi!

Beagle seems to have a "memory leak workaround" which shuts down the process when it's too big. However since the switch away from D-BUS, this does not work anymore (at least for me):

- - - - 8< - - - -
...
DEBUG: + file:///home/nico/Documents/Manuals/old/unix_a4.pdf
DEBUG: + file:///home/nico/Documents/Manuals/old/jargon.html
DEBUG: Helper Size: VmRSS=61,8 MB, size=6,47, 136,7%
DEBUG: Process too big, shutting down!
DEBUG: Calling BeginShutdown
DEBUG: Beginning shutdown event
DEBUG: CancelIfBlocking Beagle.Daemon.ConnectionHandler
DEBUG: Done with shutdown event
DEBUG: (1) Waiting for 2 workers...
DEBUG: waiting for server 'socket-helper'
DEBUG: waiting for HandleConnection (60)
DEBUG: worker removed: name=server 'socket-helper'
DEBUG: Server 'socket-helper' shut down
DEBUG: (2) Waiting for 1 worker...
DEBUG: waiting for HandleConnection (60)
DEBUG: worker removed: name=HandleConnection (6)
- - - - 8< - - - -

After this nothing happens and I have to Ctrl-C beagled.

Ah, and the shutdown deferral is bad, too:

- - - - 8< - - - -
...
DEBUG: Deferring shutdown until we've actually done something.
DEBUG: Helper Size: VmRSS=95,6 MB, size=10,01, 225,3%
DEBUG: Deferring shutdown until we've actually done something.
DEBUG: Helper Size: VmRSS=95,6 MB, size=10,01, 225,4%
DEBUG: Deferring shutdown until we've actually done something.
DEBUG: Helper Size: VmRSS=95,7 MB, size=10,02, 225,4%
DEBUG: Deferring shutdown until we've actually done something.
DEBUG: Helper Size: VmRSS=95,7 MB, size=10,02, 225,4%
DEBUG: Deferring shutdown until we've actually done something.
...
- - - - 8< - - - -

I'm sure it will eat all my memory... (happened after indexing a quite large HTML file)


(Beagle from CVS, no DBUS, no inotify, Ubuntu Hoary with Mono 1.1.7)

Nico.

--
Nico Kaiser     ::
nico siriux net :: http://dumm.gelaufen.de/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]