Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very large batches fail #32

Open
ghost opened this issue May 17, 2012 · 5 comments
Open

Very large batches fail #32

ghost opened this issue May 17, 2012 · 5 comments

Comments

@ghost
Copy link

ghost commented May 17, 2012

We've been trying to speed up our notification sending by using large batches. When we send a large enough batch, there is nothing logged in the pyapns log and the batch fails to be sent.

Batch of 1000 - success
Batch of 2000 - success
Batch of 3000 - failure, nothing logged to hint at what went wrong

We're using XMLRPC, sent from a php script.

@samuraisam
Copy link
Owner

How are you tracking the failure?

@ghost
Copy link
Author

ghost commented May 17, 2012

I was expecting a bad token as the cause, but pyapns doesn't disconnect. It doesn't log anything whatsoever.

No notifications are sent as far as we can tell, we aren't receiving any.

@samuraisam
Copy link
Owner

Cool, thanks. I'll look into this. Sounds to be an issue with either XML-RPC or the client somehow. Can you offer more insight, eg, peering at both client and server with wireshark?

@samuraisam
Copy link
Owner

I am going to just put a limit on the number you can send. It seems reasonable that you can only send 10mb of notifications at a time :)

@mapopa
Copy link

mapopa commented Feb 28, 2013

seems to be related to socket reuse issue #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants