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

UDP batching mechanism doesn't seem to work properly #38

Open
johnknl opened this issue Aug 28, 2023 · 0 comments
Open

UDP batching mechanism doesn't seem to work properly #38

johnknl opened this issue Aug 28, 2023 · 0 comments

Comments

@johnknl
Copy link

johnknl commented Aug 28, 2023

Looking at the code, it should batch if the size of the payload exceeds 65k bytes, but this mechanism doesn't seem to work.

ErrorException

Notice: fwrite(): Send of 69497 bytes failed with errno=90 Message too large

/vendor/auxmoney/jaeger-php/src/Jaeger/Sender/UdpSender.php in Jaeger\Sender\UdpSender::emitBatch at line 77
/vendor/auxmoney/jaeger-php/src/Jaeger/Transport/TransportUdp.php in Jaeger\Transport\TransportUdp::flush at line 172
/vendor/auxmoney/jaeger-php/src/Jaeger/Transport/TransportUdp.php in Jaeger\Transport\TransportUdp::append at line 125
/vendor/auxmoney/jaeger-php/src/Jaeger/Reporter/RemoteReporter.php in Jaeger\Reporter\RemoteReporter::report at line 35
/vendor/auxmoney/jaeger-php/src/Jaeger/Jaeger.php in Jaeger\Jaeger::reportSpan at line 171
/vendor/auxmoney/jaeger-php/src/Jaeger/Jaeger.php in Jaeger\Jaeger::flush at line 272
/vendor/auxmoney/opentracing-bundle-core/Internal/PersistenceService.php in Auxmoney\OpentracingBundle\Internal\PersistenceService::flush at line 25
/vendor/auxmoney/opentracing-bundle-core/EventListener/FinishRootSpanSubscriber.php in Auxmoney\OpentracingBundle\EventListener\FinishRootSpanSubscriber::onTerminate at line 63
/vendor/symfony/event-dispatcher/EventDispatcher.php in Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure} at line 260
/vendor/symfony/event-dispatcher/EventDispatcher.php in Symfony\Component\EventDispatcher\EventDispatcher::callListeners at line 220
/vendor/symfony/event-dispatcher/EventDispatcher.php in Symfony\Component\EventDispatcher\EventDispatcher::dispatch at line 56
/vendor/symfony/http-kernel/HttpKernel.php in Symfony\Component\HttpKernel\HttpKernel::terminate at line 116
/vendor/symfony/http-kernel/Kernel.php in Symfony\Component\HttpKernel\Kernel::terminate at line 157

We've also tried to override the factory to pass 40k into TransportUDP, but this didn't make any difference.

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

1 participant