Dirk Meyer wrote:
> 2. gtk is raising some error. Looks like the second process gets my
>    keyboard events and the gtk main loop (used by the hal code in
>    hwmon) doesn't react on this as it should.

happens, but has no negative effect

> 3. Most of the time, main stops and waits for the child which never
>    dies. It could be because the child is much slower when processing
>    images and did not get the shutdown() rpc. But a os.kill also
>    doesn't help. In that case, the child dies and both processes print
>    a last debug message. But I still have one process left (main)
>    which is at the end of script, doing nothing anymore. Well, nothing
>    is not correct, it prints
>
>    Exception exceptions.TypeError: 'unsubscriptable object' in <bound method 
> WeakSocketDispatcher._weakref_destroyed of <WeakSocketDispatcher for 
> _handle_data>> ignored
>
>    and then it just hangs and waits for a second C-c. First of all,
>    which _handle_data are we talking about here? And why does it
>    block?

That was inotify and a registered socket. Fixed with a shutdown signal
connect. 

The shutdown problem seems to be gone now, the child no exists when it
losts the socket to the server.

> Besides the problem above, we have a memory problem. On startup main
> uses 13MB and thumbnail uses 17MB (I guess because of gtk). After
> scanning my whole media dir (2500 files, most of them images) and
> creating thumbnails, the main process is 30MB and the thumbnailer
> 20MB. Were does the memory go?

Not solved :(


Dischi

-- 
There are two ways to write error-free programs. Only the third one
works.

Attachment: pgpUd87ssPdE5.pgp
Description: PGP signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to