View Single Post
  #5  
Old 7th January 2013, 19:12
JhonKa JhonKa is offline
Junior Member
 
Join Date: Dec 2012
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Sorry about the long wait, I was out of town for the weekend.

My celeryd.log is here:


---- **** -----
--- * *** * -- [Configuration]
-- * - **** --- . broker: amqp://password@localhost:5672/baruwa
- ** ---------- . loader: djcelery.loaders.DjangoLoader
- ** ---------- . logfile: /var/log/baruwa/celeryd.log@INFO
- ** ---------- . concurrency: 2
- ** ---------- . events: ON
- *** --- * --- . beat: ON
-- ******* ----
--- ***** ----- [Queues]
-------------- . default: exchange:default (direct) binding:default
. gw3: exchange:default (direct) binding:gw3

[Tasks]
. delete-domain-signature-files
. delete-user-signature-files
. generate-domain-signature-files
. generate-user-signature-files
. preview-message
. process-quarantine
. process-quarantined-msg
. release-message
. test-smtp-server
[2013-01-07 10:37:19,259: INFO/PoolWorker-2] child process calling self.run()
[2013-01-07 10:37:19,267: INFO/PoolWorker-3] child process calling self.run()
[2013-01-07 10:37:19,277: INFO/Beat] child process calling self.run()
[2013-01-07 10:37:19,276: WARNING/MainProcess] celery@gw3 has started.
[2013-01-07 10:37:19,278: INFO/Beat] Celerybeat: Starting...
[2013-01-07 10:38:27,782: INFO/MainProcess] Got task from broker: preview-message[9261023c-4292-423c-a4cf-98e6469859ce]
[2013-01-07 10:38:27,840: INFO/PoolWorker-3] preview-message[9261023c-4292-423c-a4cf-98e6469859ce]: Preview of message: 27CD8C0DF7.AB05F requested by user:
[2013-01-07 10:38:27,854: INFO/MainProcess] Task preview-message[9261023c-4292-423c-a4cf-98e6469859ce] succeeded in 0.0686628818512s: {'headers': {'date': u'Mon, 07 Jan 2013...

As you can see it "successfully" previews the message.

uswgi logs:

[uWSGI] getting INI configuration from /usr/share/uwsgi/conf/default.ini
[uWSGI] getting INI configuration from /etc/uwsgi/apps-enabled/baruwa.ini
Mon Jan 7 10:07:56 2013 - option "module" found in plugin python27_plugin.so
Mon Jan 7 10:07:56 2013 - *** Starting uWSGI 1.0.3-debian (64bit) on [Mon Jan 7 10:07:56 2013] ***
Mon Jan 7 10:07:56 2013 - compiled with version: 4.6.3 on 17 July 2012 02:26:54
Mon Jan 7 10:07:56 2013 - current working directory: /
Mon Jan 7 10:07:56 2013 - writing pidfile to /run/uwsgi/app/baruwa/pid
Mon Jan 7 10:07:56 2013 - detected binary path: /usr/bin/uwsgi-core
Mon Jan 7 10:07:56 2013 - *** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
Mon Jan 7 10:07:56 2013 - your memory page size is 4096 bytes
Mon Jan 7 10:07:56 2013 - uwsgi socket 0 bound to UNIX address /run/uwsgi/app/baruwa/socket fd 5
Mon Jan 7 10:07:56 2013 - Python version: 2.7.3 (default, Aug 1 2012, 05:25:23) [GCC 4.6.3]
Mon Jan 7 10:07:57 2013 - Python main interpreter initialized at 0x2169870

And when I hit "preview message" in Baruwa this pops up in the uwsgi log.

/usr/lib/python2.7/dist-packages/djcelery/managers.py:173: TxIsolationWarning: Polling results with transaction isolation level repeatable-read within the same transaction may give outdated results. Be sure to commit the transaction for each poll iteration.
"Polling results with transaction isolation level "

Last edited by JhonKa; 7th January 2013 at 19:40.
Reply With Quote