-
Notifications
You must be signed in to change notification settings - Fork 871
Closed
Description
On my MacBook, beanstalkd 1.4.4 raises an OUT_OF_MEMORY error after ~15k jobs pushed, if I detach beanstalkd (-b) AND I activate the binlog (-b).
If I remove one of these parameters, I did not see any error after 1 million jobs pushed.
require 'rubygems'
require 'beanstalk-client'
body = {
:fdsf => 'gkljfjkldsgjkldsjkgldskljfgjklsdf sdfkljfdslk',
:jklsf => 'gkljfjkldsgjkldsjkgldskljfgjklsdf 878734',
:gdfhjk => 'gkljfjkldsgjkldsjkgldskljfgjklsdf (fdskljgfhsdkl)è!ç',
}
conn = Beanstalk::Connection.new('0.0.0.0:11300')
conn.use('test')
conn.watch('test')
conn.ignore('default')
1_000.times do |i|
puts i * 2000
2_000.times do
conn.yput body, 1, 0, 8_035_200
end
end
puts 'ok'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels