I raised the log level to debug: ./manage.py celeryd -l debug That's the new piece of information: Out of memory (Needed 24492 bytes) Out of memory (Needed 24492 bytes) Out of memory (Needed 24492 bytes) Out of memory (Needed 24492 bytes) Out of memory (Needed 24492 bytes) Out of memory (Needed 24492 bytes) Out of memory (Needed 16328 bytes) Out of memory (Needed 16328 bytes) Out of memory (Needed 16328 bytes) Out of memory (Needed 16328 bytes) Out of memory (Needed 16328 bytes) Out of memory (Needed 16328 bytes) Out of memory (Needed 8164 bytes) Out of memory (Needed 8164 bytes) Out of memory (Needed 8164 bytes) Out of memory (Needed 8164 bytes) Out of memory (Needed 8164 bytes)
Looks suspiciously like a memory leak... On Sun, Oct 10, 2010 at 19:26, Erik Cederstrand <e...@cederstrand.dk> wrote: > > Den 10/10/2010 kl. 17.55 skrev Massimiliano della Rovere: >> > * Which process(es) on the server is using 100% CPU time? >> directly from htop: >> PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command >> 544 mader 20 0 969M 953M 1444 R 96.0 47.4 50:09.85 python >> ./manage.py celeryd -l warning > > This, and the fact that you have no errors or seriously long queries in your > slow query log, indicates that the MySQL server is operating fine. > > Something seems to be timing out on the MySQL side. I'm not sure if you > mentioned it, but are these InnoDB tables? The stack trace you posted is in > the rollback of a transaction. It's possible that everything is running > within the same transaction which MySQL is shutting down at some point. Try > this: > > SQL> show variables where variable_name LIKE '%timeout%'; > > to see the values in your current server instance. > > If nothing suspicious turns up, I guess it's time to follow the stack trace > into the celery source code or where your own code calls celery and add some > debugging. Maybe it's a specific query that trips the code. Maybe it's a > specific number of queries. Maybe it's at a specific timespan after > connecting to MySQL. > > Thanks, > Erik -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.