12:57 PM
al1o joined the channel
12:58 PM
al1o has quit
12:58 PM
al1o joined the channel
12:58 PM
al1o has quit
12:59 PM
al1o joined the channel
12:59 PM
al1o has quit
13:00 PM
al1o joined the channel
13:00 PM
al1o has quit
13:01 PM
al1o joined the channel
13:01 PM
al1o has quit
13:02 PM
al1o joined the channel
13:02 PM
al1o has quit
13:02 PM
al1o joined the channel
13:02 PM
al1o has quit
13:03 PM
al1o joined the channel
13:03 PM
al1o has quit
13:04 PM
al1o joined the channel
13:04 PM
al1o has quit
13:05 PM
b8sell joined the channel
13:11 PM
anuvrat has quit
13:23 PM
ledil has quit
13:28 PM
anuvrat joined the channel
13:52 PM
bmcorser has quit
13:52 PM
mahmoudimus joined the channel
13:57 PM
mahmoudimus has quit
13:57 PM
anuvrat has quit
13:58 PM
esauro has left the channel
13:59 PM
zz_gondoi is now known as gondoi
13:59 PM
samstav joined the channel
14:12 PM
emperorcezar joined the channel
14:14 PM
bmcorser joined the channel
14:18 PM
bkuberek joined the channel
14:19 PM
gondoi is now known as zz_gondoi
14:20 PM
bkuberek_ joined the channel
14:23 PM
magicflakes1 joined the channel
14:24 PM
magicflakes1 has left the channel
14:24 PM
bkuberek has quit
14:31 PM
travis-ci joined the channel
14:31 PM
travis-ci
[travis-ci] celery/celery#2022 (master - ca4c9b0 : Ask Solem): The build was fixed.
14:31 PM
14:31 PM
14:31 PM
travis-ci has left the channel
14:31 PM
asksol
14:31 PM
that's funny
14:37 PM
samstav has quit
14:40 PM
samstav joined the channel
14:40 PM
samstav has quit
14:41 PM
samstav joined the channel
14:45 PM
zz_gondoi is now known as gondoi
14:50 PM
dgel joined the channel
14:52 PM
mahmoudimus joined the channel
14:52 PM
aljohri has quit
14:54 PM
ibeex has quit
14:56 PM
moodh has quit
14:56 PM
mahmoudimus has quit
14:59 PM
cjellick joined the channel
15:04 PM
gondoi is now known as zz_gondoi
15:05 PM
ustunozgur joined the channel
15:05 PM
moodh joined the channel
15:07 PM
cjellick has quit
15:08 PM
cjellick joined the channel
15:10 PM
samstav has quit
15:10 PM
moodh has quit
15:11 PM
samstav joined the channel
15:13 PM
bkuberek_ has quit
15:13 PM
johnraz has quit
15:13 PM
jessepollak joined the channel
15:18 PM
maryokhin has quit
15:18 PM
ritmo2k joined the channel
15:33 PM
ustunozgur has quit
15:33 PM
wenzhixue joined the channel
15:34 PM
Gnoze5
heya
15:35 PM
still havent managed to fix my issue
15:36 PM
asksol: you around? someone told me you might be ableto help
15:44 PM
asksol
what issue?
15:45 PM
Gnoze5
asksol: I have celery running production,using django celery and redis as my borker
15:45 PM
*broker
15:46 PM
we have a couple of periodic tasks, and when I change the code on those tasks or even the crontab settings to change the periods there are no changes
15:46 PM
even when the beat is not running and after restarting the workers several times
15:46 PM
and deleting the beat file
15:46 PM
and deleting the pyc files
15:47 PM
it's a mystery, and I am sure I am doing something stupid but I can't figure what
15:49 PM
codeitloadit joined the channel
15:50 PM
brockhaywood joined the channel
15:50 PM
silverfix
Gnoze5: do you restart the worker too, right ?
15:50 PM
Gnoze5
yeah
15:50 PM
silverfix
Gnoze5: do you restart the beat too, right ?
15:50 PM
Gnoze5
and Ive made sure several tims that no worker or beat was running
15:50 PM
yep
15:51 PM
silverfix
maybe some ghost processes ?
15:51 PM
Gnoze5
the more interesting symptom is that even when the beat is NOT running the tasks are still running
15:51 PM
(the periodic tasks that is)
15:51 PM
silverfix
maybe some ghost processes ?
15:52 PM
domino14 joined the channel
15:52 PM
Gnoze5
I dont know how to get rid of them..
15:53 PM
silverfix
do you use signals ?
15:53 PM
Gnoze5
yep
15:54 PM
but not in the context of these tasks
15:59 PM
silverfix
ok
15:59 PM
in my experience
15:59 PM
if something goes wrong in a signal handler
15:59 PM
e.g. an unhandled exception
15:59 PM
is there the risk that the worker crashes
16:00 PM
or something that classifies it as ghost
16:00 PM
travis-ci joined the channel
16:00 PM
travis-ci
[travis-ci] celery/celery#2024 (3.1 - 48aaecb : Ask Solem): The build passed.
16:00 PM
16:00 PM
16:00 PM
travis-ci has left the channel
16:00 PM
silverfix
my advice is: kill all processes: rabbit, worker, beat
16:00 PM
and edit your code in a way that can handle exceptions in signals
16:01 PM
and then try
16:01 PM
jessepollak has quit
16:02 PM
ryanisnan joined the channel
16:03 PM
Gnoze5
but handle exceptions for signals in general?
16:03 PM
bdonnahue joined the channel
16:03 PM
silverfix
in signals, try to handle all sort of exception
16:03 PM
don't let propagate
16:03 PM
bdonnahue
hey is anyone available to chat high level about celery
16:03 PM
domino14 has quit
16:04 PM
im trying to figure out how jobs are sent and executed
16:04 PM
ie
16:04 PM
if the client defines a task and then shecdules it and then it runs on a remote worker
16:04 PM
does that worker need to have the same directory structure and module set?
16:04 PM
or is that code streamed to the worker from the client?
16:06 PM
silverfix
does that worker need to have the same directory structure and module set? -> yes
16:06 PM
dev_head joined the channel
16:06 PM
ryanisnan has quit
16:06 PM
bdonnahue: do you have a local function. All is needed by this local function is needed by the remote function too (worker)
16:06 PM
maryokhin joined the channel
16:07 PM
bdonnahue
ok that makes sense
16:08 PM
my other question is: how does celery handle limited resources ie. how does the scheduler work. is there a priority system for tasks?
16:10 PM
graingert has quit
16:10 PM
ustunozgur joined the channel
16:11 PM
ustunozgur has quit
16:11 PM
asksol
Gnoze5: sounds like you have duplicate beat process running if the tasks are sent periodically when you stop beat. Always use a --pidfile argument (with an absolute path)
16:12 PM
silverfix
bdonnahue: i'm linking to you a good doc resource
16:12 PM
ustunozg_ joined the channel
16:12 PM
Gnoze5
asksol: but I cant see another beat process running
16:12 PM
silverfix
16:12 PM
bdonnahue: read ^
16:14 PM
asksol
Gnoze5: I understand, but it explains your systems perfectly and there is no alternative explanation that I can think of
16:14 PM
your symptoms
16:14 PM
Gnoze5
asksol: right now my beat is dead for example and the tasks are still running, how do I stop that madness?
16:15 PM
asksol
so look harder for a stray beat process
16:15 PM
Gnoze5
hm
16:15 PM
wait
16:15 PM
argh
16:16 PM
there is a -B option which embeds the beat in the worker process right?
16:16 PM
bdonnahue
silver fix. thanks for the post. So the docs lead me to believe that cellery does not support it regardless of messaging platform