On Nov 14, 10:31 am, "Keith Rarick" <[EMAIL PROTECTED]> wrote:
> Can you send the output of a "stats" command on one of these overgrown
> beanstalkd instances?
>
> I'm trying to reproduce it here. I'm submitting one job per second
> without deleting any. Does this resemble your use patterns? I'll let
> it run overnight and see what happens.

I'm seeing something very similar on an OS X 10.5 desktop system; we
submit very few delayed background jobs to be processed by one worker
instance (it's a development system (-:). The memory usage quickly
grows to around 700MB.

Stats output of one server that has grown to about 740MB is as
follows:
stats
OK 711
---
current-jobs-urgent: 0
current-jobs-ready: 0
current-jobs-reserved: 0
current-jobs-delayed: 3
current-jobs-buried: 0
cmd-put: 118
cmd-peek: 0
cmd-peek-ready: 0
cmd-peek-delayed: 0
cmd-peek-buried: 0
cmd-reserve: 116
cmd-reserve-with-timeout: 0
cmd-delete: 115
cmd-release: 0
cmd-use: 2
cmd-watch: 1
cmd-ignore: 0
cmd-bury: 0
cmd-kick: 0
cmd-stats: 2
cmd-stats-job: 115
cmd-stats-tube: 0
cmd-list-tubes: 0
cmd-list-tube-used: 0
cmd-list-tubes-watched: 2
job-timeouts: 0
total-jobs: 118
max-job-size: 65535
current-tubes: 2
current-connections: 3
current-producers: 2
current-workers: 1
current-waiting: 1
total-connections: 4
pid: 31198
version: 1.1
rusage-utime: 0.544487
rusage-stime: 0.876544
uptime: 441

^]
telnet> quit
$ ps aux | grep '[b]eanstalk'
asf      31198   0.0 35.9  2174260 752204   ??  Ss   11:51PM
0:01.42 /Users/asf/Documents/hack/Soupsie/build/Release/Soupsie.app/
Contents/MacOS/beanstalkd

This doesn't look quite right. On our production linux box, where lots
(around 12k) more delayed requests are in the queue, we're seeing
similar memory usage (about 700MB there as well), but on the
development machine, this number looks implausibly big for the queue
size.

We're using async_observer to submit and handle jobs; On the dev
machine, beanstalkd is running in the foreground.

Thanks in advance,
Andreas.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to