Forum Activity for @dannya

alt=
@dannya
03/18/15 01:37:31PM
584 posts

Queue error logging


Jamroom Developers

brian:
Natedogg265:
I understand I can log an error inside my queue functions. What his complaint is, is that the queue just hangs and we have to manually delete it.

The queue will never just "hang" - that's not how it works or what it does. Again if a queue entry seems to be "stuck" it is a worker issue - it always is. The core queue functions themselves only check to see that a queue has not been held on to by a single worker for longer than you have it configured for, or that it has failed 3 consecutive tries - that's it - it does not do any other checking.

Forget about the queue. Again, after the conversion function has failed 3 consecutive times, we have not idea why.

We don't know why it failed, what users, what media.

So the a queue log entry telling me something has failed is useless. It does not help us identify and fix the probelem. So a user can potentially be re-submitting a failing job countless times and we can't identify it or fix it.

There are many thing that can cause the function to fail: unable to read/write, corrupt files, invalid formats, etc....
alt=
@dannya
03/18/15 01:05:12PM
584 posts

Queue error logging


Jamroom Developers

Both. I think you're missing the point.

Assume a 100% stock install. How would you troubleshoot that? What I'm trying to say is that their is no error logging in the conversion functions and it makes it very difficult to troubleshoot when things go wrong. We don't know WHY its bombing.

We also have the same problems with our custom conversion functions.
alt=
@dannya
03/18/15 12:50:21PM
584 posts

Custom notifications


Jamroom Developers

Great. Thanks.
alt=
@dannya
03/18/15 12:49:00PM
584 posts

Queue error logging


Jamroom Developers

Ok. But the worker function I'm talking about is a song conversion. That's your worker function. And its not logging anything.
updated by @dannya: 03/18/15 12:49:38PM
alt=
@dannya
03/18/15 12:17:03PM
584 posts

Custom notifications


Jamroom Developers

So is there no way to select a profile an send a notification to all linked accounts according to their preferences?

Incidentally, I noticed that notification preferences are not registered in the user table until a user saves them for the first time. Is this by design?
updated by @dannya: 03/18/15 12:18:16PM
alt=
@dannya
03/18/15 12:14:51PM
584 posts

Queue error logging


Jamroom Developers

So maybe what I am asking is for the worker function to provide some level of failure logging.

For example, if I get
"deleted queue entry running for 5586 seconds - 3rd time failing"

I have no idea what song this was for, what went wrong, or how to fix it. Was there a problem with the file format? Was the encoder unable to grab the file? were we unable to write a new file? etc,,,,

The function needs some error logging.
alt=
@dannya
03/18/15 12:01:26PM
584 posts

Mp3 quality.


Jamroom Developers

So, what happens if a user uploads a low quality song for sale? Do you just sell whatever version was uploaded?
alt=
@dannya
03/17/15 11:52:53PM
584 posts

Mp3 quality.


Jamroom Developers

Is there any way to restrict a user from uploading files below 320k mp3? (ideally before they upload the whole song)
updated by @dannya: 04/20/15 03:17:36PM
alt=
@dannya
03/17/15 11:27:43PM
584 posts

Queue error logging


Jamroom Developers

It's not any one file in particular. It may fail once but then it would work another time. The problem is there is no way to troubleshoot pending queues or conversions that never happen. It's really frustrating.
alt=
@dannya
03/17/15 07:35:24PM
584 posts

Queue error logging


Jamroom Developers

We are having a hellish time troubleshooting conversion and queue errors.

Can you provide some guidance on troubleshooting things stuck in a queue for a really long time. Additionally, there is no logging anywhere for failed conversions. The activity log shows successful conversions but no failed ones and there is no messaging to find out why something is failing.
updated by @dannya: 04/20/15 06:08:07PM
  30