search for: packet_app

Displaying 2 results from an estimated 2 matches for "packet_app".

2008 Jan 29
4
Setting up release-1.0.1
...kgroundrb (revision 313) +++ script/backgroundrb (working copy) @@ -6,8 +6,10 @@ WORKER_ROOT = rails_root + "/lib/workers" SERVER_LOGGER = rails_root + "/log/backgroundrb_server.log" -["server","framework","lib"].each { |x| $LOAD_PATH.unshift(PACKET_APP + "/#{x}")} -$LOAD_PATH.unshift(WORKER_ROOT) +#["server","framework","lib"].each { |x| $LOAD_PATH.unshift(PACKET_APP + "/#{x}")} +["server","framework","lib"].each { |x| $:.push(PACKET_APP + "/#{x}")} +#$L...
2008 Apr 12
6
Cutting down BackgrounDRb memory issue
Hi Folks, I have been working to fix BackgrounDRb memory usage as such. Ruby1.8 GC isn''t fork friendly and it seems to use a lot of memory because when you fork, it sets a bit in all the objects in global scope which causes OS to all pages in child process. A classic solution is to use fork and exec, rather than just fork. Its working and pretty stable, but you loose ability to pass