Displaying 3 results from an estimated 3 matches for "stop_process".
2006 Jul 31
0
MY worker won''t stop working
...tion is to read data from a file into a database.
I''ve been successful in getting the worker to stop now by adding a
stop_work method to my worker which sets @running to false in the
process_cdr class and causes the code in do_work to return.
My woker method stop_work calls processs_cdr.stop_process:
def stop_work
@process_cdr.stop_process
end
def do_work(args)
# This method is called in it''s own new thread when you
# call new worker. args is set to :args
if args
@process_cdr = ProcessCdr.new(args)
else
@process_cdr = ProcessCdr.new
end
@process_cdr...
2015 May 28
3
Re: Concurrent scanning of same disk
...fs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfssil2bk
Traceback (most recent call last):
File "/home/noxdafox/see/src/see/observer.py", line 128, in synchronous
function(*args, **kwargs)
File "/home/noxdafox/see_hooks/filesystem_diff.py", line 95, in
stop_processing
files1 = concurrent_list_files(self.disks[0])
File "/home/noxdafox/see_hooks/filesystem_diff.py", line 130, in
concurrent_list_files
fs.checksums_out('sha1', '/', files.name)
File "/usr/lib/python2.7/dist-packages/guestfs.py", line 1427, in
checksu...
2015 May 27
3
Concurrent scanning of same disk
Greetings,
I am suffering of several weird errors which show randomly and make me
suspect some concurrency issue.
Libguestfs version is 1.28.1, linux kernel 3.16, libvirt 1.2.9 and qemu 2.1.
What I'm trying to do is comparing the disk state at two different point of
a guest execution.
Disk snapshots are taken through libvirt in different moments (I am aware
of caching issue), from such