On Mon, 25 Feb 2013, Ferran Jorba wrote:
> I've noticed that bibsched, in my two testing 1.1 installations, are
> eating 40-50% CPU.  I've done: bibsched purge, stop and start.  I've
> examined the output of mytop and mysqltuner, seing nothing strange.  I
> haven't seen a --verbose flag to help me in my quest.

Is it bibsched monitor process itself that takes resources?  Does
bibsched have lots of running/pending/archived task to deal with?

   $ echo "SELECT COUNT(*) FROM schTASK" | /opt/invenio/bin/dbexec

Does bibsched eat lots of memory too and is its memory consumption
rising with time?  Or does it only consume CPU?

Have you tried to run bibsched via profiling?

   $ sudo -u www-data python -m cProfile \
     /opt/invenio/lib/python/invenio/bibsched.py

Anything interesting in `bibsched.log' and `bibsched.err' or in
`invenio.err' in `/opt/invenio/var/log/'?

Best regards
--
Tibor Simko

Reply via email to